1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: ClientNamenodeProtocol.proto |
3 | |
4 | #ifndef PROTOBUF_INCLUDED_ClientNamenodeProtocol_2eproto |
5 | #define PROTOBUF_INCLUDED_ClientNamenodeProtocol_2eproto |
6 | |
7 | #include <string> |
8 | |
9 | #include <google/protobuf/stubs/common.h> |
10 | |
11 | #if GOOGLE_PROTOBUF_VERSION < 3006001 |
12 | #error This file was generated by a newer version of protoc which is |
13 | #error incompatible with your Protocol Buffer headers. Please update |
14 | #error your headers. |
15 | #endif |
16 | #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION |
17 | #error This file was generated by an older version of protoc which is |
18 | #error incompatible with your Protocol Buffer headers. Please |
19 | #error regenerate this file with a newer version of protoc. |
20 | #endif |
21 | |
22 | #include <google/protobuf/io/coded_stream.h> |
23 | #include <google/protobuf/arena.h> |
24 | #include <google/protobuf/arenastring.h> |
25 | #include <google/protobuf/generated_message_table_driven.h> |
26 | #include <google/protobuf/generated_message_util.h> |
27 | #include <google/protobuf/inlined_string_field.h> |
28 | #include <google/protobuf/metadata.h> |
29 | #include <google/protobuf/message.h> |
30 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | #include <google/protobuf/generated_enum_reflection.h> |
33 | #include <google/protobuf/service.h> |
34 | #include <google/protobuf/unknown_field_set.h> |
35 | #include "hdfs.pb.h" |
36 | #include "Security.pb.h" |
37 | // @@protoc_insertion_point(includes) |
38 | #define PROTOBUF_INTERNAL_EXPORT_protobuf_ClientNamenodeProtocol_2eproto |
39 | |
40 | namespace protobuf_ClientNamenodeProtocol_2eproto { |
41 | // Internal implementation detail -- do not use these members. |
42 | struct TableStruct { |
43 | static const ::google::protobuf::internal::ParseTableField entries[]; |
44 | static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; |
45 | static const ::google::protobuf::internal::ParseTable schema[131]; |
46 | static const ::google::protobuf::internal::FieldMetadata field_metadata[]; |
47 | static const ::google::protobuf::internal::SerializationTable serialization_table[]; |
48 | static const ::google::protobuf::uint32 offsets[]; |
49 | }; |
50 | void AddDescriptors(); |
51 | } // namespace protobuf_ClientNamenodeProtocol_2eproto |
52 | namespace Hdfs { |
53 | namespace Internal { |
54 | class AbandonBlockRequestProto; |
55 | class AbandonBlockRequestProtoDefaultTypeInternal; |
56 | extern AbandonBlockRequestProtoDefaultTypeInternal _AbandonBlockRequestProto_default_instance_; |
57 | class AbandonBlockResponseProto; |
58 | class AbandonBlockResponseProtoDefaultTypeInternal; |
59 | extern AbandonBlockResponseProtoDefaultTypeInternal _AbandonBlockResponseProto_default_instance_; |
60 | class AddBlockRequestProto; |
61 | class AddBlockRequestProtoDefaultTypeInternal; |
62 | extern AddBlockRequestProtoDefaultTypeInternal _AddBlockRequestProto_default_instance_; |
63 | class AddBlockResponseProto; |
64 | class AddBlockResponseProtoDefaultTypeInternal; |
65 | extern AddBlockResponseProtoDefaultTypeInternal _AddBlockResponseProto_default_instance_; |
66 | class AddCacheDirectiveRequestProto; |
67 | class AddCacheDirectiveRequestProtoDefaultTypeInternal; |
68 | extern AddCacheDirectiveRequestProtoDefaultTypeInternal _AddCacheDirectiveRequestProto_default_instance_; |
69 | class AddCacheDirectiveResponseProto; |
70 | class AddCacheDirectiveResponseProtoDefaultTypeInternal; |
71 | extern AddCacheDirectiveResponseProtoDefaultTypeInternal _AddCacheDirectiveResponseProto_default_instance_; |
72 | class AddCachePoolRequestProto; |
73 | class AddCachePoolRequestProtoDefaultTypeInternal; |
74 | extern AddCachePoolRequestProtoDefaultTypeInternal _AddCachePoolRequestProto_default_instance_; |
75 | class AddCachePoolResponseProto; |
76 | class AddCachePoolResponseProtoDefaultTypeInternal; |
77 | extern AddCachePoolResponseProtoDefaultTypeInternal _AddCachePoolResponseProto_default_instance_; |
78 | class AllowSnapshotRequestProto; |
79 | class AllowSnapshotRequestProtoDefaultTypeInternal; |
80 | extern AllowSnapshotRequestProtoDefaultTypeInternal _AllowSnapshotRequestProto_default_instance_; |
81 | class AllowSnapshotResponseProto; |
82 | class AllowSnapshotResponseProtoDefaultTypeInternal; |
83 | extern AllowSnapshotResponseProtoDefaultTypeInternal _AllowSnapshotResponseProto_default_instance_; |
84 | class AppendRequestProto; |
85 | class AppendRequestProtoDefaultTypeInternal; |
86 | extern AppendRequestProtoDefaultTypeInternal _AppendRequestProto_default_instance_; |
87 | class AppendResponseProto; |
88 | class AppendResponseProtoDefaultTypeInternal; |
89 | extern AppendResponseProtoDefaultTypeInternal _AppendResponseProto_default_instance_; |
90 | class CacheDirectiveEntryProto; |
91 | class CacheDirectiveEntryProtoDefaultTypeInternal; |
92 | extern CacheDirectiveEntryProtoDefaultTypeInternal _CacheDirectiveEntryProto_default_instance_; |
93 | class CacheDirectiveInfoExpirationProto; |
94 | class CacheDirectiveInfoExpirationProtoDefaultTypeInternal; |
95 | extern CacheDirectiveInfoExpirationProtoDefaultTypeInternal _CacheDirectiveInfoExpirationProto_default_instance_; |
96 | class CacheDirectiveInfoProto; |
97 | class CacheDirectiveInfoProtoDefaultTypeInternal; |
98 | extern CacheDirectiveInfoProtoDefaultTypeInternal _CacheDirectiveInfoProto_default_instance_; |
99 | class CacheDirectiveStatsProto; |
100 | class CacheDirectiveStatsProtoDefaultTypeInternal; |
101 | extern CacheDirectiveStatsProtoDefaultTypeInternal _CacheDirectiveStatsProto_default_instance_; |
102 | class CachePoolEntryProto; |
103 | class CachePoolEntryProtoDefaultTypeInternal; |
104 | extern CachePoolEntryProtoDefaultTypeInternal _CachePoolEntryProto_default_instance_; |
105 | class CachePoolInfoProto; |
106 | class CachePoolInfoProtoDefaultTypeInternal; |
107 | extern CachePoolInfoProtoDefaultTypeInternal _CachePoolInfoProto_default_instance_; |
108 | class CachePoolStatsProto; |
109 | class CachePoolStatsProtoDefaultTypeInternal; |
110 | extern CachePoolStatsProtoDefaultTypeInternal _CachePoolStatsProto_default_instance_; |
111 | class CompleteRequestProto; |
112 | class CompleteRequestProtoDefaultTypeInternal; |
113 | extern CompleteRequestProtoDefaultTypeInternal _CompleteRequestProto_default_instance_; |
114 | class CompleteResponseProto; |
115 | class CompleteResponseProtoDefaultTypeInternal; |
116 | extern CompleteResponseProtoDefaultTypeInternal _CompleteResponseProto_default_instance_; |
117 | class ConcatRequestProto; |
118 | class ConcatRequestProtoDefaultTypeInternal; |
119 | extern ConcatRequestProtoDefaultTypeInternal _ConcatRequestProto_default_instance_; |
120 | class ConcatResponseProto; |
121 | class ConcatResponseProtoDefaultTypeInternal; |
122 | extern ConcatResponseProtoDefaultTypeInternal _ConcatResponseProto_default_instance_; |
123 | class CreateRequestProto; |
124 | class CreateRequestProtoDefaultTypeInternal; |
125 | extern CreateRequestProtoDefaultTypeInternal _CreateRequestProto_default_instance_; |
126 | class CreateResponseProto; |
127 | class CreateResponseProtoDefaultTypeInternal; |
128 | extern CreateResponseProtoDefaultTypeInternal _CreateResponseProto_default_instance_; |
129 | class CreateSnapshotRequestProto; |
130 | class CreateSnapshotRequestProtoDefaultTypeInternal; |
131 | extern CreateSnapshotRequestProtoDefaultTypeInternal _CreateSnapshotRequestProto_default_instance_; |
132 | class CreateSnapshotResponseProto; |
133 | class CreateSnapshotResponseProtoDefaultTypeInternal; |
134 | extern CreateSnapshotResponseProtoDefaultTypeInternal _CreateSnapshotResponseProto_default_instance_; |
135 | class CreateSymlinkRequestProto; |
136 | class CreateSymlinkRequestProtoDefaultTypeInternal; |
137 | extern CreateSymlinkRequestProtoDefaultTypeInternal _CreateSymlinkRequestProto_default_instance_; |
138 | class CreateSymlinkResponseProto; |
139 | class CreateSymlinkResponseProtoDefaultTypeInternal; |
140 | extern CreateSymlinkResponseProtoDefaultTypeInternal _CreateSymlinkResponseProto_default_instance_; |
141 | class DeleteRequestProto; |
142 | class DeleteRequestProtoDefaultTypeInternal; |
143 | extern DeleteRequestProtoDefaultTypeInternal _DeleteRequestProto_default_instance_; |
144 | class DeleteResponseProto; |
145 | class DeleteResponseProtoDefaultTypeInternal; |
146 | extern DeleteResponseProtoDefaultTypeInternal _DeleteResponseProto_default_instance_; |
147 | class DeleteSnapshotRequestProto; |
148 | class DeleteSnapshotRequestProtoDefaultTypeInternal; |
149 | extern DeleteSnapshotRequestProtoDefaultTypeInternal _DeleteSnapshotRequestProto_default_instance_; |
150 | class DeleteSnapshotResponseProto; |
151 | class DeleteSnapshotResponseProtoDefaultTypeInternal; |
152 | extern DeleteSnapshotResponseProtoDefaultTypeInternal _DeleteSnapshotResponseProto_default_instance_; |
153 | class DisallowSnapshotRequestProto; |
154 | class DisallowSnapshotRequestProtoDefaultTypeInternal; |
155 | extern DisallowSnapshotRequestProtoDefaultTypeInternal _DisallowSnapshotRequestProto_default_instance_; |
156 | class DisallowSnapshotResponseProto; |
157 | class DisallowSnapshotResponseProtoDefaultTypeInternal; |
158 | extern DisallowSnapshotResponseProtoDefaultTypeInternal _DisallowSnapshotResponseProto_default_instance_; |
159 | class FinalizeUpgradeRequestProto; |
160 | class FinalizeUpgradeRequestProtoDefaultTypeInternal; |
161 | extern FinalizeUpgradeRequestProtoDefaultTypeInternal _FinalizeUpgradeRequestProto_default_instance_; |
162 | class FinalizeUpgradeResponseProto; |
163 | class FinalizeUpgradeResponseProtoDefaultTypeInternal; |
164 | extern FinalizeUpgradeResponseProtoDefaultTypeInternal _FinalizeUpgradeResponseProto_default_instance_; |
165 | class FsyncRequestProto; |
166 | class FsyncRequestProtoDefaultTypeInternal; |
167 | extern FsyncRequestProtoDefaultTypeInternal _FsyncRequestProto_default_instance_; |
168 | class FsyncResponseProto; |
169 | class FsyncResponseProtoDefaultTypeInternal; |
170 | extern FsyncResponseProtoDefaultTypeInternal _FsyncResponseProto_default_instance_; |
171 | class GetAdditionalDatanodeRequestProto; |
172 | class GetAdditionalDatanodeRequestProtoDefaultTypeInternal; |
173 | extern GetAdditionalDatanodeRequestProtoDefaultTypeInternal _GetAdditionalDatanodeRequestProto_default_instance_; |
174 | class GetAdditionalDatanodeResponseProto; |
175 | class GetAdditionalDatanodeResponseProtoDefaultTypeInternal; |
176 | extern GetAdditionalDatanodeResponseProtoDefaultTypeInternal _GetAdditionalDatanodeResponseProto_default_instance_; |
177 | class GetBlockLocationsRequestProto; |
178 | class GetBlockLocationsRequestProtoDefaultTypeInternal; |
179 | extern GetBlockLocationsRequestProtoDefaultTypeInternal _GetBlockLocationsRequestProto_default_instance_; |
180 | class GetBlockLocationsResponseProto; |
181 | class GetBlockLocationsResponseProtoDefaultTypeInternal; |
182 | extern GetBlockLocationsResponseProtoDefaultTypeInternal _GetBlockLocationsResponseProto_default_instance_; |
183 | class GetContentSummaryRequestProto; |
184 | class GetContentSummaryRequestProtoDefaultTypeInternal; |
185 | extern GetContentSummaryRequestProtoDefaultTypeInternal _GetContentSummaryRequestProto_default_instance_; |
186 | class GetContentSummaryResponseProto; |
187 | class GetContentSummaryResponseProtoDefaultTypeInternal; |
188 | extern GetContentSummaryResponseProtoDefaultTypeInternal _GetContentSummaryResponseProto_default_instance_; |
189 | class GetDataEncryptionKeyRequestProto; |
190 | class GetDataEncryptionKeyRequestProtoDefaultTypeInternal; |
191 | extern GetDataEncryptionKeyRequestProtoDefaultTypeInternal _GetDataEncryptionKeyRequestProto_default_instance_; |
192 | class GetDataEncryptionKeyResponseProto; |
193 | class GetDataEncryptionKeyResponseProtoDefaultTypeInternal; |
194 | extern GetDataEncryptionKeyResponseProtoDefaultTypeInternal _GetDataEncryptionKeyResponseProto_default_instance_; |
195 | class GetDatanodeReportRequestProto; |
196 | class GetDatanodeReportRequestProtoDefaultTypeInternal; |
197 | extern GetDatanodeReportRequestProtoDefaultTypeInternal _GetDatanodeReportRequestProto_default_instance_; |
198 | class GetDatanodeReportResponseProto; |
199 | class GetDatanodeReportResponseProtoDefaultTypeInternal; |
200 | extern GetDatanodeReportResponseProtoDefaultTypeInternal _GetDatanodeReportResponseProto_default_instance_; |
201 | class GetFileInfoRequestProto; |
202 | class GetFileInfoRequestProtoDefaultTypeInternal; |
203 | extern GetFileInfoRequestProtoDefaultTypeInternal _GetFileInfoRequestProto_default_instance_; |
204 | class GetFileInfoResponseProto; |
205 | class GetFileInfoResponseProtoDefaultTypeInternal; |
206 | extern GetFileInfoResponseProtoDefaultTypeInternal _GetFileInfoResponseProto_default_instance_; |
207 | class GetFileLinkInfoRequestProto; |
208 | class GetFileLinkInfoRequestProtoDefaultTypeInternal; |
209 | extern GetFileLinkInfoRequestProtoDefaultTypeInternal _GetFileLinkInfoRequestProto_default_instance_; |
210 | class GetFileLinkInfoResponseProto; |
211 | class GetFileLinkInfoResponseProtoDefaultTypeInternal; |
212 | extern GetFileLinkInfoResponseProtoDefaultTypeInternal _GetFileLinkInfoResponseProto_default_instance_; |
213 | class GetFsStatsResponseProto; |
214 | class GetFsStatsResponseProtoDefaultTypeInternal; |
215 | extern GetFsStatsResponseProtoDefaultTypeInternal _GetFsStatsResponseProto_default_instance_; |
216 | class GetFsStatusRequestProto; |
217 | class GetFsStatusRequestProtoDefaultTypeInternal; |
218 | extern GetFsStatusRequestProtoDefaultTypeInternal _GetFsStatusRequestProto_default_instance_; |
219 | class GetLeaseRequestProto; |
220 | class GetLeaseRequestProtoDefaultTypeInternal; |
221 | extern GetLeaseRequestProtoDefaultTypeInternal _GetLeaseRequestProto_default_instance_; |
222 | class GetLeaseResponseProto; |
223 | class GetLeaseResponseProtoDefaultTypeInternal; |
224 | extern GetLeaseResponseProtoDefaultTypeInternal _GetLeaseResponseProto_default_instance_; |
225 | class GetLinkTargetRequestProto; |
226 | class GetLinkTargetRequestProtoDefaultTypeInternal; |
227 | extern GetLinkTargetRequestProtoDefaultTypeInternal _GetLinkTargetRequestProto_default_instance_; |
228 | class GetLinkTargetResponseProto; |
229 | class GetLinkTargetResponseProtoDefaultTypeInternal; |
230 | extern GetLinkTargetResponseProtoDefaultTypeInternal _GetLinkTargetResponseProto_default_instance_; |
231 | class GetListingRequestProto; |
232 | class GetListingRequestProtoDefaultTypeInternal; |
233 | extern GetListingRequestProtoDefaultTypeInternal _GetListingRequestProto_default_instance_; |
234 | class GetListingResponseProto; |
235 | class GetListingResponseProtoDefaultTypeInternal; |
236 | extern GetListingResponseProtoDefaultTypeInternal _GetListingResponseProto_default_instance_; |
237 | class GetPreferredBlockSizeRequestProto; |
238 | class GetPreferredBlockSizeRequestProtoDefaultTypeInternal; |
239 | extern GetPreferredBlockSizeRequestProtoDefaultTypeInternal _GetPreferredBlockSizeRequestProto_default_instance_; |
240 | class GetPreferredBlockSizeResponseProto; |
241 | class GetPreferredBlockSizeResponseProtoDefaultTypeInternal; |
242 | extern GetPreferredBlockSizeResponseProtoDefaultTypeInternal _GetPreferredBlockSizeResponseProto_default_instance_; |
243 | class GetServerDefaultsRequestProto; |
244 | class GetServerDefaultsRequestProtoDefaultTypeInternal; |
245 | extern GetServerDefaultsRequestProtoDefaultTypeInternal _GetServerDefaultsRequestProto_default_instance_; |
246 | class GetServerDefaultsResponseProto; |
247 | class GetServerDefaultsResponseProtoDefaultTypeInternal; |
248 | extern GetServerDefaultsResponseProtoDefaultTypeInternal _GetServerDefaultsResponseProto_default_instance_; |
249 | class GetSnapshotDiffReportRequestProto; |
250 | class GetSnapshotDiffReportRequestProtoDefaultTypeInternal; |
251 | extern GetSnapshotDiffReportRequestProtoDefaultTypeInternal _GetSnapshotDiffReportRequestProto_default_instance_; |
252 | class GetSnapshotDiffReportResponseProto; |
253 | class GetSnapshotDiffReportResponseProtoDefaultTypeInternal; |
254 | extern GetSnapshotDiffReportResponseProtoDefaultTypeInternal _GetSnapshotDiffReportResponseProto_default_instance_; |
255 | class GetSnapshottableDirListingRequestProto; |
256 | class GetSnapshottableDirListingRequestProtoDefaultTypeInternal; |
257 | extern GetSnapshottableDirListingRequestProtoDefaultTypeInternal _GetSnapshottableDirListingRequestProto_default_instance_; |
258 | class GetSnapshottableDirListingResponseProto; |
259 | class GetSnapshottableDirListingResponseProtoDefaultTypeInternal; |
260 | extern GetSnapshottableDirListingResponseProtoDefaultTypeInternal _GetSnapshottableDirListingResponseProto_default_instance_; |
261 | class IsFileClosedRequestProto; |
262 | class IsFileClosedRequestProtoDefaultTypeInternal; |
263 | extern IsFileClosedRequestProtoDefaultTypeInternal _IsFileClosedRequestProto_default_instance_; |
264 | class IsFileClosedResponseProto; |
265 | class IsFileClosedResponseProtoDefaultTypeInternal; |
266 | extern IsFileClosedResponseProtoDefaultTypeInternal _IsFileClosedResponseProto_default_instance_; |
267 | class ListCacheDirectivesRequestProto; |
268 | class ListCacheDirectivesRequestProtoDefaultTypeInternal; |
269 | extern ListCacheDirectivesRequestProtoDefaultTypeInternal _ListCacheDirectivesRequestProto_default_instance_; |
270 | class ListCacheDirectivesResponseProto; |
271 | class ListCacheDirectivesResponseProtoDefaultTypeInternal; |
272 | extern ListCacheDirectivesResponseProtoDefaultTypeInternal _ListCacheDirectivesResponseProto_default_instance_; |
273 | class ListCachePoolsRequestProto; |
274 | class ListCachePoolsRequestProtoDefaultTypeInternal; |
275 | extern ListCachePoolsRequestProtoDefaultTypeInternal _ListCachePoolsRequestProto_default_instance_; |
276 | class ListCachePoolsResponseProto; |
277 | class ListCachePoolsResponseProtoDefaultTypeInternal; |
278 | extern ListCachePoolsResponseProtoDefaultTypeInternal _ListCachePoolsResponseProto_default_instance_; |
279 | class ListCorruptFileBlocksRequestProto; |
280 | class ListCorruptFileBlocksRequestProtoDefaultTypeInternal; |
281 | extern ListCorruptFileBlocksRequestProtoDefaultTypeInternal _ListCorruptFileBlocksRequestProto_default_instance_; |
282 | class ListCorruptFileBlocksResponseProto; |
283 | class ListCorruptFileBlocksResponseProtoDefaultTypeInternal; |
284 | extern ListCorruptFileBlocksResponseProtoDefaultTypeInternal _ListCorruptFileBlocksResponseProto_default_instance_; |
285 | class MetaSaveRequestProto; |
286 | class MetaSaveRequestProtoDefaultTypeInternal; |
287 | extern MetaSaveRequestProtoDefaultTypeInternal _MetaSaveRequestProto_default_instance_; |
288 | class MetaSaveResponseProto; |
289 | class MetaSaveResponseProtoDefaultTypeInternal; |
290 | extern MetaSaveResponseProtoDefaultTypeInternal _MetaSaveResponseProto_default_instance_; |
291 | class MkdirsRequestProto; |
292 | class MkdirsRequestProtoDefaultTypeInternal; |
293 | extern MkdirsRequestProtoDefaultTypeInternal _MkdirsRequestProto_default_instance_; |
294 | class MkdirsResponseProto; |
295 | class MkdirsResponseProtoDefaultTypeInternal; |
296 | extern MkdirsResponseProtoDefaultTypeInternal _MkdirsResponseProto_default_instance_; |
297 | class ModifyCacheDirectiveRequestProto; |
298 | class ModifyCacheDirectiveRequestProtoDefaultTypeInternal; |
299 | extern ModifyCacheDirectiveRequestProtoDefaultTypeInternal _ModifyCacheDirectiveRequestProto_default_instance_; |
300 | class ModifyCacheDirectiveResponseProto; |
301 | class ModifyCacheDirectiveResponseProtoDefaultTypeInternal; |
302 | extern ModifyCacheDirectiveResponseProtoDefaultTypeInternal _ModifyCacheDirectiveResponseProto_default_instance_; |
303 | class ModifyCachePoolRequestProto; |
304 | class ModifyCachePoolRequestProtoDefaultTypeInternal; |
305 | extern ModifyCachePoolRequestProtoDefaultTypeInternal _ModifyCachePoolRequestProto_default_instance_; |
306 | class ModifyCachePoolResponseProto; |
307 | class ModifyCachePoolResponseProtoDefaultTypeInternal; |
308 | extern ModifyCachePoolResponseProtoDefaultTypeInternal _ModifyCachePoolResponseProto_default_instance_; |
309 | class RecoverLeaseRequestProto; |
310 | class RecoverLeaseRequestProtoDefaultTypeInternal; |
311 | extern RecoverLeaseRequestProtoDefaultTypeInternal _RecoverLeaseRequestProto_default_instance_; |
312 | class RecoverLeaseResponseProto; |
313 | class RecoverLeaseResponseProtoDefaultTypeInternal; |
314 | extern RecoverLeaseResponseProtoDefaultTypeInternal _RecoverLeaseResponseProto_default_instance_; |
315 | class RefreshNodesRequestProto; |
316 | class RefreshNodesRequestProtoDefaultTypeInternal; |
317 | extern RefreshNodesRequestProtoDefaultTypeInternal _RefreshNodesRequestProto_default_instance_; |
318 | class RefreshNodesResponseProto; |
319 | class RefreshNodesResponseProtoDefaultTypeInternal; |
320 | extern RefreshNodesResponseProtoDefaultTypeInternal _RefreshNodesResponseProto_default_instance_; |
321 | class ReleaseLeaseRequestProto; |
322 | class ReleaseLeaseRequestProtoDefaultTypeInternal; |
323 | extern ReleaseLeaseRequestProtoDefaultTypeInternal _ReleaseLeaseRequestProto_default_instance_; |
324 | class ReleaseLeaseResponseProto; |
325 | class ReleaseLeaseResponseProtoDefaultTypeInternal; |
326 | extern ReleaseLeaseResponseProtoDefaultTypeInternal _ReleaseLeaseResponseProto_default_instance_; |
327 | class RemoveCacheDirectiveRequestProto; |
328 | class RemoveCacheDirectiveRequestProtoDefaultTypeInternal; |
329 | extern RemoveCacheDirectiveRequestProtoDefaultTypeInternal _RemoveCacheDirectiveRequestProto_default_instance_; |
330 | class RemoveCacheDirectiveResponseProto; |
331 | class RemoveCacheDirectiveResponseProtoDefaultTypeInternal; |
332 | extern RemoveCacheDirectiveResponseProtoDefaultTypeInternal _RemoveCacheDirectiveResponseProto_default_instance_; |
333 | class RemoveCachePoolRequestProto; |
334 | class RemoveCachePoolRequestProtoDefaultTypeInternal; |
335 | extern RemoveCachePoolRequestProtoDefaultTypeInternal _RemoveCachePoolRequestProto_default_instance_; |
336 | class RemoveCachePoolResponseProto; |
337 | class RemoveCachePoolResponseProtoDefaultTypeInternal; |
338 | extern RemoveCachePoolResponseProtoDefaultTypeInternal _RemoveCachePoolResponseProto_default_instance_; |
339 | class Rename2RequestProto; |
340 | class Rename2RequestProtoDefaultTypeInternal; |
341 | extern Rename2RequestProtoDefaultTypeInternal _Rename2RequestProto_default_instance_; |
342 | class Rename2ResponseProto; |
343 | class Rename2ResponseProtoDefaultTypeInternal; |
344 | extern Rename2ResponseProtoDefaultTypeInternal _Rename2ResponseProto_default_instance_; |
345 | class RenameRequestProto; |
346 | class RenameRequestProtoDefaultTypeInternal; |
347 | extern RenameRequestProtoDefaultTypeInternal _RenameRequestProto_default_instance_; |
348 | class RenameResponseProto; |
349 | class RenameResponseProtoDefaultTypeInternal; |
350 | extern RenameResponseProtoDefaultTypeInternal _RenameResponseProto_default_instance_; |
351 | class RenameSnapshotRequestProto; |
352 | class RenameSnapshotRequestProtoDefaultTypeInternal; |
353 | extern RenameSnapshotRequestProtoDefaultTypeInternal _RenameSnapshotRequestProto_default_instance_; |
354 | class RenameSnapshotResponseProto; |
355 | class RenameSnapshotResponseProtoDefaultTypeInternal; |
356 | extern RenameSnapshotResponseProtoDefaultTypeInternal _RenameSnapshotResponseProto_default_instance_; |
357 | class RenewLeaseRequestProto; |
358 | class RenewLeaseRequestProtoDefaultTypeInternal; |
359 | extern RenewLeaseRequestProtoDefaultTypeInternal _RenewLeaseRequestProto_default_instance_; |
360 | class RenewLeaseResponseProto; |
361 | class RenewLeaseResponseProtoDefaultTypeInternal; |
362 | extern RenewLeaseResponseProtoDefaultTypeInternal _RenewLeaseResponseProto_default_instance_; |
363 | class ReportBadBlocksRequestProto; |
364 | class ReportBadBlocksRequestProtoDefaultTypeInternal; |
365 | extern ReportBadBlocksRequestProtoDefaultTypeInternal _ReportBadBlocksRequestProto_default_instance_; |
366 | class ReportBadBlocksResponseProto; |
367 | class ReportBadBlocksResponseProtoDefaultTypeInternal; |
368 | extern ReportBadBlocksResponseProtoDefaultTypeInternal _ReportBadBlocksResponseProto_default_instance_; |
369 | class RestoreFailedStorageRequestProto; |
370 | class RestoreFailedStorageRequestProtoDefaultTypeInternal; |
371 | extern RestoreFailedStorageRequestProtoDefaultTypeInternal _RestoreFailedStorageRequestProto_default_instance_; |
372 | class RestoreFailedStorageResponseProto; |
373 | class RestoreFailedStorageResponseProtoDefaultTypeInternal; |
374 | extern RestoreFailedStorageResponseProtoDefaultTypeInternal _RestoreFailedStorageResponseProto_default_instance_; |
375 | class RollEditsRequestProto; |
376 | class RollEditsRequestProtoDefaultTypeInternal; |
377 | extern RollEditsRequestProtoDefaultTypeInternal _RollEditsRequestProto_default_instance_; |
378 | class RollEditsResponseProto; |
379 | class RollEditsResponseProtoDefaultTypeInternal; |
380 | extern RollEditsResponseProtoDefaultTypeInternal _RollEditsResponseProto_default_instance_; |
381 | class SaveNamespaceRequestProto; |
382 | class SaveNamespaceRequestProtoDefaultTypeInternal; |
383 | extern SaveNamespaceRequestProtoDefaultTypeInternal _SaveNamespaceRequestProto_default_instance_; |
384 | class SaveNamespaceResponseProto; |
385 | class SaveNamespaceResponseProtoDefaultTypeInternal; |
386 | extern SaveNamespaceResponseProtoDefaultTypeInternal _SaveNamespaceResponseProto_default_instance_; |
387 | class SetBalancerBandwidthRequestProto; |
388 | class SetBalancerBandwidthRequestProtoDefaultTypeInternal; |
389 | extern SetBalancerBandwidthRequestProtoDefaultTypeInternal _SetBalancerBandwidthRequestProto_default_instance_; |
390 | class SetBalancerBandwidthResponseProto; |
391 | class SetBalancerBandwidthResponseProtoDefaultTypeInternal; |
392 | extern SetBalancerBandwidthResponseProtoDefaultTypeInternal _SetBalancerBandwidthResponseProto_default_instance_; |
393 | class SetOwnerRequestProto; |
394 | class SetOwnerRequestProtoDefaultTypeInternal; |
395 | extern SetOwnerRequestProtoDefaultTypeInternal _SetOwnerRequestProto_default_instance_; |
396 | class SetOwnerResponseProto; |
397 | class SetOwnerResponseProtoDefaultTypeInternal; |
398 | extern SetOwnerResponseProtoDefaultTypeInternal _SetOwnerResponseProto_default_instance_; |
399 | class SetPermissionRequestProto; |
400 | class SetPermissionRequestProtoDefaultTypeInternal; |
401 | extern SetPermissionRequestProtoDefaultTypeInternal _SetPermissionRequestProto_default_instance_; |
402 | class SetPermissionResponseProto; |
403 | class SetPermissionResponseProtoDefaultTypeInternal; |
404 | extern SetPermissionResponseProtoDefaultTypeInternal _SetPermissionResponseProto_default_instance_; |
405 | class SetQuotaRequestProto; |
406 | class SetQuotaRequestProtoDefaultTypeInternal; |
407 | extern SetQuotaRequestProtoDefaultTypeInternal _SetQuotaRequestProto_default_instance_; |
408 | class SetQuotaResponseProto; |
409 | class SetQuotaResponseProtoDefaultTypeInternal; |
410 | extern SetQuotaResponseProtoDefaultTypeInternal _SetQuotaResponseProto_default_instance_; |
411 | class SetReplicationRequestProto; |
412 | class SetReplicationRequestProtoDefaultTypeInternal; |
413 | extern SetReplicationRequestProtoDefaultTypeInternal _SetReplicationRequestProto_default_instance_; |
414 | class SetReplicationResponseProto; |
415 | class SetReplicationResponseProtoDefaultTypeInternal; |
416 | extern SetReplicationResponseProtoDefaultTypeInternal _SetReplicationResponseProto_default_instance_; |
417 | class SetSafeModeRequestProto; |
418 | class SetSafeModeRequestProtoDefaultTypeInternal; |
419 | extern SetSafeModeRequestProtoDefaultTypeInternal _SetSafeModeRequestProto_default_instance_; |
420 | class SetSafeModeResponseProto; |
421 | class SetSafeModeResponseProtoDefaultTypeInternal; |
422 | extern SetSafeModeResponseProtoDefaultTypeInternal _SetSafeModeResponseProto_default_instance_; |
423 | class SetTimesRequestProto; |
424 | class SetTimesRequestProtoDefaultTypeInternal; |
425 | extern SetTimesRequestProtoDefaultTypeInternal _SetTimesRequestProto_default_instance_; |
426 | class SetTimesResponseProto; |
427 | class SetTimesResponseProtoDefaultTypeInternal; |
428 | extern SetTimesResponseProtoDefaultTypeInternal _SetTimesResponseProto_default_instance_; |
429 | class TruncateRequestProto; |
430 | class TruncateRequestProtoDefaultTypeInternal; |
431 | extern TruncateRequestProtoDefaultTypeInternal _TruncateRequestProto_default_instance_; |
432 | class TruncateResponseProto; |
433 | class TruncateResponseProtoDefaultTypeInternal; |
434 | extern TruncateResponseProtoDefaultTypeInternal _TruncateResponseProto_default_instance_; |
435 | class UpdateBlockForPipelineRequestProto; |
436 | class UpdateBlockForPipelineRequestProtoDefaultTypeInternal; |
437 | extern UpdateBlockForPipelineRequestProtoDefaultTypeInternal _UpdateBlockForPipelineRequestProto_default_instance_; |
438 | class UpdateBlockForPipelineResponseProto; |
439 | class UpdateBlockForPipelineResponseProtoDefaultTypeInternal; |
440 | extern UpdateBlockForPipelineResponseProtoDefaultTypeInternal _UpdateBlockForPipelineResponseProto_default_instance_; |
441 | class UpdatePipelineRequestProto; |
442 | class UpdatePipelineRequestProtoDefaultTypeInternal; |
443 | extern UpdatePipelineRequestProtoDefaultTypeInternal _UpdatePipelineRequestProto_default_instance_; |
444 | class UpdatePipelineResponseProto; |
445 | class UpdatePipelineResponseProtoDefaultTypeInternal; |
446 | extern UpdatePipelineResponseProtoDefaultTypeInternal _UpdatePipelineResponseProto_default_instance_; |
447 | } // namespace Internal |
448 | } // namespace Hdfs |
449 | namespace google { |
450 | namespace protobuf { |
451 | template<> ::Hdfs::Internal::AbandonBlockRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AbandonBlockRequestProto>(Arena*); |
452 | template<> ::Hdfs::Internal::AbandonBlockResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AbandonBlockResponseProto>(Arena*); |
453 | template<> ::Hdfs::Internal::AddBlockRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddBlockRequestProto>(Arena*); |
454 | template<> ::Hdfs::Internal::AddBlockResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddBlockResponseProto>(Arena*); |
455 | template<> ::Hdfs::Internal::AddCacheDirectiveRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddCacheDirectiveRequestProto>(Arena*); |
456 | template<> ::Hdfs::Internal::AddCacheDirectiveResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddCacheDirectiveResponseProto>(Arena*); |
457 | template<> ::Hdfs::Internal::AddCachePoolRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddCachePoolRequestProto>(Arena*); |
458 | template<> ::Hdfs::Internal::AddCachePoolResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AddCachePoolResponseProto>(Arena*); |
459 | template<> ::Hdfs::Internal::AllowSnapshotRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AllowSnapshotRequestProto>(Arena*); |
460 | template<> ::Hdfs::Internal::AllowSnapshotResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AllowSnapshotResponseProto>(Arena*); |
461 | template<> ::Hdfs::Internal::AppendRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AppendRequestProto>(Arena*); |
462 | template<> ::Hdfs::Internal::AppendResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::AppendResponseProto>(Arena*); |
463 | template<> ::Hdfs::Internal::CacheDirectiveEntryProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveEntryProto>(Arena*); |
464 | template<> ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoExpirationProto>(Arena*); |
465 | template<> ::Hdfs::Internal::CacheDirectiveInfoProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoProto>(Arena*); |
466 | template<> ::Hdfs::Internal::CacheDirectiveStatsProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveStatsProto>(Arena*); |
467 | template<> ::Hdfs::Internal::CachePoolEntryProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CachePoolEntryProto>(Arena*); |
468 | template<> ::Hdfs::Internal::CachePoolInfoProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CachePoolInfoProto>(Arena*); |
469 | template<> ::Hdfs::Internal::CachePoolStatsProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CachePoolStatsProto>(Arena*); |
470 | template<> ::Hdfs::Internal::CompleteRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CompleteRequestProto>(Arena*); |
471 | template<> ::Hdfs::Internal::CompleteResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CompleteResponseProto>(Arena*); |
472 | template<> ::Hdfs::Internal::ConcatRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ConcatRequestProto>(Arena*); |
473 | template<> ::Hdfs::Internal::ConcatResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ConcatResponseProto>(Arena*); |
474 | template<> ::Hdfs::Internal::CreateRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateRequestProto>(Arena*); |
475 | template<> ::Hdfs::Internal::CreateResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateResponseProto>(Arena*); |
476 | template<> ::Hdfs::Internal::CreateSnapshotRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateSnapshotRequestProto>(Arena*); |
477 | template<> ::Hdfs::Internal::CreateSnapshotResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateSnapshotResponseProto>(Arena*); |
478 | template<> ::Hdfs::Internal::CreateSymlinkRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateSymlinkRequestProto>(Arena*); |
479 | template<> ::Hdfs::Internal::CreateSymlinkResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::CreateSymlinkResponseProto>(Arena*); |
480 | template<> ::Hdfs::Internal::DeleteRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DeleteRequestProto>(Arena*); |
481 | template<> ::Hdfs::Internal::DeleteResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DeleteResponseProto>(Arena*); |
482 | template<> ::Hdfs::Internal::DeleteSnapshotRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DeleteSnapshotRequestProto>(Arena*); |
483 | template<> ::Hdfs::Internal::DeleteSnapshotResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DeleteSnapshotResponseProto>(Arena*); |
484 | template<> ::Hdfs::Internal::DisallowSnapshotRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DisallowSnapshotRequestProto>(Arena*); |
485 | template<> ::Hdfs::Internal::DisallowSnapshotResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::DisallowSnapshotResponseProto>(Arena*); |
486 | template<> ::Hdfs::Internal::FinalizeUpgradeRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::FinalizeUpgradeRequestProto>(Arena*); |
487 | template<> ::Hdfs::Internal::FinalizeUpgradeResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::FinalizeUpgradeResponseProto>(Arena*); |
488 | template<> ::Hdfs::Internal::FsyncRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::FsyncRequestProto>(Arena*); |
489 | template<> ::Hdfs::Internal::FsyncResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::FsyncResponseProto>(Arena*); |
490 | template<> ::Hdfs::Internal::GetAdditionalDatanodeRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetAdditionalDatanodeRequestProto>(Arena*); |
491 | template<> ::Hdfs::Internal::GetAdditionalDatanodeResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetAdditionalDatanodeResponseProto>(Arena*); |
492 | template<> ::Hdfs::Internal::GetBlockLocationsRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetBlockLocationsRequestProto>(Arena*); |
493 | template<> ::Hdfs::Internal::GetBlockLocationsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetBlockLocationsResponseProto>(Arena*); |
494 | template<> ::Hdfs::Internal::GetContentSummaryRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetContentSummaryRequestProto>(Arena*); |
495 | template<> ::Hdfs::Internal::GetContentSummaryResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetContentSummaryResponseProto>(Arena*); |
496 | template<> ::Hdfs::Internal::GetDataEncryptionKeyRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDataEncryptionKeyRequestProto>(Arena*); |
497 | template<> ::Hdfs::Internal::GetDataEncryptionKeyResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDataEncryptionKeyResponseProto>(Arena*); |
498 | template<> ::Hdfs::Internal::GetDatanodeReportRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDatanodeReportRequestProto>(Arena*); |
499 | template<> ::Hdfs::Internal::GetDatanodeReportResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetDatanodeReportResponseProto>(Arena*); |
500 | template<> ::Hdfs::Internal::GetFileInfoRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFileInfoRequestProto>(Arena*); |
501 | template<> ::Hdfs::Internal::GetFileInfoResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFileInfoResponseProto>(Arena*); |
502 | template<> ::Hdfs::Internal::GetFileLinkInfoRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFileLinkInfoRequestProto>(Arena*); |
503 | template<> ::Hdfs::Internal::GetFileLinkInfoResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFileLinkInfoResponseProto>(Arena*); |
504 | template<> ::Hdfs::Internal::GetFsStatsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFsStatsResponseProto>(Arena*); |
505 | template<> ::Hdfs::Internal::GetFsStatusRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetFsStatusRequestProto>(Arena*); |
506 | template<> ::Hdfs::Internal::GetLeaseRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetLeaseRequestProto>(Arena*); |
507 | template<> ::Hdfs::Internal::GetLeaseResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetLeaseResponseProto>(Arena*); |
508 | template<> ::Hdfs::Internal::GetLinkTargetRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetLinkTargetRequestProto>(Arena*); |
509 | template<> ::Hdfs::Internal::GetLinkTargetResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetLinkTargetResponseProto>(Arena*); |
510 | template<> ::Hdfs::Internal::GetListingRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetListingRequestProto>(Arena*); |
511 | template<> ::Hdfs::Internal::GetListingResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetListingResponseProto>(Arena*); |
512 | template<> ::Hdfs::Internal::GetPreferredBlockSizeRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetPreferredBlockSizeRequestProto>(Arena*); |
513 | template<> ::Hdfs::Internal::GetPreferredBlockSizeResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetPreferredBlockSizeResponseProto>(Arena*); |
514 | template<> ::Hdfs::Internal::GetServerDefaultsRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetServerDefaultsRequestProto>(Arena*); |
515 | template<> ::Hdfs::Internal::GetServerDefaultsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetServerDefaultsResponseProto>(Arena*); |
516 | template<> ::Hdfs::Internal::GetSnapshotDiffReportRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetSnapshotDiffReportRequestProto>(Arena*); |
517 | template<> ::Hdfs::Internal::GetSnapshotDiffReportResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetSnapshotDiffReportResponseProto>(Arena*); |
518 | template<> ::Hdfs::Internal::GetSnapshottableDirListingRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetSnapshottableDirListingRequestProto>(Arena*); |
519 | template<> ::Hdfs::Internal::GetSnapshottableDirListingResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::GetSnapshottableDirListingResponseProto>(Arena*); |
520 | template<> ::Hdfs::Internal::IsFileClosedRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::IsFileClosedRequestProto>(Arena*); |
521 | template<> ::Hdfs::Internal::IsFileClosedResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::IsFileClosedResponseProto>(Arena*); |
522 | template<> ::Hdfs::Internal::ListCacheDirectivesRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCacheDirectivesRequestProto>(Arena*); |
523 | template<> ::Hdfs::Internal::ListCacheDirectivesResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCacheDirectivesResponseProto>(Arena*); |
524 | template<> ::Hdfs::Internal::ListCachePoolsRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCachePoolsRequestProto>(Arena*); |
525 | template<> ::Hdfs::Internal::ListCachePoolsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCachePoolsResponseProto>(Arena*); |
526 | template<> ::Hdfs::Internal::ListCorruptFileBlocksRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCorruptFileBlocksRequestProto>(Arena*); |
527 | template<> ::Hdfs::Internal::ListCorruptFileBlocksResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ListCorruptFileBlocksResponseProto>(Arena*); |
528 | template<> ::Hdfs::Internal::MetaSaveRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::MetaSaveRequestProto>(Arena*); |
529 | template<> ::Hdfs::Internal::MetaSaveResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::MetaSaveResponseProto>(Arena*); |
530 | template<> ::Hdfs::Internal::MkdirsRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::MkdirsRequestProto>(Arena*); |
531 | template<> ::Hdfs::Internal::MkdirsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::MkdirsResponseProto>(Arena*); |
532 | template<> ::Hdfs::Internal::ModifyCacheDirectiveRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ModifyCacheDirectiveRequestProto>(Arena*); |
533 | template<> ::Hdfs::Internal::ModifyCacheDirectiveResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ModifyCacheDirectiveResponseProto>(Arena*); |
534 | template<> ::Hdfs::Internal::ModifyCachePoolRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ModifyCachePoolRequestProto>(Arena*); |
535 | template<> ::Hdfs::Internal::ModifyCachePoolResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ModifyCachePoolResponseProto>(Arena*); |
536 | template<> ::Hdfs::Internal::RecoverLeaseRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RecoverLeaseRequestProto>(Arena*); |
537 | template<> ::Hdfs::Internal::RecoverLeaseResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RecoverLeaseResponseProto>(Arena*); |
538 | template<> ::Hdfs::Internal::RefreshNodesRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RefreshNodesRequestProto>(Arena*); |
539 | template<> ::Hdfs::Internal::RefreshNodesResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RefreshNodesResponseProto>(Arena*); |
540 | template<> ::Hdfs::Internal::ReleaseLeaseRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ReleaseLeaseRequestProto>(Arena*); |
541 | template<> ::Hdfs::Internal::ReleaseLeaseResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ReleaseLeaseResponseProto>(Arena*); |
542 | template<> ::Hdfs::Internal::RemoveCacheDirectiveRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RemoveCacheDirectiveRequestProto>(Arena*); |
543 | template<> ::Hdfs::Internal::RemoveCacheDirectiveResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RemoveCacheDirectiveResponseProto>(Arena*); |
544 | template<> ::Hdfs::Internal::RemoveCachePoolRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RemoveCachePoolRequestProto>(Arena*); |
545 | template<> ::Hdfs::Internal::RemoveCachePoolResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RemoveCachePoolResponseProto>(Arena*); |
546 | template<> ::Hdfs::Internal::Rename2RequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::Rename2RequestProto>(Arena*); |
547 | template<> ::Hdfs::Internal::Rename2ResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::Rename2ResponseProto>(Arena*); |
548 | template<> ::Hdfs::Internal::RenameRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenameRequestProto>(Arena*); |
549 | template<> ::Hdfs::Internal::RenameResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenameResponseProto>(Arena*); |
550 | template<> ::Hdfs::Internal::RenameSnapshotRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenameSnapshotRequestProto>(Arena*); |
551 | template<> ::Hdfs::Internal::RenameSnapshotResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenameSnapshotResponseProto>(Arena*); |
552 | template<> ::Hdfs::Internal::RenewLeaseRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenewLeaseRequestProto>(Arena*); |
553 | template<> ::Hdfs::Internal::RenewLeaseResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RenewLeaseResponseProto>(Arena*); |
554 | template<> ::Hdfs::Internal::ReportBadBlocksRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ReportBadBlocksRequestProto>(Arena*); |
555 | template<> ::Hdfs::Internal::ReportBadBlocksResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::ReportBadBlocksResponseProto>(Arena*); |
556 | template<> ::Hdfs::Internal::RestoreFailedStorageRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RestoreFailedStorageRequestProto>(Arena*); |
557 | template<> ::Hdfs::Internal::RestoreFailedStorageResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RestoreFailedStorageResponseProto>(Arena*); |
558 | template<> ::Hdfs::Internal::RollEditsRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RollEditsRequestProto>(Arena*); |
559 | template<> ::Hdfs::Internal::RollEditsResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::RollEditsResponseProto>(Arena*); |
560 | template<> ::Hdfs::Internal::SaveNamespaceRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SaveNamespaceRequestProto>(Arena*); |
561 | template<> ::Hdfs::Internal::SaveNamespaceResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SaveNamespaceResponseProto>(Arena*); |
562 | template<> ::Hdfs::Internal::SetBalancerBandwidthRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetBalancerBandwidthRequestProto>(Arena*); |
563 | template<> ::Hdfs::Internal::SetBalancerBandwidthResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetBalancerBandwidthResponseProto>(Arena*); |
564 | template<> ::Hdfs::Internal::SetOwnerRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetOwnerRequestProto>(Arena*); |
565 | template<> ::Hdfs::Internal::SetOwnerResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetOwnerResponseProto>(Arena*); |
566 | template<> ::Hdfs::Internal::SetPermissionRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetPermissionRequestProto>(Arena*); |
567 | template<> ::Hdfs::Internal::SetPermissionResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetPermissionResponseProto>(Arena*); |
568 | template<> ::Hdfs::Internal::SetQuotaRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetQuotaRequestProto>(Arena*); |
569 | template<> ::Hdfs::Internal::SetQuotaResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetQuotaResponseProto>(Arena*); |
570 | template<> ::Hdfs::Internal::SetReplicationRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetReplicationRequestProto>(Arena*); |
571 | template<> ::Hdfs::Internal::SetReplicationResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetReplicationResponseProto>(Arena*); |
572 | template<> ::Hdfs::Internal::SetSafeModeRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetSafeModeRequestProto>(Arena*); |
573 | template<> ::Hdfs::Internal::SetSafeModeResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetSafeModeResponseProto>(Arena*); |
574 | template<> ::Hdfs::Internal::SetTimesRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetTimesRequestProto>(Arena*); |
575 | template<> ::Hdfs::Internal::SetTimesResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::SetTimesResponseProto>(Arena*); |
576 | template<> ::Hdfs::Internal::TruncateRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::TruncateRequestProto>(Arena*); |
577 | template<> ::Hdfs::Internal::TruncateResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::TruncateResponseProto>(Arena*); |
578 | template<> ::Hdfs::Internal::UpdateBlockForPipelineRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::UpdateBlockForPipelineRequestProto>(Arena*); |
579 | template<> ::Hdfs::Internal::UpdateBlockForPipelineResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::UpdateBlockForPipelineResponseProto>(Arena*); |
580 | template<> ::Hdfs::Internal::UpdatePipelineRequestProto* Arena::CreateMaybeMessage<::Hdfs::Internal::UpdatePipelineRequestProto>(Arena*); |
581 | template<> ::Hdfs::Internal::UpdatePipelineResponseProto* Arena::CreateMaybeMessage<::Hdfs::Internal::UpdatePipelineResponseProto>(Arena*); |
582 | } // namespace protobuf |
583 | } // namespace google |
584 | namespace Hdfs { |
585 | namespace Internal { |
586 | |
587 | enum CreateFlagProto { |
588 | CREATE = 1, |
589 | OVERWRITE = 2, |
590 | APPEND = 4 |
591 | }; |
592 | bool CreateFlagProto_IsValid(int value); |
593 | const CreateFlagProto CreateFlagProto_MIN = CREATE; |
594 | const CreateFlagProto CreateFlagProto_MAX = APPEND; |
595 | const int CreateFlagProto_ARRAYSIZE = CreateFlagProto_MAX + 1; |
596 | |
597 | const ::google::protobuf::EnumDescriptor* CreateFlagProto_descriptor(); |
598 | inline const ::std::string& CreateFlagProto_Name(CreateFlagProto value) { |
599 | return ::google::protobuf::internal::NameOfEnum( |
600 | CreateFlagProto_descriptor(), value); |
601 | } |
602 | inline bool CreateFlagProto_Parse( |
603 | const ::std::string& name, CreateFlagProto* value) { |
604 | return ::google::protobuf::internal::ParseNamedEnum<CreateFlagProto>( |
605 | CreateFlagProto_descriptor(), name, value); |
606 | } |
607 | enum DatanodeReportTypeProto { |
608 | ALL = 1, |
609 | LIVE = 2, |
610 | DEAD = 3 |
611 | }; |
612 | bool DatanodeReportTypeProto_IsValid(int value); |
613 | const DatanodeReportTypeProto DatanodeReportTypeProto_MIN = ALL; |
614 | const DatanodeReportTypeProto DatanodeReportTypeProto_MAX = DEAD; |
615 | const int DatanodeReportTypeProto_ARRAYSIZE = DatanodeReportTypeProto_MAX + 1; |
616 | |
617 | const ::google::protobuf::EnumDescriptor* DatanodeReportTypeProto_descriptor(); |
618 | inline const ::std::string& DatanodeReportTypeProto_Name(DatanodeReportTypeProto value) { |
619 | return ::google::protobuf::internal::NameOfEnum( |
620 | DatanodeReportTypeProto_descriptor(), value); |
621 | } |
622 | inline bool DatanodeReportTypeProto_Parse( |
623 | const ::std::string& name, DatanodeReportTypeProto* value) { |
624 | return ::google::protobuf::internal::ParseNamedEnum<DatanodeReportTypeProto>( |
625 | DatanodeReportTypeProto_descriptor(), name, value); |
626 | } |
627 | enum SafeModeActionProto { |
628 | SAFEMODE_LEAVE = 1, |
629 | SAFEMODE_ENTER = 2, |
630 | SAFEMODE_GET = 3 |
631 | }; |
632 | bool SafeModeActionProto_IsValid(int value); |
633 | const SafeModeActionProto SafeModeActionProto_MIN = SAFEMODE_LEAVE; |
634 | const SafeModeActionProto SafeModeActionProto_MAX = SAFEMODE_GET; |
635 | const int SafeModeActionProto_ARRAYSIZE = SafeModeActionProto_MAX + 1; |
636 | |
637 | const ::google::protobuf::EnumDescriptor* SafeModeActionProto_descriptor(); |
638 | inline const ::std::string& SafeModeActionProto_Name(SafeModeActionProto value) { |
639 | return ::google::protobuf::internal::NameOfEnum( |
640 | SafeModeActionProto_descriptor(), value); |
641 | } |
642 | inline bool SafeModeActionProto_Parse( |
643 | const ::std::string& name, SafeModeActionProto* value) { |
644 | return ::google::protobuf::internal::ParseNamedEnum<SafeModeActionProto>( |
645 | SafeModeActionProto_descriptor(), name, value); |
646 | } |
647 | enum CacheFlagProto { |
648 | FORCE = 1 |
649 | }; |
650 | bool CacheFlagProto_IsValid(int value); |
651 | const CacheFlagProto CacheFlagProto_MIN = FORCE; |
652 | const CacheFlagProto CacheFlagProto_MAX = FORCE; |
653 | const int CacheFlagProto_ARRAYSIZE = CacheFlagProto_MAX + 1; |
654 | |
655 | const ::google::protobuf::EnumDescriptor* CacheFlagProto_descriptor(); |
656 | inline const ::std::string& CacheFlagProto_Name(CacheFlagProto value) { |
657 | return ::google::protobuf::internal::NameOfEnum( |
658 | CacheFlagProto_descriptor(), value); |
659 | } |
660 | inline bool CacheFlagProto_Parse( |
661 | const ::std::string& name, CacheFlagProto* value) { |
662 | return ::google::protobuf::internal::ParseNamedEnum<CacheFlagProto>( |
663 | CacheFlagProto_descriptor(), name, value); |
664 | } |
665 | // =================================================================== |
666 | |
667 | class GetBlockLocationsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetBlockLocationsRequestProto) */ { |
668 | public: |
669 | GetBlockLocationsRequestProto(); |
670 | virtual ~GetBlockLocationsRequestProto(); |
671 | |
672 | GetBlockLocationsRequestProto(const GetBlockLocationsRequestProto& from); |
673 | |
674 | inline GetBlockLocationsRequestProto& operator=(const GetBlockLocationsRequestProto& from) { |
675 | CopyFrom(from); |
676 | return *this; |
677 | } |
678 | #if LANG_CXX11 |
679 | GetBlockLocationsRequestProto(GetBlockLocationsRequestProto&& from) noexcept |
680 | : GetBlockLocationsRequestProto() { |
681 | *this = ::std::move(from); |
682 | } |
683 | |
684 | inline GetBlockLocationsRequestProto& operator=(GetBlockLocationsRequestProto&& from) noexcept { |
685 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
686 | if (this != &from) InternalSwap(&from); |
687 | } else { |
688 | CopyFrom(from); |
689 | } |
690 | return *this; |
691 | } |
692 | #endif |
693 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
694 | return _internal_metadata_.unknown_fields(); |
695 | } |
696 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
697 | return _internal_metadata_.mutable_unknown_fields(); |
698 | } |
699 | |
700 | static const ::google::protobuf::Descriptor* descriptor(); |
701 | static const GetBlockLocationsRequestProto& default_instance(); |
702 | |
703 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
704 | static inline const GetBlockLocationsRequestProto* internal_default_instance() { |
705 | return reinterpret_cast<const GetBlockLocationsRequestProto*>( |
706 | &_GetBlockLocationsRequestProto_default_instance_); |
707 | } |
708 | static constexpr int kIndexInFileMessages = |
709 | 0; |
710 | |
711 | void Swap(GetBlockLocationsRequestProto* other); |
712 | friend void swap(GetBlockLocationsRequestProto& a, GetBlockLocationsRequestProto& b) { |
713 | a.Swap(&b); |
714 | } |
715 | |
716 | // implements Message ---------------------------------------------- |
717 | |
718 | inline GetBlockLocationsRequestProto* New() const final { |
719 | return CreateMaybeMessage<GetBlockLocationsRequestProto>(NULL); |
720 | } |
721 | |
722 | GetBlockLocationsRequestProto* New(::google::protobuf::Arena* arena) const final { |
723 | return CreateMaybeMessage<GetBlockLocationsRequestProto>(arena); |
724 | } |
725 | void CopyFrom(const ::google::protobuf::Message& from) final; |
726 | void MergeFrom(const ::google::protobuf::Message& from) final; |
727 | void CopyFrom(const GetBlockLocationsRequestProto& from); |
728 | void MergeFrom(const GetBlockLocationsRequestProto& from); |
729 | void Clear() final; |
730 | bool IsInitialized() const final; |
731 | |
732 | size_t ByteSizeLong() const final; |
733 | bool MergePartialFromCodedStream( |
734 | ::google::protobuf::io::CodedInputStream* input) final; |
735 | void SerializeWithCachedSizes( |
736 | ::google::protobuf::io::CodedOutputStream* output) const final; |
737 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
738 | bool deterministic, ::google::protobuf::uint8* target) const final; |
739 | int GetCachedSize() const final { return _cached_size_.Get(); } |
740 | |
741 | private: |
742 | void SharedCtor(); |
743 | void SharedDtor(); |
744 | void SetCachedSize(int size) const final; |
745 | void InternalSwap(GetBlockLocationsRequestProto* other); |
746 | private: |
747 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
748 | return NULL; |
749 | } |
750 | inline void* MaybeArenaPtr() const { |
751 | return NULL; |
752 | } |
753 | public: |
754 | |
755 | ::google::protobuf::Metadata GetMetadata() const final; |
756 | |
757 | // nested types ---------------------------------------------------- |
758 | |
759 | // accessors ------------------------------------------------------- |
760 | |
761 | // required string src = 1; |
762 | bool has_src() const; |
763 | void clear_src(); |
764 | static const int kSrcFieldNumber = 1; |
765 | const ::std::string& src() const; |
766 | void set_src(const ::std::string& value); |
767 | #if LANG_CXX11 |
768 | void set_src(::std::string&& value); |
769 | #endif |
770 | void set_src(const char* value); |
771 | void set_src(const char* value, size_t size); |
772 | ::std::string* mutable_src(); |
773 | ::std::string* release_src(); |
774 | void set_allocated_src(::std::string* src); |
775 | |
776 | // required uint64 offset = 2; |
777 | bool has_offset() const; |
778 | void clear_offset(); |
779 | static const int kOffsetFieldNumber = 2; |
780 | ::google::protobuf::uint64 offset() const; |
781 | void set_offset(::google::protobuf::uint64 value); |
782 | |
783 | // required uint64 length = 3; |
784 | bool has_length() const; |
785 | void clear_length(); |
786 | static const int kLengthFieldNumber = 3; |
787 | ::google::protobuf::uint64 length() const; |
788 | void set_length(::google::protobuf::uint64 value); |
789 | |
790 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetBlockLocationsRequestProto) |
791 | private: |
792 | void set_has_src(); |
793 | void clear_has_src(); |
794 | void set_has_offset(); |
795 | void clear_has_offset(); |
796 | void set_has_length(); |
797 | void clear_has_length(); |
798 | |
799 | // helper for ByteSizeLong() |
800 | size_t RequiredFieldsByteSizeFallback() const; |
801 | |
802 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
803 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
804 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
805 | ::google::protobuf::internal::ArenaStringPtr src_; |
806 | ::google::protobuf::uint64 offset_; |
807 | ::google::protobuf::uint64 length_; |
808 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
809 | }; |
810 | // ------------------------------------------------------------------- |
811 | |
812 | class GetBlockLocationsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetBlockLocationsResponseProto) */ { |
813 | public: |
814 | GetBlockLocationsResponseProto(); |
815 | virtual ~GetBlockLocationsResponseProto(); |
816 | |
817 | GetBlockLocationsResponseProto(const GetBlockLocationsResponseProto& from); |
818 | |
819 | inline GetBlockLocationsResponseProto& operator=(const GetBlockLocationsResponseProto& from) { |
820 | CopyFrom(from); |
821 | return *this; |
822 | } |
823 | #if LANG_CXX11 |
824 | GetBlockLocationsResponseProto(GetBlockLocationsResponseProto&& from) noexcept |
825 | : GetBlockLocationsResponseProto() { |
826 | *this = ::std::move(from); |
827 | } |
828 | |
829 | inline GetBlockLocationsResponseProto& operator=(GetBlockLocationsResponseProto&& from) noexcept { |
830 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
831 | if (this != &from) InternalSwap(&from); |
832 | } else { |
833 | CopyFrom(from); |
834 | } |
835 | return *this; |
836 | } |
837 | #endif |
838 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
839 | return _internal_metadata_.unknown_fields(); |
840 | } |
841 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
842 | return _internal_metadata_.mutable_unknown_fields(); |
843 | } |
844 | |
845 | static const ::google::protobuf::Descriptor* descriptor(); |
846 | static const GetBlockLocationsResponseProto& default_instance(); |
847 | |
848 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
849 | static inline const GetBlockLocationsResponseProto* internal_default_instance() { |
850 | return reinterpret_cast<const GetBlockLocationsResponseProto*>( |
851 | &_GetBlockLocationsResponseProto_default_instance_); |
852 | } |
853 | static constexpr int kIndexInFileMessages = |
854 | 1; |
855 | |
856 | void Swap(GetBlockLocationsResponseProto* other); |
857 | friend void swap(GetBlockLocationsResponseProto& a, GetBlockLocationsResponseProto& b) { |
858 | a.Swap(&b); |
859 | } |
860 | |
861 | // implements Message ---------------------------------------------- |
862 | |
863 | inline GetBlockLocationsResponseProto* New() const final { |
864 | return CreateMaybeMessage<GetBlockLocationsResponseProto>(NULL); |
865 | } |
866 | |
867 | GetBlockLocationsResponseProto* New(::google::protobuf::Arena* arena) const final { |
868 | return CreateMaybeMessage<GetBlockLocationsResponseProto>(arena); |
869 | } |
870 | void CopyFrom(const ::google::protobuf::Message& from) final; |
871 | void MergeFrom(const ::google::protobuf::Message& from) final; |
872 | void CopyFrom(const GetBlockLocationsResponseProto& from); |
873 | void MergeFrom(const GetBlockLocationsResponseProto& from); |
874 | void Clear() final; |
875 | bool IsInitialized() const final; |
876 | |
877 | size_t ByteSizeLong() const final; |
878 | bool MergePartialFromCodedStream( |
879 | ::google::protobuf::io::CodedInputStream* input) final; |
880 | void SerializeWithCachedSizes( |
881 | ::google::protobuf::io::CodedOutputStream* output) const final; |
882 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
883 | bool deterministic, ::google::protobuf::uint8* target) const final; |
884 | int GetCachedSize() const final { return _cached_size_.Get(); } |
885 | |
886 | private: |
887 | void SharedCtor(); |
888 | void SharedDtor(); |
889 | void SetCachedSize(int size) const final; |
890 | void InternalSwap(GetBlockLocationsResponseProto* other); |
891 | private: |
892 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
893 | return NULL; |
894 | } |
895 | inline void* MaybeArenaPtr() const { |
896 | return NULL; |
897 | } |
898 | public: |
899 | |
900 | ::google::protobuf::Metadata GetMetadata() const final; |
901 | |
902 | // nested types ---------------------------------------------------- |
903 | |
904 | // accessors ------------------------------------------------------- |
905 | |
906 | // optional .Hdfs.Internal.LocatedBlocksProto locations = 1; |
907 | bool has_locations() const; |
908 | void clear_locations(); |
909 | static const int kLocationsFieldNumber = 1; |
910 | private: |
911 | const ::Hdfs::Internal::LocatedBlocksProto& _internal_locations() const; |
912 | public: |
913 | const ::Hdfs::Internal::LocatedBlocksProto& locations() const; |
914 | ::Hdfs::Internal::LocatedBlocksProto* release_locations(); |
915 | ::Hdfs::Internal::LocatedBlocksProto* mutable_locations(); |
916 | void set_allocated_locations(::Hdfs::Internal::LocatedBlocksProto* locations); |
917 | |
918 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetBlockLocationsResponseProto) |
919 | private: |
920 | void set_has_locations(); |
921 | void clear_has_locations(); |
922 | |
923 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
924 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
925 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
926 | ::Hdfs::Internal::LocatedBlocksProto* locations_; |
927 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
928 | }; |
929 | // ------------------------------------------------------------------- |
930 | |
931 | class GetServerDefaultsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetServerDefaultsRequestProto) */ { |
932 | public: |
933 | GetServerDefaultsRequestProto(); |
934 | virtual ~GetServerDefaultsRequestProto(); |
935 | |
936 | GetServerDefaultsRequestProto(const GetServerDefaultsRequestProto& from); |
937 | |
938 | inline GetServerDefaultsRequestProto& operator=(const GetServerDefaultsRequestProto& from) { |
939 | CopyFrom(from); |
940 | return *this; |
941 | } |
942 | #if LANG_CXX11 |
943 | GetServerDefaultsRequestProto(GetServerDefaultsRequestProto&& from) noexcept |
944 | : GetServerDefaultsRequestProto() { |
945 | *this = ::std::move(from); |
946 | } |
947 | |
948 | inline GetServerDefaultsRequestProto& operator=(GetServerDefaultsRequestProto&& from) noexcept { |
949 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
950 | if (this != &from) InternalSwap(&from); |
951 | } else { |
952 | CopyFrom(from); |
953 | } |
954 | return *this; |
955 | } |
956 | #endif |
957 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
958 | return _internal_metadata_.unknown_fields(); |
959 | } |
960 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
961 | return _internal_metadata_.mutable_unknown_fields(); |
962 | } |
963 | |
964 | static const ::google::protobuf::Descriptor* descriptor(); |
965 | static const GetServerDefaultsRequestProto& default_instance(); |
966 | |
967 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
968 | static inline const GetServerDefaultsRequestProto* internal_default_instance() { |
969 | return reinterpret_cast<const GetServerDefaultsRequestProto*>( |
970 | &_GetServerDefaultsRequestProto_default_instance_); |
971 | } |
972 | static constexpr int kIndexInFileMessages = |
973 | 2; |
974 | |
975 | void Swap(GetServerDefaultsRequestProto* other); |
976 | friend void swap(GetServerDefaultsRequestProto& a, GetServerDefaultsRequestProto& b) { |
977 | a.Swap(&b); |
978 | } |
979 | |
980 | // implements Message ---------------------------------------------- |
981 | |
982 | inline GetServerDefaultsRequestProto* New() const final { |
983 | return CreateMaybeMessage<GetServerDefaultsRequestProto>(NULL); |
984 | } |
985 | |
986 | GetServerDefaultsRequestProto* New(::google::protobuf::Arena* arena) const final { |
987 | return CreateMaybeMessage<GetServerDefaultsRequestProto>(arena); |
988 | } |
989 | void CopyFrom(const ::google::protobuf::Message& from) final; |
990 | void MergeFrom(const ::google::protobuf::Message& from) final; |
991 | void CopyFrom(const GetServerDefaultsRequestProto& from); |
992 | void MergeFrom(const GetServerDefaultsRequestProto& from); |
993 | void Clear() final; |
994 | bool IsInitialized() const final; |
995 | |
996 | size_t ByteSizeLong() const final; |
997 | bool MergePartialFromCodedStream( |
998 | ::google::protobuf::io::CodedInputStream* input) final; |
999 | void SerializeWithCachedSizes( |
1000 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1001 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1002 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1003 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1004 | |
1005 | private: |
1006 | void SharedCtor(); |
1007 | void SharedDtor(); |
1008 | void SetCachedSize(int size) const final; |
1009 | void InternalSwap(GetServerDefaultsRequestProto* other); |
1010 | private: |
1011 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1012 | return NULL; |
1013 | } |
1014 | inline void* MaybeArenaPtr() const { |
1015 | return NULL; |
1016 | } |
1017 | public: |
1018 | |
1019 | ::google::protobuf::Metadata GetMetadata() const final; |
1020 | |
1021 | // nested types ---------------------------------------------------- |
1022 | |
1023 | // accessors ------------------------------------------------------- |
1024 | |
1025 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetServerDefaultsRequestProto) |
1026 | private: |
1027 | |
1028 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1029 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1030 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1031 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1032 | }; |
1033 | // ------------------------------------------------------------------- |
1034 | |
1035 | class GetServerDefaultsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetServerDefaultsResponseProto) */ { |
1036 | public: |
1037 | GetServerDefaultsResponseProto(); |
1038 | virtual ~GetServerDefaultsResponseProto(); |
1039 | |
1040 | GetServerDefaultsResponseProto(const GetServerDefaultsResponseProto& from); |
1041 | |
1042 | inline GetServerDefaultsResponseProto& operator=(const GetServerDefaultsResponseProto& from) { |
1043 | CopyFrom(from); |
1044 | return *this; |
1045 | } |
1046 | #if LANG_CXX11 |
1047 | GetServerDefaultsResponseProto(GetServerDefaultsResponseProto&& from) noexcept |
1048 | : GetServerDefaultsResponseProto() { |
1049 | *this = ::std::move(from); |
1050 | } |
1051 | |
1052 | inline GetServerDefaultsResponseProto& operator=(GetServerDefaultsResponseProto&& from) noexcept { |
1053 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1054 | if (this != &from) InternalSwap(&from); |
1055 | } else { |
1056 | CopyFrom(from); |
1057 | } |
1058 | return *this; |
1059 | } |
1060 | #endif |
1061 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1062 | return _internal_metadata_.unknown_fields(); |
1063 | } |
1064 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1065 | return _internal_metadata_.mutable_unknown_fields(); |
1066 | } |
1067 | |
1068 | static const ::google::protobuf::Descriptor* descriptor(); |
1069 | static const GetServerDefaultsResponseProto& default_instance(); |
1070 | |
1071 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1072 | static inline const GetServerDefaultsResponseProto* internal_default_instance() { |
1073 | return reinterpret_cast<const GetServerDefaultsResponseProto*>( |
1074 | &_GetServerDefaultsResponseProto_default_instance_); |
1075 | } |
1076 | static constexpr int kIndexInFileMessages = |
1077 | 3; |
1078 | |
1079 | void Swap(GetServerDefaultsResponseProto* other); |
1080 | friend void swap(GetServerDefaultsResponseProto& a, GetServerDefaultsResponseProto& b) { |
1081 | a.Swap(&b); |
1082 | } |
1083 | |
1084 | // implements Message ---------------------------------------------- |
1085 | |
1086 | inline GetServerDefaultsResponseProto* New() const final { |
1087 | return CreateMaybeMessage<GetServerDefaultsResponseProto>(NULL); |
1088 | } |
1089 | |
1090 | GetServerDefaultsResponseProto* New(::google::protobuf::Arena* arena) const final { |
1091 | return CreateMaybeMessage<GetServerDefaultsResponseProto>(arena); |
1092 | } |
1093 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1094 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1095 | void CopyFrom(const GetServerDefaultsResponseProto& from); |
1096 | void MergeFrom(const GetServerDefaultsResponseProto& from); |
1097 | void Clear() final; |
1098 | bool IsInitialized() const final; |
1099 | |
1100 | size_t ByteSizeLong() const final; |
1101 | bool MergePartialFromCodedStream( |
1102 | ::google::protobuf::io::CodedInputStream* input) final; |
1103 | void SerializeWithCachedSizes( |
1104 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1105 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1106 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1107 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1108 | |
1109 | private: |
1110 | void SharedCtor(); |
1111 | void SharedDtor(); |
1112 | void SetCachedSize(int size) const final; |
1113 | void InternalSwap(GetServerDefaultsResponseProto* other); |
1114 | private: |
1115 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1116 | return NULL; |
1117 | } |
1118 | inline void* MaybeArenaPtr() const { |
1119 | return NULL; |
1120 | } |
1121 | public: |
1122 | |
1123 | ::google::protobuf::Metadata GetMetadata() const final; |
1124 | |
1125 | // nested types ---------------------------------------------------- |
1126 | |
1127 | // accessors ------------------------------------------------------- |
1128 | |
1129 | // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1; |
1130 | bool has_serverdefaults() const; |
1131 | void clear_serverdefaults(); |
1132 | static const int kServerDefaultsFieldNumber = 1; |
1133 | private: |
1134 | const ::Hdfs::Internal::FsServerDefaultsProto& _internal_serverdefaults() const; |
1135 | public: |
1136 | const ::Hdfs::Internal::FsServerDefaultsProto& serverdefaults() const; |
1137 | ::Hdfs::Internal::FsServerDefaultsProto* release_serverdefaults(); |
1138 | ::Hdfs::Internal::FsServerDefaultsProto* mutable_serverdefaults(); |
1139 | void set_allocated_serverdefaults(::Hdfs::Internal::FsServerDefaultsProto* serverdefaults); |
1140 | |
1141 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetServerDefaultsResponseProto) |
1142 | private: |
1143 | void set_has_serverdefaults(); |
1144 | void clear_has_serverdefaults(); |
1145 | |
1146 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1147 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1148 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1149 | ::Hdfs::Internal::FsServerDefaultsProto* serverdefaults_; |
1150 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1151 | }; |
1152 | // ------------------------------------------------------------------- |
1153 | |
1154 | class CreateRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateRequestProto) */ { |
1155 | public: |
1156 | CreateRequestProto(); |
1157 | virtual ~CreateRequestProto(); |
1158 | |
1159 | CreateRequestProto(const CreateRequestProto& from); |
1160 | |
1161 | inline CreateRequestProto& operator=(const CreateRequestProto& from) { |
1162 | CopyFrom(from); |
1163 | return *this; |
1164 | } |
1165 | #if LANG_CXX11 |
1166 | CreateRequestProto(CreateRequestProto&& from) noexcept |
1167 | : CreateRequestProto() { |
1168 | *this = ::std::move(from); |
1169 | } |
1170 | |
1171 | inline CreateRequestProto& operator=(CreateRequestProto&& from) noexcept { |
1172 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1173 | if (this != &from) InternalSwap(&from); |
1174 | } else { |
1175 | CopyFrom(from); |
1176 | } |
1177 | return *this; |
1178 | } |
1179 | #endif |
1180 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1181 | return _internal_metadata_.unknown_fields(); |
1182 | } |
1183 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1184 | return _internal_metadata_.mutable_unknown_fields(); |
1185 | } |
1186 | |
1187 | static const ::google::protobuf::Descriptor* descriptor(); |
1188 | static const CreateRequestProto& default_instance(); |
1189 | |
1190 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1191 | static inline const CreateRequestProto* internal_default_instance() { |
1192 | return reinterpret_cast<const CreateRequestProto*>( |
1193 | &_CreateRequestProto_default_instance_); |
1194 | } |
1195 | static constexpr int kIndexInFileMessages = |
1196 | 4; |
1197 | |
1198 | void Swap(CreateRequestProto* other); |
1199 | friend void swap(CreateRequestProto& a, CreateRequestProto& b) { |
1200 | a.Swap(&b); |
1201 | } |
1202 | |
1203 | // implements Message ---------------------------------------------- |
1204 | |
1205 | inline CreateRequestProto* New() const final { |
1206 | return CreateMaybeMessage<CreateRequestProto>(NULL); |
1207 | } |
1208 | |
1209 | CreateRequestProto* New(::google::protobuf::Arena* arena) const final { |
1210 | return CreateMaybeMessage<CreateRequestProto>(arena); |
1211 | } |
1212 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1213 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1214 | void CopyFrom(const CreateRequestProto& from); |
1215 | void MergeFrom(const CreateRequestProto& from); |
1216 | void Clear() final; |
1217 | bool IsInitialized() const final; |
1218 | |
1219 | size_t ByteSizeLong() const final; |
1220 | bool MergePartialFromCodedStream( |
1221 | ::google::protobuf::io::CodedInputStream* input) final; |
1222 | void SerializeWithCachedSizes( |
1223 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1224 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1225 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1226 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1227 | |
1228 | private: |
1229 | void SharedCtor(); |
1230 | void SharedDtor(); |
1231 | void SetCachedSize(int size) const final; |
1232 | void InternalSwap(CreateRequestProto* other); |
1233 | private: |
1234 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1235 | return NULL; |
1236 | } |
1237 | inline void* MaybeArenaPtr() const { |
1238 | return NULL; |
1239 | } |
1240 | public: |
1241 | |
1242 | ::google::protobuf::Metadata GetMetadata() const final; |
1243 | |
1244 | // nested types ---------------------------------------------------- |
1245 | |
1246 | // accessors ------------------------------------------------------- |
1247 | |
1248 | // required string src = 1; |
1249 | bool has_src() const; |
1250 | void clear_src(); |
1251 | static const int kSrcFieldNumber = 1; |
1252 | const ::std::string& src() const; |
1253 | void set_src(const ::std::string& value); |
1254 | #if LANG_CXX11 |
1255 | void set_src(::std::string&& value); |
1256 | #endif |
1257 | void set_src(const char* value); |
1258 | void set_src(const char* value, size_t size); |
1259 | ::std::string* mutable_src(); |
1260 | ::std::string* release_src(); |
1261 | void set_allocated_src(::std::string* src); |
1262 | |
1263 | // required string clientName = 3; |
1264 | bool has_clientname() const; |
1265 | void clear_clientname(); |
1266 | static const int kClientNameFieldNumber = 3; |
1267 | const ::std::string& clientname() const; |
1268 | void set_clientname(const ::std::string& value); |
1269 | #if LANG_CXX11 |
1270 | void set_clientname(::std::string&& value); |
1271 | #endif |
1272 | void set_clientname(const char* value); |
1273 | void set_clientname(const char* value, size_t size); |
1274 | ::std::string* mutable_clientname(); |
1275 | ::std::string* release_clientname(); |
1276 | void set_allocated_clientname(::std::string* clientname); |
1277 | |
1278 | // required .Hdfs.Internal.FsPermissionProto masked = 2; |
1279 | bool has_masked() const; |
1280 | void clear_masked(); |
1281 | static const int kMaskedFieldNumber = 2; |
1282 | private: |
1283 | const ::Hdfs::Internal::FsPermissionProto& _internal_masked() const; |
1284 | public: |
1285 | const ::Hdfs::Internal::FsPermissionProto& masked() const; |
1286 | ::Hdfs::Internal::FsPermissionProto* release_masked(); |
1287 | ::Hdfs::Internal::FsPermissionProto* mutable_masked(); |
1288 | void set_allocated_masked(::Hdfs::Internal::FsPermissionProto* masked); |
1289 | |
1290 | // required uint32 createFlag = 4; |
1291 | bool has_createflag() const; |
1292 | void clear_createflag(); |
1293 | static const int kCreateFlagFieldNumber = 4; |
1294 | ::google::protobuf::uint32 createflag() const; |
1295 | void set_createflag(::google::protobuf::uint32 value); |
1296 | |
1297 | // required bool createParent = 5; |
1298 | bool has_createparent() const; |
1299 | void clear_createparent(); |
1300 | static const int kCreateParentFieldNumber = 5; |
1301 | bool createparent() const; |
1302 | void set_createparent(bool value); |
1303 | |
1304 | // required uint64 blockSize = 7; |
1305 | bool has_blocksize() const; |
1306 | void clear_blocksize(); |
1307 | static const int kBlockSizeFieldNumber = 7; |
1308 | ::google::protobuf::uint64 blocksize() const; |
1309 | void set_blocksize(::google::protobuf::uint64 value); |
1310 | |
1311 | // required uint32 replication = 6; |
1312 | bool has_replication() const; |
1313 | void clear_replication(); |
1314 | static const int kReplicationFieldNumber = 6; |
1315 | ::google::protobuf::uint32 replication() const; |
1316 | void set_replication(::google::protobuf::uint32 value); |
1317 | |
1318 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateRequestProto) |
1319 | private: |
1320 | void set_has_src(); |
1321 | void clear_has_src(); |
1322 | void set_has_masked(); |
1323 | void clear_has_masked(); |
1324 | void set_has_clientname(); |
1325 | void clear_has_clientname(); |
1326 | void set_has_createflag(); |
1327 | void clear_has_createflag(); |
1328 | void set_has_createparent(); |
1329 | void clear_has_createparent(); |
1330 | void set_has_replication(); |
1331 | void clear_has_replication(); |
1332 | void set_has_blocksize(); |
1333 | void clear_has_blocksize(); |
1334 | |
1335 | // helper for ByteSizeLong() |
1336 | size_t RequiredFieldsByteSizeFallback() const; |
1337 | |
1338 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1339 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1340 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1341 | ::google::protobuf::internal::ArenaStringPtr src_; |
1342 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
1343 | ::Hdfs::Internal::FsPermissionProto* masked_; |
1344 | ::google::protobuf::uint32 createflag_; |
1345 | bool createparent_; |
1346 | ::google::protobuf::uint64 blocksize_; |
1347 | ::google::protobuf::uint32 replication_; |
1348 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1349 | }; |
1350 | // ------------------------------------------------------------------- |
1351 | |
1352 | class CreateResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateResponseProto) */ { |
1353 | public: |
1354 | CreateResponseProto(); |
1355 | virtual ~CreateResponseProto(); |
1356 | |
1357 | CreateResponseProto(const CreateResponseProto& from); |
1358 | |
1359 | inline CreateResponseProto& operator=(const CreateResponseProto& from) { |
1360 | CopyFrom(from); |
1361 | return *this; |
1362 | } |
1363 | #if LANG_CXX11 |
1364 | CreateResponseProto(CreateResponseProto&& from) noexcept |
1365 | : CreateResponseProto() { |
1366 | *this = ::std::move(from); |
1367 | } |
1368 | |
1369 | inline CreateResponseProto& operator=(CreateResponseProto&& from) noexcept { |
1370 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1371 | if (this != &from) InternalSwap(&from); |
1372 | } else { |
1373 | CopyFrom(from); |
1374 | } |
1375 | return *this; |
1376 | } |
1377 | #endif |
1378 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1379 | return _internal_metadata_.unknown_fields(); |
1380 | } |
1381 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1382 | return _internal_metadata_.mutable_unknown_fields(); |
1383 | } |
1384 | |
1385 | static const ::google::protobuf::Descriptor* descriptor(); |
1386 | static const CreateResponseProto& default_instance(); |
1387 | |
1388 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1389 | static inline const CreateResponseProto* internal_default_instance() { |
1390 | return reinterpret_cast<const CreateResponseProto*>( |
1391 | &_CreateResponseProto_default_instance_); |
1392 | } |
1393 | static constexpr int kIndexInFileMessages = |
1394 | 5; |
1395 | |
1396 | void Swap(CreateResponseProto* other); |
1397 | friend void swap(CreateResponseProto& a, CreateResponseProto& b) { |
1398 | a.Swap(&b); |
1399 | } |
1400 | |
1401 | // implements Message ---------------------------------------------- |
1402 | |
1403 | inline CreateResponseProto* New() const final { |
1404 | return CreateMaybeMessage<CreateResponseProto>(NULL); |
1405 | } |
1406 | |
1407 | CreateResponseProto* New(::google::protobuf::Arena* arena) const final { |
1408 | return CreateMaybeMessage<CreateResponseProto>(arena); |
1409 | } |
1410 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1411 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1412 | void CopyFrom(const CreateResponseProto& from); |
1413 | void MergeFrom(const CreateResponseProto& from); |
1414 | void Clear() final; |
1415 | bool IsInitialized() const final; |
1416 | |
1417 | size_t ByteSizeLong() const final; |
1418 | bool MergePartialFromCodedStream( |
1419 | ::google::protobuf::io::CodedInputStream* input) final; |
1420 | void SerializeWithCachedSizes( |
1421 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1422 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1423 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1424 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1425 | |
1426 | private: |
1427 | void SharedCtor(); |
1428 | void SharedDtor(); |
1429 | void SetCachedSize(int size) const final; |
1430 | void InternalSwap(CreateResponseProto* other); |
1431 | private: |
1432 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1433 | return NULL; |
1434 | } |
1435 | inline void* MaybeArenaPtr() const { |
1436 | return NULL; |
1437 | } |
1438 | public: |
1439 | |
1440 | ::google::protobuf::Metadata GetMetadata() const final; |
1441 | |
1442 | // nested types ---------------------------------------------------- |
1443 | |
1444 | // accessors ------------------------------------------------------- |
1445 | |
1446 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
1447 | bool has_fs() const; |
1448 | void clear_fs(); |
1449 | static const int kFsFieldNumber = 1; |
1450 | private: |
1451 | const ::Hdfs::Internal::HdfsFileStatusProto& _internal_fs() const; |
1452 | public: |
1453 | const ::Hdfs::Internal::HdfsFileStatusProto& fs() const; |
1454 | ::Hdfs::Internal::HdfsFileStatusProto* release_fs(); |
1455 | ::Hdfs::Internal::HdfsFileStatusProto* mutable_fs(); |
1456 | void set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs); |
1457 | |
1458 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateResponseProto) |
1459 | private: |
1460 | void set_has_fs(); |
1461 | void clear_has_fs(); |
1462 | |
1463 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1464 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1465 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1466 | ::Hdfs::Internal::HdfsFileStatusProto* fs_; |
1467 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1468 | }; |
1469 | // ------------------------------------------------------------------- |
1470 | |
1471 | class AppendRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AppendRequestProto) */ { |
1472 | public: |
1473 | AppendRequestProto(); |
1474 | virtual ~AppendRequestProto(); |
1475 | |
1476 | AppendRequestProto(const AppendRequestProto& from); |
1477 | |
1478 | inline AppendRequestProto& operator=(const AppendRequestProto& from) { |
1479 | CopyFrom(from); |
1480 | return *this; |
1481 | } |
1482 | #if LANG_CXX11 |
1483 | AppendRequestProto(AppendRequestProto&& from) noexcept |
1484 | : AppendRequestProto() { |
1485 | *this = ::std::move(from); |
1486 | } |
1487 | |
1488 | inline AppendRequestProto& operator=(AppendRequestProto&& from) noexcept { |
1489 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1490 | if (this != &from) InternalSwap(&from); |
1491 | } else { |
1492 | CopyFrom(from); |
1493 | } |
1494 | return *this; |
1495 | } |
1496 | #endif |
1497 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1498 | return _internal_metadata_.unknown_fields(); |
1499 | } |
1500 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1501 | return _internal_metadata_.mutable_unknown_fields(); |
1502 | } |
1503 | |
1504 | static const ::google::protobuf::Descriptor* descriptor(); |
1505 | static const AppendRequestProto& default_instance(); |
1506 | |
1507 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1508 | static inline const AppendRequestProto* internal_default_instance() { |
1509 | return reinterpret_cast<const AppendRequestProto*>( |
1510 | &_AppendRequestProto_default_instance_); |
1511 | } |
1512 | static constexpr int kIndexInFileMessages = |
1513 | 6; |
1514 | |
1515 | void Swap(AppendRequestProto* other); |
1516 | friend void swap(AppendRequestProto& a, AppendRequestProto& b) { |
1517 | a.Swap(&b); |
1518 | } |
1519 | |
1520 | // implements Message ---------------------------------------------- |
1521 | |
1522 | inline AppendRequestProto* New() const final { |
1523 | return CreateMaybeMessage<AppendRequestProto>(NULL); |
1524 | } |
1525 | |
1526 | AppendRequestProto* New(::google::protobuf::Arena* arena) const final { |
1527 | return CreateMaybeMessage<AppendRequestProto>(arena); |
1528 | } |
1529 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1530 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1531 | void CopyFrom(const AppendRequestProto& from); |
1532 | void MergeFrom(const AppendRequestProto& from); |
1533 | void Clear() final; |
1534 | bool IsInitialized() const final; |
1535 | |
1536 | size_t ByteSizeLong() const final; |
1537 | bool MergePartialFromCodedStream( |
1538 | ::google::protobuf::io::CodedInputStream* input) final; |
1539 | void SerializeWithCachedSizes( |
1540 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1541 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1542 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1543 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1544 | |
1545 | private: |
1546 | void SharedCtor(); |
1547 | void SharedDtor(); |
1548 | void SetCachedSize(int size) const final; |
1549 | void InternalSwap(AppendRequestProto* other); |
1550 | private: |
1551 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1552 | return NULL; |
1553 | } |
1554 | inline void* MaybeArenaPtr() const { |
1555 | return NULL; |
1556 | } |
1557 | public: |
1558 | |
1559 | ::google::protobuf::Metadata GetMetadata() const final; |
1560 | |
1561 | // nested types ---------------------------------------------------- |
1562 | |
1563 | // accessors ------------------------------------------------------- |
1564 | |
1565 | // required string src = 1; |
1566 | bool has_src() const; |
1567 | void clear_src(); |
1568 | static const int kSrcFieldNumber = 1; |
1569 | const ::std::string& src() const; |
1570 | void set_src(const ::std::string& value); |
1571 | #if LANG_CXX11 |
1572 | void set_src(::std::string&& value); |
1573 | #endif |
1574 | void set_src(const char* value); |
1575 | void set_src(const char* value, size_t size); |
1576 | ::std::string* mutable_src(); |
1577 | ::std::string* release_src(); |
1578 | void set_allocated_src(::std::string* src); |
1579 | |
1580 | // required string clientName = 2; |
1581 | bool has_clientname() const; |
1582 | void clear_clientname(); |
1583 | static const int kClientNameFieldNumber = 2; |
1584 | const ::std::string& clientname() const; |
1585 | void set_clientname(const ::std::string& value); |
1586 | #if LANG_CXX11 |
1587 | void set_clientname(::std::string&& value); |
1588 | #endif |
1589 | void set_clientname(const char* value); |
1590 | void set_clientname(const char* value, size_t size); |
1591 | ::std::string* mutable_clientname(); |
1592 | ::std::string* release_clientname(); |
1593 | void set_allocated_clientname(::std::string* clientname); |
1594 | |
1595 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AppendRequestProto) |
1596 | private: |
1597 | void set_has_src(); |
1598 | void clear_has_src(); |
1599 | void set_has_clientname(); |
1600 | void clear_has_clientname(); |
1601 | |
1602 | // helper for ByteSizeLong() |
1603 | size_t RequiredFieldsByteSizeFallback() const; |
1604 | |
1605 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1606 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1607 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1608 | ::google::protobuf::internal::ArenaStringPtr src_; |
1609 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
1610 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1611 | }; |
1612 | // ------------------------------------------------------------------- |
1613 | |
1614 | class AppendResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AppendResponseProto) */ { |
1615 | public: |
1616 | AppendResponseProto(); |
1617 | virtual ~AppendResponseProto(); |
1618 | |
1619 | AppendResponseProto(const AppendResponseProto& from); |
1620 | |
1621 | inline AppendResponseProto& operator=(const AppendResponseProto& from) { |
1622 | CopyFrom(from); |
1623 | return *this; |
1624 | } |
1625 | #if LANG_CXX11 |
1626 | AppendResponseProto(AppendResponseProto&& from) noexcept |
1627 | : AppendResponseProto() { |
1628 | *this = ::std::move(from); |
1629 | } |
1630 | |
1631 | inline AppendResponseProto& operator=(AppendResponseProto&& from) noexcept { |
1632 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1633 | if (this != &from) InternalSwap(&from); |
1634 | } else { |
1635 | CopyFrom(from); |
1636 | } |
1637 | return *this; |
1638 | } |
1639 | #endif |
1640 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1641 | return _internal_metadata_.unknown_fields(); |
1642 | } |
1643 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1644 | return _internal_metadata_.mutable_unknown_fields(); |
1645 | } |
1646 | |
1647 | static const ::google::protobuf::Descriptor* descriptor(); |
1648 | static const AppendResponseProto& default_instance(); |
1649 | |
1650 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1651 | static inline const AppendResponseProto* internal_default_instance() { |
1652 | return reinterpret_cast<const AppendResponseProto*>( |
1653 | &_AppendResponseProto_default_instance_); |
1654 | } |
1655 | static constexpr int kIndexInFileMessages = |
1656 | 7; |
1657 | |
1658 | void Swap(AppendResponseProto* other); |
1659 | friend void swap(AppendResponseProto& a, AppendResponseProto& b) { |
1660 | a.Swap(&b); |
1661 | } |
1662 | |
1663 | // implements Message ---------------------------------------------- |
1664 | |
1665 | inline AppendResponseProto* New() const final { |
1666 | return CreateMaybeMessage<AppendResponseProto>(NULL); |
1667 | } |
1668 | |
1669 | AppendResponseProto* New(::google::protobuf::Arena* arena) const final { |
1670 | return CreateMaybeMessage<AppendResponseProto>(arena); |
1671 | } |
1672 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1673 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1674 | void CopyFrom(const AppendResponseProto& from); |
1675 | void MergeFrom(const AppendResponseProto& from); |
1676 | void Clear() final; |
1677 | bool IsInitialized() const final; |
1678 | |
1679 | size_t ByteSizeLong() const final; |
1680 | bool MergePartialFromCodedStream( |
1681 | ::google::protobuf::io::CodedInputStream* input) final; |
1682 | void SerializeWithCachedSizes( |
1683 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1684 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1685 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1686 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1687 | |
1688 | private: |
1689 | void SharedCtor(); |
1690 | void SharedDtor(); |
1691 | void SetCachedSize(int size) const final; |
1692 | void InternalSwap(AppendResponseProto* other); |
1693 | private: |
1694 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1695 | return NULL; |
1696 | } |
1697 | inline void* MaybeArenaPtr() const { |
1698 | return NULL; |
1699 | } |
1700 | public: |
1701 | |
1702 | ::google::protobuf::Metadata GetMetadata() const final; |
1703 | |
1704 | // nested types ---------------------------------------------------- |
1705 | |
1706 | // accessors ------------------------------------------------------- |
1707 | |
1708 | // optional .Hdfs.Internal.LocatedBlockProto block = 1; |
1709 | bool has_block() const; |
1710 | void clear_block(); |
1711 | static const int kBlockFieldNumber = 1; |
1712 | private: |
1713 | const ::Hdfs::Internal::LocatedBlockProto& _internal_block() const; |
1714 | public: |
1715 | const ::Hdfs::Internal::LocatedBlockProto& block() const; |
1716 | ::Hdfs::Internal::LocatedBlockProto* release_block(); |
1717 | ::Hdfs::Internal::LocatedBlockProto* mutable_block(); |
1718 | void set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block); |
1719 | |
1720 | // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2; |
1721 | bool has_stat() const; |
1722 | void clear_stat(); |
1723 | static const int kStatFieldNumber = 2; |
1724 | private: |
1725 | const ::Hdfs::Internal::HdfsFileStatusProto& _internal_stat() const; |
1726 | public: |
1727 | const ::Hdfs::Internal::HdfsFileStatusProto& stat() const; |
1728 | ::Hdfs::Internal::HdfsFileStatusProto* release_stat(); |
1729 | ::Hdfs::Internal::HdfsFileStatusProto* mutable_stat(); |
1730 | void set_allocated_stat(::Hdfs::Internal::HdfsFileStatusProto* stat); |
1731 | |
1732 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AppendResponseProto) |
1733 | private: |
1734 | void set_has_block(); |
1735 | void clear_has_block(); |
1736 | void set_has_stat(); |
1737 | void clear_has_stat(); |
1738 | |
1739 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1740 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1741 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1742 | ::Hdfs::Internal::LocatedBlockProto* block_; |
1743 | ::Hdfs::Internal::HdfsFileStatusProto* stat_; |
1744 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1745 | }; |
1746 | // ------------------------------------------------------------------- |
1747 | |
1748 | class SetReplicationRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetReplicationRequestProto) */ { |
1749 | public: |
1750 | SetReplicationRequestProto(); |
1751 | virtual ~SetReplicationRequestProto(); |
1752 | |
1753 | SetReplicationRequestProto(const SetReplicationRequestProto& from); |
1754 | |
1755 | inline SetReplicationRequestProto& operator=(const SetReplicationRequestProto& from) { |
1756 | CopyFrom(from); |
1757 | return *this; |
1758 | } |
1759 | #if LANG_CXX11 |
1760 | SetReplicationRequestProto(SetReplicationRequestProto&& from) noexcept |
1761 | : SetReplicationRequestProto() { |
1762 | *this = ::std::move(from); |
1763 | } |
1764 | |
1765 | inline SetReplicationRequestProto& operator=(SetReplicationRequestProto&& from) noexcept { |
1766 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1767 | if (this != &from) InternalSwap(&from); |
1768 | } else { |
1769 | CopyFrom(from); |
1770 | } |
1771 | return *this; |
1772 | } |
1773 | #endif |
1774 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1775 | return _internal_metadata_.unknown_fields(); |
1776 | } |
1777 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1778 | return _internal_metadata_.mutable_unknown_fields(); |
1779 | } |
1780 | |
1781 | static const ::google::protobuf::Descriptor* descriptor(); |
1782 | static const SetReplicationRequestProto& default_instance(); |
1783 | |
1784 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1785 | static inline const SetReplicationRequestProto* internal_default_instance() { |
1786 | return reinterpret_cast<const SetReplicationRequestProto*>( |
1787 | &_SetReplicationRequestProto_default_instance_); |
1788 | } |
1789 | static constexpr int kIndexInFileMessages = |
1790 | 8; |
1791 | |
1792 | void Swap(SetReplicationRequestProto* other); |
1793 | friend void swap(SetReplicationRequestProto& a, SetReplicationRequestProto& b) { |
1794 | a.Swap(&b); |
1795 | } |
1796 | |
1797 | // implements Message ---------------------------------------------- |
1798 | |
1799 | inline SetReplicationRequestProto* New() const final { |
1800 | return CreateMaybeMessage<SetReplicationRequestProto>(NULL); |
1801 | } |
1802 | |
1803 | SetReplicationRequestProto* New(::google::protobuf::Arena* arena) const final { |
1804 | return CreateMaybeMessage<SetReplicationRequestProto>(arena); |
1805 | } |
1806 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1807 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1808 | void CopyFrom(const SetReplicationRequestProto& from); |
1809 | void MergeFrom(const SetReplicationRequestProto& from); |
1810 | void Clear() final; |
1811 | bool IsInitialized() const final; |
1812 | |
1813 | size_t ByteSizeLong() const final; |
1814 | bool MergePartialFromCodedStream( |
1815 | ::google::protobuf::io::CodedInputStream* input) final; |
1816 | void SerializeWithCachedSizes( |
1817 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1818 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1819 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1820 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1821 | |
1822 | private: |
1823 | void SharedCtor(); |
1824 | void SharedDtor(); |
1825 | void SetCachedSize(int size) const final; |
1826 | void InternalSwap(SetReplicationRequestProto* other); |
1827 | private: |
1828 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1829 | return NULL; |
1830 | } |
1831 | inline void* MaybeArenaPtr() const { |
1832 | return NULL; |
1833 | } |
1834 | public: |
1835 | |
1836 | ::google::protobuf::Metadata GetMetadata() const final; |
1837 | |
1838 | // nested types ---------------------------------------------------- |
1839 | |
1840 | // accessors ------------------------------------------------------- |
1841 | |
1842 | // required string src = 1; |
1843 | bool has_src() const; |
1844 | void clear_src(); |
1845 | static const int kSrcFieldNumber = 1; |
1846 | const ::std::string& src() const; |
1847 | void set_src(const ::std::string& value); |
1848 | #if LANG_CXX11 |
1849 | void set_src(::std::string&& value); |
1850 | #endif |
1851 | void set_src(const char* value); |
1852 | void set_src(const char* value, size_t size); |
1853 | ::std::string* mutable_src(); |
1854 | ::std::string* release_src(); |
1855 | void set_allocated_src(::std::string* src); |
1856 | |
1857 | // required uint32 replication = 2; |
1858 | bool has_replication() const; |
1859 | void clear_replication(); |
1860 | static const int kReplicationFieldNumber = 2; |
1861 | ::google::protobuf::uint32 replication() const; |
1862 | void set_replication(::google::protobuf::uint32 value); |
1863 | |
1864 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetReplicationRequestProto) |
1865 | private: |
1866 | void set_has_src(); |
1867 | void clear_has_src(); |
1868 | void set_has_replication(); |
1869 | void clear_has_replication(); |
1870 | |
1871 | // helper for ByteSizeLong() |
1872 | size_t RequiredFieldsByteSizeFallback() const; |
1873 | |
1874 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1875 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1876 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1877 | ::google::protobuf::internal::ArenaStringPtr src_; |
1878 | ::google::protobuf::uint32 replication_; |
1879 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1880 | }; |
1881 | // ------------------------------------------------------------------- |
1882 | |
1883 | class SetReplicationResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetReplicationResponseProto) */ { |
1884 | public: |
1885 | SetReplicationResponseProto(); |
1886 | virtual ~SetReplicationResponseProto(); |
1887 | |
1888 | SetReplicationResponseProto(const SetReplicationResponseProto& from); |
1889 | |
1890 | inline SetReplicationResponseProto& operator=(const SetReplicationResponseProto& from) { |
1891 | CopyFrom(from); |
1892 | return *this; |
1893 | } |
1894 | #if LANG_CXX11 |
1895 | SetReplicationResponseProto(SetReplicationResponseProto&& from) noexcept |
1896 | : SetReplicationResponseProto() { |
1897 | *this = ::std::move(from); |
1898 | } |
1899 | |
1900 | inline SetReplicationResponseProto& operator=(SetReplicationResponseProto&& from) noexcept { |
1901 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1902 | if (this != &from) InternalSwap(&from); |
1903 | } else { |
1904 | CopyFrom(from); |
1905 | } |
1906 | return *this; |
1907 | } |
1908 | #endif |
1909 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
1910 | return _internal_metadata_.unknown_fields(); |
1911 | } |
1912 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
1913 | return _internal_metadata_.mutable_unknown_fields(); |
1914 | } |
1915 | |
1916 | static const ::google::protobuf::Descriptor* descriptor(); |
1917 | static const SetReplicationResponseProto& default_instance(); |
1918 | |
1919 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1920 | static inline const SetReplicationResponseProto* internal_default_instance() { |
1921 | return reinterpret_cast<const SetReplicationResponseProto*>( |
1922 | &_SetReplicationResponseProto_default_instance_); |
1923 | } |
1924 | static constexpr int kIndexInFileMessages = |
1925 | 9; |
1926 | |
1927 | void Swap(SetReplicationResponseProto* other); |
1928 | friend void swap(SetReplicationResponseProto& a, SetReplicationResponseProto& b) { |
1929 | a.Swap(&b); |
1930 | } |
1931 | |
1932 | // implements Message ---------------------------------------------- |
1933 | |
1934 | inline SetReplicationResponseProto* New() const final { |
1935 | return CreateMaybeMessage<SetReplicationResponseProto>(NULL); |
1936 | } |
1937 | |
1938 | SetReplicationResponseProto* New(::google::protobuf::Arena* arena) const final { |
1939 | return CreateMaybeMessage<SetReplicationResponseProto>(arena); |
1940 | } |
1941 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1942 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1943 | void CopyFrom(const SetReplicationResponseProto& from); |
1944 | void MergeFrom(const SetReplicationResponseProto& from); |
1945 | void Clear() final; |
1946 | bool IsInitialized() const final; |
1947 | |
1948 | size_t ByteSizeLong() const final; |
1949 | bool MergePartialFromCodedStream( |
1950 | ::google::protobuf::io::CodedInputStream* input) final; |
1951 | void SerializeWithCachedSizes( |
1952 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1953 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1954 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1955 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1956 | |
1957 | private: |
1958 | void SharedCtor(); |
1959 | void SharedDtor(); |
1960 | void SetCachedSize(int size) const final; |
1961 | void InternalSwap(SetReplicationResponseProto* other); |
1962 | private: |
1963 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1964 | return NULL; |
1965 | } |
1966 | inline void* MaybeArenaPtr() const { |
1967 | return NULL; |
1968 | } |
1969 | public: |
1970 | |
1971 | ::google::protobuf::Metadata GetMetadata() const final; |
1972 | |
1973 | // nested types ---------------------------------------------------- |
1974 | |
1975 | // accessors ------------------------------------------------------- |
1976 | |
1977 | // required bool result = 1; |
1978 | bool has_result() const; |
1979 | void clear_result(); |
1980 | static const int kResultFieldNumber = 1; |
1981 | bool result() const; |
1982 | void set_result(bool value); |
1983 | |
1984 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetReplicationResponseProto) |
1985 | private: |
1986 | void set_has_result(); |
1987 | void clear_has_result(); |
1988 | |
1989 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1990 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1991 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1992 | bool result_; |
1993 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
1994 | }; |
1995 | // ------------------------------------------------------------------- |
1996 | |
1997 | class SetPermissionRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetPermissionRequestProto) */ { |
1998 | public: |
1999 | SetPermissionRequestProto(); |
2000 | virtual ~SetPermissionRequestProto(); |
2001 | |
2002 | SetPermissionRequestProto(const SetPermissionRequestProto& from); |
2003 | |
2004 | inline SetPermissionRequestProto& operator=(const SetPermissionRequestProto& from) { |
2005 | CopyFrom(from); |
2006 | return *this; |
2007 | } |
2008 | #if LANG_CXX11 |
2009 | SetPermissionRequestProto(SetPermissionRequestProto&& from) noexcept |
2010 | : SetPermissionRequestProto() { |
2011 | *this = ::std::move(from); |
2012 | } |
2013 | |
2014 | inline SetPermissionRequestProto& operator=(SetPermissionRequestProto&& from) noexcept { |
2015 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2016 | if (this != &from) InternalSwap(&from); |
2017 | } else { |
2018 | CopyFrom(from); |
2019 | } |
2020 | return *this; |
2021 | } |
2022 | #endif |
2023 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2024 | return _internal_metadata_.unknown_fields(); |
2025 | } |
2026 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2027 | return _internal_metadata_.mutable_unknown_fields(); |
2028 | } |
2029 | |
2030 | static const ::google::protobuf::Descriptor* descriptor(); |
2031 | static const SetPermissionRequestProto& default_instance(); |
2032 | |
2033 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2034 | static inline const SetPermissionRequestProto* internal_default_instance() { |
2035 | return reinterpret_cast<const SetPermissionRequestProto*>( |
2036 | &_SetPermissionRequestProto_default_instance_); |
2037 | } |
2038 | static constexpr int kIndexInFileMessages = |
2039 | 10; |
2040 | |
2041 | void Swap(SetPermissionRequestProto* other); |
2042 | friend void swap(SetPermissionRequestProto& a, SetPermissionRequestProto& b) { |
2043 | a.Swap(&b); |
2044 | } |
2045 | |
2046 | // implements Message ---------------------------------------------- |
2047 | |
2048 | inline SetPermissionRequestProto* New() const final { |
2049 | return CreateMaybeMessage<SetPermissionRequestProto>(NULL); |
2050 | } |
2051 | |
2052 | SetPermissionRequestProto* New(::google::protobuf::Arena* arena) const final { |
2053 | return CreateMaybeMessage<SetPermissionRequestProto>(arena); |
2054 | } |
2055 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2056 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2057 | void CopyFrom(const SetPermissionRequestProto& from); |
2058 | void MergeFrom(const SetPermissionRequestProto& from); |
2059 | void Clear() final; |
2060 | bool IsInitialized() const final; |
2061 | |
2062 | size_t ByteSizeLong() const final; |
2063 | bool MergePartialFromCodedStream( |
2064 | ::google::protobuf::io::CodedInputStream* input) final; |
2065 | void SerializeWithCachedSizes( |
2066 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2067 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2068 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2069 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2070 | |
2071 | private: |
2072 | void SharedCtor(); |
2073 | void SharedDtor(); |
2074 | void SetCachedSize(int size) const final; |
2075 | void InternalSwap(SetPermissionRequestProto* other); |
2076 | private: |
2077 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2078 | return NULL; |
2079 | } |
2080 | inline void* MaybeArenaPtr() const { |
2081 | return NULL; |
2082 | } |
2083 | public: |
2084 | |
2085 | ::google::protobuf::Metadata GetMetadata() const final; |
2086 | |
2087 | // nested types ---------------------------------------------------- |
2088 | |
2089 | // accessors ------------------------------------------------------- |
2090 | |
2091 | // required string src = 1; |
2092 | bool has_src() const; |
2093 | void clear_src(); |
2094 | static const int kSrcFieldNumber = 1; |
2095 | const ::std::string& src() const; |
2096 | void set_src(const ::std::string& value); |
2097 | #if LANG_CXX11 |
2098 | void set_src(::std::string&& value); |
2099 | #endif |
2100 | void set_src(const char* value); |
2101 | void set_src(const char* value, size_t size); |
2102 | ::std::string* mutable_src(); |
2103 | ::std::string* release_src(); |
2104 | void set_allocated_src(::std::string* src); |
2105 | |
2106 | // required .Hdfs.Internal.FsPermissionProto permission = 2; |
2107 | bool has_permission() const; |
2108 | void clear_permission(); |
2109 | static const int kPermissionFieldNumber = 2; |
2110 | private: |
2111 | const ::Hdfs::Internal::FsPermissionProto& _internal_permission() const; |
2112 | public: |
2113 | const ::Hdfs::Internal::FsPermissionProto& permission() const; |
2114 | ::Hdfs::Internal::FsPermissionProto* release_permission(); |
2115 | ::Hdfs::Internal::FsPermissionProto* mutable_permission(); |
2116 | void set_allocated_permission(::Hdfs::Internal::FsPermissionProto* permission); |
2117 | |
2118 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetPermissionRequestProto) |
2119 | private: |
2120 | void set_has_src(); |
2121 | void clear_has_src(); |
2122 | void set_has_permission(); |
2123 | void clear_has_permission(); |
2124 | |
2125 | // helper for ByteSizeLong() |
2126 | size_t RequiredFieldsByteSizeFallback() const; |
2127 | |
2128 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2129 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2130 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2131 | ::google::protobuf::internal::ArenaStringPtr src_; |
2132 | ::Hdfs::Internal::FsPermissionProto* permission_; |
2133 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2134 | }; |
2135 | // ------------------------------------------------------------------- |
2136 | |
2137 | class SetPermissionResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetPermissionResponseProto) */ { |
2138 | public: |
2139 | SetPermissionResponseProto(); |
2140 | virtual ~SetPermissionResponseProto(); |
2141 | |
2142 | SetPermissionResponseProto(const SetPermissionResponseProto& from); |
2143 | |
2144 | inline SetPermissionResponseProto& operator=(const SetPermissionResponseProto& from) { |
2145 | CopyFrom(from); |
2146 | return *this; |
2147 | } |
2148 | #if LANG_CXX11 |
2149 | SetPermissionResponseProto(SetPermissionResponseProto&& from) noexcept |
2150 | : SetPermissionResponseProto() { |
2151 | *this = ::std::move(from); |
2152 | } |
2153 | |
2154 | inline SetPermissionResponseProto& operator=(SetPermissionResponseProto&& from) noexcept { |
2155 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2156 | if (this != &from) InternalSwap(&from); |
2157 | } else { |
2158 | CopyFrom(from); |
2159 | } |
2160 | return *this; |
2161 | } |
2162 | #endif |
2163 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2164 | return _internal_metadata_.unknown_fields(); |
2165 | } |
2166 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2167 | return _internal_metadata_.mutable_unknown_fields(); |
2168 | } |
2169 | |
2170 | static const ::google::protobuf::Descriptor* descriptor(); |
2171 | static const SetPermissionResponseProto& default_instance(); |
2172 | |
2173 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2174 | static inline const SetPermissionResponseProto* internal_default_instance() { |
2175 | return reinterpret_cast<const SetPermissionResponseProto*>( |
2176 | &_SetPermissionResponseProto_default_instance_); |
2177 | } |
2178 | static constexpr int kIndexInFileMessages = |
2179 | 11; |
2180 | |
2181 | void Swap(SetPermissionResponseProto* other); |
2182 | friend void swap(SetPermissionResponseProto& a, SetPermissionResponseProto& b) { |
2183 | a.Swap(&b); |
2184 | } |
2185 | |
2186 | // implements Message ---------------------------------------------- |
2187 | |
2188 | inline SetPermissionResponseProto* New() const final { |
2189 | return CreateMaybeMessage<SetPermissionResponseProto>(NULL); |
2190 | } |
2191 | |
2192 | SetPermissionResponseProto* New(::google::protobuf::Arena* arena) const final { |
2193 | return CreateMaybeMessage<SetPermissionResponseProto>(arena); |
2194 | } |
2195 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2196 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2197 | void CopyFrom(const SetPermissionResponseProto& from); |
2198 | void MergeFrom(const SetPermissionResponseProto& from); |
2199 | void Clear() final; |
2200 | bool IsInitialized() const final; |
2201 | |
2202 | size_t ByteSizeLong() const final; |
2203 | bool MergePartialFromCodedStream( |
2204 | ::google::protobuf::io::CodedInputStream* input) final; |
2205 | void SerializeWithCachedSizes( |
2206 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2207 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2208 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2209 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2210 | |
2211 | private: |
2212 | void SharedCtor(); |
2213 | void SharedDtor(); |
2214 | void SetCachedSize(int size) const final; |
2215 | void InternalSwap(SetPermissionResponseProto* other); |
2216 | private: |
2217 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2218 | return NULL; |
2219 | } |
2220 | inline void* MaybeArenaPtr() const { |
2221 | return NULL; |
2222 | } |
2223 | public: |
2224 | |
2225 | ::google::protobuf::Metadata GetMetadata() const final; |
2226 | |
2227 | // nested types ---------------------------------------------------- |
2228 | |
2229 | // accessors ------------------------------------------------------- |
2230 | |
2231 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetPermissionResponseProto) |
2232 | private: |
2233 | |
2234 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2235 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2236 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2237 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2238 | }; |
2239 | // ------------------------------------------------------------------- |
2240 | |
2241 | class SetOwnerRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetOwnerRequestProto) */ { |
2242 | public: |
2243 | SetOwnerRequestProto(); |
2244 | virtual ~SetOwnerRequestProto(); |
2245 | |
2246 | SetOwnerRequestProto(const SetOwnerRequestProto& from); |
2247 | |
2248 | inline SetOwnerRequestProto& operator=(const SetOwnerRequestProto& from) { |
2249 | CopyFrom(from); |
2250 | return *this; |
2251 | } |
2252 | #if LANG_CXX11 |
2253 | SetOwnerRequestProto(SetOwnerRequestProto&& from) noexcept |
2254 | : SetOwnerRequestProto() { |
2255 | *this = ::std::move(from); |
2256 | } |
2257 | |
2258 | inline SetOwnerRequestProto& operator=(SetOwnerRequestProto&& from) noexcept { |
2259 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2260 | if (this != &from) InternalSwap(&from); |
2261 | } else { |
2262 | CopyFrom(from); |
2263 | } |
2264 | return *this; |
2265 | } |
2266 | #endif |
2267 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2268 | return _internal_metadata_.unknown_fields(); |
2269 | } |
2270 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2271 | return _internal_metadata_.mutable_unknown_fields(); |
2272 | } |
2273 | |
2274 | static const ::google::protobuf::Descriptor* descriptor(); |
2275 | static const SetOwnerRequestProto& default_instance(); |
2276 | |
2277 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2278 | static inline const SetOwnerRequestProto* internal_default_instance() { |
2279 | return reinterpret_cast<const SetOwnerRequestProto*>( |
2280 | &_SetOwnerRequestProto_default_instance_); |
2281 | } |
2282 | static constexpr int kIndexInFileMessages = |
2283 | 12; |
2284 | |
2285 | void Swap(SetOwnerRequestProto* other); |
2286 | friend void swap(SetOwnerRequestProto& a, SetOwnerRequestProto& b) { |
2287 | a.Swap(&b); |
2288 | } |
2289 | |
2290 | // implements Message ---------------------------------------------- |
2291 | |
2292 | inline SetOwnerRequestProto* New() const final { |
2293 | return CreateMaybeMessage<SetOwnerRequestProto>(NULL); |
2294 | } |
2295 | |
2296 | SetOwnerRequestProto* New(::google::protobuf::Arena* arena) const final { |
2297 | return CreateMaybeMessage<SetOwnerRequestProto>(arena); |
2298 | } |
2299 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2300 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2301 | void CopyFrom(const SetOwnerRequestProto& from); |
2302 | void MergeFrom(const SetOwnerRequestProto& from); |
2303 | void Clear() final; |
2304 | bool IsInitialized() const final; |
2305 | |
2306 | size_t ByteSizeLong() const final; |
2307 | bool MergePartialFromCodedStream( |
2308 | ::google::protobuf::io::CodedInputStream* input) final; |
2309 | void SerializeWithCachedSizes( |
2310 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2311 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2312 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2313 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2314 | |
2315 | private: |
2316 | void SharedCtor(); |
2317 | void SharedDtor(); |
2318 | void SetCachedSize(int size) const final; |
2319 | void InternalSwap(SetOwnerRequestProto* other); |
2320 | private: |
2321 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2322 | return NULL; |
2323 | } |
2324 | inline void* MaybeArenaPtr() const { |
2325 | return NULL; |
2326 | } |
2327 | public: |
2328 | |
2329 | ::google::protobuf::Metadata GetMetadata() const final; |
2330 | |
2331 | // nested types ---------------------------------------------------- |
2332 | |
2333 | // accessors ------------------------------------------------------- |
2334 | |
2335 | // required string src = 1; |
2336 | bool has_src() const; |
2337 | void clear_src(); |
2338 | static const int kSrcFieldNumber = 1; |
2339 | const ::std::string& src() const; |
2340 | void set_src(const ::std::string& value); |
2341 | #if LANG_CXX11 |
2342 | void set_src(::std::string&& value); |
2343 | #endif |
2344 | void set_src(const char* value); |
2345 | void set_src(const char* value, size_t size); |
2346 | ::std::string* mutable_src(); |
2347 | ::std::string* release_src(); |
2348 | void set_allocated_src(::std::string* src); |
2349 | |
2350 | // optional string username = 2; |
2351 | bool has_username() const; |
2352 | void clear_username(); |
2353 | static const int kUsernameFieldNumber = 2; |
2354 | const ::std::string& username() const; |
2355 | void set_username(const ::std::string& value); |
2356 | #if LANG_CXX11 |
2357 | void set_username(::std::string&& value); |
2358 | #endif |
2359 | void set_username(const char* value); |
2360 | void set_username(const char* value, size_t size); |
2361 | ::std::string* mutable_username(); |
2362 | ::std::string* release_username(); |
2363 | void set_allocated_username(::std::string* username); |
2364 | |
2365 | // optional string groupname = 3; |
2366 | bool has_groupname() const; |
2367 | void clear_groupname(); |
2368 | static const int kGroupnameFieldNumber = 3; |
2369 | const ::std::string& groupname() const; |
2370 | void set_groupname(const ::std::string& value); |
2371 | #if LANG_CXX11 |
2372 | void set_groupname(::std::string&& value); |
2373 | #endif |
2374 | void set_groupname(const char* value); |
2375 | void set_groupname(const char* value, size_t size); |
2376 | ::std::string* mutable_groupname(); |
2377 | ::std::string* release_groupname(); |
2378 | void set_allocated_groupname(::std::string* groupname); |
2379 | |
2380 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetOwnerRequestProto) |
2381 | private: |
2382 | void set_has_src(); |
2383 | void clear_has_src(); |
2384 | void set_has_username(); |
2385 | void clear_has_username(); |
2386 | void set_has_groupname(); |
2387 | void clear_has_groupname(); |
2388 | |
2389 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2390 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2391 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2392 | ::google::protobuf::internal::ArenaStringPtr src_; |
2393 | ::google::protobuf::internal::ArenaStringPtr username_; |
2394 | ::google::protobuf::internal::ArenaStringPtr groupname_; |
2395 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2396 | }; |
2397 | // ------------------------------------------------------------------- |
2398 | |
2399 | class SetOwnerResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetOwnerResponseProto) */ { |
2400 | public: |
2401 | SetOwnerResponseProto(); |
2402 | virtual ~SetOwnerResponseProto(); |
2403 | |
2404 | SetOwnerResponseProto(const SetOwnerResponseProto& from); |
2405 | |
2406 | inline SetOwnerResponseProto& operator=(const SetOwnerResponseProto& from) { |
2407 | CopyFrom(from); |
2408 | return *this; |
2409 | } |
2410 | #if LANG_CXX11 |
2411 | SetOwnerResponseProto(SetOwnerResponseProto&& from) noexcept |
2412 | : SetOwnerResponseProto() { |
2413 | *this = ::std::move(from); |
2414 | } |
2415 | |
2416 | inline SetOwnerResponseProto& operator=(SetOwnerResponseProto&& from) noexcept { |
2417 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2418 | if (this != &from) InternalSwap(&from); |
2419 | } else { |
2420 | CopyFrom(from); |
2421 | } |
2422 | return *this; |
2423 | } |
2424 | #endif |
2425 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2426 | return _internal_metadata_.unknown_fields(); |
2427 | } |
2428 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2429 | return _internal_metadata_.mutable_unknown_fields(); |
2430 | } |
2431 | |
2432 | static const ::google::protobuf::Descriptor* descriptor(); |
2433 | static const SetOwnerResponseProto& default_instance(); |
2434 | |
2435 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2436 | static inline const SetOwnerResponseProto* internal_default_instance() { |
2437 | return reinterpret_cast<const SetOwnerResponseProto*>( |
2438 | &_SetOwnerResponseProto_default_instance_); |
2439 | } |
2440 | static constexpr int kIndexInFileMessages = |
2441 | 13; |
2442 | |
2443 | void Swap(SetOwnerResponseProto* other); |
2444 | friend void swap(SetOwnerResponseProto& a, SetOwnerResponseProto& b) { |
2445 | a.Swap(&b); |
2446 | } |
2447 | |
2448 | // implements Message ---------------------------------------------- |
2449 | |
2450 | inline SetOwnerResponseProto* New() const final { |
2451 | return CreateMaybeMessage<SetOwnerResponseProto>(NULL); |
2452 | } |
2453 | |
2454 | SetOwnerResponseProto* New(::google::protobuf::Arena* arena) const final { |
2455 | return CreateMaybeMessage<SetOwnerResponseProto>(arena); |
2456 | } |
2457 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2458 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2459 | void CopyFrom(const SetOwnerResponseProto& from); |
2460 | void MergeFrom(const SetOwnerResponseProto& from); |
2461 | void Clear() final; |
2462 | bool IsInitialized() const final; |
2463 | |
2464 | size_t ByteSizeLong() const final; |
2465 | bool MergePartialFromCodedStream( |
2466 | ::google::protobuf::io::CodedInputStream* input) final; |
2467 | void SerializeWithCachedSizes( |
2468 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2469 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2470 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2471 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2472 | |
2473 | private: |
2474 | void SharedCtor(); |
2475 | void SharedDtor(); |
2476 | void SetCachedSize(int size) const final; |
2477 | void InternalSwap(SetOwnerResponseProto* other); |
2478 | private: |
2479 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2480 | return NULL; |
2481 | } |
2482 | inline void* MaybeArenaPtr() const { |
2483 | return NULL; |
2484 | } |
2485 | public: |
2486 | |
2487 | ::google::protobuf::Metadata GetMetadata() const final; |
2488 | |
2489 | // nested types ---------------------------------------------------- |
2490 | |
2491 | // accessors ------------------------------------------------------- |
2492 | |
2493 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetOwnerResponseProto) |
2494 | private: |
2495 | |
2496 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2497 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2498 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2499 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2500 | }; |
2501 | // ------------------------------------------------------------------- |
2502 | |
2503 | class AbandonBlockRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AbandonBlockRequestProto) */ { |
2504 | public: |
2505 | AbandonBlockRequestProto(); |
2506 | virtual ~AbandonBlockRequestProto(); |
2507 | |
2508 | AbandonBlockRequestProto(const AbandonBlockRequestProto& from); |
2509 | |
2510 | inline AbandonBlockRequestProto& operator=(const AbandonBlockRequestProto& from) { |
2511 | CopyFrom(from); |
2512 | return *this; |
2513 | } |
2514 | #if LANG_CXX11 |
2515 | AbandonBlockRequestProto(AbandonBlockRequestProto&& from) noexcept |
2516 | : AbandonBlockRequestProto() { |
2517 | *this = ::std::move(from); |
2518 | } |
2519 | |
2520 | inline AbandonBlockRequestProto& operator=(AbandonBlockRequestProto&& from) noexcept { |
2521 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2522 | if (this != &from) InternalSwap(&from); |
2523 | } else { |
2524 | CopyFrom(from); |
2525 | } |
2526 | return *this; |
2527 | } |
2528 | #endif |
2529 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2530 | return _internal_metadata_.unknown_fields(); |
2531 | } |
2532 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2533 | return _internal_metadata_.mutable_unknown_fields(); |
2534 | } |
2535 | |
2536 | static const ::google::protobuf::Descriptor* descriptor(); |
2537 | static const AbandonBlockRequestProto& default_instance(); |
2538 | |
2539 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2540 | static inline const AbandonBlockRequestProto* internal_default_instance() { |
2541 | return reinterpret_cast<const AbandonBlockRequestProto*>( |
2542 | &_AbandonBlockRequestProto_default_instance_); |
2543 | } |
2544 | static constexpr int kIndexInFileMessages = |
2545 | 14; |
2546 | |
2547 | void Swap(AbandonBlockRequestProto* other); |
2548 | friend void swap(AbandonBlockRequestProto& a, AbandonBlockRequestProto& b) { |
2549 | a.Swap(&b); |
2550 | } |
2551 | |
2552 | // implements Message ---------------------------------------------- |
2553 | |
2554 | inline AbandonBlockRequestProto* New() const final { |
2555 | return CreateMaybeMessage<AbandonBlockRequestProto>(NULL); |
2556 | } |
2557 | |
2558 | AbandonBlockRequestProto* New(::google::protobuf::Arena* arena) const final { |
2559 | return CreateMaybeMessage<AbandonBlockRequestProto>(arena); |
2560 | } |
2561 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2562 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2563 | void CopyFrom(const AbandonBlockRequestProto& from); |
2564 | void MergeFrom(const AbandonBlockRequestProto& from); |
2565 | void Clear() final; |
2566 | bool IsInitialized() const final; |
2567 | |
2568 | size_t ByteSizeLong() const final; |
2569 | bool MergePartialFromCodedStream( |
2570 | ::google::protobuf::io::CodedInputStream* input) final; |
2571 | void SerializeWithCachedSizes( |
2572 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2573 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2574 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2575 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2576 | |
2577 | private: |
2578 | void SharedCtor(); |
2579 | void SharedDtor(); |
2580 | void SetCachedSize(int size) const final; |
2581 | void InternalSwap(AbandonBlockRequestProto* other); |
2582 | private: |
2583 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2584 | return NULL; |
2585 | } |
2586 | inline void* MaybeArenaPtr() const { |
2587 | return NULL; |
2588 | } |
2589 | public: |
2590 | |
2591 | ::google::protobuf::Metadata GetMetadata() const final; |
2592 | |
2593 | // nested types ---------------------------------------------------- |
2594 | |
2595 | // accessors ------------------------------------------------------- |
2596 | |
2597 | // required string src = 2; |
2598 | bool has_src() const; |
2599 | void clear_src(); |
2600 | static const int kSrcFieldNumber = 2; |
2601 | const ::std::string& src() const; |
2602 | void set_src(const ::std::string& value); |
2603 | #if LANG_CXX11 |
2604 | void set_src(::std::string&& value); |
2605 | #endif |
2606 | void set_src(const char* value); |
2607 | void set_src(const char* value, size_t size); |
2608 | ::std::string* mutable_src(); |
2609 | ::std::string* release_src(); |
2610 | void set_allocated_src(::std::string* src); |
2611 | |
2612 | // required string holder = 3; |
2613 | bool has_holder() const; |
2614 | void clear_holder(); |
2615 | static const int kHolderFieldNumber = 3; |
2616 | const ::std::string& holder() const; |
2617 | void set_holder(const ::std::string& value); |
2618 | #if LANG_CXX11 |
2619 | void set_holder(::std::string&& value); |
2620 | #endif |
2621 | void set_holder(const char* value); |
2622 | void set_holder(const char* value, size_t size); |
2623 | ::std::string* mutable_holder(); |
2624 | ::std::string* release_holder(); |
2625 | void set_allocated_holder(::std::string* holder); |
2626 | |
2627 | // required .Hdfs.Internal.ExtendedBlockProto b = 1; |
2628 | bool has_b() const; |
2629 | void clear_b(); |
2630 | static const int kBFieldNumber = 1; |
2631 | private: |
2632 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_b() const; |
2633 | public: |
2634 | const ::Hdfs::Internal::ExtendedBlockProto& b() const; |
2635 | ::Hdfs::Internal::ExtendedBlockProto* release_b(); |
2636 | ::Hdfs::Internal::ExtendedBlockProto* mutable_b(); |
2637 | void set_allocated_b(::Hdfs::Internal::ExtendedBlockProto* b); |
2638 | |
2639 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AbandonBlockRequestProto) |
2640 | private: |
2641 | void set_has_b(); |
2642 | void clear_has_b(); |
2643 | void set_has_src(); |
2644 | void clear_has_src(); |
2645 | void set_has_holder(); |
2646 | void clear_has_holder(); |
2647 | |
2648 | // helper for ByteSizeLong() |
2649 | size_t RequiredFieldsByteSizeFallback() const; |
2650 | |
2651 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2652 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2653 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2654 | ::google::protobuf::internal::ArenaStringPtr src_; |
2655 | ::google::protobuf::internal::ArenaStringPtr holder_; |
2656 | ::Hdfs::Internal::ExtendedBlockProto* b_; |
2657 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2658 | }; |
2659 | // ------------------------------------------------------------------- |
2660 | |
2661 | class AbandonBlockResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AbandonBlockResponseProto) */ { |
2662 | public: |
2663 | AbandonBlockResponseProto(); |
2664 | virtual ~AbandonBlockResponseProto(); |
2665 | |
2666 | AbandonBlockResponseProto(const AbandonBlockResponseProto& from); |
2667 | |
2668 | inline AbandonBlockResponseProto& operator=(const AbandonBlockResponseProto& from) { |
2669 | CopyFrom(from); |
2670 | return *this; |
2671 | } |
2672 | #if LANG_CXX11 |
2673 | AbandonBlockResponseProto(AbandonBlockResponseProto&& from) noexcept |
2674 | : AbandonBlockResponseProto() { |
2675 | *this = ::std::move(from); |
2676 | } |
2677 | |
2678 | inline AbandonBlockResponseProto& operator=(AbandonBlockResponseProto&& from) noexcept { |
2679 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2680 | if (this != &from) InternalSwap(&from); |
2681 | } else { |
2682 | CopyFrom(from); |
2683 | } |
2684 | return *this; |
2685 | } |
2686 | #endif |
2687 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2688 | return _internal_metadata_.unknown_fields(); |
2689 | } |
2690 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2691 | return _internal_metadata_.mutable_unknown_fields(); |
2692 | } |
2693 | |
2694 | static const ::google::protobuf::Descriptor* descriptor(); |
2695 | static const AbandonBlockResponseProto& default_instance(); |
2696 | |
2697 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2698 | static inline const AbandonBlockResponseProto* internal_default_instance() { |
2699 | return reinterpret_cast<const AbandonBlockResponseProto*>( |
2700 | &_AbandonBlockResponseProto_default_instance_); |
2701 | } |
2702 | static constexpr int kIndexInFileMessages = |
2703 | 15; |
2704 | |
2705 | void Swap(AbandonBlockResponseProto* other); |
2706 | friend void swap(AbandonBlockResponseProto& a, AbandonBlockResponseProto& b) { |
2707 | a.Swap(&b); |
2708 | } |
2709 | |
2710 | // implements Message ---------------------------------------------- |
2711 | |
2712 | inline AbandonBlockResponseProto* New() const final { |
2713 | return CreateMaybeMessage<AbandonBlockResponseProto>(NULL); |
2714 | } |
2715 | |
2716 | AbandonBlockResponseProto* New(::google::protobuf::Arena* arena) const final { |
2717 | return CreateMaybeMessage<AbandonBlockResponseProto>(arena); |
2718 | } |
2719 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2720 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2721 | void CopyFrom(const AbandonBlockResponseProto& from); |
2722 | void MergeFrom(const AbandonBlockResponseProto& from); |
2723 | void Clear() final; |
2724 | bool IsInitialized() const final; |
2725 | |
2726 | size_t ByteSizeLong() const final; |
2727 | bool MergePartialFromCodedStream( |
2728 | ::google::protobuf::io::CodedInputStream* input) final; |
2729 | void SerializeWithCachedSizes( |
2730 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2731 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2732 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2733 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2734 | |
2735 | private: |
2736 | void SharedCtor(); |
2737 | void SharedDtor(); |
2738 | void SetCachedSize(int size) const final; |
2739 | void InternalSwap(AbandonBlockResponseProto* other); |
2740 | private: |
2741 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2742 | return NULL; |
2743 | } |
2744 | inline void* MaybeArenaPtr() const { |
2745 | return NULL; |
2746 | } |
2747 | public: |
2748 | |
2749 | ::google::protobuf::Metadata GetMetadata() const final; |
2750 | |
2751 | // nested types ---------------------------------------------------- |
2752 | |
2753 | // accessors ------------------------------------------------------- |
2754 | |
2755 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AbandonBlockResponseProto) |
2756 | private: |
2757 | |
2758 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2759 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2760 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2761 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2762 | }; |
2763 | // ------------------------------------------------------------------- |
2764 | |
2765 | class AddBlockRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddBlockRequestProto) */ { |
2766 | public: |
2767 | AddBlockRequestProto(); |
2768 | virtual ~AddBlockRequestProto(); |
2769 | |
2770 | AddBlockRequestProto(const AddBlockRequestProto& from); |
2771 | |
2772 | inline AddBlockRequestProto& operator=(const AddBlockRequestProto& from) { |
2773 | CopyFrom(from); |
2774 | return *this; |
2775 | } |
2776 | #if LANG_CXX11 |
2777 | AddBlockRequestProto(AddBlockRequestProto&& from) noexcept |
2778 | : AddBlockRequestProto() { |
2779 | *this = ::std::move(from); |
2780 | } |
2781 | |
2782 | inline AddBlockRequestProto& operator=(AddBlockRequestProto&& from) noexcept { |
2783 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2784 | if (this != &from) InternalSwap(&from); |
2785 | } else { |
2786 | CopyFrom(from); |
2787 | } |
2788 | return *this; |
2789 | } |
2790 | #endif |
2791 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2792 | return _internal_metadata_.unknown_fields(); |
2793 | } |
2794 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2795 | return _internal_metadata_.mutable_unknown_fields(); |
2796 | } |
2797 | |
2798 | static const ::google::protobuf::Descriptor* descriptor(); |
2799 | static const AddBlockRequestProto& default_instance(); |
2800 | |
2801 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2802 | static inline const AddBlockRequestProto* internal_default_instance() { |
2803 | return reinterpret_cast<const AddBlockRequestProto*>( |
2804 | &_AddBlockRequestProto_default_instance_); |
2805 | } |
2806 | static constexpr int kIndexInFileMessages = |
2807 | 16; |
2808 | |
2809 | void Swap(AddBlockRequestProto* other); |
2810 | friend void swap(AddBlockRequestProto& a, AddBlockRequestProto& b) { |
2811 | a.Swap(&b); |
2812 | } |
2813 | |
2814 | // implements Message ---------------------------------------------- |
2815 | |
2816 | inline AddBlockRequestProto* New() const final { |
2817 | return CreateMaybeMessage<AddBlockRequestProto>(NULL); |
2818 | } |
2819 | |
2820 | AddBlockRequestProto* New(::google::protobuf::Arena* arena) const final { |
2821 | return CreateMaybeMessage<AddBlockRequestProto>(arena); |
2822 | } |
2823 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2824 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2825 | void CopyFrom(const AddBlockRequestProto& from); |
2826 | void MergeFrom(const AddBlockRequestProto& from); |
2827 | void Clear() final; |
2828 | bool IsInitialized() const final; |
2829 | |
2830 | size_t ByteSizeLong() const final; |
2831 | bool MergePartialFromCodedStream( |
2832 | ::google::protobuf::io::CodedInputStream* input) final; |
2833 | void SerializeWithCachedSizes( |
2834 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2835 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2836 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2837 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2838 | |
2839 | private: |
2840 | void SharedCtor(); |
2841 | void SharedDtor(); |
2842 | void SetCachedSize(int size) const final; |
2843 | void InternalSwap(AddBlockRequestProto* other); |
2844 | private: |
2845 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2846 | return NULL; |
2847 | } |
2848 | inline void* MaybeArenaPtr() const { |
2849 | return NULL; |
2850 | } |
2851 | public: |
2852 | |
2853 | ::google::protobuf::Metadata GetMetadata() const final; |
2854 | |
2855 | // nested types ---------------------------------------------------- |
2856 | |
2857 | // accessors ------------------------------------------------------- |
2858 | |
2859 | // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4; |
2860 | int excludenodes_size() const; |
2861 | void clear_excludenodes(); |
2862 | static const int kExcludeNodesFieldNumber = 4; |
2863 | ::Hdfs::Internal::DatanodeInfoProto* mutable_excludenodes(int index); |
2864 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
2865 | mutable_excludenodes(); |
2866 | const ::Hdfs::Internal::DatanodeInfoProto& excludenodes(int index) const; |
2867 | ::Hdfs::Internal::DatanodeInfoProto* add_excludenodes(); |
2868 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
2869 | excludenodes() const; |
2870 | |
2871 | // repeated string favoredNodes = 6; |
2872 | int favorednodes_size() const; |
2873 | void clear_favorednodes(); |
2874 | static const int kFavoredNodesFieldNumber = 6; |
2875 | const ::std::string& favorednodes(int index) const; |
2876 | ::std::string* mutable_favorednodes(int index); |
2877 | void set_favorednodes(int index, const ::std::string& value); |
2878 | #if LANG_CXX11 |
2879 | void set_favorednodes(int index, ::std::string&& value); |
2880 | #endif |
2881 | void set_favorednodes(int index, const char* value); |
2882 | void set_favorednodes(int index, const char* value, size_t size); |
2883 | ::std::string* add_favorednodes(); |
2884 | void add_favorednodes(const ::std::string& value); |
2885 | #if LANG_CXX11 |
2886 | void add_favorednodes(::std::string&& value); |
2887 | #endif |
2888 | void add_favorednodes(const char* value); |
2889 | void add_favorednodes(const char* value, size_t size); |
2890 | const ::google::protobuf::RepeatedPtrField< ::std::string>& favorednodes() const; |
2891 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_favorednodes(); |
2892 | |
2893 | // required string src = 1; |
2894 | bool has_src() const; |
2895 | void clear_src(); |
2896 | static const int kSrcFieldNumber = 1; |
2897 | const ::std::string& src() const; |
2898 | void set_src(const ::std::string& value); |
2899 | #if LANG_CXX11 |
2900 | void set_src(::std::string&& value); |
2901 | #endif |
2902 | void set_src(const char* value); |
2903 | void set_src(const char* value, size_t size); |
2904 | ::std::string* mutable_src(); |
2905 | ::std::string* release_src(); |
2906 | void set_allocated_src(::std::string* src); |
2907 | |
2908 | // required string clientName = 2; |
2909 | bool has_clientname() const; |
2910 | void clear_clientname(); |
2911 | static const int kClientNameFieldNumber = 2; |
2912 | const ::std::string& clientname() const; |
2913 | void set_clientname(const ::std::string& value); |
2914 | #if LANG_CXX11 |
2915 | void set_clientname(::std::string&& value); |
2916 | #endif |
2917 | void set_clientname(const char* value); |
2918 | void set_clientname(const char* value, size_t size); |
2919 | ::std::string* mutable_clientname(); |
2920 | ::std::string* release_clientname(); |
2921 | void set_allocated_clientname(::std::string* clientname); |
2922 | |
2923 | // optional .Hdfs.Internal.ExtendedBlockProto previous = 3; |
2924 | bool has_previous() const; |
2925 | void clear_previous(); |
2926 | static const int kPreviousFieldNumber = 3; |
2927 | private: |
2928 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_previous() const; |
2929 | public: |
2930 | const ::Hdfs::Internal::ExtendedBlockProto& previous() const; |
2931 | ::Hdfs::Internal::ExtendedBlockProto* release_previous(); |
2932 | ::Hdfs::Internal::ExtendedBlockProto* mutable_previous(); |
2933 | void set_allocated_previous(::Hdfs::Internal::ExtendedBlockProto* previous); |
2934 | |
2935 | // optional uint64 fileId = 5 [default = 0]; |
2936 | bool has_fileid() const; |
2937 | void clear_fileid(); |
2938 | static const int kFileIdFieldNumber = 5; |
2939 | ::google::protobuf::uint64 fileid() const; |
2940 | void set_fileid(::google::protobuf::uint64 value); |
2941 | |
2942 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddBlockRequestProto) |
2943 | private: |
2944 | void set_has_src(); |
2945 | void clear_has_src(); |
2946 | void set_has_clientname(); |
2947 | void clear_has_clientname(); |
2948 | void set_has_previous(); |
2949 | void clear_has_previous(); |
2950 | void set_has_fileid(); |
2951 | void clear_has_fileid(); |
2952 | |
2953 | // helper for ByteSizeLong() |
2954 | size_t RequiredFieldsByteSizeFallback() const; |
2955 | |
2956 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2957 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2958 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2959 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto > excludenodes_; |
2960 | ::google::protobuf::RepeatedPtrField< ::std::string> favorednodes_; |
2961 | ::google::protobuf::internal::ArenaStringPtr src_; |
2962 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
2963 | ::Hdfs::Internal::ExtendedBlockProto* previous_; |
2964 | ::google::protobuf::uint64 fileid_; |
2965 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
2966 | }; |
2967 | // ------------------------------------------------------------------- |
2968 | |
2969 | class AddBlockResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddBlockResponseProto) */ { |
2970 | public: |
2971 | AddBlockResponseProto(); |
2972 | virtual ~AddBlockResponseProto(); |
2973 | |
2974 | AddBlockResponseProto(const AddBlockResponseProto& from); |
2975 | |
2976 | inline AddBlockResponseProto& operator=(const AddBlockResponseProto& from) { |
2977 | CopyFrom(from); |
2978 | return *this; |
2979 | } |
2980 | #if LANG_CXX11 |
2981 | AddBlockResponseProto(AddBlockResponseProto&& from) noexcept |
2982 | : AddBlockResponseProto() { |
2983 | *this = ::std::move(from); |
2984 | } |
2985 | |
2986 | inline AddBlockResponseProto& operator=(AddBlockResponseProto&& from) noexcept { |
2987 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2988 | if (this != &from) InternalSwap(&from); |
2989 | } else { |
2990 | CopyFrom(from); |
2991 | } |
2992 | return *this; |
2993 | } |
2994 | #endif |
2995 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
2996 | return _internal_metadata_.unknown_fields(); |
2997 | } |
2998 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
2999 | return _internal_metadata_.mutable_unknown_fields(); |
3000 | } |
3001 | |
3002 | static const ::google::protobuf::Descriptor* descriptor(); |
3003 | static const AddBlockResponseProto& default_instance(); |
3004 | |
3005 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3006 | static inline const AddBlockResponseProto* internal_default_instance() { |
3007 | return reinterpret_cast<const AddBlockResponseProto*>( |
3008 | &_AddBlockResponseProto_default_instance_); |
3009 | } |
3010 | static constexpr int kIndexInFileMessages = |
3011 | 17; |
3012 | |
3013 | void Swap(AddBlockResponseProto* other); |
3014 | friend void swap(AddBlockResponseProto& a, AddBlockResponseProto& b) { |
3015 | a.Swap(&b); |
3016 | } |
3017 | |
3018 | // implements Message ---------------------------------------------- |
3019 | |
3020 | inline AddBlockResponseProto* New() const final { |
3021 | return CreateMaybeMessage<AddBlockResponseProto>(NULL); |
3022 | } |
3023 | |
3024 | AddBlockResponseProto* New(::google::protobuf::Arena* arena) const final { |
3025 | return CreateMaybeMessage<AddBlockResponseProto>(arena); |
3026 | } |
3027 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3028 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3029 | void CopyFrom(const AddBlockResponseProto& from); |
3030 | void MergeFrom(const AddBlockResponseProto& from); |
3031 | void Clear() final; |
3032 | bool IsInitialized() const final; |
3033 | |
3034 | size_t ByteSizeLong() const final; |
3035 | bool MergePartialFromCodedStream( |
3036 | ::google::protobuf::io::CodedInputStream* input) final; |
3037 | void SerializeWithCachedSizes( |
3038 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3039 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3040 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3041 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3042 | |
3043 | private: |
3044 | void SharedCtor(); |
3045 | void SharedDtor(); |
3046 | void SetCachedSize(int size) const final; |
3047 | void InternalSwap(AddBlockResponseProto* other); |
3048 | private: |
3049 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3050 | return NULL; |
3051 | } |
3052 | inline void* MaybeArenaPtr() const { |
3053 | return NULL; |
3054 | } |
3055 | public: |
3056 | |
3057 | ::google::protobuf::Metadata GetMetadata() const final; |
3058 | |
3059 | // nested types ---------------------------------------------------- |
3060 | |
3061 | // accessors ------------------------------------------------------- |
3062 | |
3063 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
3064 | bool has_block() const; |
3065 | void clear_block(); |
3066 | static const int kBlockFieldNumber = 1; |
3067 | private: |
3068 | const ::Hdfs::Internal::LocatedBlockProto& _internal_block() const; |
3069 | public: |
3070 | const ::Hdfs::Internal::LocatedBlockProto& block() const; |
3071 | ::Hdfs::Internal::LocatedBlockProto* release_block(); |
3072 | ::Hdfs::Internal::LocatedBlockProto* mutable_block(); |
3073 | void set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block); |
3074 | |
3075 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddBlockResponseProto) |
3076 | private: |
3077 | void set_has_block(); |
3078 | void clear_has_block(); |
3079 | |
3080 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3081 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3082 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3083 | ::Hdfs::Internal::LocatedBlockProto* block_; |
3084 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3085 | }; |
3086 | // ------------------------------------------------------------------- |
3087 | |
3088 | class GetAdditionalDatanodeRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetAdditionalDatanodeRequestProto) */ { |
3089 | public: |
3090 | GetAdditionalDatanodeRequestProto(); |
3091 | virtual ~GetAdditionalDatanodeRequestProto(); |
3092 | |
3093 | GetAdditionalDatanodeRequestProto(const GetAdditionalDatanodeRequestProto& from); |
3094 | |
3095 | inline GetAdditionalDatanodeRequestProto& operator=(const GetAdditionalDatanodeRequestProto& from) { |
3096 | CopyFrom(from); |
3097 | return *this; |
3098 | } |
3099 | #if LANG_CXX11 |
3100 | GetAdditionalDatanodeRequestProto(GetAdditionalDatanodeRequestProto&& from) noexcept |
3101 | : GetAdditionalDatanodeRequestProto() { |
3102 | *this = ::std::move(from); |
3103 | } |
3104 | |
3105 | inline GetAdditionalDatanodeRequestProto& operator=(GetAdditionalDatanodeRequestProto&& from) noexcept { |
3106 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3107 | if (this != &from) InternalSwap(&from); |
3108 | } else { |
3109 | CopyFrom(from); |
3110 | } |
3111 | return *this; |
3112 | } |
3113 | #endif |
3114 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3115 | return _internal_metadata_.unknown_fields(); |
3116 | } |
3117 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3118 | return _internal_metadata_.mutable_unknown_fields(); |
3119 | } |
3120 | |
3121 | static const ::google::protobuf::Descriptor* descriptor(); |
3122 | static const GetAdditionalDatanodeRequestProto& default_instance(); |
3123 | |
3124 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3125 | static inline const GetAdditionalDatanodeRequestProto* internal_default_instance() { |
3126 | return reinterpret_cast<const GetAdditionalDatanodeRequestProto*>( |
3127 | &_GetAdditionalDatanodeRequestProto_default_instance_); |
3128 | } |
3129 | static constexpr int kIndexInFileMessages = |
3130 | 18; |
3131 | |
3132 | void Swap(GetAdditionalDatanodeRequestProto* other); |
3133 | friend void swap(GetAdditionalDatanodeRequestProto& a, GetAdditionalDatanodeRequestProto& b) { |
3134 | a.Swap(&b); |
3135 | } |
3136 | |
3137 | // implements Message ---------------------------------------------- |
3138 | |
3139 | inline GetAdditionalDatanodeRequestProto* New() const final { |
3140 | return CreateMaybeMessage<GetAdditionalDatanodeRequestProto>(NULL); |
3141 | } |
3142 | |
3143 | GetAdditionalDatanodeRequestProto* New(::google::protobuf::Arena* arena) const final { |
3144 | return CreateMaybeMessage<GetAdditionalDatanodeRequestProto>(arena); |
3145 | } |
3146 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3147 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3148 | void CopyFrom(const GetAdditionalDatanodeRequestProto& from); |
3149 | void MergeFrom(const GetAdditionalDatanodeRequestProto& from); |
3150 | void Clear() final; |
3151 | bool IsInitialized() const final; |
3152 | |
3153 | size_t ByteSizeLong() const final; |
3154 | bool MergePartialFromCodedStream( |
3155 | ::google::protobuf::io::CodedInputStream* input) final; |
3156 | void SerializeWithCachedSizes( |
3157 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3158 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3159 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3160 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3161 | |
3162 | private: |
3163 | void SharedCtor(); |
3164 | void SharedDtor(); |
3165 | void SetCachedSize(int size) const final; |
3166 | void InternalSwap(GetAdditionalDatanodeRequestProto* other); |
3167 | private: |
3168 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3169 | return NULL; |
3170 | } |
3171 | inline void* MaybeArenaPtr() const { |
3172 | return NULL; |
3173 | } |
3174 | public: |
3175 | |
3176 | ::google::protobuf::Metadata GetMetadata() const final; |
3177 | |
3178 | // nested types ---------------------------------------------------- |
3179 | |
3180 | // accessors ------------------------------------------------------- |
3181 | |
3182 | // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3; |
3183 | int existings_size() const; |
3184 | void clear_existings(); |
3185 | static const int kExistingsFieldNumber = 3; |
3186 | ::Hdfs::Internal::DatanodeInfoProto* mutable_existings(int index); |
3187 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
3188 | mutable_existings(); |
3189 | const ::Hdfs::Internal::DatanodeInfoProto& existings(int index) const; |
3190 | ::Hdfs::Internal::DatanodeInfoProto* add_existings(); |
3191 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
3192 | existings() const; |
3193 | |
3194 | // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4; |
3195 | int excludes_size() const; |
3196 | void clear_excludes(); |
3197 | static const int kExcludesFieldNumber = 4; |
3198 | ::Hdfs::Internal::DatanodeInfoProto* mutable_excludes(int index); |
3199 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
3200 | mutable_excludes(); |
3201 | const ::Hdfs::Internal::DatanodeInfoProto& excludes(int index) const; |
3202 | ::Hdfs::Internal::DatanodeInfoProto* add_excludes(); |
3203 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
3204 | excludes() const; |
3205 | |
3206 | // repeated string existingStorageUuids = 7; |
3207 | int existingstorageuuids_size() const; |
3208 | void clear_existingstorageuuids(); |
3209 | static const int kExistingStorageUuidsFieldNumber = 7; |
3210 | const ::std::string& existingstorageuuids(int index) const; |
3211 | ::std::string* mutable_existingstorageuuids(int index); |
3212 | void set_existingstorageuuids(int index, const ::std::string& value); |
3213 | #if LANG_CXX11 |
3214 | void set_existingstorageuuids(int index, ::std::string&& value); |
3215 | #endif |
3216 | void set_existingstorageuuids(int index, const char* value); |
3217 | void set_existingstorageuuids(int index, const char* value, size_t size); |
3218 | ::std::string* add_existingstorageuuids(); |
3219 | void add_existingstorageuuids(const ::std::string& value); |
3220 | #if LANG_CXX11 |
3221 | void add_existingstorageuuids(::std::string&& value); |
3222 | #endif |
3223 | void add_existingstorageuuids(const char* value); |
3224 | void add_existingstorageuuids(const char* value, size_t size); |
3225 | const ::google::protobuf::RepeatedPtrField< ::std::string>& existingstorageuuids() const; |
3226 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_existingstorageuuids(); |
3227 | |
3228 | // required string src = 1; |
3229 | bool has_src() const; |
3230 | void clear_src(); |
3231 | static const int kSrcFieldNumber = 1; |
3232 | const ::std::string& src() const; |
3233 | void set_src(const ::std::string& value); |
3234 | #if LANG_CXX11 |
3235 | void set_src(::std::string&& value); |
3236 | #endif |
3237 | void set_src(const char* value); |
3238 | void set_src(const char* value, size_t size); |
3239 | ::std::string* mutable_src(); |
3240 | ::std::string* release_src(); |
3241 | void set_allocated_src(::std::string* src); |
3242 | |
3243 | // required string clientName = 6; |
3244 | bool has_clientname() const; |
3245 | void clear_clientname(); |
3246 | static const int kClientNameFieldNumber = 6; |
3247 | const ::std::string& clientname() const; |
3248 | void set_clientname(const ::std::string& value); |
3249 | #if LANG_CXX11 |
3250 | void set_clientname(::std::string&& value); |
3251 | #endif |
3252 | void set_clientname(const char* value); |
3253 | void set_clientname(const char* value, size_t size); |
3254 | ::std::string* mutable_clientname(); |
3255 | ::std::string* release_clientname(); |
3256 | void set_allocated_clientname(::std::string* clientname); |
3257 | |
3258 | // required .Hdfs.Internal.ExtendedBlockProto blk = 2; |
3259 | bool has_blk() const; |
3260 | void clear_blk(); |
3261 | static const int kBlkFieldNumber = 2; |
3262 | private: |
3263 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_blk() const; |
3264 | public: |
3265 | const ::Hdfs::Internal::ExtendedBlockProto& blk() const; |
3266 | ::Hdfs::Internal::ExtendedBlockProto* release_blk(); |
3267 | ::Hdfs::Internal::ExtendedBlockProto* mutable_blk(); |
3268 | void set_allocated_blk(::Hdfs::Internal::ExtendedBlockProto* blk); |
3269 | |
3270 | // required uint32 numAdditionalNodes = 5; |
3271 | bool has_numadditionalnodes() const; |
3272 | void clear_numadditionalnodes(); |
3273 | static const int kNumAdditionalNodesFieldNumber = 5; |
3274 | ::google::protobuf::uint32 numadditionalnodes() const; |
3275 | void set_numadditionalnodes(::google::protobuf::uint32 value); |
3276 | |
3277 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetAdditionalDatanodeRequestProto) |
3278 | private: |
3279 | void set_has_src(); |
3280 | void clear_has_src(); |
3281 | void set_has_blk(); |
3282 | void clear_has_blk(); |
3283 | void set_has_numadditionalnodes(); |
3284 | void clear_has_numadditionalnodes(); |
3285 | void set_has_clientname(); |
3286 | void clear_has_clientname(); |
3287 | |
3288 | // helper for ByteSizeLong() |
3289 | size_t RequiredFieldsByteSizeFallback() const; |
3290 | |
3291 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3292 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3293 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3294 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto > existings_; |
3295 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto > excludes_; |
3296 | ::google::protobuf::RepeatedPtrField< ::std::string> existingstorageuuids_; |
3297 | ::google::protobuf::internal::ArenaStringPtr src_; |
3298 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
3299 | ::Hdfs::Internal::ExtendedBlockProto* blk_; |
3300 | ::google::protobuf::uint32 numadditionalnodes_; |
3301 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3302 | }; |
3303 | // ------------------------------------------------------------------- |
3304 | |
3305 | class GetAdditionalDatanodeResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetAdditionalDatanodeResponseProto) */ { |
3306 | public: |
3307 | GetAdditionalDatanodeResponseProto(); |
3308 | virtual ~GetAdditionalDatanodeResponseProto(); |
3309 | |
3310 | GetAdditionalDatanodeResponseProto(const GetAdditionalDatanodeResponseProto& from); |
3311 | |
3312 | inline GetAdditionalDatanodeResponseProto& operator=(const GetAdditionalDatanodeResponseProto& from) { |
3313 | CopyFrom(from); |
3314 | return *this; |
3315 | } |
3316 | #if LANG_CXX11 |
3317 | GetAdditionalDatanodeResponseProto(GetAdditionalDatanodeResponseProto&& from) noexcept |
3318 | : GetAdditionalDatanodeResponseProto() { |
3319 | *this = ::std::move(from); |
3320 | } |
3321 | |
3322 | inline GetAdditionalDatanodeResponseProto& operator=(GetAdditionalDatanodeResponseProto&& from) noexcept { |
3323 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3324 | if (this != &from) InternalSwap(&from); |
3325 | } else { |
3326 | CopyFrom(from); |
3327 | } |
3328 | return *this; |
3329 | } |
3330 | #endif |
3331 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3332 | return _internal_metadata_.unknown_fields(); |
3333 | } |
3334 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3335 | return _internal_metadata_.mutable_unknown_fields(); |
3336 | } |
3337 | |
3338 | static const ::google::protobuf::Descriptor* descriptor(); |
3339 | static const GetAdditionalDatanodeResponseProto& default_instance(); |
3340 | |
3341 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3342 | static inline const GetAdditionalDatanodeResponseProto* internal_default_instance() { |
3343 | return reinterpret_cast<const GetAdditionalDatanodeResponseProto*>( |
3344 | &_GetAdditionalDatanodeResponseProto_default_instance_); |
3345 | } |
3346 | static constexpr int kIndexInFileMessages = |
3347 | 19; |
3348 | |
3349 | void Swap(GetAdditionalDatanodeResponseProto* other); |
3350 | friend void swap(GetAdditionalDatanodeResponseProto& a, GetAdditionalDatanodeResponseProto& b) { |
3351 | a.Swap(&b); |
3352 | } |
3353 | |
3354 | // implements Message ---------------------------------------------- |
3355 | |
3356 | inline GetAdditionalDatanodeResponseProto* New() const final { |
3357 | return CreateMaybeMessage<GetAdditionalDatanodeResponseProto>(NULL); |
3358 | } |
3359 | |
3360 | GetAdditionalDatanodeResponseProto* New(::google::protobuf::Arena* arena) const final { |
3361 | return CreateMaybeMessage<GetAdditionalDatanodeResponseProto>(arena); |
3362 | } |
3363 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3364 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3365 | void CopyFrom(const GetAdditionalDatanodeResponseProto& from); |
3366 | void MergeFrom(const GetAdditionalDatanodeResponseProto& from); |
3367 | void Clear() final; |
3368 | bool IsInitialized() const final; |
3369 | |
3370 | size_t ByteSizeLong() const final; |
3371 | bool MergePartialFromCodedStream( |
3372 | ::google::protobuf::io::CodedInputStream* input) final; |
3373 | void SerializeWithCachedSizes( |
3374 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3375 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3376 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3377 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3378 | |
3379 | private: |
3380 | void SharedCtor(); |
3381 | void SharedDtor(); |
3382 | void SetCachedSize(int size) const final; |
3383 | void InternalSwap(GetAdditionalDatanodeResponseProto* other); |
3384 | private: |
3385 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3386 | return NULL; |
3387 | } |
3388 | inline void* MaybeArenaPtr() const { |
3389 | return NULL; |
3390 | } |
3391 | public: |
3392 | |
3393 | ::google::protobuf::Metadata GetMetadata() const final; |
3394 | |
3395 | // nested types ---------------------------------------------------- |
3396 | |
3397 | // accessors ------------------------------------------------------- |
3398 | |
3399 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
3400 | bool has_block() const; |
3401 | void clear_block(); |
3402 | static const int kBlockFieldNumber = 1; |
3403 | private: |
3404 | const ::Hdfs::Internal::LocatedBlockProto& _internal_block() const; |
3405 | public: |
3406 | const ::Hdfs::Internal::LocatedBlockProto& block() const; |
3407 | ::Hdfs::Internal::LocatedBlockProto* release_block(); |
3408 | ::Hdfs::Internal::LocatedBlockProto* mutable_block(); |
3409 | void set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block); |
3410 | |
3411 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetAdditionalDatanodeResponseProto) |
3412 | private: |
3413 | void set_has_block(); |
3414 | void clear_has_block(); |
3415 | |
3416 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3417 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3418 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3419 | ::Hdfs::Internal::LocatedBlockProto* block_; |
3420 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3421 | }; |
3422 | // ------------------------------------------------------------------- |
3423 | |
3424 | class CompleteRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CompleteRequestProto) */ { |
3425 | public: |
3426 | CompleteRequestProto(); |
3427 | virtual ~CompleteRequestProto(); |
3428 | |
3429 | CompleteRequestProto(const CompleteRequestProto& from); |
3430 | |
3431 | inline CompleteRequestProto& operator=(const CompleteRequestProto& from) { |
3432 | CopyFrom(from); |
3433 | return *this; |
3434 | } |
3435 | #if LANG_CXX11 |
3436 | CompleteRequestProto(CompleteRequestProto&& from) noexcept |
3437 | : CompleteRequestProto() { |
3438 | *this = ::std::move(from); |
3439 | } |
3440 | |
3441 | inline CompleteRequestProto& operator=(CompleteRequestProto&& from) noexcept { |
3442 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3443 | if (this != &from) InternalSwap(&from); |
3444 | } else { |
3445 | CopyFrom(from); |
3446 | } |
3447 | return *this; |
3448 | } |
3449 | #endif |
3450 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3451 | return _internal_metadata_.unknown_fields(); |
3452 | } |
3453 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3454 | return _internal_metadata_.mutable_unknown_fields(); |
3455 | } |
3456 | |
3457 | static const ::google::protobuf::Descriptor* descriptor(); |
3458 | static const CompleteRequestProto& default_instance(); |
3459 | |
3460 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3461 | static inline const CompleteRequestProto* internal_default_instance() { |
3462 | return reinterpret_cast<const CompleteRequestProto*>( |
3463 | &_CompleteRequestProto_default_instance_); |
3464 | } |
3465 | static constexpr int kIndexInFileMessages = |
3466 | 20; |
3467 | |
3468 | void Swap(CompleteRequestProto* other); |
3469 | friend void swap(CompleteRequestProto& a, CompleteRequestProto& b) { |
3470 | a.Swap(&b); |
3471 | } |
3472 | |
3473 | // implements Message ---------------------------------------------- |
3474 | |
3475 | inline CompleteRequestProto* New() const final { |
3476 | return CreateMaybeMessage<CompleteRequestProto>(NULL); |
3477 | } |
3478 | |
3479 | CompleteRequestProto* New(::google::protobuf::Arena* arena) const final { |
3480 | return CreateMaybeMessage<CompleteRequestProto>(arena); |
3481 | } |
3482 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3483 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3484 | void CopyFrom(const CompleteRequestProto& from); |
3485 | void MergeFrom(const CompleteRequestProto& from); |
3486 | void Clear() final; |
3487 | bool IsInitialized() const final; |
3488 | |
3489 | size_t ByteSizeLong() const final; |
3490 | bool MergePartialFromCodedStream( |
3491 | ::google::protobuf::io::CodedInputStream* input) final; |
3492 | void SerializeWithCachedSizes( |
3493 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3494 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3495 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3496 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3497 | |
3498 | private: |
3499 | void SharedCtor(); |
3500 | void SharedDtor(); |
3501 | void SetCachedSize(int size) const final; |
3502 | void InternalSwap(CompleteRequestProto* other); |
3503 | private: |
3504 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3505 | return NULL; |
3506 | } |
3507 | inline void* MaybeArenaPtr() const { |
3508 | return NULL; |
3509 | } |
3510 | public: |
3511 | |
3512 | ::google::protobuf::Metadata GetMetadata() const final; |
3513 | |
3514 | // nested types ---------------------------------------------------- |
3515 | |
3516 | // accessors ------------------------------------------------------- |
3517 | |
3518 | // required string src = 1; |
3519 | bool has_src() const; |
3520 | void clear_src(); |
3521 | static const int kSrcFieldNumber = 1; |
3522 | const ::std::string& src() const; |
3523 | void set_src(const ::std::string& value); |
3524 | #if LANG_CXX11 |
3525 | void set_src(::std::string&& value); |
3526 | #endif |
3527 | void set_src(const char* value); |
3528 | void set_src(const char* value, size_t size); |
3529 | ::std::string* mutable_src(); |
3530 | ::std::string* release_src(); |
3531 | void set_allocated_src(::std::string* src); |
3532 | |
3533 | // required string clientName = 2; |
3534 | bool has_clientname() const; |
3535 | void clear_clientname(); |
3536 | static const int kClientNameFieldNumber = 2; |
3537 | const ::std::string& clientname() const; |
3538 | void set_clientname(const ::std::string& value); |
3539 | #if LANG_CXX11 |
3540 | void set_clientname(::std::string&& value); |
3541 | #endif |
3542 | void set_clientname(const char* value); |
3543 | void set_clientname(const char* value, size_t size); |
3544 | ::std::string* mutable_clientname(); |
3545 | ::std::string* release_clientname(); |
3546 | void set_allocated_clientname(::std::string* clientname); |
3547 | |
3548 | // optional .Hdfs.Internal.ExtendedBlockProto last = 3; |
3549 | bool has_last() const; |
3550 | void clear_last(); |
3551 | static const int kLastFieldNumber = 3; |
3552 | private: |
3553 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_last() const; |
3554 | public: |
3555 | const ::Hdfs::Internal::ExtendedBlockProto& last() const; |
3556 | ::Hdfs::Internal::ExtendedBlockProto* release_last(); |
3557 | ::Hdfs::Internal::ExtendedBlockProto* mutable_last(); |
3558 | void set_allocated_last(::Hdfs::Internal::ExtendedBlockProto* last); |
3559 | |
3560 | // optional uint64 fileId = 4 [default = 0]; |
3561 | bool has_fileid() const; |
3562 | void clear_fileid(); |
3563 | static const int kFileIdFieldNumber = 4; |
3564 | ::google::protobuf::uint64 fileid() const; |
3565 | void set_fileid(::google::protobuf::uint64 value); |
3566 | |
3567 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CompleteRequestProto) |
3568 | private: |
3569 | void set_has_src(); |
3570 | void clear_has_src(); |
3571 | void set_has_clientname(); |
3572 | void clear_has_clientname(); |
3573 | void set_has_last(); |
3574 | void clear_has_last(); |
3575 | void set_has_fileid(); |
3576 | void clear_has_fileid(); |
3577 | |
3578 | // helper for ByteSizeLong() |
3579 | size_t RequiredFieldsByteSizeFallback() const; |
3580 | |
3581 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3582 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3583 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3584 | ::google::protobuf::internal::ArenaStringPtr src_; |
3585 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
3586 | ::Hdfs::Internal::ExtendedBlockProto* last_; |
3587 | ::google::protobuf::uint64 fileid_; |
3588 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3589 | }; |
3590 | // ------------------------------------------------------------------- |
3591 | |
3592 | class CompleteResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CompleteResponseProto) */ { |
3593 | public: |
3594 | CompleteResponseProto(); |
3595 | virtual ~CompleteResponseProto(); |
3596 | |
3597 | CompleteResponseProto(const CompleteResponseProto& from); |
3598 | |
3599 | inline CompleteResponseProto& operator=(const CompleteResponseProto& from) { |
3600 | CopyFrom(from); |
3601 | return *this; |
3602 | } |
3603 | #if LANG_CXX11 |
3604 | CompleteResponseProto(CompleteResponseProto&& from) noexcept |
3605 | : CompleteResponseProto() { |
3606 | *this = ::std::move(from); |
3607 | } |
3608 | |
3609 | inline CompleteResponseProto& operator=(CompleteResponseProto&& from) noexcept { |
3610 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3611 | if (this != &from) InternalSwap(&from); |
3612 | } else { |
3613 | CopyFrom(from); |
3614 | } |
3615 | return *this; |
3616 | } |
3617 | #endif |
3618 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3619 | return _internal_metadata_.unknown_fields(); |
3620 | } |
3621 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3622 | return _internal_metadata_.mutable_unknown_fields(); |
3623 | } |
3624 | |
3625 | static const ::google::protobuf::Descriptor* descriptor(); |
3626 | static const CompleteResponseProto& default_instance(); |
3627 | |
3628 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3629 | static inline const CompleteResponseProto* internal_default_instance() { |
3630 | return reinterpret_cast<const CompleteResponseProto*>( |
3631 | &_CompleteResponseProto_default_instance_); |
3632 | } |
3633 | static constexpr int kIndexInFileMessages = |
3634 | 21; |
3635 | |
3636 | void Swap(CompleteResponseProto* other); |
3637 | friend void swap(CompleteResponseProto& a, CompleteResponseProto& b) { |
3638 | a.Swap(&b); |
3639 | } |
3640 | |
3641 | // implements Message ---------------------------------------------- |
3642 | |
3643 | inline CompleteResponseProto* New() const final { |
3644 | return CreateMaybeMessage<CompleteResponseProto>(NULL); |
3645 | } |
3646 | |
3647 | CompleteResponseProto* New(::google::protobuf::Arena* arena) const final { |
3648 | return CreateMaybeMessage<CompleteResponseProto>(arena); |
3649 | } |
3650 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3651 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3652 | void CopyFrom(const CompleteResponseProto& from); |
3653 | void MergeFrom(const CompleteResponseProto& from); |
3654 | void Clear() final; |
3655 | bool IsInitialized() const final; |
3656 | |
3657 | size_t ByteSizeLong() const final; |
3658 | bool MergePartialFromCodedStream( |
3659 | ::google::protobuf::io::CodedInputStream* input) final; |
3660 | void SerializeWithCachedSizes( |
3661 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3662 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3663 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3664 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3665 | |
3666 | private: |
3667 | void SharedCtor(); |
3668 | void SharedDtor(); |
3669 | void SetCachedSize(int size) const final; |
3670 | void InternalSwap(CompleteResponseProto* other); |
3671 | private: |
3672 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3673 | return NULL; |
3674 | } |
3675 | inline void* MaybeArenaPtr() const { |
3676 | return NULL; |
3677 | } |
3678 | public: |
3679 | |
3680 | ::google::protobuf::Metadata GetMetadata() const final; |
3681 | |
3682 | // nested types ---------------------------------------------------- |
3683 | |
3684 | // accessors ------------------------------------------------------- |
3685 | |
3686 | // required bool result = 1; |
3687 | bool has_result() const; |
3688 | void clear_result(); |
3689 | static const int kResultFieldNumber = 1; |
3690 | bool result() const; |
3691 | void set_result(bool value); |
3692 | |
3693 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CompleteResponseProto) |
3694 | private: |
3695 | void set_has_result(); |
3696 | void clear_has_result(); |
3697 | |
3698 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3699 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3700 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3701 | bool result_; |
3702 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3703 | }; |
3704 | // ------------------------------------------------------------------- |
3705 | |
3706 | class ReportBadBlocksRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ReportBadBlocksRequestProto) */ { |
3707 | public: |
3708 | ReportBadBlocksRequestProto(); |
3709 | virtual ~ReportBadBlocksRequestProto(); |
3710 | |
3711 | ReportBadBlocksRequestProto(const ReportBadBlocksRequestProto& from); |
3712 | |
3713 | inline ReportBadBlocksRequestProto& operator=(const ReportBadBlocksRequestProto& from) { |
3714 | CopyFrom(from); |
3715 | return *this; |
3716 | } |
3717 | #if LANG_CXX11 |
3718 | ReportBadBlocksRequestProto(ReportBadBlocksRequestProto&& from) noexcept |
3719 | : ReportBadBlocksRequestProto() { |
3720 | *this = ::std::move(from); |
3721 | } |
3722 | |
3723 | inline ReportBadBlocksRequestProto& operator=(ReportBadBlocksRequestProto&& from) noexcept { |
3724 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3725 | if (this != &from) InternalSwap(&from); |
3726 | } else { |
3727 | CopyFrom(from); |
3728 | } |
3729 | return *this; |
3730 | } |
3731 | #endif |
3732 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3733 | return _internal_metadata_.unknown_fields(); |
3734 | } |
3735 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3736 | return _internal_metadata_.mutable_unknown_fields(); |
3737 | } |
3738 | |
3739 | static const ::google::protobuf::Descriptor* descriptor(); |
3740 | static const ReportBadBlocksRequestProto& default_instance(); |
3741 | |
3742 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3743 | static inline const ReportBadBlocksRequestProto* internal_default_instance() { |
3744 | return reinterpret_cast<const ReportBadBlocksRequestProto*>( |
3745 | &_ReportBadBlocksRequestProto_default_instance_); |
3746 | } |
3747 | static constexpr int kIndexInFileMessages = |
3748 | 22; |
3749 | |
3750 | void Swap(ReportBadBlocksRequestProto* other); |
3751 | friend void swap(ReportBadBlocksRequestProto& a, ReportBadBlocksRequestProto& b) { |
3752 | a.Swap(&b); |
3753 | } |
3754 | |
3755 | // implements Message ---------------------------------------------- |
3756 | |
3757 | inline ReportBadBlocksRequestProto* New() const final { |
3758 | return CreateMaybeMessage<ReportBadBlocksRequestProto>(NULL); |
3759 | } |
3760 | |
3761 | ReportBadBlocksRequestProto* New(::google::protobuf::Arena* arena) const final { |
3762 | return CreateMaybeMessage<ReportBadBlocksRequestProto>(arena); |
3763 | } |
3764 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3765 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3766 | void CopyFrom(const ReportBadBlocksRequestProto& from); |
3767 | void MergeFrom(const ReportBadBlocksRequestProto& from); |
3768 | void Clear() final; |
3769 | bool IsInitialized() const final; |
3770 | |
3771 | size_t ByteSizeLong() const final; |
3772 | bool MergePartialFromCodedStream( |
3773 | ::google::protobuf::io::CodedInputStream* input) final; |
3774 | void SerializeWithCachedSizes( |
3775 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3776 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3777 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3778 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3779 | |
3780 | private: |
3781 | void SharedCtor(); |
3782 | void SharedDtor(); |
3783 | void SetCachedSize(int size) const final; |
3784 | void InternalSwap(ReportBadBlocksRequestProto* other); |
3785 | private: |
3786 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3787 | return NULL; |
3788 | } |
3789 | inline void* MaybeArenaPtr() const { |
3790 | return NULL; |
3791 | } |
3792 | public: |
3793 | |
3794 | ::google::protobuf::Metadata GetMetadata() const final; |
3795 | |
3796 | // nested types ---------------------------------------------------- |
3797 | |
3798 | // accessors ------------------------------------------------------- |
3799 | |
3800 | // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1; |
3801 | int blocks_size() const; |
3802 | void clear_blocks(); |
3803 | static const int kBlocksFieldNumber = 1; |
3804 | ::Hdfs::Internal::LocatedBlockProto* mutable_blocks(int index); |
3805 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::LocatedBlockProto >* |
3806 | mutable_blocks(); |
3807 | const ::Hdfs::Internal::LocatedBlockProto& blocks(int index) const; |
3808 | ::Hdfs::Internal::LocatedBlockProto* add_blocks(); |
3809 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::LocatedBlockProto >& |
3810 | blocks() const; |
3811 | |
3812 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ReportBadBlocksRequestProto) |
3813 | private: |
3814 | |
3815 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3816 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3817 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3818 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::LocatedBlockProto > blocks_; |
3819 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3820 | }; |
3821 | // ------------------------------------------------------------------- |
3822 | |
3823 | class ReportBadBlocksResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ReportBadBlocksResponseProto) */ { |
3824 | public: |
3825 | ReportBadBlocksResponseProto(); |
3826 | virtual ~ReportBadBlocksResponseProto(); |
3827 | |
3828 | ReportBadBlocksResponseProto(const ReportBadBlocksResponseProto& from); |
3829 | |
3830 | inline ReportBadBlocksResponseProto& operator=(const ReportBadBlocksResponseProto& from) { |
3831 | CopyFrom(from); |
3832 | return *this; |
3833 | } |
3834 | #if LANG_CXX11 |
3835 | ReportBadBlocksResponseProto(ReportBadBlocksResponseProto&& from) noexcept |
3836 | : ReportBadBlocksResponseProto() { |
3837 | *this = ::std::move(from); |
3838 | } |
3839 | |
3840 | inline ReportBadBlocksResponseProto& operator=(ReportBadBlocksResponseProto&& from) noexcept { |
3841 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3842 | if (this != &from) InternalSwap(&from); |
3843 | } else { |
3844 | CopyFrom(from); |
3845 | } |
3846 | return *this; |
3847 | } |
3848 | #endif |
3849 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3850 | return _internal_metadata_.unknown_fields(); |
3851 | } |
3852 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3853 | return _internal_metadata_.mutable_unknown_fields(); |
3854 | } |
3855 | |
3856 | static const ::google::protobuf::Descriptor* descriptor(); |
3857 | static const ReportBadBlocksResponseProto& default_instance(); |
3858 | |
3859 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3860 | static inline const ReportBadBlocksResponseProto* internal_default_instance() { |
3861 | return reinterpret_cast<const ReportBadBlocksResponseProto*>( |
3862 | &_ReportBadBlocksResponseProto_default_instance_); |
3863 | } |
3864 | static constexpr int kIndexInFileMessages = |
3865 | 23; |
3866 | |
3867 | void Swap(ReportBadBlocksResponseProto* other); |
3868 | friend void swap(ReportBadBlocksResponseProto& a, ReportBadBlocksResponseProto& b) { |
3869 | a.Swap(&b); |
3870 | } |
3871 | |
3872 | // implements Message ---------------------------------------------- |
3873 | |
3874 | inline ReportBadBlocksResponseProto* New() const final { |
3875 | return CreateMaybeMessage<ReportBadBlocksResponseProto>(NULL); |
3876 | } |
3877 | |
3878 | ReportBadBlocksResponseProto* New(::google::protobuf::Arena* arena) const final { |
3879 | return CreateMaybeMessage<ReportBadBlocksResponseProto>(arena); |
3880 | } |
3881 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3882 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3883 | void CopyFrom(const ReportBadBlocksResponseProto& from); |
3884 | void MergeFrom(const ReportBadBlocksResponseProto& from); |
3885 | void Clear() final; |
3886 | bool IsInitialized() const final; |
3887 | |
3888 | size_t ByteSizeLong() const final; |
3889 | bool MergePartialFromCodedStream( |
3890 | ::google::protobuf::io::CodedInputStream* input) final; |
3891 | void SerializeWithCachedSizes( |
3892 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3893 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3894 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3895 | int GetCachedSize() const final { return _cached_size_.Get(); } |
3896 | |
3897 | private: |
3898 | void SharedCtor(); |
3899 | void SharedDtor(); |
3900 | void SetCachedSize(int size) const final; |
3901 | void InternalSwap(ReportBadBlocksResponseProto* other); |
3902 | private: |
3903 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
3904 | return NULL; |
3905 | } |
3906 | inline void* MaybeArenaPtr() const { |
3907 | return NULL; |
3908 | } |
3909 | public: |
3910 | |
3911 | ::google::protobuf::Metadata GetMetadata() const final; |
3912 | |
3913 | // nested types ---------------------------------------------------- |
3914 | |
3915 | // accessors ------------------------------------------------------- |
3916 | |
3917 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ReportBadBlocksResponseProto) |
3918 | private: |
3919 | |
3920 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
3921 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3922 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
3923 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
3924 | }; |
3925 | // ------------------------------------------------------------------- |
3926 | |
3927 | class ConcatRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ConcatRequestProto) */ { |
3928 | public: |
3929 | ConcatRequestProto(); |
3930 | virtual ~ConcatRequestProto(); |
3931 | |
3932 | ConcatRequestProto(const ConcatRequestProto& from); |
3933 | |
3934 | inline ConcatRequestProto& operator=(const ConcatRequestProto& from) { |
3935 | CopyFrom(from); |
3936 | return *this; |
3937 | } |
3938 | #if LANG_CXX11 |
3939 | ConcatRequestProto(ConcatRequestProto&& from) noexcept |
3940 | : ConcatRequestProto() { |
3941 | *this = ::std::move(from); |
3942 | } |
3943 | |
3944 | inline ConcatRequestProto& operator=(ConcatRequestProto&& from) noexcept { |
3945 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
3946 | if (this != &from) InternalSwap(&from); |
3947 | } else { |
3948 | CopyFrom(from); |
3949 | } |
3950 | return *this; |
3951 | } |
3952 | #endif |
3953 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
3954 | return _internal_metadata_.unknown_fields(); |
3955 | } |
3956 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
3957 | return _internal_metadata_.mutable_unknown_fields(); |
3958 | } |
3959 | |
3960 | static const ::google::protobuf::Descriptor* descriptor(); |
3961 | static const ConcatRequestProto& default_instance(); |
3962 | |
3963 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
3964 | static inline const ConcatRequestProto* internal_default_instance() { |
3965 | return reinterpret_cast<const ConcatRequestProto*>( |
3966 | &_ConcatRequestProto_default_instance_); |
3967 | } |
3968 | static constexpr int kIndexInFileMessages = |
3969 | 24; |
3970 | |
3971 | void Swap(ConcatRequestProto* other); |
3972 | friend void swap(ConcatRequestProto& a, ConcatRequestProto& b) { |
3973 | a.Swap(&b); |
3974 | } |
3975 | |
3976 | // implements Message ---------------------------------------------- |
3977 | |
3978 | inline ConcatRequestProto* New() const final { |
3979 | return CreateMaybeMessage<ConcatRequestProto>(NULL); |
3980 | } |
3981 | |
3982 | ConcatRequestProto* New(::google::protobuf::Arena* arena) const final { |
3983 | return CreateMaybeMessage<ConcatRequestProto>(arena); |
3984 | } |
3985 | void CopyFrom(const ::google::protobuf::Message& from) final; |
3986 | void MergeFrom(const ::google::protobuf::Message& from) final; |
3987 | void CopyFrom(const ConcatRequestProto& from); |
3988 | void MergeFrom(const ConcatRequestProto& from); |
3989 | void Clear() final; |
3990 | bool IsInitialized() const final; |
3991 | |
3992 | size_t ByteSizeLong() const final; |
3993 | bool MergePartialFromCodedStream( |
3994 | ::google::protobuf::io::CodedInputStream* input) final; |
3995 | void SerializeWithCachedSizes( |
3996 | ::google::protobuf::io::CodedOutputStream* output) const final; |
3997 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
3998 | bool deterministic, ::google::protobuf::uint8* target) const final; |
3999 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4000 | |
4001 | private: |
4002 | void SharedCtor(); |
4003 | void SharedDtor(); |
4004 | void SetCachedSize(int size) const final; |
4005 | void InternalSwap(ConcatRequestProto* other); |
4006 | private: |
4007 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4008 | return NULL; |
4009 | } |
4010 | inline void* MaybeArenaPtr() const { |
4011 | return NULL; |
4012 | } |
4013 | public: |
4014 | |
4015 | ::google::protobuf::Metadata GetMetadata() const final; |
4016 | |
4017 | // nested types ---------------------------------------------------- |
4018 | |
4019 | // accessors ------------------------------------------------------- |
4020 | |
4021 | // repeated string srcs = 2; |
4022 | int srcs_size() const; |
4023 | void clear_srcs(); |
4024 | static const int kSrcsFieldNumber = 2; |
4025 | const ::std::string& srcs(int index) const; |
4026 | ::std::string* mutable_srcs(int index); |
4027 | void set_srcs(int index, const ::std::string& value); |
4028 | #if LANG_CXX11 |
4029 | void set_srcs(int index, ::std::string&& value); |
4030 | #endif |
4031 | void set_srcs(int index, const char* value); |
4032 | void set_srcs(int index, const char* value, size_t size); |
4033 | ::std::string* add_srcs(); |
4034 | void add_srcs(const ::std::string& value); |
4035 | #if LANG_CXX11 |
4036 | void add_srcs(::std::string&& value); |
4037 | #endif |
4038 | void add_srcs(const char* value); |
4039 | void add_srcs(const char* value, size_t size); |
4040 | const ::google::protobuf::RepeatedPtrField< ::std::string>& srcs() const; |
4041 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_srcs(); |
4042 | |
4043 | // required string trg = 1; |
4044 | bool has_trg() const; |
4045 | void clear_trg(); |
4046 | static const int kTrgFieldNumber = 1; |
4047 | const ::std::string& trg() const; |
4048 | void set_trg(const ::std::string& value); |
4049 | #if LANG_CXX11 |
4050 | void set_trg(::std::string&& value); |
4051 | #endif |
4052 | void set_trg(const char* value); |
4053 | void set_trg(const char* value, size_t size); |
4054 | ::std::string* mutable_trg(); |
4055 | ::std::string* release_trg(); |
4056 | void set_allocated_trg(::std::string* trg); |
4057 | |
4058 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ConcatRequestProto) |
4059 | private: |
4060 | void set_has_trg(); |
4061 | void clear_has_trg(); |
4062 | |
4063 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4064 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4065 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4066 | ::google::protobuf::RepeatedPtrField< ::std::string> srcs_; |
4067 | ::google::protobuf::internal::ArenaStringPtr trg_; |
4068 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4069 | }; |
4070 | // ------------------------------------------------------------------- |
4071 | |
4072 | class ConcatResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ConcatResponseProto) */ { |
4073 | public: |
4074 | ConcatResponseProto(); |
4075 | virtual ~ConcatResponseProto(); |
4076 | |
4077 | ConcatResponseProto(const ConcatResponseProto& from); |
4078 | |
4079 | inline ConcatResponseProto& operator=(const ConcatResponseProto& from) { |
4080 | CopyFrom(from); |
4081 | return *this; |
4082 | } |
4083 | #if LANG_CXX11 |
4084 | ConcatResponseProto(ConcatResponseProto&& from) noexcept |
4085 | : ConcatResponseProto() { |
4086 | *this = ::std::move(from); |
4087 | } |
4088 | |
4089 | inline ConcatResponseProto& operator=(ConcatResponseProto&& from) noexcept { |
4090 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4091 | if (this != &from) InternalSwap(&from); |
4092 | } else { |
4093 | CopyFrom(from); |
4094 | } |
4095 | return *this; |
4096 | } |
4097 | #endif |
4098 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4099 | return _internal_metadata_.unknown_fields(); |
4100 | } |
4101 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4102 | return _internal_metadata_.mutable_unknown_fields(); |
4103 | } |
4104 | |
4105 | static const ::google::protobuf::Descriptor* descriptor(); |
4106 | static const ConcatResponseProto& default_instance(); |
4107 | |
4108 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4109 | static inline const ConcatResponseProto* internal_default_instance() { |
4110 | return reinterpret_cast<const ConcatResponseProto*>( |
4111 | &_ConcatResponseProto_default_instance_); |
4112 | } |
4113 | static constexpr int kIndexInFileMessages = |
4114 | 25; |
4115 | |
4116 | void Swap(ConcatResponseProto* other); |
4117 | friend void swap(ConcatResponseProto& a, ConcatResponseProto& b) { |
4118 | a.Swap(&b); |
4119 | } |
4120 | |
4121 | // implements Message ---------------------------------------------- |
4122 | |
4123 | inline ConcatResponseProto* New() const final { |
4124 | return CreateMaybeMessage<ConcatResponseProto>(NULL); |
4125 | } |
4126 | |
4127 | ConcatResponseProto* New(::google::protobuf::Arena* arena) const final { |
4128 | return CreateMaybeMessage<ConcatResponseProto>(arena); |
4129 | } |
4130 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4131 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4132 | void CopyFrom(const ConcatResponseProto& from); |
4133 | void MergeFrom(const ConcatResponseProto& from); |
4134 | void Clear() final; |
4135 | bool IsInitialized() const final; |
4136 | |
4137 | size_t ByteSizeLong() const final; |
4138 | bool MergePartialFromCodedStream( |
4139 | ::google::protobuf::io::CodedInputStream* input) final; |
4140 | void SerializeWithCachedSizes( |
4141 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4142 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4143 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4144 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4145 | |
4146 | private: |
4147 | void SharedCtor(); |
4148 | void SharedDtor(); |
4149 | void SetCachedSize(int size) const final; |
4150 | void InternalSwap(ConcatResponseProto* other); |
4151 | private: |
4152 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4153 | return NULL; |
4154 | } |
4155 | inline void* MaybeArenaPtr() const { |
4156 | return NULL; |
4157 | } |
4158 | public: |
4159 | |
4160 | ::google::protobuf::Metadata GetMetadata() const final; |
4161 | |
4162 | // nested types ---------------------------------------------------- |
4163 | |
4164 | // accessors ------------------------------------------------------- |
4165 | |
4166 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ConcatResponseProto) |
4167 | private: |
4168 | |
4169 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4170 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4171 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4172 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4173 | }; |
4174 | // ------------------------------------------------------------------- |
4175 | |
4176 | class TruncateRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.TruncateRequestProto) */ { |
4177 | public: |
4178 | TruncateRequestProto(); |
4179 | virtual ~TruncateRequestProto(); |
4180 | |
4181 | TruncateRequestProto(const TruncateRequestProto& from); |
4182 | |
4183 | inline TruncateRequestProto& operator=(const TruncateRequestProto& from) { |
4184 | CopyFrom(from); |
4185 | return *this; |
4186 | } |
4187 | #if LANG_CXX11 |
4188 | TruncateRequestProto(TruncateRequestProto&& from) noexcept |
4189 | : TruncateRequestProto() { |
4190 | *this = ::std::move(from); |
4191 | } |
4192 | |
4193 | inline TruncateRequestProto& operator=(TruncateRequestProto&& from) noexcept { |
4194 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4195 | if (this != &from) InternalSwap(&from); |
4196 | } else { |
4197 | CopyFrom(from); |
4198 | } |
4199 | return *this; |
4200 | } |
4201 | #endif |
4202 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4203 | return _internal_metadata_.unknown_fields(); |
4204 | } |
4205 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4206 | return _internal_metadata_.mutable_unknown_fields(); |
4207 | } |
4208 | |
4209 | static const ::google::protobuf::Descriptor* descriptor(); |
4210 | static const TruncateRequestProto& default_instance(); |
4211 | |
4212 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4213 | static inline const TruncateRequestProto* internal_default_instance() { |
4214 | return reinterpret_cast<const TruncateRequestProto*>( |
4215 | &_TruncateRequestProto_default_instance_); |
4216 | } |
4217 | static constexpr int kIndexInFileMessages = |
4218 | 26; |
4219 | |
4220 | void Swap(TruncateRequestProto* other); |
4221 | friend void swap(TruncateRequestProto& a, TruncateRequestProto& b) { |
4222 | a.Swap(&b); |
4223 | } |
4224 | |
4225 | // implements Message ---------------------------------------------- |
4226 | |
4227 | inline TruncateRequestProto* New() const final { |
4228 | return CreateMaybeMessage<TruncateRequestProto>(NULL); |
4229 | } |
4230 | |
4231 | TruncateRequestProto* New(::google::protobuf::Arena* arena) const final { |
4232 | return CreateMaybeMessage<TruncateRequestProto>(arena); |
4233 | } |
4234 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4235 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4236 | void CopyFrom(const TruncateRequestProto& from); |
4237 | void MergeFrom(const TruncateRequestProto& from); |
4238 | void Clear() final; |
4239 | bool IsInitialized() const final; |
4240 | |
4241 | size_t ByteSizeLong() const final; |
4242 | bool MergePartialFromCodedStream( |
4243 | ::google::protobuf::io::CodedInputStream* input) final; |
4244 | void SerializeWithCachedSizes( |
4245 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4246 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4247 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4248 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4249 | |
4250 | private: |
4251 | void SharedCtor(); |
4252 | void SharedDtor(); |
4253 | void SetCachedSize(int size) const final; |
4254 | void InternalSwap(TruncateRequestProto* other); |
4255 | private: |
4256 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4257 | return NULL; |
4258 | } |
4259 | inline void* MaybeArenaPtr() const { |
4260 | return NULL; |
4261 | } |
4262 | public: |
4263 | |
4264 | ::google::protobuf::Metadata GetMetadata() const final; |
4265 | |
4266 | // nested types ---------------------------------------------------- |
4267 | |
4268 | // accessors ------------------------------------------------------- |
4269 | |
4270 | // required string src = 1; |
4271 | bool has_src() const; |
4272 | void clear_src(); |
4273 | static const int kSrcFieldNumber = 1; |
4274 | const ::std::string& src() const; |
4275 | void set_src(const ::std::string& value); |
4276 | #if LANG_CXX11 |
4277 | void set_src(::std::string&& value); |
4278 | #endif |
4279 | void set_src(const char* value); |
4280 | void set_src(const char* value, size_t size); |
4281 | ::std::string* mutable_src(); |
4282 | ::std::string* release_src(); |
4283 | void set_allocated_src(::std::string* src); |
4284 | |
4285 | // required string clientName = 3; |
4286 | bool has_clientname() const; |
4287 | void clear_clientname(); |
4288 | static const int kClientNameFieldNumber = 3; |
4289 | const ::std::string& clientname() const; |
4290 | void set_clientname(const ::std::string& value); |
4291 | #if LANG_CXX11 |
4292 | void set_clientname(::std::string&& value); |
4293 | #endif |
4294 | void set_clientname(const char* value); |
4295 | void set_clientname(const char* value, size_t size); |
4296 | ::std::string* mutable_clientname(); |
4297 | ::std::string* release_clientname(); |
4298 | void set_allocated_clientname(::std::string* clientname); |
4299 | |
4300 | // required uint64 newLength = 2; |
4301 | bool has_newlength() const; |
4302 | void clear_newlength(); |
4303 | static const int kNewLengthFieldNumber = 2; |
4304 | ::google::protobuf::uint64 newlength() const; |
4305 | void set_newlength(::google::protobuf::uint64 value); |
4306 | |
4307 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.TruncateRequestProto) |
4308 | private: |
4309 | void set_has_src(); |
4310 | void clear_has_src(); |
4311 | void set_has_newlength(); |
4312 | void clear_has_newlength(); |
4313 | void set_has_clientname(); |
4314 | void clear_has_clientname(); |
4315 | |
4316 | // helper for ByteSizeLong() |
4317 | size_t RequiredFieldsByteSizeFallback() const; |
4318 | |
4319 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4320 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4321 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4322 | ::google::protobuf::internal::ArenaStringPtr src_; |
4323 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
4324 | ::google::protobuf::uint64 newlength_; |
4325 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4326 | }; |
4327 | // ------------------------------------------------------------------- |
4328 | |
4329 | class TruncateResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.TruncateResponseProto) */ { |
4330 | public: |
4331 | TruncateResponseProto(); |
4332 | virtual ~TruncateResponseProto(); |
4333 | |
4334 | TruncateResponseProto(const TruncateResponseProto& from); |
4335 | |
4336 | inline TruncateResponseProto& operator=(const TruncateResponseProto& from) { |
4337 | CopyFrom(from); |
4338 | return *this; |
4339 | } |
4340 | #if LANG_CXX11 |
4341 | TruncateResponseProto(TruncateResponseProto&& from) noexcept |
4342 | : TruncateResponseProto() { |
4343 | *this = ::std::move(from); |
4344 | } |
4345 | |
4346 | inline TruncateResponseProto& operator=(TruncateResponseProto&& from) noexcept { |
4347 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4348 | if (this != &from) InternalSwap(&from); |
4349 | } else { |
4350 | CopyFrom(from); |
4351 | } |
4352 | return *this; |
4353 | } |
4354 | #endif |
4355 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4356 | return _internal_metadata_.unknown_fields(); |
4357 | } |
4358 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4359 | return _internal_metadata_.mutable_unknown_fields(); |
4360 | } |
4361 | |
4362 | static const ::google::protobuf::Descriptor* descriptor(); |
4363 | static const TruncateResponseProto& default_instance(); |
4364 | |
4365 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4366 | static inline const TruncateResponseProto* internal_default_instance() { |
4367 | return reinterpret_cast<const TruncateResponseProto*>( |
4368 | &_TruncateResponseProto_default_instance_); |
4369 | } |
4370 | static constexpr int kIndexInFileMessages = |
4371 | 27; |
4372 | |
4373 | void Swap(TruncateResponseProto* other); |
4374 | friend void swap(TruncateResponseProto& a, TruncateResponseProto& b) { |
4375 | a.Swap(&b); |
4376 | } |
4377 | |
4378 | // implements Message ---------------------------------------------- |
4379 | |
4380 | inline TruncateResponseProto* New() const final { |
4381 | return CreateMaybeMessage<TruncateResponseProto>(NULL); |
4382 | } |
4383 | |
4384 | TruncateResponseProto* New(::google::protobuf::Arena* arena) const final { |
4385 | return CreateMaybeMessage<TruncateResponseProto>(arena); |
4386 | } |
4387 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4388 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4389 | void CopyFrom(const TruncateResponseProto& from); |
4390 | void MergeFrom(const TruncateResponseProto& from); |
4391 | void Clear() final; |
4392 | bool IsInitialized() const final; |
4393 | |
4394 | size_t ByteSizeLong() const final; |
4395 | bool MergePartialFromCodedStream( |
4396 | ::google::protobuf::io::CodedInputStream* input) final; |
4397 | void SerializeWithCachedSizes( |
4398 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4399 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4400 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4401 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4402 | |
4403 | private: |
4404 | void SharedCtor(); |
4405 | void SharedDtor(); |
4406 | void SetCachedSize(int size) const final; |
4407 | void InternalSwap(TruncateResponseProto* other); |
4408 | private: |
4409 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4410 | return NULL; |
4411 | } |
4412 | inline void* MaybeArenaPtr() const { |
4413 | return NULL; |
4414 | } |
4415 | public: |
4416 | |
4417 | ::google::protobuf::Metadata GetMetadata() const final; |
4418 | |
4419 | // nested types ---------------------------------------------------- |
4420 | |
4421 | // accessors ------------------------------------------------------- |
4422 | |
4423 | // required bool result = 1; |
4424 | bool has_result() const; |
4425 | void clear_result(); |
4426 | static const int kResultFieldNumber = 1; |
4427 | bool result() const; |
4428 | void set_result(bool value); |
4429 | |
4430 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.TruncateResponseProto) |
4431 | private: |
4432 | void set_has_result(); |
4433 | void clear_has_result(); |
4434 | |
4435 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4436 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4437 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4438 | bool result_; |
4439 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4440 | }; |
4441 | // ------------------------------------------------------------------- |
4442 | |
4443 | class GetLeaseRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetLeaseRequestProto) */ { |
4444 | public: |
4445 | GetLeaseRequestProto(); |
4446 | virtual ~GetLeaseRequestProto(); |
4447 | |
4448 | GetLeaseRequestProto(const GetLeaseRequestProto& from); |
4449 | |
4450 | inline GetLeaseRequestProto& operator=(const GetLeaseRequestProto& from) { |
4451 | CopyFrom(from); |
4452 | return *this; |
4453 | } |
4454 | #if LANG_CXX11 |
4455 | GetLeaseRequestProto(GetLeaseRequestProto&& from) noexcept |
4456 | : GetLeaseRequestProto() { |
4457 | *this = ::std::move(from); |
4458 | } |
4459 | |
4460 | inline GetLeaseRequestProto& operator=(GetLeaseRequestProto&& from) noexcept { |
4461 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4462 | if (this != &from) InternalSwap(&from); |
4463 | } else { |
4464 | CopyFrom(from); |
4465 | } |
4466 | return *this; |
4467 | } |
4468 | #endif |
4469 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4470 | return _internal_metadata_.unknown_fields(); |
4471 | } |
4472 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4473 | return _internal_metadata_.mutable_unknown_fields(); |
4474 | } |
4475 | |
4476 | static const ::google::protobuf::Descriptor* descriptor(); |
4477 | static const GetLeaseRequestProto& default_instance(); |
4478 | |
4479 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4480 | static inline const GetLeaseRequestProto* internal_default_instance() { |
4481 | return reinterpret_cast<const GetLeaseRequestProto*>( |
4482 | &_GetLeaseRequestProto_default_instance_); |
4483 | } |
4484 | static constexpr int kIndexInFileMessages = |
4485 | 28; |
4486 | |
4487 | void Swap(GetLeaseRequestProto* other); |
4488 | friend void swap(GetLeaseRequestProto& a, GetLeaseRequestProto& b) { |
4489 | a.Swap(&b); |
4490 | } |
4491 | |
4492 | // implements Message ---------------------------------------------- |
4493 | |
4494 | inline GetLeaseRequestProto* New() const final { |
4495 | return CreateMaybeMessage<GetLeaseRequestProto>(NULL); |
4496 | } |
4497 | |
4498 | GetLeaseRequestProto* New(::google::protobuf::Arena* arena) const final { |
4499 | return CreateMaybeMessage<GetLeaseRequestProto>(arena); |
4500 | } |
4501 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4502 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4503 | void CopyFrom(const GetLeaseRequestProto& from); |
4504 | void MergeFrom(const GetLeaseRequestProto& from); |
4505 | void Clear() final; |
4506 | bool IsInitialized() const final; |
4507 | |
4508 | size_t ByteSizeLong() const final; |
4509 | bool MergePartialFromCodedStream( |
4510 | ::google::protobuf::io::CodedInputStream* input) final; |
4511 | void SerializeWithCachedSizes( |
4512 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4513 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4514 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4515 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4516 | |
4517 | private: |
4518 | void SharedCtor(); |
4519 | void SharedDtor(); |
4520 | void SetCachedSize(int size) const final; |
4521 | void InternalSwap(GetLeaseRequestProto* other); |
4522 | private: |
4523 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4524 | return NULL; |
4525 | } |
4526 | inline void* MaybeArenaPtr() const { |
4527 | return NULL; |
4528 | } |
4529 | public: |
4530 | |
4531 | ::google::protobuf::Metadata GetMetadata() const final; |
4532 | |
4533 | // nested types ---------------------------------------------------- |
4534 | |
4535 | // accessors ------------------------------------------------------- |
4536 | |
4537 | // required string src = 1; |
4538 | bool has_src() const; |
4539 | void clear_src(); |
4540 | static const int kSrcFieldNumber = 1; |
4541 | const ::std::string& src() const; |
4542 | void set_src(const ::std::string& value); |
4543 | #if LANG_CXX11 |
4544 | void set_src(::std::string&& value); |
4545 | #endif |
4546 | void set_src(const char* value); |
4547 | void set_src(const char* value, size_t size); |
4548 | ::std::string* mutable_src(); |
4549 | ::std::string* release_src(); |
4550 | void set_allocated_src(::std::string* src); |
4551 | |
4552 | // required string clientName = 2; |
4553 | bool has_clientname() const; |
4554 | void clear_clientname(); |
4555 | static const int kClientNameFieldNumber = 2; |
4556 | const ::std::string& clientname() const; |
4557 | void set_clientname(const ::std::string& value); |
4558 | #if LANG_CXX11 |
4559 | void set_clientname(::std::string&& value); |
4560 | #endif |
4561 | void set_clientname(const char* value); |
4562 | void set_clientname(const char* value, size_t size); |
4563 | ::std::string* mutable_clientname(); |
4564 | ::std::string* release_clientname(); |
4565 | void set_allocated_clientname(::std::string* clientname); |
4566 | |
4567 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetLeaseRequestProto) |
4568 | private: |
4569 | void set_has_src(); |
4570 | void clear_has_src(); |
4571 | void set_has_clientname(); |
4572 | void clear_has_clientname(); |
4573 | |
4574 | // helper for ByteSizeLong() |
4575 | size_t RequiredFieldsByteSizeFallback() const; |
4576 | |
4577 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4578 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4579 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4580 | ::google::protobuf::internal::ArenaStringPtr src_; |
4581 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
4582 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4583 | }; |
4584 | // ------------------------------------------------------------------- |
4585 | |
4586 | class GetLeaseResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetLeaseResponseProto) */ { |
4587 | public: |
4588 | GetLeaseResponseProto(); |
4589 | virtual ~GetLeaseResponseProto(); |
4590 | |
4591 | GetLeaseResponseProto(const GetLeaseResponseProto& from); |
4592 | |
4593 | inline GetLeaseResponseProto& operator=(const GetLeaseResponseProto& from) { |
4594 | CopyFrom(from); |
4595 | return *this; |
4596 | } |
4597 | #if LANG_CXX11 |
4598 | GetLeaseResponseProto(GetLeaseResponseProto&& from) noexcept |
4599 | : GetLeaseResponseProto() { |
4600 | *this = ::std::move(from); |
4601 | } |
4602 | |
4603 | inline GetLeaseResponseProto& operator=(GetLeaseResponseProto&& from) noexcept { |
4604 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4605 | if (this != &from) InternalSwap(&from); |
4606 | } else { |
4607 | CopyFrom(from); |
4608 | } |
4609 | return *this; |
4610 | } |
4611 | #endif |
4612 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4613 | return _internal_metadata_.unknown_fields(); |
4614 | } |
4615 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4616 | return _internal_metadata_.mutable_unknown_fields(); |
4617 | } |
4618 | |
4619 | static const ::google::protobuf::Descriptor* descriptor(); |
4620 | static const GetLeaseResponseProto& default_instance(); |
4621 | |
4622 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4623 | static inline const GetLeaseResponseProto* internal_default_instance() { |
4624 | return reinterpret_cast<const GetLeaseResponseProto*>( |
4625 | &_GetLeaseResponseProto_default_instance_); |
4626 | } |
4627 | static constexpr int kIndexInFileMessages = |
4628 | 29; |
4629 | |
4630 | void Swap(GetLeaseResponseProto* other); |
4631 | friend void swap(GetLeaseResponseProto& a, GetLeaseResponseProto& b) { |
4632 | a.Swap(&b); |
4633 | } |
4634 | |
4635 | // implements Message ---------------------------------------------- |
4636 | |
4637 | inline GetLeaseResponseProto* New() const final { |
4638 | return CreateMaybeMessage<GetLeaseResponseProto>(NULL); |
4639 | } |
4640 | |
4641 | GetLeaseResponseProto* New(::google::protobuf::Arena* arena) const final { |
4642 | return CreateMaybeMessage<GetLeaseResponseProto>(arena); |
4643 | } |
4644 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4645 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4646 | void CopyFrom(const GetLeaseResponseProto& from); |
4647 | void MergeFrom(const GetLeaseResponseProto& from); |
4648 | void Clear() final; |
4649 | bool IsInitialized() const final; |
4650 | |
4651 | size_t ByteSizeLong() const final; |
4652 | bool MergePartialFromCodedStream( |
4653 | ::google::protobuf::io::CodedInputStream* input) final; |
4654 | void SerializeWithCachedSizes( |
4655 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4656 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4657 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4658 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4659 | |
4660 | private: |
4661 | void SharedCtor(); |
4662 | void SharedDtor(); |
4663 | void SetCachedSize(int size) const final; |
4664 | void InternalSwap(GetLeaseResponseProto* other); |
4665 | private: |
4666 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4667 | return NULL; |
4668 | } |
4669 | inline void* MaybeArenaPtr() const { |
4670 | return NULL; |
4671 | } |
4672 | public: |
4673 | |
4674 | ::google::protobuf::Metadata GetMetadata() const final; |
4675 | |
4676 | // nested types ---------------------------------------------------- |
4677 | |
4678 | // accessors ------------------------------------------------------- |
4679 | |
4680 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetLeaseResponseProto) |
4681 | private: |
4682 | |
4683 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4684 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4685 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4686 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4687 | }; |
4688 | // ------------------------------------------------------------------- |
4689 | |
4690 | class ReleaseLeaseRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ReleaseLeaseRequestProto) */ { |
4691 | public: |
4692 | ReleaseLeaseRequestProto(); |
4693 | virtual ~ReleaseLeaseRequestProto(); |
4694 | |
4695 | ReleaseLeaseRequestProto(const ReleaseLeaseRequestProto& from); |
4696 | |
4697 | inline ReleaseLeaseRequestProto& operator=(const ReleaseLeaseRequestProto& from) { |
4698 | CopyFrom(from); |
4699 | return *this; |
4700 | } |
4701 | #if LANG_CXX11 |
4702 | ReleaseLeaseRequestProto(ReleaseLeaseRequestProto&& from) noexcept |
4703 | : ReleaseLeaseRequestProto() { |
4704 | *this = ::std::move(from); |
4705 | } |
4706 | |
4707 | inline ReleaseLeaseRequestProto& operator=(ReleaseLeaseRequestProto&& from) noexcept { |
4708 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4709 | if (this != &from) InternalSwap(&from); |
4710 | } else { |
4711 | CopyFrom(from); |
4712 | } |
4713 | return *this; |
4714 | } |
4715 | #endif |
4716 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4717 | return _internal_metadata_.unknown_fields(); |
4718 | } |
4719 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4720 | return _internal_metadata_.mutable_unknown_fields(); |
4721 | } |
4722 | |
4723 | static const ::google::protobuf::Descriptor* descriptor(); |
4724 | static const ReleaseLeaseRequestProto& default_instance(); |
4725 | |
4726 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4727 | static inline const ReleaseLeaseRequestProto* internal_default_instance() { |
4728 | return reinterpret_cast<const ReleaseLeaseRequestProto*>( |
4729 | &_ReleaseLeaseRequestProto_default_instance_); |
4730 | } |
4731 | static constexpr int kIndexInFileMessages = |
4732 | 30; |
4733 | |
4734 | void Swap(ReleaseLeaseRequestProto* other); |
4735 | friend void swap(ReleaseLeaseRequestProto& a, ReleaseLeaseRequestProto& b) { |
4736 | a.Swap(&b); |
4737 | } |
4738 | |
4739 | // implements Message ---------------------------------------------- |
4740 | |
4741 | inline ReleaseLeaseRequestProto* New() const final { |
4742 | return CreateMaybeMessage<ReleaseLeaseRequestProto>(NULL); |
4743 | } |
4744 | |
4745 | ReleaseLeaseRequestProto* New(::google::protobuf::Arena* arena) const final { |
4746 | return CreateMaybeMessage<ReleaseLeaseRequestProto>(arena); |
4747 | } |
4748 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4749 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4750 | void CopyFrom(const ReleaseLeaseRequestProto& from); |
4751 | void MergeFrom(const ReleaseLeaseRequestProto& from); |
4752 | void Clear() final; |
4753 | bool IsInitialized() const final; |
4754 | |
4755 | size_t ByteSizeLong() const final; |
4756 | bool MergePartialFromCodedStream( |
4757 | ::google::protobuf::io::CodedInputStream* input) final; |
4758 | void SerializeWithCachedSizes( |
4759 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4760 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4761 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4762 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4763 | |
4764 | private: |
4765 | void SharedCtor(); |
4766 | void SharedDtor(); |
4767 | void SetCachedSize(int size) const final; |
4768 | void InternalSwap(ReleaseLeaseRequestProto* other); |
4769 | private: |
4770 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4771 | return NULL; |
4772 | } |
4773 | inline void* MaybeArenaPtr() const { |
4774 | return NULL; |
4775 | } |
4776 | public: |
4777 | |
4778 | ::google::protobuf::Metadata GetMetadata() const final; |
4779 | |
4780 | // nested types ---------------------------------------------------- |
4781 | |
4782 | // accessors ------------------------------------------------------- |
4783 | |
4784 | // required string src = 1; |
4785 | bool has_src() const; |
4786 | void clear_src(); |
4787 | static const int kSrcFieldNumber = 1; |
4788 | const ::std::string& src() const; |
4789 | void set_src(const ::std::string& value); |
4790 | #if LANG_CXX11 |
4791 | void set_src(::std::string&& value); |
4792 | #endif |
4793 | void set_src(const char* value); |
4794 | void set_src(const char* value, size_t size); |
4795 | ::std::string* mutable_src(); |
4796 | ::std::string* release_src(); |
4797 | void set_allocated_src(::std::string* src); |
4798 | |
4799 | // required string clientName = 2; |
4800 | bool has_clientname() const; |
4801 | void clear_clientname(); |
4802 | static const int kClientNameFieldNumber = 2; |
4803 | const ::std::string& clientname() const; |
4804 | void set_clientname(const ::std::string& value); |
4805 | #if LANG_CXX11 |
4806 | void set_clientname(::std::string&& value); |
4807 | #endif |
4808 | void set_clientname(const char* value); |
4809 | void set_clientname(const char* value, size_t size); |
4810 | ::std::string* mutable_clientname(); |
4811 | ::std::string* release_clientname(); |
4812 | void set_allocated_clientname(::std::string* clientname); |
4813 | |
4814 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ReleaseLeaseRequestProto) |
4815 | private: |
4816 | void set_has_src(); |
4817 | void clear_has_src(); |
4818 | void set_has_clientname(); |
4819 | void clear_has_clientname(); |
4820 | |
4821 | // helper for ByteSizeLong() |
4822 | size_t RequiredFieldsByteSizeFallback() const; |
4823 | |
4824 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4825 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4826 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4827 | ::google::protobuf::internal::ArenaStringPtr src_; |
4828 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
4829 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4830 | }; |
4831 | // ------------------------------------------------------------------- |
4832 | |
4833 | class ReleaseLeaseResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ReleaseLeaseResponseProto) */ { |
4834 | public: |
4835 | ReleaseLeaseResponseProto(); |
4836 | virtual ~ReleaseLeaseResponseProto(); |
4837 | |
4838 | ReleaseLeaseResponseProto(const ReleaseLeaseResponseProto& from); |
4839 | |
4840 | inline ReleaseLeaseResponseProto& operator=(const ReleaseLeaseResponseProto& from) { |
4841 | CopyFrom(from); |
4842 | return *this; |
4843 | } |
4844 | #if LANG_CXX11 |
4845 | ReleaseLeaseResponseProto(ReleaseLeaseResponseProto&& from) noexcept |
4846 | : ReleaseLeaseResponseProto() { |
4847 | *this = ::std::move(from); |
4848 | } |
4849 | |
4850 | inline ReleaseLeaseResponseProto& operator=(ReleaseLeaseResponseProto&& from) noexcept { |
4851 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4852 | if (this != &from) InternalSwap(&from); |
4853 | } else { |
4854 | CopyFrom(from); |
4855 | } |
4856 | return *this; |
4857 | } |
4858 | #endif |
4859 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4860 | return _internal_metadata_.unknown_fields(); |
4861 | } |
4862 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4863 | return _internal_metadata_.mutable_unknown_fields(); |
4864 | } |
4865 | |
4866 | static const ::google::protobuf::Descriptor* descriptor(); |
4867 | static const ReleaseLeaseResponseProto& default_instance(); |
4868 | |
4869 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4870 | static inline const ReleaseLeaseResponseProto* internal_default_instance() { |
4871 | return reinterpret_cast<const ReleaseLeaseResponseProto*>( |
4872 | &_ReleaseLeaseResponseProto_default_instance_); |
4873 | } |
4874 | static constexpr int kIndexInFileMessages = |
4875 | 31; |
4876 | |
4877 | void Swap(ReleaseLeaseResponseProto* other); |
4878 | friend void swap(ReleaseLeaseResponseProto& a, ReleaseLeaseResponseProto& b) { |
4879 | a.Swap(&b); |
4880 | } |
4881 | |
4882 | // implements Message ---------------------------------------------- |
4883 | |
4884 | inline ReleaseLeaseResponseProto* New() const final { |
4885 | return CreateMaybeMessage<ReleaseLeaseResponseProto>(NULL); |
4886 | } |
4887 | |
4888 | ReleaseLeaseResponseProto* New(::google::protobuf::Arena* arena) const final { |
4889 | return CreateMaybeMessage<ReleaseLeaseResponseProto>(arena); |
4890 | } |
4891 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4892 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4893 | void CopyFrom(const ReleaseLeaseResponseProto& from); |
4894 | void MergeFrom(const ReleaseLeaseResponseProto& from); |
4895 | void Clear() final; |
4896 | bool IsInitialized() const final; |
4897 | |
4898 | size_t ByteSizeLong() const final; |
4899 | bool MergePartialFromCodedStream( |
4900 | ::google::protobuf::io::CodedInputStream* input) final; |
4901 | void SerializeWithCachedSizes( |
4902 | ::google::protobuf::io::CodedOutputStream* output) const final; |
4903 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
4904 | bool deterministic, ::google::protobuf::uint8* target) const final; |
4905 | int GetCachedSize() const final { return _cached_size_.Get(); } |
4906 | |
4907 | private: |
4908 | void SharedCtor(); |
4909 | void SharedDtor(); |
4910 | void SetCachedSize(int size) const final; |
4911 | void InternalSwap(ReleaseLeaseResponseProto* other); |
4912 | private: |
4913 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
4914 | return NULL; |
4915 | } |
4916 | inline void* MaybeArenaPtr() const { |
4917 | return NULL; |
4918 | } |
4919 | public: |
4920 | |
4921 | ::google::protobuf::Metadata GetMetadata() const final; |
4922 | |
4923 | // nested types ---------------------------------------------------- |
4924 | |
4925 | // accessors ------------------------------------------------------- |
4926 | |
4927 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ReleaseLeaseResponseProto) |
4928 | private: |
4929 | |
4930 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
4931 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4932 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
4933 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
4934 | }; |
4935 | // ------------------------------------------------------------------- |
4936 | |
4937 | class RenameRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenameRequestProto) */ { |
4938 | public: |
4939 | RenameRequestProto(); |
4940 | virtual ~RenameRequestProto(); |
4941 | |
4942 | RenameRequestProto(const RenameRequestProto& from); |
4943 | |
4944 | inline RenameRequestProto& operator=(const RenameRequestProto& from) { |
4945 | CopyFrom(from); |
4946 | return *this; |
4947 | } |
4948 | #if LANG_CXX11 |
4949 | RenameRequestProto(RenameRequestProto&& from) noexcept |
4950 | : RenameRequestProto() { |
4951 | *this = ::std::move(from); |
4952 | } |
4953 | |
4954 | inline RenameRequestProto& operator=(RenameRequestProto&& from) noexcept { |
4955 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
4956 | if (this != &from) InternalSwap(&from); |
4957 | } else { |
4958 | CopyFrom(from); |
4959 | } |
4960 | return *this; |
4961 | } |
4962 | #endif |
4963 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
4964 | return _internal_metadata_.unknown_fields(); |
4965 | } |
4966 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
4967 | return _internal_metadata_.mutable_unknown_fields(); |
4968 | } |
4969 | |
4970 | static const ::google::protobuf::Descriptor* descriptor(); |
4971 | static const RenameRequestProto& default_instance(); |
4972 | |
4973 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
4974 | static inline const RenameRequestProto* internal_default_instance() { |
4975 | return reinterpret_cast<const RenameRequestProto*>( |
4976 | &_RenameRequestProto_default_instance_); |
4977 | } |
4978 | static constexpr int kIndexInFileMessages = |
4979 | 32; |
4980 | |
4981 | void Swap(RenameRequestProto* other); |
4982 | friend void swap(RenameRequestProto& a, RenameRequestProto& b) { |
4983 | a.Swap(&b); |
4984 | } |
4985 | |
4986 | // implements Message ---------------------------------------------- |
4987 | |
4988 | inline RenameRequestProto* New() const final { |
4989 | return CreateMaybeMessage<RenameRequestProto>(NULL); |
4990 | } |
4991 | |
4992 | RenameRequestProto* New(::google::protobuf::Arena* arena) const final { |
4993 | return CreateMaybeMessage<RenameRequestProto>(arena); |
4994 | } |
4995 | void CopyFrom(const ::google::protobuf::Message& from) final; |
4996 | void MergeFrom(const ::google::protobuf::Message& from) final; |
4997 | void CopyFrom(const RenameRequestProto& from); |
4998 | void MergeFrom(const RenameRequestProto& from); |
4999 | void Clear() final; |
5000 | bool IsInitialized() const final; |
5001 | |
5002 | size_t ByteSizeLong() const final; |
5003 | bool MergePartialFromCodedStream( |
5004 | ::google::protobuf::io::CodedInputStream* input) final; |
5005 | void SerializeWithCachedSizes( |
5006 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5007 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5008 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5009 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5010 | |
5011 | private: |
5012 | void SharedCtor(); |
5013 | void SharedDtor(); |
5014 | void SetCachedSize(int size) const final; |
5015 | void InternalSwap(RenameRequestProto* other); |
5016 | private: |
5017 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5018 | return NULL; |
5019 | } |
5020 | inline void* MaybeArenaPtr() const { |
5021 | return NULL; |
5022 | } |
5023 | public: |
5024 | |
5025 | ::google::protobuf::Metadata GetMetadata() const final; |
5026 | |
5027 | // nested types ---------------------------------------------------- |
5028 | |
5029 | // accessors ------------------------------------------------------- |
5030 | |
5031 | // required string src = 1; |
5032 | bool has_src() const; |
5033 | void clear_src(); |
5034 | static const int kSrcFieldNumber = 1; |
5035 | const ::std::string& src() const; |
5036 | void set_src(const ::std::string& value); |
5037 | #if LANG_CXX11 |
5038 | void set_src(::std::string&& value); |
5039 | #endif |
5040 | void set_src(const char* value); |
5041 | void set_src(const char* value, size_t size); |
5042 | ::std::string* mutable_src(); |
5043 | ::std::string* release_src(); |
5044 | void set_allocated_src(::std::string* src); |
5045 | |
5046 | // required string dst = 2; |
5047 | bool has_dst() const; |
5048 | void clear_dst(); |
5049 | static const int kDstFieldNumber = 2; |
5050 | const ::std::string& dst() const; |
5051 | void set_dst(const ::std::string& value); |
5052 | #if LANG_CXX11 |
5053 | void set_dst(::std::string&& value); |
5054 | #endif |
5055 | void set_dst(const char* value); |
5056 | void set_dst(const char* value, size_t size); |
5057 | ::std::string* mutable_dst(); |
5058 | ::std::string* release_dst(); |
5059 | void set_allocated_dst(::std::string* dst); |
5060 | |
5061 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenameRequestProto) |
5062 | private: |
5063 | void set_has_src(); |
5064 | void clear_has_src(); |
5065 | void set_has_dst(); |
5066 | void clear_has_dst(); |
5067 | |
5068 | // helper for ByteSizeLong() |
5069 | size_t RequiredFieldsByteSizeFallback() const; |
5070 | |
5071 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5072 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5073 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5074 | ::google::protobuf::internal::ArenaStringPtr src_; |
5075 | ::google::protobuf::internal::ArenaStringPtr dst_; |
5076 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5077 | }; |
5078 | // ------------------------------------------------------------------- |
5079 | |
5080 | class RenameResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenameResponseProto) */ { |
5081 | public: |
5082 | RenameResponseProto(); |
5083 | virtual ~RenameResponseProto(); |
5084 | |
5085 | RenameResponseProto(const RenameResponseProto& from); |
5086 | |
5087 | inline RenameResponseProto& operator=(const RenameResponseProto& from) { |
5088 | CopyFrom(from); |
5089 | return *this; |
5090 | } |
5091 | #if LANG_CXX11 |
5092 | RenameResponseProto(RenameResponseProto&& from) noexcept |
5093 | : RenameResponseProto() { |
5094 | *this = ::std::move(from); |
5095 | } |
5096 | |
5097 | inline RenameResponseProto& operator=(RenameResponseProto&& from) noexcept { |
5098 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5099 | if (this != &from) InternalSwap(&from); |
5100 | } else { |
5101 | CopyFrom(from); |
5102 | } |
5103 | return *this; |
5104 | } |
5105 | #endif |
5106 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5107 | return _internal_metadata_.unknown_fields(); |
5108 | } |
5109 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5110 | return _internal_metadata_.mutable_unknown_fields(); |
5111 | } |
5112 | |
5113 | static const ::google::protobuf::Descriptor* descriptor(); |
5114 | static const RenameResponseProto& default_instance(); |
5115 | |
5116 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5117 | static inline const RenameResponseProto* internal_default_instance() { |
5118 | return reinterpret_cast<const RenameResponseProto*>( |
5119 | &_RenameResponseProto_default_instance_); |
5120 | } |
5121 | static constexpr int kIndexInFileMessages = |
5122 | 33; |
5123 | |
5124 | void Swap(RenameResponseProto* other); |
5125 | friend void swap(RenameResponseProto& a, RenameResponseProto& b) { |
5126 | a.Swap(&b); |
5127 | } |
5128 | |
5129 | // implements Message ---------------------------------------------- |
5130 | |
5131 | inline RenameResponseProto* New() const final { |
5132 | return CreateMaybeMessage<RenameResponseProto>(NULL); |
5133 | } |
5134 | |
5135 | RenameResponseProto* New(::google::protobuf::Arena* arena) const final { |
5136 | return CreateMaybeMessage<RenameResponseProto>(arena); |
5137 | } |
5138 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5139 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5140 | void CopyFrom(const RenameResponseProto& from); |
5141 | void MergeFrom(const RenameResponseProto& from); |
5142 | void Clear() final; |
5143 | bool IsInitialized() const final; |
5144 | |
5145 | size_t ByteSizeLong() const final; |
5146 | bool MergePartialFromCodedStream( |
5147 | ::google::protobuf::io::CodedInputStream* input) final; |
5148 | void SerializeWithCachedSizes( |
5149 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5150 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5151 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5152 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5153 | |
5154 | private: |
5155 | void SharedCtor(); |
5156 | void SharedDtor(); |
5157 | void SetCachedSize(int size) const final; |
5158 | void InternalSwap(RenameResponseProto* other); |
5159 | private: |
5160 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5161 | return NULL; |
5162 | } |
5163 | inline void* MaybeArenaPtr() const { |
5164 | return NULL; |
5165 | } |
5166 | public: |
5167 | |
5168 | ::google::protobuf::Metadata GetMetadata() const final; |
5169 | |
5170 | // nested types ---------------------------------------------------- |
5171 | |
5172 | // accessors ------------------------------------------------------- |
5173 | |
5174 | // required bool result = 1; |
5175 | bool has_result() const; |
5176 | void clear_result(); |
5177 | static const int kResultFieldNumber = 1; |
5178 | bool result() const; |
5179 | void set_result(bool value); |
5180 | |
5181 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenameResponseProto) |
5182 | private: |
5183 | void set_has_result(); |
5184 | void clear_has_result(); |
5185 | |
5186 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5187 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5188 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5189 | bool result_; |
5190 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5191 | }; |
5192 | // ------------------------------------------------------------------- |
5193 | |
5194 | class Rename2RequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.Rename2RequestProto) */ { |
5195 | public: |
5196 | Rename2RequestProto(); |
5197 | virtual ~Rename2RequestProto(); |
5198 | |
5199 | Rename2RequestProto(const Rename2RequestProto& from); |
5200 | |
5201 | inline Rename2RequestProto& operator=(const Rename2RequestProto& from) { |
5202 | CopyFrom(from); |
5203 | return *this; |
5204 | } |
5205 | #if LANG_CXX11 |
5206 | Rename2RequestProto(Rename2RequestProto&& from) noexcept |
5207 | : Rename2RequestProto() { |
5208 | *this = ::std::move(from); |
5209 | } |
5210 | |
5211 | inline Rename2RequestProto& operator=(Rename2RequestProto&& from) noexcept { |
5212 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5213 | if (this != &from) InternalSwap(&from); |
5214 | } else { |
5215 | CopyFrom(from); |
5216 | } |
5217 | return *this; |
5218 | } |
5219 | #endif |
5220 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5221 | return _internal_metadata_.unknown_fields(); |
5222 | } |
5223 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5224 | return _internal_metadata_.mutable_unknown_fields(); |
5225 | } |
5226 | |
5227 | static const ::google::protobuf::Descriptor* descriptor(); |
5228 | static const Rename2RequestProto& default_instance(); |
5229 | |
5230 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5231 | static inline const Rename2RequestProto* internal_default_instance() { |
5232 | return reinterpret_cast<const Rename2RequestProto*>( |
5233 | &_Rename2RequestProto_default_instance_); |
5234 | } |
5235 | static constexpr int kIndexInFileMessages = |
5236 | 34; |
5237 | |
5238 | void Swap(Rename2RequestProto* other); |
5239 | friend void swap(Rename2RequestProto& a, Rename2RequestProto& b) { |
5240 | a.Swap(&b); |
5241 | } |
5242 | |
5243 | // implements Message ---------------------------------------------- |
5244 | |
5245 | inline Rename2RequestProto* New() const final { |
5246 | return CreateMaybeMessage<Rename2RequestProto>(NULL); |
5247 | } |
5248 | |
5249 | Rename2RequestProto* New(::google::protobuf::Arena* arena) const final { |
5250 | return CreateMaybeMessage<Rename2RequestProto>(arena); |
5251 | } |
5252 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5253 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5254 | void CopyFrom(const Rename2RequestProto& from); |
5255 | void MergeFrom(const Rename2RequestProto& from); |
5256 | void Clear() final; |
5257 | bool IsInitialized() const final; |
5258 | |
5259 | size_t ByteSizeLong() const final; |
5260 | bool MergePartialFromCodedStream( |
5261 | ::google::protobuf::io::CodedInputStream* input) final; |
5262 | void SerializeWithCachedSizes( |
5263 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5264 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5265 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5266 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5267 | |
5268 | private: |
5269 | void SharedCtor(); |
5270 | void SharedDtor(); |
5271 | void SetCachedSize(int size) const final; |
5272 | void InternalSwap(Rename2RequestProto* other); |
5273 | private: |
5274 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5275 | return NULL; |
5276 | } |
5277 | inline void* MaybeArenaPtr() const { |
5278 | return NULL; |
5279 | } |
5280 | public: |
5281 | |
5282 | ::google::protobuf::Metadata GetMetadata() const final; |
5283 | |
5284 | // nested types ---------------------------------------------------- |
5285 | |
5286 | // accessors ------------------------------------------------------- |
5287 | |
5288 | // required string src = 1; |
5289 | bool has_src() const; |
5290 | void clear_src(); |
5291 | static const int kSrcFieldNumber = 1; |
5292 | const ::std::string& src() const; |
5293 | void set_src(const ::std::string& value); |
5294 | #if LANG_CXX11 |
5295 | void set_src(::std::string&& value); |
5296 | #endif |
5297 | void set_src(const char* value); |
5298 | void set_src(const char* value, size_t size); |
5299 | ::std::string* mutable_src(); |
5300 | ::std::string* release_src(); |
5301 | void set_allocated_src(::std::string* src); |
5302 | |
5303 | // required string dst = 2; |
5304 | bool has_dst() const; |
5305 | void clear_dst(); |
5306 | static const int kDstFieldNumber = 2; |
5307 | const ::std::string& dst() const; |
5308 | void set_dst(const ::std::string& value); |
5309 | #if LANG_CXX11 |
5310 | void set_dst(::std::string&& value); |
5311 | #endif |
5312 | void set_dst(const char* value); |
5313 | void set_dst(const char* value, size_t size); |
5314 | ::std::string* mutable_dst(); |
5315 | ::std::string* release_dst(); |
5316 | void set_allocated_dst(::std::string* dst); |
5317 | |
5318 | // required bool overwriteDest = 3; |
5319 | bool has_overwritedest() const; |
5320 | void clear_overwritedest(); |
5321 | static const int kOverwriteDestFieldNumber = 3; |
5322 | bool overwritedest() const; |
5323 | void set_overwritedest(bool value); |
5324 | |
5325 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.Rename2RequestProto) |
5326 | private: |
5327 | void set_has_src(); |
5328 | void clear_has_src(); |
5329 | void set_has_dst(); |
5330 | void clear_has_dst(); |
5331 | void set_has_overwritedest(); |
5332 | void clear_has_overwritedest(); |
5333 | |
5334 | // helper for ByteSizeLong() |
5335 | size_t RequiredFieldsByteSizeFallback() const; |
5336 | |
5337 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5338 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5339 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5340 | ::google::protobuf::internal::ArenaStringPtr src_; |
5341 | ::google::protobuf::internal::ArenaStringPtr dst_; |
5342 | bool overwritedest_; |
5343 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5344 | }; |
5345 | // ------------------------------------------------------------------- |
5346 | |
5347 | class Rename2ResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.Rename2ResponseProto) */ { |
5348 | public: |
5349 | Rename2ResponseProto(); |
5350 | virtual ~Rename2ResponseProto(); |
5351 | |
5352 | Rename2ResponseProto(const Rename2ResponseProto& from); |
5353 | |
5354 | inline Rename2ResponseProto& operator=(const Rename2ResponseProto& from) { |
5355 | CopyFrom(from); |
5356 | return *this; |
5357 | } |
5358 | #if LANG_CXX11 |
5359 | Rename2ResponseProto(Rename2ResponseProto&& from) noexcept |
5360 | : Rename2ResponseProto() { |
5361 | *this = ::std::move(from); |
5362 | } |
5363 | |
5364 | inline Rename2ResponseProto& operator=(Rename2ResponseProto&& from) noexcept { |
5365 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5366 | if (this != &from) InternalSwap(&from); |
5367 | } else { |
5368 | CopyFrom(from); |
5369 | } |
5370 | return *this; |
5371 | } |
5372 | #endif |
5373 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5374 | return _internal_metadata_.unknown_fields(); |
5375 | } |
5376 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5377 | return _internal_metadata_.mutable_unknown_fields(); |
5378 | } |
5379 | |
5380 | static const ::google::protobuf::Descriptor* descriptor(); |
5381 | static const Rename2ResponseProto& default_instance(); |
5382 | |
5383 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5384 | static inline const Rename2ResponseProto* internal_default_instance() { |
5385 | return reinterpret_cast<const Rename2ResponseProto*>( |
5386 | &_Rename2ResponseProto_default_instance_); |
5387 | } |
5388 | static constexpr int kIndexInFileMessages = |
5389 | 35; |
5390 | |
5391 | void Swap(Rename2ResponseProto* other); |
5392 | friend void swap(Rename2ResponseProto& a, Rename2ResponseProto& b) { |
5393 | a.Swap(&b); |
5394 | } |
5395 | |
5396 | // implements Message ---------------------------------------------- |
5397 | |
5398 | inline Rename2ResponseProto* New() const final { |
5399 | return CreateMaybeMessage<Rename2ResponseProto>(NULL); |
5400 | } |
5401 | |
5402 | Rename2ResponseProto* New(::google::protobuf::Arena* arena) const final { |
5403 | return CreateMaybeMessage<Rename2ResponseProto>(arena); |
5404 | } |
5405 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5406 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5407 | void CopyFrom(const Rename2ResponseProto& from); |
5408 | void MergeFrom(const Rename2ResponseProto& from); |
5409 | void Clear() final; |
5410 | bool IsInitialized() const final; |
5411 | |
5412 | size_t ByteSizeLong() const final; |
5413 | bool MergePartialFromCodedStream( |
5414 | ::google::protobuf::io::CodedInputStream* input) final; |
5415 | void SerializeWithCachedSizes( |
5416 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5417 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5418 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5419 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5420 | |
5421 | private: |
5422 | void SharedCtor(); |
5423 | void SharedDtor(); |
5424 | void SetCachedSize(int size) const final; |
5425 | void InternalSwap(Rename2ResponseProto* other); |
5426 | private: |
5427 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5428 | return NULL; |
5429 | } |
5430 | inline void* MaybeArenaPtr() const { |
5431 | return NULL; |
5432 | } |
5433 | public: |
5434 | |
5435 | ::google::protobuf::Metadata GetMetadata() const final; |
5436 | |
5437 | // nested types ---------------------------------------------------- |
5438 | |
5439 | // accessors ------------------------------------------------------- |
5440 | |
5441 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.Rename2ResponseProto) |
5442 | private: |
5443 | |
5444 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5445 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5446 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5447 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5448 | }; |
5449 | // ------------------------------------------------------------------- |
5450 | |
5451 | class DeleteRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DeleteRequestProto) */ { |
5452 | public: |
5453 | DeleteRequestProto(); |
5454 | virtual ~DeleteRequestProto(); |
5455 | |
5456 | DeleteRequestProto(const DeleteRequestProto& from); |
5457 | |
5458 | inline DeleteRequestProto& operator=(const DeleteRequestProto& from) { |
5459 | CopyFrom(from); |
5460 | return *this; |
5461 | } |
5462 | #if LANG_CXX11 |
5463 | DeleteRequestProto(DeleteRequestProto&& from) noexcept |
5464 | : DeleteRequestProto() { |
5465 | *this = ::std::move(from); |
5466 | } |
5467 | |
5468 | inline DeleteRequestProto& operator=(DeleteRequestProto&& from) noexcept { |
5469 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5470 | if (this != &from) InternalSwap(&from); |
5471 | } else { |
5472 | CopyFrom(from); |
5473 | } |
5474 | return *this; |
5475 | } |
5476 | #endif |
5477 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5478 | return _internal_metadata_.unknown_fields(); |
5479 | } |
5480 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5481 | return _internal_metadata_.mutable_unknown_fields(); |
5482 | } |
5483 | |
5484 | static const ::google::protobuf::Descriptor* descriptor(); |
5485 | static const DeleteRequestProto& default_instance(); |
5486 | |
5487 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5488 | static inline const DeleteRequestProto* internal_default_instance() { |
5489 | return reinterpret_cast<const DeleteRequestProto*>( |
5490 | &_DeleteRequestProto_default_instance_); |
5491 | } |
5492 | static constexpr int kIndexInFileMessages = |
5493 | 36; |
5494 | |
5495 | void Swap(DeleteRequestProto* other); |
5496 | friend void swap(DeleteRequestProto& a, DeleteRequestProto& b) { |
5497 | a.Swap(&b); |
5498 | } |
5499 | |
5500 | // implements Message ---------------------------------------------- |
5501 | |
5502 | inline DeleteRequestProto* New() const final { |
5503 | return CreateMaybeMessage<DeleteRequestProto>(NULL); |
5504 | } |
5505 | |
5506 | DeleteRequestProto* New(::google::protobuf::Arena* arena) const final { |
5507 | return CreateMaybeMessage<DeleteRequestProto>(arena); |
5508 | } |
5509 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5510 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5511 | void CopyFrom(const DeleteRequestProto& from); |
5512 | void MergeFrom(const DeleteRequestProto& from); |
5513 | void Clear() final; |
5514 | bool IsInitialized() const final; |
5515 | |
5516 | size_t ByteSizeLong() const final; |
5517 | bool MergePartialFromCodedStream( |
5518 | ::google::protobuf::io::CodedInputStream* input) final; |
5519 | void SerializeWithCachedSizes( |
5520 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5521 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5522 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5523 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5524 | |
5525 | private: |
5526 | void SharedCtor(); |
5527 | void SharedDtor(); |
5528 | void SetCachedSize(int size) const final; |
5529 | void InternalSwap(DeleteRequestProto* other); |
5530 | private: |
5531 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5532 | return NULL; |
5533 | } |
5534 | inline void* MaybeArenaPtr() const { |
5535 | return NULL; |
5536 | } |
5537 | public: |
5538 | |
5539 | ::google::protobuf::Metadata GetMetadata() const final; |
5540 | |
5541 | // nested types ---------------------------------------------------- |
5542 | |
5543 | // accessors ------------------------------------------------------- |
5544 | |
5545 | // required string src = 1; |
5546 | bool has_src() const; |
5547 | void clear_src(); |
5548 | static const int kSrcFieldNumber = 1; |
5549 | const ::std::string& src() const; |
5550 | void set_src(const ::std::string& value); |
5551 | #if LANG_CXX11 |
5552 | void set_src(::std::string&& value); |
5553 | #endif |
5554 | void set_src(const char* value); |
5555 | void set_src(const char* value, size_t size); |
5556 | ::std::string* mutable_src(); |
5557 | ::std::string* release_src(); |
5558 | void set_allocated_src(::std::string* src); |
5559 | |
5560 | // required bool recursive = 2; |
5561 | bool has_recursive() const; |
5562 | void clear_recursive(); |
5563 | static const int kRecursiveFieldNumber = 2; |
5564 | bool recursive() const; |
5565 | void set_recursive(bool value); |
5566 | |
5567 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DeleteRequestProto) |
5568 | private: |
5569 | void set_has_src(); |
5570 | void clear_has_src(); |
5571 | void set_has_recursive(); |
5572 | void clear_has_recursive(); |
5573 | |
5574 | // helper for ByteSizeLong() |
5575 | size_t RequiredFieldsByteSizeFallback() const; |
5576 | |
5577 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5578 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5579 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5580 | ::google::protobuf::internal::ArenaStringPtr src_; |
5581 | bool recursive_; |
5582 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5583 | }; |
5584 | // ------------------------------------------------------------------- |
5585 | |
5586 | class DeleteResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DeleteResponseProto) */ { |
5587 | public: |
5588 | DeleteResponseProto(); |
5589 | virtual ~DeleteResponseProto(); |
5590 | |
5591 | DeleteResponseProto(const DeleteResponseProto& from); |
5592 | |
5593 | inline DeleteResponseProto& operator=(const DeleteResponseProto& from) { |
5594 | CopyFrom(from); |
5595 | return *this; |
5596 | } |
5597 | #if LANG_CXX11 |
5598 | DeleteResponseProto(DeleteResponseProto&& from) noexcept |
5599 | : DeleteResponseProto() { |
5600 | *this = ::std::move(from); |
5601 | } |
5602 | |
5603 | inline DeleteResponseProto& operator=(DeleteResponseProto&& from) noexcept { |
5604 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5605 | if (this != &from) InternalSwap(&from); |
5606 | } else { |
5607 | CopyFrom(from); |
5608 | } |
5609 | return *this; |
5610 | } |
5611 | #endif |
5612 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5613 | return _internal_metadata_.unknown_fields(); |
5614 | } |
5615 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5616 | return _internal_metadata_.mutable_unknown_fields(); |
5617 | } |
5618 | |
5619 | static const ::google::protobuf::Descriptor* descriptor(); |
5620 | static const DeleteResponseProto& default_instance(); |
5621 | |
5622 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5623 | static inline const DeleteResponseProto* internal_default_instance() { |
5624 | return reinterpret_cast<const DeleteResponseProto*>( |
5625 | &_DeleteResponseProto_default_instance_); |
5626 | } |
5627 | static constexpr int kIndexInFileMessages = |
5628 | 37; |
5629 | |
5630 | void Swap(DeleteResponseProto* other); |
5631 | friend void swap(DeleteResponseProto& a, DeleteResponseProto& b) { |
5632 | a.Swap(&b); |
5633 | } |
5634 | |
5635 | // implements Message ---------------------------------------------- |
5636 | |
5637 | inline DeleteResponseProto* New() const final { |
5638 | return CreateMaybeMessage<DeleteResponseProto>(NULL); |
5639 | } |
5640 | |
5641 | DeleteResponseProto* New(::google::protobuf::Arena* arena) const final { |
5642 | return CreateMaybeMessage<DeleteResponseProto>(arena); |
5643 | } |
5644 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5645 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5646 | void CopyFrom(const DeleteResponseProto& from); |
5647 | void MergeFrom(const DeleteResponseProto& from); |
5648 | void Clear() final; |
5649 | bool IsInitialized() const final; |
5650 | |
5651 | size_t ByteSizeLong() const final; |
5652 | bool MergePartialFromCodedStream( |
5653 | ::google::protobuf::io::CodedInputStream* input) final; |
5654 | void SerializeWithCachedSizes( |
5655 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5656 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5657 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5658 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5659 | |
5660 | private: |
5661 | void SharedCtor(); |
5662 | void SharedDtor(); |
5663 | void SetCachedSize(int size) const final; |
5664 | void InternalSwap(DeleteResponseProto* other); |
5665 | private: |
5666 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5667 | return NULL; |
5668 | } |
5669 | inline void* MaybeArenaPtr() const { |
5670 | return NULL; |
5671 | } |
5672 | public: |
5673 | |
5674 | ::google::protobuf::Metadata GetMetadata() const final; |
5675 | |
5676 | // nested types ---------------------------------------------------- |
5677 | |
5678 | // accessors ------------------------------------------------------- |
5679 | |
5680 | // required bool result = 1; |
5681 | bool has_result() const; |
5682 | void clear_result(); |
5683 | static const int kResultFieldNumber = 1; |
5684 | bool result() const; |
5685 | void set_result(bool value); |
5686 | |
5687 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DeleteResponseProto) |
5688 | private: |
5689 | void set_has_result(); |
5690 | void clear_has_result(); |
5691 | |
5692 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5693 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5694 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5695 | bool result_; |
5696 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5697 | }; |
5698 | // ------------------------------------------------------------------- |
5699 | |
5700 | class MkdirsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.MkdirsRequestProto) */ { |
5701 | public: |
5702 | MkdirsRequestProto(); |
5703 | virtual ~MkdirsRequestProto(); |
5704 | |
5705 | MkdirsRequestProto(const MkdirsRequestProto& from); |
5706 | |
5707 | inline MkdirsRequestProto& operator=(const MkdirsRequestProto& from) { |
5708 | CopyFrom(from); |
5709 | return *this; |
5710 | } |
5711 | #if LANG_CXX11 |
5712 | MkdirsRequestProto(MkdirsRequestProto&& from) noexcept |
5713 | : MkdirsRequestProto() { |
5714 | *this = ::std::move(from); |
5715 | } |
5716 | |
5717 | inline MkdirsRequestProto& operator=(MkdirsRequestProto&& from) noexcept { |
5718 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5719 | if (this != &from) InternalSwap(&from); |
5720 | } else { |
5721 | CopyFrom(from); |
5722 | } |
5723 | return *this; |
5724 | } |
5725 | #endif |
5726 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5727 | return _internal_metadata_.unknown_fields(); |
5728 | } |
5729 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5730 | return _internal_metadata_.mutable_unknown_fields(); |
5731 | } |
5732 | |
5733 | static const ::google::protobuf::Descriptor* descriptor(); |
5734 | static const MkdirsRequestProto& default_instance(); |
5735 | |
5736 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5737 | static inline const MkdirsRequestProto* internal_default_instance() { |
5738 | return reinterpret_cast<const MkdirsRequestProto*>( |
5739 | &_MkdirsRequestProto_default_instance_); |
5740 | } |
5741 | static constexpr int kIndexInFileMessages = |
5742 | 38; |
5743 | |
5744 | void Swap(MkdirsRequestProto* other); |
5745 | friend void swap(MkdirsRequestProto& a, MkdirsRequestProto& b) { |
5746 | a.Swap(&b); |
5747 | } |
5748 | |
5749 | // implements Message ---------------------------------------------- |
5750 | |
5751 | inline MkdirsRequestProto* New() const final { |
5752 | return CreateMaybeMessage<MkdirsRequestProto>(NULL); |
5753 | } |
5754 | |
5755 | MkdirsRequestProto* New(::google::protobuf::Arena* arena) const final { |
5756 | return CreateMaybeMessage<MkdirsRequestProto>(arena); |
5757 | } |
5758 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5759 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5760 | void CopyFrom(const MkdirsRequestProto& from); |
5761 | void MergeFrom(const MkdirsRequestProto& from); |
5762 | void Clear() final; |
5763 | bool IsInitialized() const final; |
5764 | |
5765 | size_t ByteSizeLong() const final; |
5766 | bool MergePartialFromCodedStream( |
5767 | ::google::protobuf::io::CodedInputStream* input) final; |
5768 | void SerializeWithCachedSizes( |
5769 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5770 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5771 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5772 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5773 | |
5774 | private: |
5775 | void SharedCtor(); |
5776 | void SharedDtor(); |
5777 | void SetCachedSize(int size) const final; |
5778 | void InternalSwap(MkdirsRequestProto* other); |
5779 | private: |
5780 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5781 | return NULL; |
5782 | } |
5783 | inline void* MaybeArenaPtr() const { |
5784 | return NULL; |
5785 | } |
5786 | public: |
5787 | |
5788 | ::google::protobuf::Metadata GetMetadata() const final; |
5789 | |
5790 | // nested types ---------------------------------------------------- |
5791 | |
5792 | // accessors ------------------------------------------------------- |
5793 | |
5794 | // required string src = 1; |
5795 | bool has_src() const; |
5796 | void clear_src(); |
5797 | static const int kSrcFieldNumber = 1; |
5798 | const ::std::string& src() const; |
5799 | void set_src(const ::std::string& value); |
5800 | #if LANG_CXX11 |
5801 | void set_src(::std::string&& value); |
5802 | #endif |
5803 | void set_src(const char* value); |
5804 | void set_src(const char* value, size_t size); |
5805 | ::std::string* mutable_src(); |
5806 | ::std::string* release_src(); |
5807 | void set_allocated_src(::std::string* src); |
5808 | |
5809 | // required .Hdfs.Internal.FsPermissionProto masked = 2; |
5810 | bool has_masked() const; |
5811 | void clear_masked(); |
5812 | static const int kMaskedFieldNumber = 2; |
5813 | private: |
5814 | const ::Hdfs::Internal::FsPermissionProto& _internal_masked() const; |
5815 | public: |
5816 | const ::Hdfs::Internal::FsPermissionProto& masked() const; |
5817 | ::Hdfs::Internal::FsPermissionProto* release_masked(); |
5818 | ::Hdfs::Internal::FsPermissionProto* mutable_masked(); |
5819 | void set_allocated_masked(::Hdfs::Internal::FsPermissionProto* masked); |
5820 | |
5821 | // required bool createParent = 3; |
5822 | bool has_createparent() const; |
5823 | void clear_createparent(); |
5824 | static const int kCreateParentFieldNumber = 3; |
5825 | bool createparent() const; |
5826 | void set_createparent(bool value); |
5827 | |
5828 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.MkdirsRequestProto) |
5829 | private: |
5830 | void set_has_src(); |
5831 | void clear_has_src(); |
5832 | void set_has_masked(); |
5833 | void clear_has_masked(); |
5834 | void set_has_createparent(); |
5835 | void clear_has_createparent(); |
5836 | |
5837 | // helper for ByteSizeLong() |
5838 | size_t RequiredFieldsByteSizeFallback() const; |
5839 | |
5840 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5841 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5842 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5843 | ::google::protobuf::internal::ArenaStringPtr src_; |
5844 | ::Hdfs::Internal::FsPermissionProto* masked_; |
5845 | bool createparent_; |
5846 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5847 | }; |
5848 | // ------------------------------------------------------------------- |
5849 | |
5850 | class MkdirsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.MkdirsResponseProto) */ { |
5851 | public: |
5852 | MkdirsResponseProto(); |
5853 | virtual ~MkdirsResponseProto(); |
5854 | |
5855 | MkdirsResponseProto(const MkdirsResponseProto& from); |
5856 | |
5857 | inline MkdirsResponseProto& operator=(const MkdirsResponseProto& from) { |
5858 | CopyFrom(from); |
5859 | return *this; |
5860 | } |
5861 | #if LANG_CXX11 |
5862 | MkdirsResponseProto(MkdirsResponseProto&& from) noexcept |
5863 | : MkdirsResponseProto() { |
5864 | *this = ::std::move(from); |
5865 | } |
5866 | |
5867 | inline MkdirsResponseProto& operator=(MkdirsResponseProto&& from) noexcept { |
5868 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5869 | if (this != &from) InternalSwap(&from); |
5870 | } else { |
5871 | CopyFrom(from); |
5872 | } |
5873 | return *this; |
5874 | } |
5875 | #endif |
5876 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5877 | return _internal_metadata_.unknown_fields(); |
5878 | } |
5879 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5880 | return _internal_metadata_.mutable_unknown_fields(); |
5881 | } |
5882 | |
5883 | static const ::google::protobuf::Descriptor* descriptor(); |
5884 | static const MkdirsResponseProto& default_instance(); |
5885 | |
5886 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
5887 | static inline const MkdirsResponseProto* internal_default_instance() { |
5888 | return reinterpret_cast<const MkdirsResponseProto*>( |
5889 | &_MkdirsResponseProto_default_instance_); |
5890 | } |
5891 | static constexpr int kIndexInFileMessages = |
5892 | 39; |
5893 | |
5894 | void Swap(MkdirsResponseProto* other); |
5895 | friend void swap(MkdirsResponseProto& a, MkdirsResponseProto& b) { |
5896 | a.Swap(&b); |
5897 | } |
5898 | |
5899 | // implements Message ---------------------------------------------- |
5900 | |
5901 | inline MkdirsResponseProto* New() const final { |
5902 | return CreateMaybeMessage<MkdirsResponseProto>(NULL); |
5903 | } |
5904 | |
5905 | MkdirsResponseProto* New(::google::protobuf::Arena* arena) const final { |
5906 | return CreateMaybeMessage<MkdirsResponseProto>(arena); |
5907 | } |
5908 | void CopyFrom(const ::google::protobuf::Message& from) final; |
5909 | void MergeFrom(const ::google::protobuf::Message& from) final; |
5910 | void CopyFrom(const MkdirsResponseProto& from); |
5911 | void MergeFrom(const MkdirsResponseProto& from); |
5912 | void Clear() final; |
5913 | bool IsInitialized() const final; |
5914 | |
5915 | size_t ByteSizeLong() const final; |
5916 | bool MergePartialFromCodedStream( |
5917 | ::google::protobuf::io::CodedInputStream* input) final; |
5918 | void SerializeWithCachedSizes( |
5919 | ::google::protobuf::io::CodedOutputStream* output) const final; |
5920 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
5921 | bool deterministic, ::google::protobuf::uint8* target) const final; |
5922 | int GetCachedSize() const final { return _cached_size_.Get(); } |
5923 | |
5924 | private: |
5925 | void SharedCtor(); |
5926 | void SharedDtor(); |
5927 | void SetCachedSize(int size) const final; |
5928 | void InternalSwap(MkdirsResponseProto* other); |
5929 | private: |
5930 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
5931 | return NULL; |
5932 | } |
5933 | inline void* MaybeArenaPtr() const { |
5934 | return NULL; |
5935 | } |
5936 | public: |
5937 | |
5938 | ::google::protobuf::Metadata GetMetadata() const final; |
5939 | |
5940 | // nested types ---------------------------------------------------- |
5941 | |
5942 | // accessors ------------------------------------------------------- |
5943 | |
5944 | // required bool result = 1; |
5945 | bool has_result() const; |
5946 | void clear_result(); |
5947 | static const int kResultFieldNumber = 1; |
5948 | bool result() const; |
5949 | void set_result(bool value); |
5950 | |
5951 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.MkdirsResponseProto) |
5952 | private: |
5953 | void set_has_result(); |
5954 | void clear_has_result(); |
5955 | |
5956 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
5957 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5958 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
5959 | bool result_; |
5960 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
5961 | }; |
5962 | // ------------------------------------------------------------------- |
5963 | |
5964 | class GetListingRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetListingRequestProto) */ { |
5965 | public: |
5966 | GetListingRequestProto(); |
5967 | virtual ~GetListingRequestProto(); |
5968 | |
5969 | GetListingRequestProto(const GetListingRequestProto& from); |
5970 | |
5971 | inline GetListingRequestProto& operator=(const GetListingRequestProto& from) { |
5972 | CopyFrom(from); |
5973 | return *this; |
5974 | } |
5975 | #if LANG_CXX11 |
5976 | GetListingRequestProto(GetListingRequestProto&& from) noexcept |
5977 | : GetListingRequestProto() { |
5978 | *this = ::std::move(from); |
5979 | } |
5980 | |
5981 | inline GetListingRequestProto& operator=(GetListingRequestProto&& from) noexcept { |
5982 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
5983 | if (this != &from) InternalSwap(&from); |
5984 | } else { |
5985 | CopyFrom(from); |
5986 | } |
5987 | return *this; |
5988 | } |
5989 | #endif |
5990 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
5991 | return _internal_metadata_.unknown_fields(); |
5992 | } |
5993 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
5994 | return _internal_metadata_.mutable_unknown_fields(); |
5995 | } |
5996 | |
5997 | static const ::google::protobuf::Descriptor* descriptor(); |
5998 | static const GetListingRequestProto& default_instance(); |
5999 | |
6000 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6001 | static inline const GetListingRequestProto* internal_default_instance() { |
6002 | return reinterpret_cast<const GetListingRequestProto*>( |
6003 | &_GetListingRequestProto_default_instance_); |
6004 | } |
6005 | static constexpr int kIndexInFileMessages = |
6006 | 40; |
6007 | |
6008 | void Swap(GetListingRequestProto* other); |
6009 | friend void swap(GetListingRequestProto& a, GetListingRequestProto& b) { |
6010 | a.Swap(&b); |
6011 | } |
6012 | |
6013 | // implements Message ---------------------------------------------- |
6014 | |
6015 | inline GetListingRequestProto* New() const final { |
6016 | return CreateMaybeMessage<GetListingRequestProto>(NULL); |
6017 | } |
6018 | |
6019 | GetListingRequestProto* New(::google::protobuf::Arena* arena) const final { |
6020 | return CreateMaybeMessage<GetListingRequestProto>(arena); |
6021 | } |
6022 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6023 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6024 | void CopyFrom(const GetListingRequestProto& from); |
6025 | void MergeFrom(const GetListingRequestProto& from); |
6026 | void Clear() final; |
6027 | bool IsInitialized() const final; |
6028 | |
6029 | size_t ByteSizeLong() const final; |
6030 | bool MergePartialFromCodedStream( |
6031 | ::google::protobuf::io::CodedInputStream* input) final; |
6032 | void SerializeWithCachedSizes( |
6033 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6034 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6035 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6036 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6037 | |
6038 | private: |
6039 | void SharedCtor(); |
6040 | void SharedDtor(); |
6041 | void SetCachedSize(int size) const final; |
6042 | void InternalSwap(GetListingRequestProto* other); |
6043 | private: |
6044 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6045 | return NULL; |
6046 | } |
6047 | inline void* MaybeArenaPtr() const { |
6048 | return NULL; |
6049 | } |
6050 | public: |
6051 | |
6052 | ::google::protobuf::Metadata GetMetadata() const final; |
6053 | |
6054 | // nested types ---------------------------------------------------- |
6055 | |
6056 | // accessors ------------------------------------------------------- |
6057 | |
6058 | // required string src = 1; |
6059 | bool has_src() const; |
6060 | void clear_src(); |
6061 | static const int kSrcFieldNumber = 1; |
6062 | const ::std::string& src() const; |
6063 | void set_src(const ::std::string& value); |
6064 | #if LANG_CXX11 |
6065 | void set_src(::std::string&& value); |
6066 | #endif |
6067 | void set_src(const char* value); |
6068 | void set_src(const char* value, size_t size); |
6069 | ::std::string* mutable_src(); |
6070 | ::std::string* release_src(); |
6071 | void set_allocated_src(::std::string* src); |
6072 | |
6073 | // required bytes startAfter = 2; |
6074 | bool has_startafter() const; |
6075 | void clear_startafter(); |
6076 | static const int kStartAfterFieldNumber = 2; |
6077 | const ::std::string& startafter() const; |
6078 | void set_startafter(const ::std::string& value); |
6079 | #if LANG_CXX11 |
6080 | void set_startafter(::std::string&& value); |
6081 | #endif |
6082 | void set_startafter(const char* value); |
6083 | void set_startafter(const void* value, size_t size); |
6084 | ::std::string* mutable_startafter(); |
6085 | ::std::string* release_startafter(); |
6086 | void set_allocated_startafter(::std::string* startafter); |
6087 | |
6088 | // required bool needLocation = 3; |
6089 | bool has_needlocation() const; |
6090 | void clear_needlocation(); |
6091 | static const int kNeedLocationFieldNumber = 3; |
6092 | bool needlocation() const; |
6093 | void set_needlocation(bool value); |
6094 | |
6095 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetListingRequestProto) |
6096 | private: |
6097 | void set_has_src(); |
6098 | void clear_has_src(); |
6099 | void set_has_startafter(); |
6100 | void clear_has_startafter(); |
6101 | void set_has_needlocation(); |
6102 | void clear_has_needlocation(); |
6103 | |
6104 | // helper for ByteSizeLong() |
6105 | size_t RequiredFieldsByteSizeFallback() const; |
6106 | |
6107 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6108 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6109 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6110 | ::google::protobuf::internal::ArenaStringPtr src_; |
6111 | ::google::protobuf::internal::ArenaStringPtr startafter_; |
6112 | bool needlocation_; |
6113 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6114 | }; |
6115 | // ------------------------------------------------------------------- |
6116 | |
6117 | class GetListingResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetListingResponseProto) */ { |
6118 | public: |
6119 | GetListingResponseProto(); |
6120 | virtual ~GetListingResponseProto(); |
6121 | |
6122 | GetListingResponseProto(const GetListingResponseProto& from); |
6123 | |
6124 | inline GetListingResponseProto& operator=(const GetListingResponseProto& from) { |
6125 | CopyFrom(from); |
6126 | return *this; |
6127 | } |
6128 | #if LANG_CXX11 |
6129 | GetListingResponseProto(GetListingResponseProto&& from) noexcept |
6130 | : GetListingResponseProto() { |
6131 | *this = ::std::move(from); |
6132 | } |
6133 | |
6134 | inline GetListingResponseProto& operator=(GetListingResponseProto&& from) noexcept { |
6135 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6136 | if (this != &from) InternalSwap(&from); |
6137 | } else { |
6138 | CopyFrom(from); |
6139 | } |
6140 | return *this; |
6141 | } |
6142 | #endif |
6143 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6144 | return _internal_metadata_.unknown_fields(); |
6145 | } |
6146 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6147 | return _internal_metadata_.mutable_unknown_fields(); |
6148 | } |
6149 | |
6150 | static const ::google::protobuf::Descriptor* descriptor(); |
6151 | static const GetListingResponseProto& default_instance(); |
6152 | |
6153 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6154 | static inline const GetListingResponseProto* internal_default_instance() { |
6155 | return reinterpret_cast<const GetListingResponseProto*>( |
6156 | &_GetListingResponseProto_default_instance_); |
6157 | } |
6158 | static constexpr int kIndexInFileMessages = |
6159 | 41; |
6160 | |
6161 | void Swap(GetListingResponseProto* other); |
6162 | friend void swap(GetListingResponseProto& a, GetListingResponseProto& b) { |
6163 | a.Swap(&b); |
6164 | } |
6165 | |
6166 | // implements Message ---------------------------------------------- |
6167 | |
6168 | inline GetListingResponseProto* New() const final { |
6169 | return CreateMaybeMessage<GetListingResponseProto>(NULL); |
6170 | } |
6171 | |
6172 | GetListingResponseProto* New(::google::protobuf::Arena* arena) const final { |
6173 | return CreateMaybeMessage<GetListingResponseProto>(arena); |
6174 | } |
6175 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6176 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6177 | void CopyFrom(const GetListingResponseProto& from); |
6178 | void MergeFrom(const GetListingResponseProto& from); |
6179 | void Clear() final; |
6180 | bool IsInitialized() const final; |
6181 | |
6182 | size_t ByteSizeLong() const final; |
6183 | bool MergePartialFromCodedStream( |
6184 | ::google::protobuf::io::CodedInputStream* input) final; |
6185 | void SerializeWithCachedSizes( |
6186 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6187 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6188 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6189 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6190 | |
6191 | private: |
6192 | void SharedCtor(); |
6193 | void SharedDtor(); |
6194 | void SetCachedSize(int size) const final; |
6195 | void InternalSwap(GetListingResponseProto* other); |
6196 | private: |
6197 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6198 | return NULL; |
6199 | } |
6200 | inline void* MaybeArenaPtr() const { |
6201 | return NULL; |
6202 | } |
6203 | public: |
6204 | |
6205 | ::google::protobuf::Metadata GetMetadata() const final; |
6206 | |
6207 | // nested types ---------------------------------------------------- |
6208 | |
6209 | // accessors ------------------------------------------------------- |
6210 | |
6211 | // optional .Hdfs.Internal.DirectoryListingProto dirList = 1; |
6212 | bool has_dirlist() const; |
6213 | void clear_dirlist(); |
6214 | static const int kDirListFieldNumber = 1; |
6215 | private: |
6216 | const ::Hdfs::Internal::DirectoryListingProto& _internal_dirlist() const; |
6217 | public: |
6218 | const ::Hdfs::Internal::DirectoryListingProto& dirlist() const; |
6219 | ::Hdfs::Internal::DirectoryListingProto* release_dirlist(); |
6220 | ::Hdfs::Internal::DirectoryListingProto* mutable_dirlist(); |
6221 | void set_allocated_dirlist(::Hdfs::Internal::DirectoryListingProto* dirlist); |
6222 | |
6223 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetListingResponseProto) |
6224 | private: |
6225 | void set_has_dirlist(); |
6226 | void clear_has_dirlist(); |
6227 | |
6228 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6229 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6230 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6231 | ::Hdfs::Internal::DirectoryListingProto* dirlist_; |
6232 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6233 | }; |
6234 | // ------------------------------------------------------------------- |
6235 | |
6236 | class GetSnapshottableDirListingRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetSnapshottableDirListingRequestProto) */ { |
6237 | public: |
6238 | GetSnapshottableDirListingRequestProto(); |
6239 | virtual ~GetSnapshottableDirListingRequestProto(); |
6240 | |
6241 | GetSnapshottableDirListingRequestProto(const GetSnapshottableDirListingRequestProto& from); |
6242 | |
6243 | inline GetSnapshottableDirListingRequestProto& operator=(const GetSnapshottableDirListingRequestProto& from) { |
6244 | CopyFrom(from); |
6245 | return *this; |
6246 | } |
6247 | #if LANG_CXX11 |
6248 | GetSnapshottableDirListingRequestProto(GetSnapshottableDirListingRequestProto&& from) noexcept |
6249 | : GetSnapshottableDirListingRequestProto() { |
6250 | *this = ::std::move(from); |
6251 | } |
6252 | |
6253 | inline GetSnapshottableDirListingRequestProto& operator=(GetSnapshottableDirListingRequestProto&& from) noexcept { |
6254 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6255 | if (this != &from) InternalSwap(&from); |
6256 | } else { |
6257 | CopyFrom(from); |
6258 | } |
6259 | return *this; |
6260 | } |
6261 | #endif |
6262 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6263 | return _internal_metadata_.unknown_fields(); |
6264 | } |
6265 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6266 | return _internal_metadata_.mutable_unknown_fields(); |
6267 | } |
6268 | |
6269 | static const ::google::protobuf::Descriptor* descriptor(); |
6270 | static const GetSnapshottableDirListingRequestProto& default_instance(); |
6271 | |
6272 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6273 | static inline const GetSnapshottableDirListingRequestProto* internal_default_instance() { |
6274 | return reinterpret_cast<const GetSnapshottableDirListingRequestProto*>( |
6275 | &_GetSnapshottableDirListingRequestProto_default_instance_); |
6276 | } |
6277 | static constexpr int kIndexInFileMessages = |
6278 | 42; |
6279 | |
6280 | void Swap(GetSnapshottableDirListingRequestProto* other); |
6281 | friend void swap(GetSnapshottableDirListingRequestProto& a, GetSnapshottableDirListingRequestProto& b) { |
6282 | a.Swap(&b); |
6283 | } |
6284 | |
6285 | // implements Message ---------------------------------------------- |
6286 | |
6287 | inline GetSnapshottableDirListingRequestProto* New() const final { |
6288 | return CreateMaybeMessage<GetSnapshottableDirListingRequestProto>(NULL); |
6289 | } |
6290 | |
6291 | GetSnapshottableDirListingRequestProto* New(::google::protobuf::Arena* arena) const final { |
6292 | return CreateMaybeMessage<GetSnapshottableDirListingRequestProto>(arena); |
6293 | } |
6294 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6295 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6296 | void CopyFrom(const GetSnapshottableDirListingRequestProto& from); |
6297 | void MergeFrom(const GetSnapshottableDirListingRequestProto& from); |
6298 | void Clear() final; |
6299 | bool IsInitialized() const final; |
6300 | |
6301 | size_t ByteSizeLong() const final; |
6302 | bool MergePartialFromCodedStream( |
6303 | ::google::protobuf::io::CodedInputStream* input) final; |
6304 | void SerializeWithCachedSizes( |
6305 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6306 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6307 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6308 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6309 | |
6310 | private: |
6311 | void SharedCtor(); |
6312 | void SharedDtor(); |
6313 | void SetCachedSize(int size) const final; |
6314 | void InternalSwap(GetSnapshottableDirListingRequestProto* other); |
6315 | private: |
6316 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6317 | return NULL; |
6318 | } |
6319 | inline void* MaybeArenaPtr() const { |
6320 | return NULL; |
6321 | } |
6322 | public: |
6323 | |
6324 | ::google::protobuf::Metadata GetMetadata() const final; |
6325 | |
6326 | // nested types ---------------------------------------------------- |
6327 | |
6328 | // accessors ------------------------------------------------------- |
6329 | |
6330 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetSnapshottableDirListingRequestProto) |
6331 | private: |
6332 | |
6333 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6334 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6335 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6336 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6337 | }; |
6338 | // ------------------------------------------------------------------- |
6339 | |
6340 | class GetSnapshottableDirListingResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetSnapshottableDirListingResponseProto) */ { |
6341 | public: |
6342 | GetSnapshottableDirListingResponseProto(); |
6343 | virtual ~GetSnapshottableDirListingResponseProto(); |
6344 | |
6345 | GetSnapshottableDirListingResponseProto(const GetSnapshottableDirListingResponseProto& from); |
6346 | |
6347 | inline GetSnapshottableDirListingResponseProto& operator=(const GetSnapshottableDirListingResponseProto& from) { |
6348 | CopyFrom(from); |
6349 | return *this; |
6350 | } |
6351 | #if LANG_CXX11 |
6352 | GetSnapshottableDirListingResponseProto(GetSnapshottableDirListingResponseProto&& from) noexcept |
6353 | : GetSnapshottableDirListingResponseProto() { |
6354 | *this = ::std::move(from); |
6355 | } |
6356 | |
6357 | inline GetSnapshottableDirListingResponseProto& operator=(GetSnapshottableDirListingResponseProto&& from) noexcept { |
6358 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6359 | if (this != &from) InternalSwap(&from); |
6360 | } else { |
6361 | CopyFrom(from); |
6362 | } |
6363 | return *this; |
6364 | } |
6365 | #endif |
6366 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6367 | return _internal_metadata_.unknown_fields(); |
6368 | } |
6369 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6370 | return _internal_metadata_.mutable_unknown_fields(); |
6371 | } |
6372 | |
6373 | static const ::google::protobuf::Descriptor* descriptor(); |
6374 | static const GetSnapshottableDirListingResponseProto& default_instance(); |
6375 | |
6376 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6377 | static inline const GetSnapshottableDirListingResponseProto* internal_default_instance() { |
6378 | return reinterpret_cast<const GetSnapshottableDirListingResponseProto*>( |
6379 | &_GetSnapshottableDirListingResponseProto_default_instance_); |
6380 | } |
6381 | static constexpr int kIndexInFileMessages = |
6382 | 43; |
6383 | |
6384 | void Swap(GetSnapshottableDirListingResponseProto* other); |
6385 | friend void swap(GetSnapshottableDirListingResponseProto& a, GetSnapshottableDirListingResponseProto& b) { |
6386 | a.Swap(&b); |
6387 | } |
6388 | |
6389 | // implements Message ---------------------------------------------- |
6390 | |
6391 | inline GetSnapshottableDirListingResponseProto* New() const final { |
6392 | return CreateMaybeMessage<GetSnapshottableDirListingResponseProto>(NULL); |
6393 | } |
6394 | |
6395 | GetSnapshottableDirListingResponseProto* New(::google::protobuf::Arena* arena) const final { |
6396 | return CreateMaybeMessage<GetSnapshottableDirListingResponseProto>(arena); |
6397 | } |
6398 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6399 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6400 | void CopyFrom(const GetSnapshottableDirListingResponseProto& from); |
6401 | void MergeFrom(const GetSnapshottableDirListingResponseProto& from); |
6402 | void Clear() final; |
6403 | bool IsInitialized() const final; |
6404 | |
6405 | size_t ByteSizeLong() const final; |
6406 | bool MergePartialFromCodedStream( |
6407 | ::google::protobuf::io::CodedInputStream* input) final; |
6408 | void SerializeWithCachedSizes( |
6409 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6410 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6411 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6412 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6413 | |
6414 | private: |
6415 | void SharedCtor(); |
6416 | void SharedDtor(); |
6417 | void SetCachedSize(int size) const final; |
6418 | void InternalSwap(GetSnapshottableDirListingResponseProto* other); |
6419 | private: |
6420 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6421 | return NULL; |
6422 | } |
6423 | inline void* MaybeArenaPtr() const { |
6424 | return NULL; |
6425 | } |
6426 | public: |
6427 | |
6428 | ::google::protobuf::Metadata GetMetadata() const final; |
6429 | |
6430 | // nested types ---------------------------------------------------- |
6431 | |
6432 | // accessors ------------------------------------------------------- |
6433 | |
6434 | // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1; |
6435 | bool has_snapshottabledirlist() const; |
6436 | void clear_snapshottabledirlist(); |
6437 | static const int kSnapshottableDirListFieldNumber = 1; |
6438 | private: |
6439 | const ::Hdfs::Internal::SnapshottableDirectoryListingProto& _internal_snapshottabledirlist() const; |
6440 | public: |
6441 | const ::Hdfs::Internal::SnapshottableDirectoryListingProto& snapshottabledirlist() const; |
6442 | ::Hdfs::Internal::SnapshottableDirectoryListingProto* release_snapshottabledirlist(); |
6443 | ::Hdfs::Internal::SnapshottableDirectoryListingProto* mutable_snapshottabledirlist(); |
6444 | void set_allocated_snapshottabledirlist(::Hdfs::Internal::SnapshottableDirectoryListingProto* snapshottabledirlist); |
6445 | |
6446 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetSnapshottableDirListingResponseProto) |
6447 | private: |
6448 | void set_has_snapshottabledirlist(); |
6449 | void clear_has_snapshottabledirlist(); |
6450 | |
6451 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6452 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6453 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6454 | ::Hdfs::Internal::SnapshottableDirectoryListingProto* snapshottabledirlist_; |
6455 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6456 | }; |
6457 | // ------------------------------------------------------------------- |
6458 | |
6459 | class GetSnapshotDiffReportRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetSnapshotDiffReportRequestProto) */ { |
6460 | public: |
6461 | GetSnapshotDiffReportRequestProto(); |
6462 | virtual ~GetSnapshotDiffReportRequestProto(); |
6463 | |
6464 | GetSnapshotDiffReportRequestProto(const GetSnapshotDiffReportRequestProto& from); |
6465 | |
6466 | inline GetSnapshotDiffReportRequestProto& operator=(const GetSnapshotDiffReportRequestProto& from) { |
6467 | CopyFrom(from); |
6468 | return *this; |
6469 | } |
6470 | #if LANG_CXX11 |
6471 | GetSnapshotDiffReportRequestProto(GetSnapshotDiffReportRequestProto&& from) noexcept |
6472 | : GetSnapshotDiffReportRequestProto() { |
6473 | *this = ::std::move(from); |
6474 | } |
6475 | |
6476 | inline GetSnapshotDiffReportRequestProto& operator=(GetSnapshotDiffReportRequestProto&& from) noexcept { |
6477 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6478 | if (this != &from) InternalSwap(&from); |
6479 | } else { |
6480 | CopyFrom(from); |
6481 | } |
6482 | return *this; |
6483 | } |
6484 | #endif |
6485 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6486 | return _internal_metadata_.unknown_fields(); |
6487 | } |
6488 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6489 | return _internal_metadata_.mutable_unknown_fields(); |
6490 | } |
6491 | |
6492 | static const ::google::protobuf::Descriptor* descriptor(); |
6493 | static const GetSnapshotDiffReportRequestProto& default_instance(); |
6494 | |
6495 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6496 | static inline const GetSnapshotDiffReportRequestProto* internal_default_instance() { |
6497 | return reinterpret_cast<const GetSnapshotDiffReportRequestProto*>( |
6498 | &_GetSnapshotDiffReportRequestProto_default_instance_); |
6499 | } |
6500 | static constexpr int kIndexInFileMessages = |
6501 | 44; |
6502 | |
6503 | void Swap(GetSnapshotDiffReportRequestProto* other); |
6504 | friend void swap(GetSnapshotDiffReportRequestProto& a, GetSnapshotDiffReportRequestProto& b) { |
6505 | a.Swap(&b); |
6506 | } |
6507 | |
6508 | // implements Message ---------------------------------------------- |
6509 | |
6510 | inline GetSnapshotDiffReportRequestProto* New() const final { |
6511 | return CreateMaybeMessage<GetSnapshotDiffReportRequestProto>(NULL); |
6512 | } |
6513 | |
6514 | GetSnapshotDiffReportRequestProto* New(::google::protobuf::Arena* arena) const final { |
6515 | return CreateMaybeMessage<GetSnapshotDiffReportRequestProto>(arena); |
6516 | } |
6517 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6518 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6519 | void CopyFrom(const GetSnapshotDiffReportRequestProto& from); |
6520 | void MergeFrom(const GetSnapshotDiffReportRequestProto& from); |
6521 | void Clear() final; |
6522 | bool IsInitialized() const final; |
6523 | |
6524 | size_t ByteSizeLong() const final; |
6525 | bool MergePartialFromCodedStream( |
6526 | ::google::protobuf::io::CodedInputStream* input) final; |
6527 | void SerializeWithCachedSizes( |
6528 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6529 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6530 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6531 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6532 | |
6533 | private: |
6534 | void SharedCtor(); |
6535 | void SharedDtor(); |
6536 | void SetCachedSize(int size) const final; |
6537 | void InternalSwap(GetSnapshotDiffReportRequestProto* other); |
6538 | private: |
6539 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6540 | return NULL; |
6541 | } |
6542 | inline void* MaybeArenaPtr() const { |
6543 | return NULL; |
6544 | } |
6545 | public: |
6546 | |
6547 | ::google::protobuf::Metadata GetMetadata() const final; |
6548 | |
6549 | // nested types ---------------------------------------------------- |
6550 | |
6551 | // accessors ------------------------------------------------------- |
6552 | |
6553 | // required string snapshotRoot = 1; |
6554 | bool has_snapshotroot() const; |
6555 | void clear_snapshotroot(); |
6556 | static const int kSnapshotRootFieldNumber = 1; |
6557 | const ::std::string& snapshotroot() const; |
6558 | void set_snapshotroot(const ::std::string& value); |
6559 | #if LANG_CXX11 |
6560 | void set_snapshotroot(::std::string&& value); |
6561 | #endif |
6562 | void set_snapshotroot(const char* value); |
6563 | void set_snapshotroot(const char* value, size_t size); |
6564 | ::std::string* mutable_snapshotroot(); |
6565 | ::std::string* release_snapshotroot(); |
6566 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
6567 | |
6568 | // required string fromSnapshot = 2; |
6569 | bool has_fromsnapshot() const; |
6570 | void clear_fromsnapshot(); |
6571 | static const int kFromSnapshotFieldNumber = 2; |
6572 | const ::std::string& fromsnapshot() const; |
6573 | void set_fromsnapshot(const ::std::string& value); |
6574 | #if LANG_CXX11 |
6575 | void set_fromsnapshot(::std::string&& value); |
6576 | #endif |
6577 | void set_fromsnapshot(const char* value); |
6578 | void set_fromsnapshot(const char* value, size_t size); |
6579 | ::std::string* mutable_fromsnapshot(); |
6580 | ::std::string* release_fromsnapshot(); |
6581 | void set_allocated_fromsnapshot(::std::string* fromsnapshot); |
6582 | |
6583 | // required string toSnapshot = 3; |
6584 | bool has_tosnapshot() const; |
6585 | void clear_tosnapshot(); |
6586 | static const int kToSnapshotFieldNumber = 3; |
6587 | const ::std::string& tosnapshot() const; |
6588 | void set_tosnapshot(const ::std::string& value); |
6589 | #if LANG_CXX11 |
6590 | void set_tosnapshot(::std::string&& value); |
6591 | #endif |
6592 | void set_tosnapshot(const char* value); |
6593 | void set_tosnapshot(const char* value, size_t size); |
6594 | ::std::string* mutable_tosnapshot(); |
6595 | ::std::string* release_tosnapshot(); |
6596 | void set_allocated_tosnapshot(::std::string* tosnapshot); |
6597 | |
6598 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetSnapshotDiffReportRequestProto) |
6599 | private: |
6600 | void set_has_snapshotroot(); |
6601 | void clear_has_snapshotroot(); |
6602 | void set_has_fromsnapshot(); |
6603 | void clear_has_fromsnapshot(); |
6604 | void set_has_tosnapshot(); |
6605 | void clear_has_tosnapshot(); |
6606 | |
6607 | // helper for ByteSizeLong() |
6608 | size_t RequiredFieldsByteSizeFallback() const; |
6609 | |
6610 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6611 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6612 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6613 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
6614 | ::google::protobuf::internal::ArenaStringPtr fromsnapshot_; |
6615 | ::google::protobuf::internal::ArenaStringPtr tosnapshot_; |
6616 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6617 | }; |
6618 | // ------------------------------------------------------------------- |
6619 | |
6620 | class GetSnapshotDiffReportResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetSnapshotDiffReportResponseProto) */ { |
6621 | public: |
6622 | GetSnapshotDiffReportResponseProto(); |
6623 | virtual ~GetSnapshotDiffReportResponseProto(); |
6624 | |
6625 | GetSnapshotDiffReportResponseProto(const GetSnapshotDiffReportResponseProto& from); |
6626 | |
6627 | inline GetSnapshotDiffReportResponseProto& operator=(const GetSnapshotDiffReportResponseProto& from) { |
6628 | CopyFrom(from); |
6629 | return *this; |
6630 | } |
6631 | #if LANG_CXX11 |
6632 | GetSnapshotDiffReportResponseProto(GetSnapshotDiffReportResponseProto&& from) noexcept |
6633 | : GetSnapshotDiffReportResponseProto() { |
6634 | *this = ::std::move(from); |
6635 | } |
6636 | |
6637 | inline GetSnapshotDiffReportResponseProto& operator=(GetSnapshotDiffReportResponseProto&& from) noexcept { |
6638 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6639 | if (this != &from) InternalSwap(&from); |
6640 | } else { |
6641 | CopyFrom(from); |
6642 | } |
6643 | return *this; |
6644 | } |
6645 | #endif |
6646 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6647 | return _internal_metadata_.unknown_fields(); |
6648 | } |
6649 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6650 | return _internal_metadata_.mutable_unknown_fields(); |
6651 | } |
6652 | |
6653 | static const ::google::protobuf::Descriptor* descriptor(); |
6654 | static const GetSnapshotDiffReportResponseProto& default_instance(); |
6655 | |
6656 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6657 | static inline const GetSnapshotDiffReportResponseProto* internal_default_instance() { |
6658 | return reinterpret_cast<const GetSnapshotDiffReportResponseProto*>( |
6659 | &_GetSnapshotDiffReportResponseProto_default_instance_); |
6660 | } |
6661 | static constexpr int kIndexInFileMessages = |
6662 | 45; |
6663 | |
6664 | void Swap(GetSnapshotDiffReportResponseProto* other); |
6665 | friend void swap(GetSnapshotDiffReportResponseProto& a, GetSnapshotDiffReportResponseProto& b) { |
6666 | a.Swap(&b); |
6667 | } |
6668 | |
6669 | // implements Message ---------------------------------------------- |
6670 | |
6671 | inline GetSnapshotDiffReportResponseProto* New() const final { |
6672 | return CreateMaybeMessage<GetSnapshotDiffReportResponseProto>(NULL); |
6673 | } |
6674 | |
6675 | GetSnapshotDiffReportResponseProto* New(::google::protobuf::Arena* arena) const final { |
6676 | return CreateMaybeMessage<GetSnapshotDiffReportResponseProto>(arena); |
6677 | } |
6678 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6679 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6680 | void CopyFrom(const GetSnapshotDiffReportResponseProto& from); |
6681 | void MergeFrom(const GetSnapshotDiffReportResponseProto& from); |
6682 | void Clear() final; |
6683 | bool IsInitialized() const final; |
6684 | |
6685 | size_t ByteSizeLong() const final; |
6686 | bool MergePartialFromCodedStream( |
6687 | ::google::protobuf::io::CodedInputStream* input) final; |
6688 | void SerializeWithCachedSizes( |
6689 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6690 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6691 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6692 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6693 | |
6694 | private: |
6695 | void SharedCtor(); |
6696 | void SharedDtor(); |
6697 | void SetCachedSize(int size) const final; |
6698 | void InternalSwap(GetSnapshotDiffReportResponseProto* other); |
6699 | private: |
6700 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6701 | return NULL; |
6702 | } |
6703 | inline void* MaybeArenaPtr() const { |
6704 | return NULL; |
6705 | } |
6706 | public: |
6707 | |
6708 | ::google::protobuf::Metadata GetMetadata() const final; |
6709 | |
6710 | // nested types ---------------------------------------------------- |
6711 | |
6712 | // accessors ------------------------------------------------------- |
6713 | |
6714 | // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1; |
6715 | bool has_diffreport() const; |
6716 | void clear_diffreport(); |
6717 | static const int kDiffReportFieldNumber = 1; |
6718 | private: |
6719 | const ::Hdfs::Internal::SnapshotDiffReportProto& _internal_diffreport() const; |
6720 | public: |
6721 | const ::Hdfs::Internal::SnapshotDiffReportProto& diffreport() const; |
6722 | ::Hdfs::Internal::SnapshotDiffReportProto* release_diffreport(); |
6723 | ::Hdfs::Internal::SnapshotDiffReportProto* mutable_diffreport(); |
6724 | void set_allocated_diffreport(::Hdfs::Internal::SnapshotDiffReportProto* diffreport); |
6725 | |
6726 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetSnapshotDiffReportResponseProto) |
6727 | private: |
6728 | void set_has_diffreport(); |
6729 | void clear_has_diffreport(); |
6730 | |
6731 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6732 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6733 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6734 | ::Hdfs::Internal::SnapshotDiffReportProto* diffreport_; |
6735 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6736 | }; |
6737 | // ------------------------------------------------------------------- |
6738 | |
6739 | class RenewLeaseRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenewLeaseRequestProto) */ { |
6740 | public: |
6741 | RenewLeaseRequestProto(); |
6742 | virtual ~RenewLeaseRequestProto(); |
6743 | |
6744 | RenewLeaseRequestProto(const RenewLeaseRequestProto& from); |
6745 | |
6746 | inline RenewLeaseRequestProto& operator=(const RenewLeaseRequestProto& from) { |
6747 | CopyFrom(from); |
6748 | return *this; |
6749 | } |
6750 | #if LANG_CXX11 |
6751 | RenewLeaseRequestProto(RenewLeaseRequestProto&& from) noexcept |
6752 | : RenewLeaseRequestProto() { |
6753 | *this = ::std::move(from); |
6754 | } |
6755 | |
6756 | inline RenewLeaseRequestProto& operator=(RenewLeaseRequestProto&& from) noexcept { |
6757 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6758 | if (this != &from) InternalSwap(&from); |
6759 | } else { |
6760 | CopyFrom(from); |
6761 | } |
6762 | return *this; |
6763 | } |
6764 | #endif |
6765 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6766 | return _internal_metadata_.unknown_fields(); |
6767 | } |
6768 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6769 | return _internal_metadata_.mutable_unknown_fields(); |
6770 | } |
6771 | |
6772 | static const ::google::protobuf::Descriptor* descriptor(); |
6773 | static const RenewLeaseRequestProto& default_instance(); |
6774 | |
6775 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6776 | static inline const RenewLeaseRequestProto* internal_default_instance() { |
6777 | return reinterpret_cast<const RenewLeaseRequestProto*>( |
6778 | &_RenewLeaseRequestProto_default_instance_); |
6779 | } |
6780 | static constexpr int kIndexInFileMessages = |
6781 | 46; |
6782 | |
6783 | void Swap(RenewLeaseRequestProto* other); |
6784 | friend void swap(RenewLeaseRequestProto& a, RenewLeaseRequestProto& b) { |
6785 | a.Swap(&b); |
6786 | } |
6787 | |
6788 | // implements Message ---------------------------------------------- |
6789 | |
6790 | inline RenewLeaseRequestProto* New() const final { |
6791 | return CreateMaybeMessage<RenewLeaseRequestProto>(NULL); |
6792 | } |
6793 | |
6794 | RenewLeaseRequestProto* New(::google::protobuf::Arena* arena) const final { |
6795 | return CreateMaybeMessage<RenewLeaseRequestProto>(arena); |
6796 | } |
6797 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6798 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6799 | void CopyFrom(const RenewLeaseRequestProto& from); |
6800 | void MergeFrom(const RenewLeaseRequestProto& from); |
6801 | void Clear() final; |
6802 | bool IsInitialized() const final; |
6803 | |
6804 | size_t ByteSizeLong() const final; |
6805 | bool MergePartialFromCodedStream( |
6806 | ::google::protobuf::io::CodedInputStream* input) final; |
6807 | void SerializeWithCachedSizes( |
6808 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6809 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6810 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6811 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6812 | |
6813 | private: |
6814 | void SharedCtor(); |
6815 | void SharedDtor(); |
6816 | void SetCachedSize(int size) const final; |
6817 | void InternalSwap(RenewLeaseRequestProto* other); |
6818 | private: |
6819 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6820 | return NULL; |
6821 | } |
6822 | inline void* MaybeArenaPtr() const { |
6823 | return NULL; |
6824 | } |
6825 | public: |
6826 | |
6827 | ::google::protobuf::Metadata GetMetadata() const final; |
6828 | |
6829 | // nested types ---------------------------------------------------- |
6830 | |
6831 | // accessors ------------------------------------------------------- |
6832 | |
6833 | // required string clientName = 1; |
6834 | bool has_clientname() const; |
6835 | void clear_clientname(); |
6836 | static const int kClientNameFieldNumber = 1; |
6837 | const ::std::string& clientname() const; |
6838 | void set_clientname(const ::std::string& value); |
6839 | #if LANG_CXX11 |
6840 | void set_clientname(::std::string&& value); |
6841 | #endif |
6842 | void set_clientname(const char* value); |
6843 | void set_clientname(const char* value, size_t size); |
6844 | ::std::string* mutable_clientname(); |
6845 | ::std::string* release_clientname(); |
6846 | void set_allocated_clientname(::std::string* clientname); |
6847 | |
6848 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenewLeaseRequestProto) |
6849 | private: |
6850 | void set_has_clientname(); |
6851 | void clear_has_clientname(); |
6852 | |
6853 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6854 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6855 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6856 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
6857 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6858 | }; |
6859 | // ------------------------------------------------------------------- |
6860 | |
6861 | class RenewLeaseResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenewLeaseResponseProto) */ { |
6862 | public: |
6863 | RenewLeaseResponseProto(); |
6864 | virtual ~RenewLeaseResponseProto(); |
6865 | |
6866 | RenewLeaseResponseProto(const RenewLeaseResponseProto& from); |
6867 | |
6868 | inline RenewLeaseResponseProto& operator=(const RenewLeaseResponseProto& from) { |
6869 | CopyFrom(from); |
6870 | return *this; |
6871 | } |
6872 | #if LANG_CXX11 |
6873 | RenewLeaseResponseProto(RenewLeaseResponseProto&& from) noexcept |
6874 | : RenewLeaseResponseProto() { |
6875 | *this = ::std::move(from); |
6876 | } |
6877 | |
6878 | inline RenewLeaseResponseProto& operator=(RenewLeaseResponseProto&& from) noexcept { |
6879 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6880 | if (this != &from) InternalSwap(&from); |
6881 | } else { |
6882 | CopyFrom(from); |
6883 | } |
6884 | return *this; |
6885 | } |
6886 | #endif |
6887 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6888 | return _internal_metadata_.unknown_fields(); |
6889 | } |
6890 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6891 | return _internal_metadata_.mutable_unknown_fields(); |
6892 | } |
6893 | |
6894 | static const ::google::protobuf::Descriptor* descriptor(); |
6895 | static const RenewLeaseResponseProto& default_instance(); |
6896 | |
6897 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
6898 | static inline const RenewLeaseResponseProto* internal_default_instance() { |
6899 | return reinterpret_cast<const RenewLeaseResponseProto*>( |
6900 | &_RenewLeaseResponseProto_default_instance_); |
6901 | } |
6902 | static constexpr int kIndexInFileMessages = |
6903 | 47; |
6904 | |
6905 | void Swap(RenewLeaseResponseProto* other); |
6906 | friend void swap(RenewLeaseResponseProto& a, RenewLeaseResponseProto& b) { |
6907 | a.Swap(&b); |
6908 | } |
6909 | |
6910 | // implements Message ---------------------------------------------- |
6911 | |
6912 | inline RenewLeaseResponseProto* New() const final { |
6913 | return CreateMaybeMessage<RenewLeaseResponseProto>(NULL); |
6914 | } |
6915 | |
6916 | RenewLeaseResponseProto* New(::google::protobuf::Arena* arena) const final { |
6917 | return CreateMaybeMessage<RenewLeaseResponseProto>(arena); |
6918 | } |
6919 | void CopyFrom(const ::google::protobuf::Message& from) final; |
6920 | void MergeFrom(const ::google::protobuf::Message& from) final; |
6921 | void CopyFrom(const RenewLeaseResponseProto& from); |
6922 | void MergeFrom(const RenewLeaseResponseProto& from); |
6923 | void Clear() final; |
6924 | bool IsInitialized() const final; |
6925 | |
6926 | size_t ByteSizeLong() const final; |
6927 | bool MergePartialFromCodedStream( |
6928 | ::google::protobuf::io::CodedInputStream* input) final; |
6929 | void SerializeWithCachedSizes( |
6930 | ::google::protobuf::io::CodedOutputStream* output) const final; |
6931 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
6932 | bool deterministic, ::google::protobuf::uint8* target) const final; |
6933 | int GetCachedSize() const final { return _cached_size_.Get(); } |
6934 | |
6935 | private: |
6936 | void SharedCtor(); |
6937 | void SharedDtor(); |
6938 | void SetCachedSize(int size) const final; |
6939 | void InternalSwap(RenewLeaseResponseProto* other); |
6940 | private: |
6941 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
6942 | return NULL; |
6943 | } |
6944 | inline void* MaybeArenaPtr() const { |
6945 | return NULL; |
6946 | } |
6947 | public: |
6948 | |
6949 | ::google::protobuf::Metadata GetMetadata() const final; |
6950 | |
6951 | // nested types ---------------------------------------------------- |
6952 | |
6953 | // accessors ------------------------------------------------------- |
6954 | |
6955 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenewLeaseResponseProto) |
6956 | private: |
6957 | |
6958 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
6959 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6960 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
6961 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
6962 | }; |
6963 | // ------------------------------------------------------------------- |
6964 | |
6965 | class RecoverLeaseRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RecoverLeaseRequestProto) */ { |
6966 | public: |
6967 | RecoverLeaseRequestProto(); |
6968 | virtual ~RecoverLeaseRequestProto(); |
6969 | |
6970 | RecoverLeaseRequestProto(const RecoverLeaseRequestProto& from); |
6971 | |
6972 | inline RecoverLeaseRequestProto& operator=(const RecoverLeaseRequestProto& from) { |
6973 | CopyFrom(from); |
6974 | return *this; |
6975 | } |
6976 | #if LANG_CXX11 |
6977 | RecoverLeaseRequestProto(RecoverLeaseRequestProto&& from) noexcept |
6978 | : RecoverLeaseRequestProto() { |
6979 | *this = ::std::move(from); |
6980 | } |
6981 | |
6982 | inline RecoverLeaseRequestProto& operator=(RecoverLeaseRequestProto&& from) noexcept { |
6983 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
6984 | if (this != &from) InternalSwap(&from); |
6985 | } else { |
6986 | CopyFrom(from); |
6987 | } |
6988 | return *this; |
6989 | } |
6990 | #endif |
6991 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
6992 | return _internal_metadata_.unknown_fields(); |
6993 | } |
6994 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
6995 | return _internal_metadata_.mutable_unknown_fields(); |
6996 | } |
6997 | |
6998 | static const ::google::protobuf::Descriptor* descriptor(); |
6999 | static const RecoverLeaseRequestProto& default_instance(); |
7000 | |
7001 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7002 | static inline const RecoverLeaseRequestProto* internal_default_instance() { |
7003 | return reinterpret_cast<const RecoverLeaseRequestProto*>( |
7004 | &_RecoverLeaseRequestProto_default_instance_); |
7005 | } |
7006 | static constexpr int kIndexInFileMessages = |
7007 | 48; |
7008 | |
7009 | void Swap(RecoverLeaseRequestProto* other); |
7010 | friend void swap(RecoverLeaseRequestProto& a, RecoverLeaseRequestProto& b) { |
7011 | a.Swap(&b); |
7012 | } |
7013 | |
7014 | // implements Message ---------------------------------------------- |
7015 | |
7016 | inline RecoverLeaseRequestProto* New() const final { |
7017 | return CreateMaybeMessage<RecoverLeaseRequestProto>(NULL); |
7018 | } |
7019 | |
7020 | RecoverLeaseRequestProto* New(::google::protobuf::Arena* arena) const final { |
7021 | return CreateMaybeMessage<RecoverLeaseRequestProto>(arena); |
7022 | } |
7023 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7024 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7025 | void CopyFrom(const RecoverLeaseRequestProto& from); |
7026 | void MergeFrom(const RecoverLeaseRequestProto& from); |
7027 | void Clear() final; |
7028 | bool IsInitialized() const final; |
7029 | |
7030 | size_t ByteSizeLong() const final; |
7031 | bool MergePartialFromCodedStream( |
7032 | ::google::protobuf::io::CodedInputStream* input) final; |
7033 | void SerializeWithCachedSizes( |
7034 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7035 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7036 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7037 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7038 | |
7039 | private: |
7040 | void SharedCtor(); |
7041 | void SharedDtor(); |
7042 | void SetCachedSize(int size) const final; |
7043 | void InternalSwap(RecoverLeaseRequestProto* other); |
7044 | private: |
7045 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7046 | return NULL; |
7047 | } |
7048 | inline void* MaybeArenaPtr() const { |
7049 | return NULL; |
7050 | } |
7051 | public: |
7052 | |
7053 | ::google::protobuf::Metadata GetMetadata() const final; |
7054 | |
7055 | // nested types ---------------------------------------------------- |
7056 | |
7057 | // accessors ------------------------------------------------------- |
7058 | |
7059 | // required string src = 1; |
7060 | bool has_src() const; |
7061 | void clear_src(); |
7062 | static const int kSrcFieldNumber = 1; |
7063 | const ::std::string& src() const; |
7064 | void set_src(const ::std::string& value); |
7065 | #if LANG_CXX11 |
7066 | void set_src(::std::string&& value); |
7067 | #endif |
7068 | void set_src(const char* value); |
7069 | void set_src(const char* value, size_t size); |
7070 | ::std::string* mutable_src(); |
7071 | ::std::string* release_src(); |
7072 | void set_allocated_src(::std::string* src); |
7073 | |
7074 | // required string clientName = 2; |
7075 | bool has_clientname() const; |
7076 | void clear_clientname(); |
7077 | static const int kClientNameFieldNumber = 2; |
7078 | const ::std::string& clientname() const; |
7079 | void set_clientname(const ::std::string& value); |
7080 | #if LANG_CXX11 |
7081 | void set_clientname(::std::string&& value); |
7082 | #endif |
7083 | void set_clientname(const char* value); |
7084 | void set_clientname(const char* value, size_t size); |
7085 | ::std::string* mutable_clientname(); |
7086 | ::std::string* release_clientname(); |
7087 | void set_allocated_clientname(::std::string* clientname); |
7088 | |
7089 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RecoverLeaseRequestProto) |
7090 | private: |
7091 | void set_has_src(); |
7092 | void clear_has_src(); |
7093 | void set_has_clientname(); |
7094 | void clear_has_clientname(); |
7095 | |
7096 | // helper for ByteSizeLong() |
7097 | size_t RequiredFieldsByteSizeFallback() const; |
7098 | |
7099 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7100 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7101 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7102 | ::google::protobuf::internal::ArenaStringPtr src_; |
7103 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
7104 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7105 | }; |
7106 | // ------------------------------------------------------------------- |
7107 | |
7108 | class RecoverLeaseResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RecoverLeaseResponseProto) */ { |
7109 | public: |
7110 | RecoverLeaseResponseProto(); |
7111 | virtual ~RecoverLeaseResponseProto(); |
7112 | |
7113 | RecoverLeaseResponseProto(const RecoverLeaseResponseProto& from); |
7114 | |
7115 | inline RecoverLeaseResponseProto& operator=(const RecoverLeaseResponseProto& from) { |
7116 | CopyFrom(from); |
7117 | return *this; |
7118 | } |
7119 | #if LANG_CXX11 |
7120 | RecoverLeaseResponseProto(RecoverLeaseResponseProto&& from) noexcept |
7121 | : RecoverLeaseResponseProto() { |
7122 | *this = ::std::move(from); |
7123 | } |
7124 | |
7125 | inline RecoverLeaseResponseProto& operator=(RecoverLeaseResponseProto&& from) noexcept { |
7126 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7127 | if (this != &from) InternalSwap(&from); |
7128 | } else { |
7129 | CopyFrom(from); |
7130 | } |
7131 | return *this; |
7132 | } |
7133 | #endif |
7134 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7135 | return _internal_metadata_.unknown_fields(); |
7136 | } |
7137 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7138 | return _internal_metadata_.mutable_unknown_fields(); |
7139 | } |
7140 | |
7141 | static const ::google::protobuf::Descriptor* descriptor(); |
7142 | static const RecoverLeaseResponseProto& default_instance(); |
7143 | |
7144 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7145 | static inline const RecoverLeaseResponseProto* internal_default_instance() { |
7146 | return reinterpret_cast<const RecoverLeaseResponseProto*>( |
7147 | &_RecoverLeaseResponseProto_default_instance_); |
7148 | } |
7149 | static constexpr int kIndexInFileMessages = |
7150 | 49; |
7151 | |
7152 | void Swap(RecoverLeaseResponseProto* other); |
7153 | friend void swap(RecoverLeaseResponseProto& a, RecoverLeaseResponseProto& b) { |
7154 | a.Swap(&b); |
7155 | } |
7156 | |
7157 | // implements Message ---------------------------------------------- |
7158 | |
7159 | inline RecoverLeaseResponseProto* New() const final { |
7160 | return CreateMaybeMessage<RecoverLeaseResponseProto>(NULL); |
7161 | } |
7162 | |
7163 | RecoverLeaseResponseProto* New(::google::protobuf::Arena* arena) const final { |
7164 | return CreateMaybeMessage<RecoverLeaseResponseProto>(arena); |
7165 | } |
7166 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7167 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7168 | void CopyFrom(const RecoverLeaseResponseProto& from); |
7169 | void MergeFrom(const RecoverLeaseResponseProto& from); |
7170 | void Clear() final; |
7171 | bool IsInitialized() const final; |
7172 | |
7173 | size_t ByteSizeLong() const final; |
7174 | bool MergePartialFromCodedStream( |
7175 | ::google::protobuf::io::CodedInputStream* input) final; |
7176 | void SerializeWithCachedSizes( |
7177 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7178 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7179 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7180 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7181 | |
7182 | private: |
7183 | void SharedCtor(); |
7184 | void SharedDtor(); |
7185 | void SetCachedSize(int size) const final; |
7186 | void InternalSwap(RecoverLeaseResponseProto* other); |
7187 | private: |
7188 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7189 | return NULL; |
7190 | } |
7191 | inline void* MaybeArenaPtr() const { |
7192 | return NULL; |
7193 | } |
7194 | public: |
7195 | |
7196 | ::google::protobuf::Metadata GetMetadata() const final; |
7197 | |
7198 | // nested types ---------------------------------------------------- |
7199 | |
7200 | // accessors ------------------------------------------------------- |
7201 | |
7202 | // required bool result = 1; |
7203 | bool has_result() const; |
7204 | void clear_result(); |
7205 | static const int kResultFieldNumber = 1; |
7206 | bool result() const; |
7207 | void set_result(bool value); |
7208 | |
7209 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RecoverLeaseResponseProto) |
7210 | private: |
7211 | void set_has_result(); |
7212 | void clear_has_result(); |
7213 | |
7214 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7215 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7216 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7217 | bool result_; |
7218 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7219 | }; |
7220 | // ------------------------------------------------------------------- |
7221 | |
7222 | class GetFsStatusRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFsStatusRequestProto) */ { |
7223 | public: |
7224 | GetFsStatusRequestProto(); |
7225 | virtual ~GetFsStatusRequestProto(); |
7226 | |
7227 | GetFsStatusRequestProto(const GetFsStatusRequestProto& from); |
7228 | |
7229 | inline GetFsStatusRequestProto& operator=(const GetFsStatusRequestProto& from) { |
7230 | CopyFrom(from); |
7231 | return *this; |
7232 | } |
7233 | #if LANG_CXX11 |
7234 | GetFsStatusRequestProto(GetFsStatusRequestProto&& from) noexcept |
7235 | : GetFsStatusRequestProto() { |
7236 | *this = ::std::move(from); |
7237 | } |
7238 | |
7239 | inline GetFsStatusRequestProto& operator=(GetFsStatusRequestProto&& from) noexcept { |
7240 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7241 | if (this != &from) InternalSwap(&from); |
7242 | } else { |
7243 | CopyFrom(from); |
7244 | } |
7245 | return *this; |
7246 | } |
7247 | #endif |
7248 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7249 | return _internal_metadata_.unknown_fields(); |
7250 | } |
7251 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7252 | return _internal_metadata_.mutable_unknown_fields(); |
7253 | } |
7254 | |
7255 | static const ::google::protobuf::Descriptor* descriptor(); |
7256 | static const GetFsStatusRequestProto& default_instance(); |
7257 | |
7258 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7259 | static inline const GetFsStatusRequestProto* internal_default_instance() { |
7260 | return reinterpret_cast<const GetFsStatusRequestProto*>( |
7261 | &_GetFsStatusRequestProto_default_instance_); |
7262 | } |
7263 | static constexpr int kIndexInFileMessages = |
7264 | 50; |
7265 | |
7266 | void Swap(GetFsStatusRequestProto* other); |
7267 | friend void swap(GetFsStatusRequestProto& a, GetFsStatusRequestProto& b) { |
7268 | a.Swap(&b); |
7269 | } |
7270 | |
7271 | // implements Message ---------------------------------------------- |
7272 | |
7273 | inline GetFsStatusRequestProto* New() const final { |
7274 | return CreateMaybeMessage<GetFsStatusRequestProto>(NULL); |
7275 | } |
7276 | |
7277 | GetFsStatusRequestProto* New(::google::protobuf::Arena* arena) const final { |
7278 | return CreateMaybeMessage<GetFsStatusRequestProto>(arena); |
7279 | } |
7280 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7281 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7282 | void CopyFrom(const GetFsStatusRequestProto& from); |
7283 | void MergeFrom(const GetFsStatusRequestProto& from); |
7284 | void Clear() final; |
7285 | bool IsInitialized() const final; |
7286 | |
7287 | size_t ByteSizeLong() const final; |
7288 | bool MergePartialFromCodedStream( |
7289 | ::google::protobuf::io::CodedInputStream* input) final; |
7290 | void SerializeWithCachedSizes( |
7291 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7292 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7293 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7294 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7295 | |
7296 | private: |
7297 | void SharedCtor(); |
7298 | void SharedDtor(); |
7299 | void SetCachedSize(int size) const final; |
7300 | void InternalSwap(GetFsStatusRequestProto* other); |
7301 | private: |
7302 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7303 | return NULL; |
7304 | } |
7305 | inline void* MaybeArenaPtr() const { |
7306 | return NULL; |
7307 | } |
7308 | public: |
7309 | |
7310 | ::google::protobuf::Metadata GetMetadata() const final; |
7311 | |
7312 | // nested types ---------------------------------------------------- |
7313 | |
7314 | // accessors ------------------------------------------------------- |
7315 | |
7316 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFsStatusRequestProto) |
7317 | private: |
7318 | |
7319 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7320 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7321 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7322 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7323 | }; |
7324 | // ------------------------------------------------------------------- |
7325 | |
7326 | class GetFsStatsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFsStatsResponseProto) */ { |
7327 | public: |
7328 | GetFsStatsResponseProto(); |
7329 | virtual ~GetFsStatsResponseProto(); |
7330 | |
7331 | GetFsStatsResponseProto(const GetFsStatsResponseProto& from); |
7332 | |
7333 | inline GetFsStatsResponseProto& operator=(const GetFsStatsResponseProto& from) { |
7334 | CopyFrom(from); |
7335 | return *this; |
7336 | } |
7337 | #if LANG_CXX11 |
7338 | GetFsStatsResponseProto(GetFsStatsResponseProto&& from) noexcept |
7339 | : GetFsStatsResponseProto() { |
7340 | *this = ::std::move(from); |
7341 | } |
7342 | |
7343 | inline GetFsStatsResponseProto& operator=(GetFsStatsResponseProto&& from) noexcept { |
7344 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7345 | if (this != &from) InternalSwap(&from); |
7346 | } else { |
7347 | CopyFrom(from); |
7348 | } |
7349 | return *this; |
7350 | } |
7351 | #endif |
7352 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7353 | return _internal_metadata_.unknown_fields(); |
7354 | } |
7355 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7356 | return _internal_metadata_.mutable_unknown_fields(); |
7357 | } |
7358 | |
7359 | static const ::google::protobuf::Descriptor* descriptor(); |
7360 | static const GetFsStatsResponseProto& default_instance(); |
7361 | |
7362 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7363 | static inline const GetFsStatsResponseProto* internal_default_instance() { |
7364 | return reinterpret_cast<const GetFsStatsResponseProto*>( |
7365 | &_GetFsStatsResponseProto_default_instance_); |
7366 | } |
7367 | static constexpr int kIndexInFileMessages = |
7368 | 51; |
7369 | |
7370 | void Swap(GetFsStatsResponseProto* other); |
7371 | friend void swap(GetFsStatsResponseProto& a, GetFsStatsResponseProto& b) { |
7372 | a.Swap(&b); |
7373 | } |
7374 | |
7375 | // implements Message ---------------------------------------------- |
7376 | |
7377 | inline GetFsStatsResponseProto* New() const final { |
7378 | return CreateMaybeMessage<GetFsStatsResponseProto>(NULL); |
7379 | } |
7380 | |
7381 | GetFsStatsResponseProto* New(::google::protobuf::Arena* arena) const final { |
7382 | return CreateMaybeMessage<GetFsStatsResponseProto>(arena); |
7383 | } |
7384 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7385 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7386 | void CopyFrom(const GetFsStatsResponseProto& from); |
7387 | void MergeFrom(const GetFsStatsResponseProto& from); |
7388 | void Clear() final; |
7389 | bool IsInitialized() const final; |
7390 | |
7391 | size_t ByteSizeLong() const final; |
7392 | bool MergePartialFromCodedStream( |
7393 | ::google::protobuf::io::CodedInputStream* input) final; |
7394 | void SerializeWithCachedSizes( |
7395 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7396 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7397 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7398 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7399 | |
7400 | private: |
7401 | void SharedCtor(); |
7402 | void SharedDtor(); |
7403 | void SetCachedSize(int size) const final; |
7404 | void InternalSwap(GetFsStatsResponseProto* other); |
7405 | private: |
7406 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7407 | return NULL; |
7408 | } |
7409 | inline void* MaybeArenaPtr() const { |
7410 | return NULL; |
7411 | } |
7412 | public: |
7413 | |
7414 | ::google::protobuf::Metadata GetMetadata() const final; |
7415 | |
7416 | // nested types ---------------------------------------------------- |
7417 | |
7418 | // accessors ------------------------------------------------------- |
7419 | |
7420 | // required uint64 capacity = 1; |
7421 | bool has_capacity() const; |
7422 | void clear_capacity(); |
7423 | static const int kCapacityFieldNumber = 1; |
7424 | ::google::protobuf::uint64 capacity() const; |
7425 | void set_capacity(::google::protobuf::uint64 value); |
7426 | |
7427 | // required uint64 used = 2; |
7428 | bool has_used() const; |
7429 | void clear_used(); |
7430 | static const int kUsedFieldNumber = 2; |
7431 | ::google::protobuf::uint64 used() const; |
7432 | void set_used(::google::protobuf::uint64 value); |
7433 | |
7434 | // required uint64 remaining = 3; |
7435 | bool has_remaining() const; |
7436 | void clear_remaining(); |
7437 | static const int kRemainingFieldNumber = 3; |
7438 | ::google::protobuf::uint64 remaining() const; |
7439 | void set_remaining(::google::protobuf::uint64 value); |
7440 | |
7441 | // required uint64 under_replicated = 4; |
7442 | bool has_under_replicated() const; |
7443 | void clear_under_replicated(); |
7444 | static const int kUnderReplicatedFieldNumber = 4; |
7445 | ::google::protobuf::uint64 under_replicated() const; |
7446 | void set_under_replicated(::google::protobuf::uint64 value); |
7447 | |
7448 | // required uint64 corrupt_blocks = 5; |
7449 | bool has_corrupt_blocks() const; |
7450 | void clear_corrupt_blocks(); |
7451 | static const int kCorruptBlocksFieldNumber = 5; |
7452 | ::google::protobuf::uint64 corrupt_blocks() const; |
7453 | void set_corrupt_blocks(::google::protobuf::uint64 value); |
7454 | |
7455 | // required uint64 missing_blocks = 6; |
7456 | bool has_missing_blocks() const; |
7457 | void clear_missing_blocks(); |
7458 | static const int kMissingBlocksFieldNumber = 6; |
7459 | ::google::protobuf::uint64 missing_blocks() const; |
7460 | void set_missing_blocks(::google::protobuf::uint64 value); |
7461 | |
7462 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFsStatsResponseProto) |
7463 | private: |
7464 | void set_has_capacity(); |
7465 | void clear_has_capacity(); |
7466 | void set_has_used(); |
7467 | void clear_has_used(); |
7468 | void set_has_remaining(); |
7469 | void clear_has_remaining(); |
7470 | void set_has_under_replicated(); |
7471 | void clear_has_under_replicated(); |
7472 | void set_has_corrupt_blocks(); |
7473 | void clear_has_corrupt_blocks(); |
7474 | void set_has_missing_blocks(); |
7475 | void clear_has_missing_blocks(); |
7476 | |
7477 | // helper for ByteSizeLong() |
7478 | size_t RequiredFieldsByteSizeFallback() const; |
7479 | |
7480 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7481 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7482 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7483 | ::google::protobuf::uint64 capacity_; |
7484 | ::google::protobuf::uint64 used_; |
7485 | ::google::protobuf::uint64 remaining_; |
7486 | ::google::protobuf::uint64 under_replicated_; |
7487 | ::google::protobuf::uint64 corrupt_blocks_; |
7488 | ::google::protobuf::uint64 missing_blocks_; |
7489 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7490 | }; |
7491 | // ------------------------------------------------------------------- |
7492 | |
7493 | class GetDatanodeReportRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDatanodeReportRequestProto) */ { |
7494 | public: |
7495 | GetDatanodeReportRequestProto(); |
7496 | virtual ~GetDatanodeReportRequestProto(); |
7497 | |
7498 | GetDatanodeReportRequestProto(const GetDatanodeReportRequestProto& from); |
7499 | |
7500 | inline GetDatanodeReportRequestProto& operator=(const GetDatanodeReportRequestProto& from) { |
7501 | CopyFrom(from); |
7502 | return *this; |
7503 | } |
7504 | #if LANG_CXX11 |
7505 | GetDatanodeReportRequestProto(GetDatanodeReportRequestProto&& from) noexcept |
7506 | : GetDatanodeReportRequestProto() { |
7507 | *this = ::std::move(from); |
7508 | } |
7509 | |
7510 | inline GetDatanodeReportRequestProto& operator=(GetDatanodeReportRequestProto&& from) noexcept { |
7511 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7512 | if (this != &from) InternalSwap(&from); |
7513 | } else { |
7514 | CopyFrom(from); |
7515 | } |
7516 | return *this; |
7517 | } |
7518 | #endif |
7519 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7520 | return _internal_metadata_.unknown_fields(); |
7521 | } |
7522 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7523 | return _internal_metadata_.mutable_unknown_fields(); |
7524 | } |
7525 | |
7526 | static const ::google::protobuf::Descriptor* descriptor(); |
7527 | static const GetDatanodeReportRequestProto& default_instance(); |
7528 | |
7529 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7530 | static inline const GetDatanodeReportRequestProto* internal_default_instance() { |
7531 | return reinterpret_cast<const GetDatanodeReportRequestProto*>( |
7532 | &_GetDatanodeReportRequestProto_default_instance_); |
7533 | } |
7534 | static constexpr int kIndexInFileMessages = |
7535 | 52; |
7536 | |
7537 | void Swap(GetDatanodeReportRequestProto* other); |
7538 | friend void swap(GetDatanodeReportRequestProto& a, GetDatanodeReportRequestProto& b) { |
7539 | a.Swap(&b); |
7540 | } |
7541 | |
7542 | // implements Message ---------------------------------------------- |
7543 | |
7544 | inline GetDatanodeReportRequestProto* New() const final { |
7545 | return CreateMaybeMessage<GetDatanodeReportRequestProto>(NULL); |
7546 | } |
7547 | |
7548 | GetDatanodeReportRequestProto* New(::google::protobuf::Arena* arena) const final { |
7549 | return CreateMaybeMessage<GetDatanodeReportRequestProto>(arena); |
7550 | } |
7551 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7552 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7553 | void CopyFrom(const GetDatanodeReportRequestProto& from); |
7554 | void MergeFrom(const GetDatanodeReportRequestProto& from); |
7555 | void Clear() final; |
7556 | bool IsInitialized() const final; |
7557 | |
7558 | size_t ByteSizeLong() const final; |
7559 | bool MergePartialFromCodedStream( |
7560 | ::google::protobuf::io::CodedInputStream* input) final; |
7561 | void SerializeWithCachedSizes( |
7562 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7563 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7564 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7565 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7566 | |
7567 | private: |
7568 | void SharedCtor(); |
7569 | void SharedDtor(); |
7570 | void SetCachedSize(int size) const final; |
7571 | void InternalSwap(GetDatanodeReportRequestProto* other); |
7572 | private: |
7573 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7574 | return NULL; |
7575 | } |
7576 | inline void* MaybeArenaPtr() const { |
7577 | return NULL; |
7578 | } |
7579 | public: |
7580 | |
7581 | ::google::protobuf::Metadata GetMetadata() const final; |
7582 | |
7583 | // nested types ---------------------------------------------------- |
7584 | |
7585 | // accessors ------------------------------------------------------- |
7586 | |
7587 | // required .Hdfs.Internal.DatanodeReportTypeProto type = 1; |
7588 | bool has_type() const; |
7589 | void clear_type(); |
7590 | static const int kTypeFieldNumber = 1; |
7591 | ::Hdfs::Internal::DatanodeReportTypeProto type() const; |
7592 | void set_type(::Hdfs::Internal::DatanodeReportTypeProto value); |
7593 | |
7594 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDatanodeReportRequestProto) |
7595 | private: |
7596 | void set_has_type(); |
7597 | void clear_has_type(); |
7598 | |
7599 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7600 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7601 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7602 | int type_; |
7603 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7604 | }; |
7605 | // ------------------------------------------------------------------- |
7606 | |
7607 | class GetDatanodeReportResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDatanodeReportResponseProto) */ { |
7608 | public: |
7609 | GetDatanodeReportResponseProto(); |
7610 | virtual ~GetDatanodeReportResponseProto(); |
7611 | |
7612 | GetDatanodeReportResponseProto(const GetDatanodeReportResponseProto& from); |
7613 | |
7614 | inline GetDatanodeReportResponseProto& operator=(const GetDatanodeReportResponseProto& from) { |
7615 | CopyFrom(from); |
7616 | return *this; |
7617 | } |
7618 | #if LANG_CXX11 |
7619 | GetDatanodeReportResponseProto(GetDatanodeReportResponseProto&& from) noexcept |
7620 | : GetDatanodeReportResponseProto() { |
7621 | *this = ::std::move(from); |
7622 | } |
7623 | |
7624 | inline GetDatanodeReportResponseProto& operator=(GetDatanodeReportResponseProto&& from) noexcept { |
7625 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7626 | if (this != &from) InternalSwap(&from); |
7627 | } else { |
7628 | CopyFrom(from); |
7629 | } |
7630 | return *this; |
7631 | } |
7632 | #endif |
7633 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7634 | return _internal_metadata_.unknown_fields(); |
7635 | } |
7636 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7637 | return _internal_metadata_.mutable_unknown_fields(); |
7638 | } |
7639 | |
7640 | static const ::google::protobuf::Descriptor* descriptor(); |
7641 | static const GetDatanodeReportResponseProto& default_instance(); |
7642 | |
7643 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7644 | static inline const GetDatanodeReportResponseProto* internal_default_instance() { |
7645 | return reinterpret_cast<const GetDatanodeReportResponseProto*>( |
7646 | &_GetDatanodeReportResponseProto_default_instance_); |
7647 | } |
7648 | static constexpr int kIndexInFileMessages = |
7649 | 53; |
7650 | |
7651 | void Swap(GetDatanodeReportResponseProto* other); |
7652 | friend void swap(GetDatanodeReportResponseProto& a, GetDatanodeReportResponseProto& b) { |
7653 | a.Swap(&b); |
7654 | } |
7655 | |
7656 | // implements Message ---------------------------------------------- |
7657 | |
7658 | inline GetDatanodeReportResponseProto* New() const final { |
7659 | return CreateMaybeMessage<GetDatanodeReportResponseProto>(NULL); |
7660 | } |
7661 | |
7662 | GetDatanodeReportResponseProto* New(::google::protobuf::Arena* arena) const final { |
7663 | return CreateMaybeMessage<GetDatanodeReportResponseProto>(arena); |
7664 | } |
7665 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7666 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7667 | void CopyFrom(const GetDatanodeReportResponseProto& from); |
7668 | void MergeFrom(const GetDatanodeReportResponseProto& from); |
7669 | void Clear() final; |
7670 | bool IsInitialized() const final; |
7671 | |
7672 | size_t ByteSizeLong() const final; |
7673 | bool MergePartialFromCodedStream( |
7674 | ::google::protobuf::io::CodedInputStream* input) final; |
7675 | void SerializeWithCachedSizes( |
7676 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7677 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7678 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7679 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7680 | |
7681 | private: |
7682 | void SharedCtor(); |
7683 | void SharedDtor(); |
7684 | void SetCachedSize(int size) const final; |
7685 | void InternalSwap(GetDatanodeReportResponseProto* other); |
7686 | private: |
7687 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7688 | return NULL; |
7689 | } |
7690 | inline void* MaybeArenaPtr() const { |
7691 | return NULL; |
7692 | } |
7693 | public: |
7694 | |
7695 | ::google::protobuf::Metadata GetMetadata() const final; |
7696 | |
7697 | // nested types ---------------------------------------------------- |
7698 | |
7699 | // accessors ------------------------------------------------------- |
7700 | |
7701 | // repeated .Hdfs.Internal.DatanodeInfoProto di = 1; |
7702 | int di_size() const; |
7703 | void clear_di(); |
7704 | static const int kDiFieldNumber = 1; |
7705 | ::Hdfs::Internal::DatanodeInfoProto* mutable_di(int index); |
7706 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
7707 | mutable_di(); |
7708 | const ::Hdfs::Internal::DatanodeInfoProto& di(int index) const; |
7709 | ::Hdfs::Internal::DatanodeInfoProto* add_di(); |
7710 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
7711 | di() const; |
7712 | |
7713 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDatanodeReportResponseProto) |
7714 | private: |
7715 | |
7716 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7717 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7718 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7719 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto > di_; |
7720 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7721 | }; |
7722 | // ------------------------------------------------------------------- |
7723 | |
7724 | class GetPreferredBlockSizeRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetPreferredBlockSizeRequestProto) */ { |
7725 | public: |
7726 | GetPreferredBlockSizeRequestProto(); |
7727 | virtual ~GetPreferredBlockSizeRequestProto(); |
7728 | |
7729 | GetPreferredBlockSizeRequestProto(const GetPreferredBlockSizeRequestProto& from); |
7730 | |
7731 | inline GetPreferredBlockSizeRequestProto& operator=(const GetPreferredBlockSizeRequestProto& from) { |
7732 | CopyFrom(from); |
7733 | return *this; |
7734 | } |
7735 | #if LANG_CXX11 |
7736 | GetPreferredBlockSizeRequestProto(GetPreferredBlockSizeRequestProto&& from) noexcept |
7737 | : GetPreferredBlockSizeRequestProto() { |
7738 | *this = ::std::move(from); |
7739 | } |
7740 | |
7741 | inline GetPreferredBlockSizeRequestProto& operator=(GetPreferredBlockSizeRequestProto&& from) noexcept { |
7742 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7743 | if (this != &from) InternalSwap(&from); |
7744 | } else { |
7745 | CopyFrom(from); |
7746 | } |
7747 | return *this; |
7748 | } |
7749 | #endif |
7750 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7751 | return _internal_metadata_.unknown_fields(); |
7752 | } |
7753 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7754 | return _internal_metadata_.mutable_unknown_fields(); |
7755 | } |
7756 | |
7757 | static const ::google::protobuf::Descriptor* descriptor(); |
7758 | static const GetPreferredBlockSizeRequestProto& default_instance(); |
7759 | |
7760 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7761 | static inline const GetPreferredBlockSizeRequestProto* internal_default_instance() { |
7762 | return reinterpret_cast<const GetPreferredBlockSizeRequestProto*>( |
7763 | &_GetPreferredBlockSizeRequestProto_default_instance_); |
7764 | } |
7765 | static constexpr int kIndexInFileMessages = |
7766 | 54; |
7767 | |
7768 | void Swap(GetPreferredBlockSizeRequestProto* other); |
7769 | friend void swap(GetPreferredBlockSizeRequestProto& a, GetPreferredBlockSizeRequestProto& b) { |
7770 | a.Swap(&b); |
7771 | } |
7772 | |
7773 | // implements Message ---------------------------------------------- |
7774 | |
7775 | inline GetPreferredBlockSizeRequestProto* New() const final { |
7776 | return CreateMaybeMessage<GetPreferredBlockSizeRequestProto>(NULL); |
7777 | } |
7778 | |
7779 | GetPreferredBlockSizeRequestProto* New(::google::protobuf::Arena* arena) const final { |
7780 | return CreateMaybeMessage<GetPreferredBlockSizeRequestProto>(arena); |
7781 | } |
7782 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7783 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7784 | void CopyFrom(const GetPreferredBlockSizeRequestProto& from); |
7785 | void MergeFrom(const GetPreferredBlockSizeRequestProto& from); |
7786 | void Clear() final; |
7787 | bool IsInitialized() const final; |
7788 | |
7789 | size_t ByteSizeLong() const final; |
7790 | bool MergePartialFromCodedStream( |
7791 | ::google::protobuf::io::CodedInputStream* input) final; |
7792 | void SerializeWithCachedSizes( |
7793 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7794 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7795 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7796 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7797 | |
7798 | private: |
7799 | void SharedCtor(); |
7800 | void SharedDtor(); |
7801 | void SetCachedSize(int size) const final; |
7802 | void InternalSwap(GetPreferredBlockSizeRequestProto* other); |
7803 | private: |
7804 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7805 | return NULL; |
7806 | } |
7807 | inline void* MaybeArenaPtr() const { |
7808 | return NULL; |
7809 | } |
7810 | public: |
7811 | |
7812 | ::google::protobuf::Metadata GetMetadata() const final; |
7813 | |
7814 | // nested types ---------------------------------------------------- |
7815 | |
7816 | // accessors ------------------------------------------------------- |
7817 | |
7818 | // required string filename = 1; |
7819 | bool has_filename() const; |
7820 | void clear_filename(); |
7821 | static const int kFilenameFieldNumber = 1; |
7822 | const ::std::string& filename() const; |
7823 | void set_filename(const ::std::string& value); |
7824 | #if LANG_CXX11 |
7825 | void set_filename(::std::string&& value); |
7826 | #endif |
7827 | void set_filename(const char* value); |
7828 | void set_filename(const char* value, size_t size); |
7829 | ::std::string* mutable_filename(); |
7830 | ::std::string* release_filename(); |
7831 | void set_allocated_filename(::std::string* filename); |
7832 | |
7833 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetPreferredBlockSizeRequestProto) |
7834 | private: |
7835 | void set_has_filename(); |
7836 | void clear_has_filename(); |
7837 | |
7838 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7839 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7840 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7841 | ::google::protobuf::internal::ArenaStringPtr filename_; |
7842 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7843 | }; |
7844 | // ------------------------------------------------------------------- |
7845 | |
7846 | class GetPreferredBlockSizeResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetPreferredBlockSizeResponseProto) */ { |
7847 | public: |
7848 | GetPreferredBlockSizeResponseProto(); |
7849 | virtual ~GetPreferredBlockSizeResponseProto(); |
7850 | |
7851 | GetPreferredBlockSizeResponseProto(const GetPreferredBlockSizeResponseProto& from); |
7852 | |
7853 | inline GetPreferredBlockSizeResponseProto& operator=(const GetPreferredBlockSizeResponseProto& from) { |
7854 | CopyFrom(from); |
7855 | return *this; |
7856 | } |
7857 | #if LANG_CXX11 |
7858 | GetPreferredBlockSizeResponseProto(GetPreferredBlockSizeResponseProto&& from) noexcept |
7859 | : GetPreferredBlockSizeResponseProto() { |
7860 | *this = ::std::move(from); |
7861 | } |
7862 | |
7863 | inline GetPreferredBlockSizeResponseProto& operator=(GetPreferredBlockSizeResponseProto&& from) noexcept { |
7864 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7865 | if (this != &from) InternalSwap(&from); |
7866 | } else { |
7867 | CopyFrom(from); |
7868 | } |
7869 | return *this; |
7870 | } |
7871 | #endif |
7872 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7873 | return _internal_metadata_.unknown_fields(); |
7874 | } |
7875 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7876 | return _internal_metadata_.mutable_unknown_fields(); |
7877 | } |
7878 | |
7879 | static const ::google::protobuf::Descriptor* descriptor(); |
7880 | static const GetPreferredBlockSizeResponseProto& default_instance(); |
7881 | |
7882 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7883 | static inline const GetPreferredBlockSizeResponseProto* internal_default_instance() { |
7884 | return reinterpret_cast<const GetPreferredBlockSizeResponseProto*>( |
7885 | &_GetPreferredBlockSizeResponseProto_default_instance_); |
7886 | } |
7887 | static constexpr int kIndexInFileMessages = |
7888 | 55; |
7889 | |
7890 | void Swap(GetPreferredBlockSizeResponseProto* other); |
7891 | friend void swap(GetPreferredBlockSizeResponseProto& a, GetPreferredBlockSizeResponseProto& b) { |
7892 | a.Swap(&b); |
7893 | } |
7894 | |
7895 | // implements Message ---------------------------------------------- |
7896 | |
7897 | inline GetPreferredBlockSizeResponseProto* New() const final { |
7898 | return CreateMaybeMessage<GetPreferredBlockSizeResponseProto>(NULL); |
7899 | } |
7900 | |
7901 | GetPreferredBlockSizeResponseProto* New(::google::protobuf::Arena* arena) const final { |
7902 | return CreateMaybeMessage<GetPreferredBlockSizeResponseProto>(arena); |
7903 | } |
7904 | void CopyFrom(const ::google::protobuf::Message& from) final; |
7905 | void MergeFrom(const ::google::protobuf::Message& from) final; |
7906 | void CopyFrom(const GetPreferredBlockSizeResponseProto& from); |
7907 | void MergeFrom(const GetPreferredBlockSizeResponseProto& from); |
7908 | void Clear() final; |
7909 | bool IsInitialized() const final; |
7910 | |
7911 | size_t ByteSizeLong() const final; |
7912 | bool MergePartialFromCodedStream( |
7913 | ::google::protobuf::io::CodedInputStream* input) final; |
7914 | void SerializeWithCachedSizes( |
7915 | ::google::protobuf::io::CodedOutputStream* output) const final; |
7916 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
7917 | bool deterministic, ::google::protobuf::uint8* target) const final; |
7918 | int GetCachedSize() const final { return _cached_size_.Get(); } |
7919 | |
7920 | private: |
7921 | void SharedCtor(); |
7922 | void SharedDtor(); |
7923 | void SetCachedSize(int size) const final; |
7924 | void InternalSwap(GetPreferredBlockSizeResponseProto* other); |
7925 | private: |
7926 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
7927 | return NULL; |
7928 | } |
7929 | inline void* MaybeArenaPtr() const { |
7930 | return NULL; |
7931 | } |
7932 | public: |
7933 | |
7934 | ::google::protobuf::Metadata GetMetadata() const final; |
7935 | |
7936 | // nested types ---------------------------------------------------- |
7937 | |
7938 | // accessors ------------------------------------------------------- |
7939 | |
7940 | // required uint64 bsize = 1; |
7941 | bool has_bsize() const; |
7942 | void clear_bsize(); |
7943 | static const int kBsizeFieldNumber = 1; |
7944 | ::google::protobuf::uint64 bsize() const; |
7945 | void set_bsize(::google::protobuf::uint64 value); |
7946 | |
7947 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetPreferredBlockSizeResponseProto) |
7948 | private: |
7949 | void set_has_bsize(); |
7950 | void clear_has_bsize(); |
7951 | |
7952 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
7953 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7954 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
7955 | ::google::protobuf::uint64 bsize_; |
7956 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
7957 | }; |
7958 | // ------------------------------------------------------------------- |
7959 | |
7960 | class SetSafeModeRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetSafeModeRequestProto) */ { |
7961 | public: |
7962 | SetSafeModeRequestProto(); |
7963 | virtual ~SetSafeModeRequestProto(); |
7964 | |
7965 | SetSafeModeRequestProto(const SetSafeModeRequestProto& from); |
7966 | |
7967 | inline SetSafeModeRequestProto& operator=(const SetSafeModeRequestProto& from) { |
7968 | CopyFrom(from); |
7969 | return *this; |
7970 | } |
7971 | #if LANG_CXX11 |
7972 | SetSafeModeRequestProto(SetSafeModeRequestProto&& from) noexcept |
7973 | : SetSafeModeRequestProto() { |
7974 | *this = ::std::move(from); |
7975 | } |
7976 | |
7977 | inline SetSafeModeRequestProto& operator=(SetSafeModeRequestProto&& from) noexcept { |
7978 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
7979 | if (this != &from) InternalSwap(&from); |
7980 | } else { |
7981 | CopyFrom(from); |
7982 | } |
7983 | return *this; |
7984 | } |
7985 | #endif |
7986 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
7987 | return _internal_metadata_.unknown_fields(); |
7988 | } |
7989 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
7990 | return _internal_metadata_.mutable_unknown_fields(); |
7991 | } |
7992 | |
7993 | static const ::google::protobuf::Descriptor* descriptor(); |
7994 | static const SetSafeModeRequestProto& default_instance(); |
7995 | |
7996 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
7997 | static inline const SetSafeModeRequestProto* internal_default_instance() { |
7998 | return reinterpret_cast<const SetSafeModeRequestProto*>( |
7999 | &_SetSafeModeRequestProto_default_instance_); |
8000 | } |
8001 | static constexpr int kIndexInFileMessages = |
8002 | 56; |
8003 | |
8004 | void Swap(SetSafeModeRequestProto* other); |
8005 | friend void swap(SetSafeModeRequestProto& a, SetSafeModeRequestProto& b) { |
8006 | a.Swap(&b); |
8007 | } |
8008 | |
8009 | // implements Message ---------------------------------------------- |
8010 | |
8011 | inline SetSafeModeRequestProto* New() const final { |
8012 | return CreateMaybeMessage<SetSafeModeRequestProto>(NULL); |
8013 | } |
8014 | |
8015 | SetSafeModeRequestProto* New(::google::protobuf::Arena* arena) const final { |
8016 | return CreateMaybeMessage<SetSafeModeRequestProto>(arena); |
8017 | } |
8018 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8019 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8020 | void CopyFrom(const SetSafeModeRequestProto& from); |
8021 | void MergeFrom(const SetSafeModeRequestProto& from); |
8022 | void Clear() final; |
8023 | bool IsInitialized() const final; |
8024 | |
8025 | size_t ByteSizeLong() const final; |
8026 | bool MergePartialFromCodedStream( |
8027 | ::google::protobuf::io::CodedInputStream* input) final; |
8028 | void SerializeWithCachedSizes( |
8029 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8030 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8031 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8032 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8033 | |
8034 | private: |
8035 | void SharedCtor(); |
8036 | void SharedDtor(); |
8037 | void SetCachedSize(int size) const final; |
8038 | void InternalSwap(SetSafeModeRequestProto* other); |
8039 | private: |
8040 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8041 | return NULL; |
8042 | } |
8043 | inline void* MaybeArenaPtr() const { |
8044 | return NULL; |
8045 | } |
8046 | public: |
8047 | |
8048 | ::google::protobuf::Metadata GetMetadata() const final; |
8049 | |
8050 | // nested types ---------------------------------------------------- |
8051 | |
8052 | // accessors ------------------------------------------------------- |
8053 | |
8054 | // optional bool checked = 2 [default = false]; |
8055 | bool has_checked() const; |
8056 | void clear_checked(); |
8057 | static const int kCheckedFieldNumber = 2; |
8058 | bool checked() const; |
8059 | void set_checked(bool value); |
8060 | |
8061 | // required .Hdfs.Internal.SafeModeActionProto action = 1; |
8062 | bool has_action() const; |
8063 | void clear_action(); |
8064 | static const int kActionFieldNumber = 1; |
8065 | ::Hdfs::Internal::SafeModeActionProto action() const; |
8066 | void set_action(::Hdfs::Internal::SafeModeActionProto value); |
8067 | |
8068 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetSafeModeRequestProto) |
8069 | private: |
8070 | void set_has_action(); |
8071 | void clear_has_action(); |
8072 | void set_has_checked(); |
8073 | void clear_has_checked(); |
8074 | |
8075 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8076 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8077 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8078 | bool checked_; |
8079 | int action_; |
8080 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8081 | }; |
8082 | // ------------------------------------------------------------------- |
8083 | |
8084 | class SetSafeModeResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetSafeModeResponseProto) */ { |
8085 | public: |
8086 | SetSafeModeResponseProto(); |
8087 | virtual ~SetSafeModeResponseProto(); |
8088 | |
8089 | SetSafeModeResponseProto(const SetSafeModeResponseProto& from); |
8090 | |
8091 | inline SetSafeModeResponseProto& operator=(const SetSafeModeResponseProto& from) { |
8092 | CopyFrom(from); |
8093 | return *this; |
8094 | } |
8095 | #if LANG_CXX11 |
8096 | SetSafeModeResponseProto(SetSafeModeResponseProto&& from) noexcept |
8097 | : SetSafeModeResponseProto() { |
8098 | *this = ::std::move(from); |
8099 | } |
8100 | |
8101 | inline SetSafeModeResponseProto& operator=(SetSafeModeResponseProto&& from) noexcept { |
8102 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8103 | if (this != &from) InternalSwap(&from); |
8104 | } else { |
8105 | CopyFrom(from); |
8106 | } |
8107 | return *this; |
8108 | } |
8109 | #endif |
8110 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8111 | return _internal_metadata_.unknown_fields(); |
8112 | } |
8113 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8114 | return _internal_metadata_.mutable_unknown_fields(); |
8115 | } |
8116 | |
8117 | static const ::google::protobuf::Descriptor* descriptor(); |
8118 | static const SetSafeModeResponseProto& default_instance(); |
8119 | |
8120 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8121 | static inline const SetSafeModeResponseProto* internal_default_instance() { |
8122 | return reinterpret_cast<const SetSafeModeResponseProto*>( |
8123 | &_SetSafeModeResponseProto_default_instance_); |
8124 | } |
8125 | static constexpr int kIndexInFileMessages = |
8126 | 57; |
8127 | |
8128 | void Swap(SetSafeModeResponseProto* other); |
8129 | friend void swap(SetSafeModeResponseProto& a, SetSafeModeResponseProto& b) { |
8130 | a.Swap(&b); |
8131 | } |
8132 | |
8133 | // implements Message ---------------------------------------------- |
8134 | |
8135 | inline SetSafeModeResponseProto* New() const final { |
8136 | return CreateMaybeMessage<SetSafeModeResponseProto>(NULL); |
8137 | } |
8138 | |
8139 | SetSafeModeResponseProto* New(::google::protobuf::Arena* arena) const final { |
8140 | return CreateMaybeMessage<SetSafeModeResponseProto>(arena); |
8141 | } |
8142 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8143 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8144 | void CopyFrom(const SetSafeModeResponseProto& from); |
8145 | void MergeFrom(const SetSafeModeResponseProto& from); |
8146 | void Clear() final; |
8147 | bool IsInitialized() const final; |
8148 | |
8149 | size_t ByteSizeLong() const final; |
8150 | bool MergePartialFromCodedStream( |
8151 | ::google::protobuf::io::CodedInputStream* input) final; |
8152 | void SerializeWithCachedSizes( |
8153 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8154 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8155 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8156 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8157 | |
8158 | private: |
8159 | void SharedCtor(); |
8160 | void SharedDtor(); |
8161 | void SetCachedSize(int size) const final; |
8162 | void InternalSwap(SetSafeModeResponseProto* other); |
8163 | private: |
8164 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8165 | return NULL; |
8166 | } |
8167 | inline void* MaybeArenaPtr() const { |
8168 | return NULL; |
8169 | } |
8170 | public: |
8171 | |
8172 | ::google::protobuf::Metadata GetMetadata() const final; |
8173 | |
8174 | // nested types ---------------------------------------------------- |
8175 | |
8176 | // accessors ------------------------------------------------------- |
8177 | |
8178 | // required bool result = 1; |
8179 | bool has_result() const; |
8180 | void clear_result(); |
8181 | static const int kResultFieldNumber = 1; |
8182 | bool result() const; |
8183 | void set_result(bool value); |
8184 | |
8185 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetSafeModeResponseProto) |
8186 | private: |
8187 | void set_has_result(); |
8188 | void clear_has_result(); |
8189 | |
8190 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8191 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8192 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8193 | bool result_; |
8194 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8195 | }; |
8196 | // ------------------------------------------------------------------- |
8197 | |
8198 | class SaveNamespaceRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SaveNamespaceRequestProto) */ { |
8199 | public: |
8200 | SaveNamespaceRequestProto(); |
8201 | virtual ~SaveNamespaceRequestProto(); |
8202 | |
8203 | SaveNamespaceRequestProto(const SaveNamespaceRequestProto& from); |
8204 | |
8205 | inline SaveNamespaceRequestProto& operator=(const SaveNamespaceRequestProto& from) { |
8206 | CopyFrom(from); |
8207 | return *this; |
8208 | } |
8209 | #if LANG_CXX11 |
8210 | SaveNamespaceRequestProto(SaveNamespaceRequestProto&& from) noexcept |
8211 | : SaveNamespaceRequestProto() { |
8212 | *this = ::std::move(from); |
8213 | } |
8214 | |
8215 | inline SaveNamespaceRequestProto& operator=(SaveNamespaceRequestProto&& from) noexcept { |
8216 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8217 | if (this != &from) InternalSwap(&from); |
8218 | } else { |
8219 | CopyFrom(from); |
8220 | } |
8221 | return *this; |
8222 | } |
8223 | #endif |
8224 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8225 | return _internal_metadata_.unknown_fields(); |
8226 | } |
8227 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8228 | return _internal_metadata_.mutable_unknown_fields(); |
8229 | } |
8230 | |
8231 | static const ::google::protobuf::Descriptor* descriptor(); |
8232 | static const SaveNamespaceRequestProto& default_instance(); |
8233 | |
8234 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8235 | static inline const SaveNamespaceRequestProto* internal_default_instance() { |
8236 | return reinterpret_cast<const SaveNamespaceRequestProto*>( |
8237 | &_SaveNamespaceRequestProto_default_instance_); |
8238 | } |
8239 | static constexpr int kIndexInFileMessages = |
8240 | 58; |
8241 | |
8242 | void Swap(SaveNamespaceRequestProto* other); |
8243 | friend void swap(SaveNamespaceRequestProto& a, SaveNamespaceRequestProto& b) { |
8244 | a.Swap(&b); |
8245 | } |
8246 | |
8247 | // implements Message ---------------------------------------------- |
8248 | |
8249 | inline SaveNamespaceRequestProto* New() const final { |
8250 | return CreateMaybeMessage<SaveNamespaceRequestProto>(NULL); |
8251 | } |
8252 | |
8253 | SaveNamespaceRequestProto* New(::google::protobuf::Arena* arena) const final { |
8254 | return CreateMaybeMessage<SaveNamespaceRequestProto>(arena); |
8255 | } |
8256 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8257 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8258 | void CopyFrom(const SaveNamespaceRequestProto& from); |
8259 | void MergeFrom(const SaveNamespaceRequestProto& from); |
8260 | void Clear() final; |
8261 | bool IsInitialized() const final; |
8262 | |
8263 | size_t ByteSizeLong() const final; |
8264 | bool MergePartialFromCodedStream( |
8265 | ::google::protobuf::io::CodedInputStream* input) final; |
8266 | void SerializeWithCachedSizes( |
8267 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8268 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8269 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8270 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8271 | |
8272 | private: |
8273 | void SharedCtor(); |
8274 | void SharedDtor(); |
8275 | void SetCachedSize(int size) const final; |
8276 | void InternalSwap(SaveNamespaceRequestProto* other); |
8277 | private: |
8278 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8279 | return NULL; |
8280 | } |
8281 | inline void* MaybeArenaPtr() const { |
8282 | return NULL; |
8283 | } |
8284 | public: |
8285 | |
8286 | ::google::protobuf::Metadata GetMetadata() const final; |
8287 | |
8288 | // nested types ---------------------------------------------------- |
8289 | |
8290 | // accessors ------------------------------------------------------- |
8291 | |
8292 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SaveNamespaceRequestProto) |
8293 | private: |
8294 | |
8295 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8296 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8297 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8298 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8299 | }; |
8300 | // ------------------------------------------------------------------- |
8301 | |
8302 | class SaveNamespaceResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SaveNamespaceResponseProto) */ { |
8303 | public: |
8304 | SaveNamespaceResponseProto(); |
8305 | virtual ~SaveNamespaceResponseProto(); |
8306 | |
8307 | SaveNamespaceResponseProto(const SaveNamespaceResponseProto& from); |
8308 | |
8309 | inline SaveNamespaceResponseProto& operator=(const SaveNamespaceResponseProto& from) { |
8310 | CopyFrom(from); |
8311 | return *this; |
8312 | } |
8313 | #if LANG_CXX11 |
8314 | SaveNamespaceResponseProto(SaveNamespaceResponseProto&& from) noexcept |
8315 | : SaveNamespaceResponseProto() { |
8316 | *this = ::std::move(from); |
8317 | } |
8318 | |
8319 | inline SaveNamespaceResponseProto& operator=(SaveNamespaceResponseProto&& from) noexcept { |
8320 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8321 | if (this != &from) InternalSwap(&from); |
8322 | } else { |
8323 | CopyFrom(from); |
8324 | } |
8325 | return *this; |
8326 | } |
8327 | #endif |
8328 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8329 | return _internal_metadata_.unknown_fields(); |
8330 | } |
8331 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8332 | return _internal_metadata_.mutable_unknown_fields(); |
8333 | } |
8334 | |
8335 | static const ::google::protobuf::Descriptor* descriptor(); |
8336 | static const SaveNamespaceResponseProto& default_instance(); |
8337 | |
8338 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8339 | static inline const SaveNamespaceResponseProto* internal_default_instance() { |
8340 | return reinterpret_cast<const SaveNamespaceResponseProto*>( |
8341 | &_SaveNamespaceResponseProto_default_instance_); |
8342 | } |
8343 | static constexpr int kIndexInFileMessages = |
8344 | 59; |
8345 | |
8346 | void Swap(SaveNamespaceResponseProto* other); |
8347 | friend void swap(SaveNamespaceResponseProto& a, SaveNamespaceResponseProto& b) { |
8348 | a.Swap(&b); |
8349 | } |
8350 | |
8351 | // implements Message ---------------------------------------------- |
8352 | |
8353 | inline SaveNamespaceResponseProto* New() const final { |
8354 | return CreateMaybeMessage<SaveNamespaceResponseProto>(NULL); |
8355 | } |
8356 | |
8357 | SaveNamespaceResponseProto* New(::google::protobuf::Arena* arena) const final { |
8358 | return CreateMaybeMessage<SaveNamespaceResponseProto>(arena); |
8359 | } |
8360 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8361 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8362 | void CopyFrom(const SaveNamespaceResponseProto& from); |
8363 | void MergeFrom(const SaveNamespaceResponseProto& from); |
8364 | void Clear() final; |
8365 | bool IsInitialized() const final; |
8366 | |
8367 | size_t ByteSizeLong() const final; |
8368 | bool MergePartialFromCodedStream( |
8369 | ::google::protobuf::io::CodedInputStream* input) final; |
8370 | void SerializeWithCachedSizes( |
8371 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8372 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8373 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8374 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8375 | |
8376 | private: |
8377 | void SharedCtor(); |
8378 | void SharedDtor(); |
8379 | void SetCachedSize(int size) const final; |
8380 | void InternalSwap(SaveNamespaceResponseProto* other); |
8381 | private: |
8382 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8383 | return NULL; |
8384 | } |
8385 | inline void* MaybeArenaPtr() const { |
8386 | return NULL; |
8387 | } |
8388 | public: |
8389 | |
8390 | ::google::protobuf::Metadata GetMetadata() const final; |
8391 | |
8392 | // nested types ---------------------------------------------------- |
8393 | |
8394 | // accessors ------------------------------------------------------- |
8395 | |
8396 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SaveNamespaceResponseProto) |
8397 | private: |
8398 | |
8399 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8400 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8401 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8402 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8403 | }; |
8404 | // ------------------------------------------------------------------- |
8405 | |
8406 | class RollEditsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RollEditsRequestProto) */ { |
8407 | public: |
8408 | RollEditsRequestProto(); |
8409 | virtual ~RollEditsRequestProto(); |
8410 | |
8411 | RollEditsRequestProto(const RollEditsRequestProto& from); |
8412 | |
8413 | inline RollEditsRequestProto& operator=(const RollEditsRequestProto& from) { |
8414 | CopyFrom(from); |
8415 | return *this; |
8416 | } |
8417 | #if LANG_CXX11 |
8418 | RollEditsRequestProto(RollEditsRequestProto&& from) noexcept |
8419 | : RollEditsRequestProto() { |
8420 | *this = ::std::move(from); |
8421 | } |
8422 | |
8423 | inline RollEditsRequestProto& operator=(RollEditsRequestProto&& from) noexcept { |
8424 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8425 | if (this != &from) InternalSwap(&from); |
8426 | } else { |
8427 | CopyFrom(from); |
8428 | } |
8429 | return *this; |
8430 | } |
8431 | #endif |
8432 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8433 | return _internal_metadata_.unknown_fields(); |
8434 | } |
8435 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8436 | return _internal_metadata_.mutable_unknown_fields(); |
8437 | } |
8438 | |
8439 | static const ::google::protobuf::Descriptor* descriptor(); |
8440 | static const RollEditsRequestProto& default_instance(); |
8441 | |
8442 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8443 | static inline const RollEditsRequestProto* internal_default_instance() { |
8444 | return reinterpret_cast<const RollEditsRequestProto*>( |
8445 | &_RollEditsRequestProto_default_instance_); |
8446 | } |
8447 | static constexpr int kIndexInFileMessages = |
8448 | 60; |
8449 | |
8450 | void Swap(RollEditsRequestProto* other); |
8451 | friend void swap(RollEditsRequestProto& a, RollEditsRequestProto& b) { |
8452 | a.Swap(&b); |
8453 | } |
8454 | |
8455 | // implements Message ---------------------------------------------- |
8456 | |
8457 | inline RollEditsRequestProto* New() const final { |
8458 | return CreateMaybeMessage<RollEditsRequestProto>(NULL); |
8459 | } |
8460 | |
8461 | RollEditsRequestProto* New(::google::protobuf::Arena* arena) const final { |
8462 | return CreateMaybeMessage<RollEditsRequestProto>(arena); |
8463 | } |
8464 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8465 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8466 | void CopyFrom(const RollEditsRequestProto& from); |
8467 | void MergeFrom(const RollEditsRequestProto& from); |
8468 | void Clear() final; |
8469 | bool IsInitialized() const final; |
8470 | |
8471 | size_t ByteSizeLong() const final; |
8472 | bool MergePartialFromCodedStream( |
8473 | ::google::protobuf::io::CodedInputStream* input) final; |
8474 | void SerializeWithCachedSizes( |
8475 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8476 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8477 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8478 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8479 | |
8480 | private: |
8481 | void SharedCtor(); |
8482 | void SharedDtor(); |
8483 | void SetCachedSize(int size) const final; |
8484 | void InternalSwap(RollEditsRequestProto* other); |
8485 | private: |
8486 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8487 | return NULL; |
8488 | } |
8489 | inline void* MaybeArenaPtr() const { |
8490 | return NULL; |
8491 | } |
8492 | public: |
8493 | |
8494 | ::google::protobuf::Metadata GetMetadata() const final; |
8495 | |
8496 | // nested types ---------------------------------------------------- |
8497 | |
8498 | // accessors ------------------------------------------------------- |
8499 | |
8500 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RollEditsRequestProto) |
8501 | private: |
8502 | |
8503 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8504 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8505 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8506 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8507 | }; |
8508 | // ------------------------------------------------------------------- |
8509 | |
8510 | class RollEditsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RollEditsResponseProto) */ { |
8511 | public: |
8512 | RollEditsResponseProto(); |
8513 | virtual ~RollEditsResponseProto(); |
8514 | |
8515 | RollEditsResponseProto(const RollEditsResponseProto& from); |
8516 | |
8517 | inline RollEditsResponseProto& operator=(const RollEditsResponseProto& from) { |
8518 | CopyFrom(from); |
8519 | return *this; |
8520 | } |
8521 | #if LANG_CXX11 |
8522 | RollEditsResponseProto(RollEditsResponseProto&& from) noexcept |
8523 | : RollEditsResponseProto() { |
8524 | *this = ::std::move(from); |
8525 | } |
8526 | |
8527 | inline RollEditsResponseProto& operator=(RollEditsResponseProto&& from) noexcept { |
8528 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8529 | if (this != &from) InternalSwap(&from); |
8530 | } else { |
8531 | CopyFrom(from); |
8532 | } |
8533 | return *this; |
8534 | } |
8535 | #endif |
8536 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8537 | return _internal_metadata_.unknown_fields(); |
8538 | } |
8539 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8540 | return _internal_metadata_.mutable_unknown_fields(); |
8541 | } |
8542 | |
8543 | static const ::google::protobuf::Descriptor* descriptor(); |
8544 | static const RollEditsResponseProto& default_instance(); |
8545 | |
8546 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8547 | static inline const RollEditsResponseProto* internal_default_instance() { |
8548 | return reinterpret_cast<const RollEditsResponseProto*>( |
8549 | &_RollEditsResponseProto_default_instance_); |
8550 | } |
8551 | static constexpr int kIndexInFileMessages = |
8552 | 61; |
8553 | |
8554 | void Swap(RollEditsResponseProto* other); |
8555 | friend void swap(RollEditsResponseProto& a, RollEditsResponseProto& b) { |
8556 | a.Swap(&b); |
8557 | } |
8558 | |
8559 | // implements Message ---------------------------------------------- |
8560 | |
8561 | inline RollEditsResponseProto* New() const final { |
8562 | return CreateMaybeMessage<RollEditsResponseProto>(NULL); |
8563 | } |
8564 | |
8565 | RollEditsResponseProto* New(::google::protobuf::Arena* arena) const final { |
8566 | return CreateMaybeMessage<RollEditsResponseProto>(arena); |
8567 | } |
8568 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8569 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8570 | void CopyFrom(const RollEditsResponseProto& from); |
8571 | void MergeFrom(const RollEditsResponseProto& from); |
8572 | void Clear() final; |
8573 | bool IsInitialized() const final; |
8574 | |
8575 | size_t ByteSizeLong() const final; |
8576 | bool MergePartialFromCodedStream( |
8577 | ::google::protobuf::io::CodedInputStream* input) final; |
8578 | void SerializeWithCachedSizes( |
8579 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8580 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8581 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8582 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8583 | |
8584 | private: |
8585 | void SharedCtor(); |
8586 | void SharedDtor(); |
8587 | void SetCachedSize(int size) const final; |
8588 | void InternalSwap(RollEditsResponseProto* other); |
8589 | private: |
8590 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8591 | return NULL; |
8592 | } |
8593 | inline void* MaybeArenaPtr() const { |
8594 | return NULL; |
8595 | } |
8596 | public: |
8597 | |
8598 | ::google::protobuf::Metadata GetMetadata() const final; |
8599 | |
8600 | // nested types ---------------------------------------------------- |
8601 | |
8602 | // accessors ------------------------------------------------------- |
8603 | |
8604 | // required uint64 newSegmentTxId = 1; |
8605 | bool has_newsegmenttxid() const; |
8606 | void clear_newsegmenttxid(); |
8607 | static const int kNewSegmentTxIdFieldNumber = 1; |
8608 | ::google::protobuf::uint64 newsegmenttxid() const; |
8609 | void set_newsegmenttxid(::google::protobuf::uint64 value); |
8610 | |
8611 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RollEditsResponseProto) |
8612 | private: |
8613 | void set_has_newsegmenttxid(); |
8614 | void clear_has_newsegmenttxid(); |
8615 | |
8616 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8617 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8618 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8619 | ::google::protobuf::uint64 newsegmenttxid_; |
8620 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8621 | }; |
8622 | // ------------------------------------------------------------------- |
8623 | |
8624 | class RestoreFailedStorageRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RestoreFailedStorageRequestProto) */ { |
8625 | public: |
8626 | RestoreFailedStorageRequestProto(); |
8627 | virtual ~RestoreFailedStorageRequestProto(); |
8628 | |
8629 | RestoreFailedStorageRequestProto(const RestoreFailedStorageRequestProto& from); |
8630 | |
8631 | inline RestoreFailedStorageRequestProto& operator=(const RestoreFailedStorageRequestProto& from) { |
8632 | CopyFrom(from); |
8633 | return *this; |
8634 | } |
8635 | #if LANG_CXX11 |
8636 | RestoreFailedStorageRequestProto(RestoreFailedStorageRequestProto&& from) noexcept |
8637 | : RestoreFailedStorageRequestProto() { |
8638 | *this = ::std::move(from); |
8639 | } |
8640 | |
8641 | inline RestoreFailedStorageRequestProto& operator=(RestoreFailedStorageRequestProto&& from) noexcept { |
8642 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8643 | if (this != &from) InternalSwap(&from); |
8644 | } else { |
8645 | CopyFrom(from); |
8646 | } |
8647 | return *this; |
8648 | } |
8649 | #endif |
8650 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8651 | return _internal_metadata_.unknown_fields(); |
8652 | } |
8653 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8654 | return _internal_metadata_.mutable_unknown_fields(); |
8655 | } |
8656 | |
8657 | static const ::google::protobuf::Descriptor* descriptor(); |
8658 | static const RestoreFailedStorageRequestProto& default_instance(); |
8659 | |
8660 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8661 | static inline const RestoreFailedStorageRequestProto* internal_default_instance() { |
8662 | return reinterpret_cast<const RestoreFailedStorageRequestProto*>( |
8663 | &_RestoreFailedStorageRequestProto_default_instance_); |
8664 | } |
8665 | static constexpr int kIndexInFileMessages = |
8666 | 62; |
8667 | |
8668 | void Swap(RestoreFailedStorageRequestProto* other); |
8669 | friend void swap(RestoreFailedStorageRequestProto& a, RestoreFailedStorageRequestProto& b) { |
8670 | a.Swap(&b); |
8671 | } |
8672 | |
8673 | // implements Message ---------------------------------------------- |
8674 | |
8675 | inline RestoreFailedStorageRequestProto* New() const final { |
8676 | return CreateMaybeMessage<RestoreFailedStorageRequestProto>(NULL); |
8677 | } |
8678 | |
8679 | RestoreFailedStorageRequestProto* New(::google::protobuf::Arena* arena) const final { |
8680 | return CreateMaybeMessage<RestoreFailedStorageRequestProto>(arena); |
8681 | } |
8682 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8683 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8684 | void CopyFrom(const RestoreFailedStorageRequestProto& from); |
8685 | void MergeFrom(const RestoreFailedStorageRequestProto& from); |
8686 | void Clear() final; |
8687 | bool IsInitialized() const final; |
8688 | |
8689 | size_t ByteSizeLong() const final; |
8690 | bool MergePartialFromCodedStream( |
8691 | ::google::protobuf::io::CodedInputStream* input) final; |
8692 | void SerializeWithCachedSizes( |
8693 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8694 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8695 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8696 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8697 | |
8698 | private: |
8699 | void SharedCtor(); |
8700 | void SharedDtor(); |
8701 | void SetCachedSize(int size) const final; |
8702 | void InternalSwap(RestoreFailedStorageRequestProto* other); |
8703 | private: |
8704 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8705 | return NULL; |
8706 | } |
8707 | inline void* MaybeArenaPtr() const { |
8708 | return NULL; |
8709 | } |
8710 | public: |
8711 | |
8712 | ::google::protobuf::Metadata GetMetadata() const final; |
8713 | |
8714 | // nested types ---------------------------------------------------- |
8715 | |
8716 | // accessors ------------------------------------------------------- |
8717 | |
8718 | // required string arg = 1; |
8719 | bool has_arg() const; |
8720 | void clear_arg(); |
8721 | static const int kArgFieldNumber = 1; |
8722 | const ::std::string& arg() const; |
8723 | void set_arg(const ::std::string& value); |
8724 | #if LANG_CXX11 |
8725 | void set_arg(::std::string&& value); |
8726 | #endif |
8727 | void set_arg(const char* value); |
8728 | void set_arg(const char* value, size_t size); |
8729 | ::std::string* mutable_arg(); |
8730 | ::std::string* release_arg(); |
8731 | void set_allocated_arg(::std::string* arg); |
8732 | |
8733 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RestoreFailedStorageRequestProto) |
8734 | private: |
8735 | void set_has_arg(); |
8736 | void clear_has_arg(); |
8737 | |
8738 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8739 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8740 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8741 | ::google::protobuf::internal::ArenaStringPtr arg_; |
8742 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8743 | }; |
8744 | // ------------------------------------------------------------------- |
8745 | |
8746 | class RestoreFailedStorageResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RestoreFailedStorageResponseProto) */ { |
8747 | public: |
8748 | RestoreFailedStorageResponseProto(); |
8749 | virtual ~RestoreFailedStorageResponseProto(); |
8750 | |
8751 | RestoreFailedStorageResponseProto(const RestoreFailedStorageResponseProto& from); |
8752 | |
8753 | inline RestoreFailedStorageResponseProto& operator=(const RestoreFailedStorageResponseProto& from) { |
8754 | CopyFrom(from); |
8755 | return *this; |
8756 | } |
8757 | #if LANG_CXX11 |
8758 | RestoreFailedStorageResponseProto(RestoreFailedStorageResponseProto&& from) noexcept |
8759 | : RestoreFailedStorageResponseProto() { |
8760 | *this = ::std::move(from); |
8761 | } |
8762 | |
8763 | inline RestoreFailedStorageResponseProto& operator=(RestoreFailedStorageResponseProto&& from) noexcept { |
8764 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8765 | if (this != &from) InternalSwap(&from); |
8766 | } else { |
8767 | CopyFrom(from); |
8768 | } |
8769 | return *this; |
8770 | } |
8771 | #endif |
8772 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8773 | return _internal_metadata_.unknown_fields(); |
8774 | } |
8775 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8776 | return _internal_metadata_.mutable_unknown_fields(); |
8777 | } |
8778 | |
8779 | static const ::google::protobuf::Descriptor* descriptor(); |
8780 | static const RestoreFailedStorageResponseProto& default_instance(); |
8781 | |
8782 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8783 | static inline const RestoreFailedStorageResponseProto* internal_default_instance() { |
8784 | return reinterpret_cast<const RestoreFailedStorageResponseProto*>( |
8785 | &_RestoreFailedStorageResponseProto_default_instance_); |
8786 | } |
8787 | static constexpr int kIndexInFileMessages = |
8788 | 63; |
8789 | |
8790 | void Swap(RestoreFailedStorageResponseProto* other); |
8791 | friend void swap(RestoreFailedStorageResponseProto& a, RestoreFailedStorageResponseProto& b) { |
8792 | a.Swap(&b); |
8793 | } |
8794 | |
8795 | // implements Message ---------------------------------------------- |
8796 | |
8797 | inline RestoreFailedStorageResponseProto* New() const final { |
8798 | return CreateMaybeMessage<RestoreFailedStorageResponseProto>(NULL); |
8799 | } |
8800 | |
8801 | RestoreFailedStorageResponseProto* New(::google::protobuf::Arena* arena) const final { |
8802 | return CreateMaybeMessage<RestoreFailedStorageResponseProto>(arena); |
8803 | } |
8804 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8805 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8806 | void CopyFrom(const RestoreFailedStorageResponseProto& from); |
8807 | void MergeFrom(const RestoreFailedStorageResponseProto& from); |
8808 | void Clear() final; |
8809 | bool IsInitialized() const final; |
8810 | |
8811 | size_t ByteSizeLong() const final; |
8812 | bool MergePartialFromCodedStream( |
8813 | ::google::protobuf::io::CodedInputStream* input) final; |
8814 | void SerializeWithCachedSizes( |
8815 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8816 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8817 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8818 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8819 | |
8820 | private: |
8821 | void SharedCtor(); |
8822 | void SharedDtor(); |
8823 | void SetCachedSize(int size) const final; |
8824 | void InternalSwap(RestoreFailedStorageResponseProto* other); |
8825 | private: |
8826 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8827 | return NULL; |
8828 | } |
8829 | inline void* MaybeArenaPtr() const { |
8830 | return NULL; |
8831 | } |
8832 | public: |
8833 | |
8834 | ::google::protobuf::Metadata GetMetadata() const final; |
8835 | |
8836 | // nested types ---------------------------------------------------- |
8837 | |
8838 | // accessors ------------------------------------------------------- |
8839 | |
8840 | // required bool result = 1; |
8841 | bool has_result() const; |
8842 | void clear_result(); |
8843 | static const int kResultFieldNumber = 1; |
8844 | bool result() const; |
8845 | void set_result(bool value); |
8846 | |
8847 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RestoreFailedStorageResponseProto) |
8848 | private: |
8849 | void set_has_result(); |
8850 | void clear_has_result(); |
8851 | |
8852 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8853 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8854 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8855 | bool result_; |
8856 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8857 | }; |
8858 | // ------------------------------------------------------------------- |
8859 | |
8860 | class RefreshNodesRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RefreshNodesRequestProto) */ { |
8861 | public: |
8862 | RefreshNodesRequestProto(); |
8863 | virtual ~RefreshNodesRequestProto(); |
8864 | |
8865 | RefreshNodesRequestProto(const RefreshNodesRequestProto& from); |
8866 | |
8867 | inline RefreshNodesRequestProto& operator=(const RefreshNodesRequestProto& from) { |
8868 | CopyFrom(from); |
8869 | return *this; |
8870 | } |
8871 | #if LANG_CXX11 |
8872 | RefreshNodesRequestProto(RefreshNodesRequestProto&& from) noexcept |
8873 | : RefreshNodesRequestProto() { |
8874 | *this = ::std::move(from); |
8875 | } |
8876 | |
8877 | inline RefreshNodesRequestProto& operator=(RefreshNodesRequestProto&& from) noexcept { |
8878 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8879 | if (this != &from) InternalSwap(&from); |
8880 | } else { |
8881 | CopyFrom(from); |
8882 | } |
8883 | return *this; |
8884 | } |
8885 | #endif |
8886 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8887 | return _internal_metadata_.unknown_fields(); |
8888 | } |
8889 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8890 | return _internal_metadata_.mutable_unknown_fields(); |
8891 | } |
8892 | |
8893 | static const ::google::protobuf::Descriptor* descriptor(); |
8894 | static const RefreshNodesRequestProto& default_instance(); |
8895 | |
8896 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
8897 | static inline const RefreshNodesRequestProto* internal_default_instance() { |
8898 | return reinterpret_cast<const RefreshNodesRequestProto*>( |
8899 | &_RefreshNodesRequestProto_default_instance_); |
8900 | } |
8901 | static constexpr int kIndexInFileMessages = |
8902 | 64; |
8903 | |
8904 | void Swap(RefreshNodesRequestProto* other); |
8905 | friend void swap(RefreshNodesRequestProto& a, RefreshNodesRequestProto& b) { |
8906 | a.Swap(&b); |
8907 | } |
8908 | |
8909 | // implements Message ---------------------------------------------- |
8910 | |
8911 | inline RefreshNodesRequestProto* New() const final { |
8912 | return CreateMaybeMessage<RefreshNodesRequestProto>(NULL); |
8913 | } |
8914 | |
8915 | RefreshNodesRequestProto* New(::google::protobuf::Arena* arena) const final { |
8916 | return CreateMaybeMessage<RefreshNodesRequestProto>(arena); |
8917 | } |
8918 | void CopyFrom(const ::google::protobuf::Message& from) final; |
8919 | void MergeFrom(const ::google::protobuf::Message& from) final; |
8920 | void CopyFrom(const RefreshNodesRequestProto& from); |
8921 | void MergeFrom(const RefreshNodesRequestProto& from); |
8922 | void Clear() final; |
8923 | bool IsInitialized() const final; |
8924 | |
8925 | size_t ByteSizeLong() const final; |
8926 | bool MergePartialFromCodedStream( |
8927 | ::google::protobuf::io::CodedInputStream* input) final; |
8928 | void SerializeWithCachedSizes( |
8929 | ::google::protobuf::io::CodedOutputStream* output) const final; |
8930 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
8931 | bool deterministic, ::google::protobuf::uint8* target) const final; |
8932 | int GetCachedSize() const final { return _cached_size_.Get(); } |
8933 | |
8934 | private: |
8935 | void SharedCtor(); |
8936 | void SharedDtor(); |
8937 | void SetCachedSize(int size) const final; |
8938 | void InternalSwap(RefreshNodesRequestProto* other); |
8939 | private: |
8940 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
8941 | return NULL; |
8942 | } |
8943 | inline void* MaybeArenaPtr() const { |
8944 | return NULL; |
8945 | } |
8946 | public: |
8947 | |
8948 | ::google::protobuf::Metadata GetMetadata() const final; |
8949 | |
8950 | // nested types ---------------------------------------------------- |
8951 | |
8952 | // accessors ------------------------------------------------------- |
8953 | |
8954 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RefreshNodesRequestProto) |
8955 | private: |
8956 | |
8957 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
8958 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8959 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
8960 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
8961 | }; |
8962 | // ------------------------------------------------------------------- |
8963 | |
8964 | class RefreshNodesResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RefreshNodesResponseProto) */ { |
8965 | public: |
8966 | RefreshNodesResponseProto(); |
8967 | virtual ~RefreshNodesResponseProto(); |
8968 | |
8969 | RefreshNodesResponseProto(const RefreshNodesResponseProto& from); |
8970 | |
8971 | inline RefreshNodesResponseProto& operator=(const RefreshNodesResponseProto& from) { |
8972 | CopyFrom(from); |
8973 | return *this; |
8974 | } |
8975 | #if LANG_CXX11 |
8976 | RefreshNodesResponseProto(RefreshNodesResponseProto&& from) noexcept |
8977 | : RefreshNodesResponseProto() { |
8978 | *this = ::std::move(from); |
8979 | } |
8980 | |
8981 | inline RefreshNodesResponseProto& operator=(RefreshNodesResponseProto&& from) noexcept { |
8982 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
8983 | if (this != &from) InternalSwap(&from); |
8984 | } else { |
8985 | CopyFrom(from); |
8986 | } |
8987 | return *this; |
8988 | } |
8989 | #endif |
8990 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
8991 | return _internal_metadata_.unknown_fields(); |
8992 | } |
8993 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
8994 | return _internal_metadata_.mutable_unknown_fields(); |
8995 | } |
8996 | |
8997 | static const ::google::protobuf::Descriptor* descriptor(); |
8998 | static const RefreshNodesResponseProto& default_instance(); |
8999 | |
9000 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9001 | static inline const RefreshNodesResponseProto* internal_default_instance() { |
9002 | return reinterpret_cast<const RefreshNodesResponseProto*>( |
9003 | &_RefreshNodesResponseProto_default_instance_); |
9004 | } |
9005 | static constexpr int kIndexInFileMessages = |
9006 | 65; |
9007 | |
9008 | void Swap(RefreshNodesResponseProto* other); |
9009 | friend void swap(RefreshNodesResponseProto& a, RefreshNodesResponseProto& b) { |
9010 | a.Swap(&b); |
9011 | } |
9012 | |
9013 | // implements Message ---------------------------------------------- |
9014 | |
9015 | inline RefreshNodesResponseProto* New() const final { |
9016 | return CreateMaybeMessage<RefreshNodesResponseProto>(NULL); |
9017 | } |
9018 | |
9019 | RefreshNodesResponseProto* New(::google::protobuf::Arena* arena) const final { |
9020 | return CreateMaybeMessage<RefreshNodesResponseProto>(arena); |
9021 | } |
9022 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9023 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9024 | void CopyFrom(const RefreshNodesResponseProto& from); |
9025 | void MergeFrom(const RefreshNodesResponseProto& from); |
9026 | void Clear() final; |
9027 | bool IsInitialized() const final; |
9028 | |
9029 | size_t ByteSizeLong() const final; |
9030 | bool MergePartialFromCodedStream( |
9031 | ::google::protobuf::io::CodedInputStream* input) final; |
9032 | void SerializeWithCachedSizes( |
9033 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9034 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9035 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9036 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9037 | |
9038 | private: |
9039 | void SharedCtor(); |
9040 | void SharedDtor(); |
9041 | void SetCachedSize(int size) const final; |
9042 | void InternalSwap(RefreshNodesResponseProto* other); |
9043 | private: |
9044 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9045 | return NULL; |
9046 | } |
9047 | inline void* MaybeArenaPtr() const { |
9048 | return NULL; |
9049 | } |
9050 | public: |
9051 | |
9052 | ::google::protobuf::Metadata GetMetadata() const final; |
9053 | |
9054 | // nested types ---------------------------------------------------- |
9055 | |
9056 | // accessors ------------------------------------------------------- |
9057 | |
9058 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RefreshNodesResponseProto) |
9059 | private: |
9060 | |
9061 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9062 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9063 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9064 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9065 | }; |
9066 | // ------------------------------------------------------------------- |
9067 | |
9068 | class FinalizeUpgradeRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.FinalizeUpgradeRequestProto) */ { |
9069 | public: |
9070 | FinalizeUpgradeRequestProto(); |
9071 | virtual ~FinalizeUpgradeRequestProto(); |
9072 | |
9073 | FinalizeUpgradeRequestProto(const FinalizeUpgradeRequestProto& from); |
9074 | |
9075 | inline FinalizeUpgradeRequestProto& operator=(const FinalizeUpgradeRequestProto& from) { |
9076 | CopyFrom(from); |
9077 | return *this; |
9078 | } |
9079 | #if LANG_CXX11 |
9080 | FinalizeUpgradeRequestProto(FinalizeUpgradeRequestProto&& from) noexcept |
9081 | : FinalizeUpgradeRequestProto() { |
9082 | *this = ::std::move(from); |
9083 | } |
9084 | |
9085 | inline FinalizeUpgradeRequestProto& operator=(FinalizeUpgradeRequestProto&& from) noexcept { |
9086 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9087 | if (this != &from) InternalSwap(&from); |
9088 | } else { |
9089 | CopyFrom(from); |
9090 | } |
9091 | return *this; |
9092 | } |
9093 | #endif |
9094 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9095 | return _internal_metadata_.unknown_fields(); |
9096 | } |
9097 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9098 | return _internal_metadata_.mutable_unknown_fields(); |
9099 | } |
9100 | |
9101 | static const ::google::protobuf::Descriptor* descriptor(); |
9102 | static const FinalizeUpgradeRequestProto& default_instance(); |
9103 | |
9104 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9105 | static inline const FinalizeUpgradeRequestProto* internal_default_instance() { |
9106 | return reinterpret_cast<const FinalizeUpgradeRequestProto*>( |
9107 | &_FinalizeUpgradeRequestProto_default_instance_); |
9108 | } |
9109 | static constexpr int kIndexInFileMessages = |
9110 | 66; |
9111 | |
9112 | void Swap(FinalizeUpgradeRequestProto* other); |
9113 | friend void swap(FinalizeUpgradeRequestProto& a, FinalizeUpgradeRequestProto& b) { |
9114 | a.Swap(&b); |
9115 | } |
9116 | |
9117 | // implements Message ---------------------------------------------- |
9118 | |
9119 | inline FinalizeUpgradeRequestProto* New() const final { |
9120 | return CreateMaybeMessage<FinalizeUpgradeRequestProto>(NULL); |
9121 | } |
9122 | |
9123 | FinalizeUpgradeRequestProto* New(::google::protobuf::Arena* arena) const final { |
9124 | return CreateMaybeMessage<FinalizeUpgradeRequestProto>(arena); |
9125 | } |
9126 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9127 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9128 | void CopyFrom(const FinalizeUpgradeRequestProto& from); |
9129 | void MergeFrom(const FinalizeUpgradeRequestProto& from); |
9130 | void Clear() final; |
9131 | bool IsInitialized() const final; |
9132 | |
9133 | size_t ByteSizeLong() const final; |
9134 | bool MergePartialFromCodedStream( |
9135 | ::google::protobuf::io::CodedInputStream* input) final; |
9136 | void SerializeWithCachedSizes( |
9137 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9138 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9139 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9140 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9141 | |
9142 | private: |
9143 | void SharedCtor(); |
9144 | void SharedDtor(); |
9145 | void SetCachedSize(int size) const final; |
9146 | void InternalSwap(FinalizeUpgradeRequestProto* other); |
9147 | private: |
9148 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9149 | return NULL; |
9150 | } |
9151 | inline void* MaybeArenaPtr() const { |
9152 | return NULL; |
9153 | } |
9154 | public: |
9155 | |
9156 | ::google::protobuf::Metadata GetMetadata() const final; |
9157 | |
9158 | // nested types ---------------------------------------------------- |
9159 | |
9160 | // accessors ------------------------------------------------------- |
9161 | |
9162 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.FinalizeUpgradeRequestProto) |
9163 | private: |
9164 | |
9165 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9166 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9167 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9168 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9169 | }; |
9170 | // ------------------------------------------------------------------- |
9171 | |
9172 | class FinalizeUpgradeResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.FinalizeUpgradeResponseProto) */ { |
9173 | public: |
9174 | FinalizeUpgradeResponseProto(); |
9175 | virtual ~FinalizeUpgradeResponseProto(); |
9176 | |
9177 | FinalizeUpgradeResponseProto(const FinalizeUpgradeResponseProto& from); |
9178 | |
9179 | inline FinalizeUpgradeResponseProto& operator=(const FinalizeUpgradeResponseProto& from) { |
9180 | CopyFrom(from); |
9181 | return *this; |
9182 | } |
9183 | #if LANG_CXX11 |
9184 | FinalizeUpgradeResponseProto(FinalizeUpgradeResponseProto&& from) noexcept |
9185 | : FinalizeUpgradeResponseProto() { |
9186 | *this = ::std::move(from); |
9187 | } |
9188 | |
9189 | inline FinalizeUpgradeResponseProto& operator=(FinalizeUpgradeResponseProto&& from) noexcept { |
9190 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9191 | if (this != &from) InternalSwap(&from); |
9192 | } else { |
9193 | CopyFrom(from); |
9194 | } |
9195 | return *this; |
9196 | } |
9197 | #endif |
9198 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9199 | return _internal_metadata_.unknown_fields(); |
9200 | } |
9201 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9202 | return _internal_metadata_.mutable_unknown_fields(); |
9203 | } |
9204 | |
9205 | static const ::google::protobuf::Descriptor* descriptor(); |
9206 | static const FinalizeUpgradeResponseProto& default_instance(); |
9207 | |
9208 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9209 | static inline const FinalizeUpgradeResponseProto* internal_default_instance() { |
9210 | return reinterpret_cast<const FinalizeUpgradeResponseProto*>( |
9211 | &_FinalizeUpgradeResponseProto_default_instance_); |
9212 | } |
9213 | static constexpr int kIndexInFileMessages = |
9214 | 67; |
9215 | |
9216 | void Swap(FinalizeUpgradeResponseProto* other); |
9217 | friend void swap(FinalizeUpgradeResponseProto& a, FinalizeUpgradeResponseProto& b) { |
9218 | a.Swap(&b); |
9219 | } |
9220 | |
9221 | // implements Message ---------------------------------------------- |
9222 | |
9223 | inline FinalizeUpgradeResponseProto* New() const final { |
9224 | return CreateMaybeMessage<FinalizeUpgradeResponseProto>(NULL); |
9225 | } |
9226 | |
9227 | FinalizeUpgradeResponseProto* New(::google::protobuf::Arena* arena) const final { |
9228 | return CreateMaybeMessage<FinalizeUpgradeResponseProto>(arena); |
9229 | } |
9230 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9231 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9232 | void CopyFrom(const FinalizeUpgradeResponseProto& from); |
9233 | void MergeFrom(const FinalizeUpgradeResponseProto& from); |
9234 | void Clear() final; |
9235 | bool IsInitialized() const final; |
9236 | |
9237 | size_t ByteSizeLong() const final; |
9238 | bool MergePartialFromCodedStream( |
9239 | ::google::protobuf::io::CodedInputStream* input) final; |
9240 | void SerializeWithCachedSizes( |
9241 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9242 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9243 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9244 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9245 | |
9246 | private: |
9247 | void SharedCtor(); |
9248 | void SharedDtor(); |
9249 | void SetCachedSize(int size) const final; |
9250 | void InternalSwap(FinalizeUpgradeResponseProto* other); |
9251 | private: |
9252 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9253 | return NULL; |
9254 | } |
9255 | inline void* MaybeArenaPtr() const { |
9256 | return NULL; |
9257 | } |
9258 | public: |
9259 | |
9260 | ::google::protobuf::Metadata GetMetadata() const final; |
9261 | |
9262 | // nested types ---------------------------------------------------- |
9263 | |
9264 | // accessors ------------------------------------------------------- |
9265 | |
9266 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.FinalizeUpgradeResponseProto) |
9267 | private: |
9268 | |
9269 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9270 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9271 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9272 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9273 | }; |
9274 | // ------------------------------------------------------------------- |
9275 | |
9276 | class ListCorruptFileBlocksRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCorruptFileBlocksRequestProto) */ { |
9277 | public: |
9278 | ListCorruptFileBlocksRequestProto(); |
9279 | virtual ~ListCorruptFileBlocksRequestProto(); |
9280 | |
9281 | ListCorruptFileBlocksRequestProto(const ListCorruptFileBlocksRequestProto& from); |
9282 | |
9283 | inline ListCorruptFileBlocksRequestProto& operator=(const ListCorruptFileBlocksRequestProto& from) { |
9284 | CopyFrom(from); |
9285 | return *this; |
9286 | } |
9287 | #if LANG_CXX11 |
9288 | ListCorruptFileBlocksRequestProto(ListCorruptFileBlocksRequestProto&& from) noexcept |
9289 | : ListCorruptFileBlocksRequestProto() { |
9290 | *this = ::std::move(from); |
9291 | } |
9292 | |
9293 | inline ListCorruptFileBlocksRequestProto& operator=(ListCorruptFileBlocksRequestProto&& from) noexcept { |
9294 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9295 | if (this != &from) InternalSwap(&from); |
9296 | } else { |
9297 | CopyFrom(from); |
9298 | } |
9299 | return *this; |
9300 | } |
9301 | #endif |
9302 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9303 | return _internal_metadata_.unknown_fields(); |
9304 | } |
9305 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9306 | return _internal_metadata_.mutable_unknown_fields(); |
9307 | } |
9308 | |
9309 | static const ::google::protobuf::Descriptor* descriptor(); |
9310 | static const ListCorruptFileBlocksRequestProto& default_instance(); |
9311 | |
9312 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9313 | static inline const ListCorruptFileBlocksRequestProto* internal_default_instance() { |
9314 | return reinterpret_cast<const ListCorruptFileBlocksRequestProto*>( |
9315 | &_ListCorruptFileBlocksRequestProto_default_instance_); |
9316 | } |
9317 | static constexpr int kIndexInFileMessages = |
9318 | 68; |
9319 | |
9320 | void Swap(ListCorruptFileBlocksRequestProto* other); |
9321 | friend void swap(ListCorruptFileBlocksRequestProto& a, ListCorruptFileBlocksRequestProto& b) { |
9322 | a.Swap(&b); |
9323 | } |
9324 | |
9325 | // implements Message ---------------------------------------------- |
9326 | |
9327 | inline ListCorruptFileBlocksRequestProto* New() const final { |
9328 | return CreateMaybeMessage<ListCorruptFileBlocksRequestProto>(NULL); |
9329 | } |
9330 | |
9331 | ListCorruptFileBlocksRequestProto* New(::google::protobuf::Arena* arena) const final { |
9332 | return CreateMaybeMessage<ListCorruptFileBlocksRequestProto>(arena); |
9333 | } |
9334 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9335 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9336 | void CopyFrom(const ListCorruptFileBlocksRequestProto& from); |
9337 | void MergeFrom(const ListCorruptFileBlocksRequestProto& from); |
9338 | void Clear() final; |
9339 | bool IsInitialized() const final; |
9340 | |
9341 | size_t ByteSizeLong() const final; |
9342 | bool MergePartialFromCodedStream( |
9343 | ::google::protobuf::io::CodedInputStream* input) final; |
9344 | void SerializeWithCachedSizes( |
9345 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9346 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9347 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9348 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9349 | |
9350 | private: |
9351 | void SharedCtor(); |
9352 | void SharedDtor(); |
9353 | void SetCachedSize(int size) const final; |
9354 | void InternalSwap(ListCorruptFileBlocksRequestProto* other); |
9355 | private: |
9356 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9357 | return NULL; |
9358 | } |
9359 | inline void* MaybeArenaPtr() const { |
9360 | return NULL; |
9361 | } |
9362 | public: |
9363 | |
9364 | ::google::protobuf::Metadata GetMetadata() const final; |
9365 | |
9366 | // nested types ---------------------------------------------------- |
9367 | |
9368 | // accessors ------------------------------------------------------- |
9369 | |
9370 | // required string path = 1; |
9371 | bool has_path() const; |
9372 | void clear_path(); |
9373 | static const int kPathFieldNumber = 1; |
9374 | const ::std::string& path() const; |
9375 | void set_path(const ::std::string& value); |
9376 | #if LANG_CXX11 |
9377 | void set_path(::std::string&& value); |
9378 | #endif |
9379 | void set_path(const char* value); |
9380 | void set_path(const char* value, size_t size); |
9381 | ::std::string* mutable_path(); |
9382 | ::std::string* release_path(); |
9383 | void set_allocated_path(::std::string* path); |
9384 | |
9385 | // optional string cookie = 2; |
9386 | bool has_cookie() const; |
9387 | void clear_cookie(); |
9388 | static const int kCookieFieldNumber = 2; |
9389 | const ::std::string& cookie() const; |
9390 | void set_cookie(const ::std::string& value); |
9391 | #if LANG_CXX11 |
9392 | void set_cookie(::std::string&& value); |
9393 | #endif |
9394 | void set_cookie(const char* value); |
9395 | void set_cookie(const char* value, size_t size); |
9396 | ::std::string* mutable_cookie(); |
9397 | ::std::string* release_cookie(); |
9398 | void set_allocated_cookie(::std::string* cookie); |
9399 | |
9400 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCorruptFileBlocksRequestProto) |
9401 | private: |
9402 | void set_has_path(); |
9403 | void clear_has_path(); |
9404 | void set_has_cookie(); |
9405 | void clear_has_cookie(); |
9406 | |
9407 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9408 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9409 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9410 | ::google::protobuf::internal::ArenaStringPtr path_; |
9411 | ::google::protobuf::internal::ArenaStringPtr cookie_; |
9412 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9413 | }; |
9414 | // ------------------------------------------------------------------- |
9415 | |
9416 | class ListCorruptFileBlocksResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCorruptFileBlocksResponseProto) */ { |
9417 | public: |
9418 | ListCorruptFileBlocksResponseProto(); |
9419 | virtual ~ListCorruptFileBlocksResponseProto(); |
9420 | |
9421 | ListCorruptFileBlocksResponseProto(const ListCorruptFileBlocksResponseProto& from); |
9422 | |
9423 | inline ListCorruptFileBlocksResponseProto& operator=(const ListCorruptFileBlocksResponseProto& from) { |
9424 | CopyFrom(from); |
9425 | return *this; |
9426 | } |
9427 | #if LANG_CXX11 |
9428 | ListCorruptFileBlocksResponseProto(ListCorruptFileBlocksResponseProto&& from) noexcept |
9429 | : ListCorruptFileBlocksResponseProto() { |
9430 | *this = ::std::move(from); |
9431 | } |
9432 | |
9433 | inline ListCorruptFileBlocksResponseProto& operator=(ListCorruptFileBlocksResponseProto&& from) noexcept { |
9434 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9435 | if (this != &from) InternalSwap(&from); |
9436 | } else { |
9437 | CopyFrom(from); |
9438 | } |
9439 | return *this; |
9440 | } |
9441 | #endif |
9442 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9443 | return _internal_metadata_.unknown_fields(); |
9444 | } |
9445 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9446 | return _internal_metadata_.mutable_unknown_fields(); |
9447 | } |
9448 | |
9449 | static const ::google::protobuf::Descriptor* descriptor(); |
9450 | static const ListCorruptFileBlocksResponseProto& default_instance(); |
9451 | |
9452 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9453 | static inline const ListCorruptFileBlocksResponseProto* internal_default_instance() { |
9454 | return reinterpret_cast<const ListCorruptFileBlocksResponseProto*>( |
9455 | &_ListCorruptFileBlocksResponseProto_default_instance_); |
9456 | } |
9457 | static constexpr int kIndexInFileMessages = |
9458 | 69; |
9459 | |
9460 | void Swap(ListCorruptFileBlocksResponseProto* other); |
9461 | friend void swap(ListCorruptFileBlocksResponseProto& a, ListCorruptFileBlocksResponseProto& b) { |
9462 | a.Swap(&b); |
9463 | } |
9464 | |
9465 | // implements Message ---------------------------------------------- |
9466 | |
9467 | inline ListCorruptFileBlocksResponseProto* New() const final { |
9468 | return CreateMaybeMessage<ListCorruptFileBlocksResponseProto>(NULL); |
9469 | } |
9470 | |
9471 | ListCorruptFileBlocksResponseProto* New(::google::protobuf::Arena* arena) const final { |
9472 | return CreateMaybeMessage<ListCorruptFileBlocksResponseProto>(arena); |
9473 | } |
9474 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9475 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9476 | void CopyFrom(const ListCorruptFileBlocksResponseProto& from); |
9477 | void MergeFrom(const ListCorruptFileBlocksResponseProto& from); |
9478 | void Clear() final; |
9479 | bool IsInitialized() const final; |
9480 | |
9481 | size_t ByteSizeLong() const final; |
9482 | bool MergePartialFromCodedStream( |
9483 | ::google::protobuf::io::CodedInputStream* input) final; |
9484 | void SerializeWithCachedSizes( |
9485 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9486 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9487 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9488 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9489 | |
9490 | private: |
9491 | void SharedCtor(); |
9492 | void SharedDtor(); |
9493 | void SetCachedSize(int size) const final; |
9494 | void InternalSwap(ListCorruptFileBlocksResponseProto* other); |
9495 | private: |
9496 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9497 | return NULL; |
9498 | } |
9499 | inline void* MaybeArenaPtr() const { |
9500 | return NULL; |
9501 | } |
9502 | public: |
9503 | |
9504 | ::google::protobuf::Metadata GetMetadata() const final; |
9505 | |
9506 | // nested types ---------------------------------------------------- |
9507 | |
9508 | // accessors ------------------------------------------------------- |
9509 | |
9510 | // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1; |
9511 | bool has_corrupt() const; |
9512 | void clear_corrupt(); |
9513 | static const int kCorruptFieldNumber = 1; |
9514 | private: |
9515 | const ::Hdfs::Internal::CorruptFileBlocksProto& _internal_corrupt() const; |
9516 | public: |
9517 | const ::Hdfs::Internal::CorruptFileBlocksProto& corrupt() const; |
9518 | ::Hdfs::Internal::CorruptFileBlocksProto* release_corrupt(); |
9519 | ::Hdfs::Internal::CorruptFileBlocksProto* mutable_corrupt(); |
9520 | void set_allocated_corrupt(::Hdfs::Internal::CorruptFileBlocksProto* corrupt); |
9521 | |
9522 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCorruptFileBlocksResponseProto) |
9523 | private: |
9524 | void set_has_corrupt(); |
9525 | void clear_has_corrupt(); |
9526 | |
9527 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9528 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9529 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9530 | ::Hdfs::Internal::CorruptFileBlocksProto* corrupt_; |
9531 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9532 | }; |
9533 | // ------------------------------------------------------------------- |
9534 | |
9535 | class MetaSaveRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.MetaSaveRequestProto) */ { |
9536 | public: |
9537 | MetaSaveRequestProto(); |
9538 | virtual ~MetaSaveRequestProto(); |
9539 | |
9540 | MetaSaveRequestProto(const MetaSaveRequestProto& from); |
9541 | |
9542 | inline MetaSaveRequestProto& operator=(const MetaSaveRequestProto& from) { |
9543 | CopyFrom(from); |
9544 | return *this; |
9545 | } |
9546 | #if LANG_CXX11 |
9547 | MetaSaveRequestProto(MetaSaveRequestProto&& from) noexcept |
9548 | : MetaSaveRequestProto() { |
9549 | *this = ::std::move(from); |
9550 | } |
9551 | |
9552 | inline MetaSaveRequestProto& operator=(MetaSaveRequestProto&& from) noexcept { |
9553 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9554 | if (this != &from) InternalSwap(&from); |
9555 | } else { |
9556 | CopyFrom(from); |
9557 | } |
9558 | return *this; |
9559 | } |
9560 | #endif |
9561 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9562 | return _internal_metadata_.unknown_fields(); |
9563 | } |
9564 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9565 | return _internal_metadata_.mutable_unknown_fields(); |
9566 | } |
9567 | |
9568 | static const ::google::protobuf::Descriptor* descriptor(); |
9569 | static const MetaSaveRequestProto& default_instance(); |
9570 | |
9571 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9572 | static inline const MetaSaveRequestProto* internal_default_instance() { |
9573 | return reinterpret_cast<const MetaSaveRequestProto*>( |
9574 | &_MetaSaveRequestProto_default_instance_); |
9575 | } |
9576 | static constexpr int kIndexInFileMessages = |
9577 | 70; |
9578 | |
9579 | void Swap(MetaSaveRequestProto* other); |
9580 | friend void swap(MetaSaveRequestProto& a, MetaSaveRequestProto& b) { |
9581 | a.Swap(&b); |
9582 | } |
9583 | |
9584 | // implements Message ---------------------------------------------- |
9585 | |
9586 | inline MetaSaveRequestProto* New() const final { |
9587 | return CreateMaybeMessage<MetaSaveRequestProto>(NULL); |
9588 | } |
9589 | |
9590 | MetaSaveRequestProto* New(::google::protobuf::Arena* arena) const final { |
9591 | return CreateMaybeMessage<MetaSaveRequestProto>(arena); |
9592 | } |
9593 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9594 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9595 | void CopyFrom(const MetaSaveRequestProto& from); |
9596 | void MergeFrom(const MetaSaveRequestProto& from); |
9597 | void Clear() final; |
9598 | bool IsInitialized() const final; |
9599 | |
9600 | size_t ByteSizeLong() const final; |
9601 | bool MergePartialFromCodedStream( |
9602 | ::google::protobuf::io::CodedInputStream* input) final; |
9603 | void SerializeWithCachedSizes( |
9604 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9605 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9606 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9607 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9608 | |
9609 | private: |
9610 | void SharedCtor(); |
9611 | void SharedDtor(); |
9612 | void SetCachedSize(int size) const final; |
9613 | void InternalSwap(MetaSaveRequestProto* other); |
9614 | private: |
9615 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9616 | return NULL; |
9617 | } |
9618 | inline void* MaybeArenaPtr() const { |
9619 | return NULL; |
9620 | } |
9621 | public: |
9622 | |
9623 | ::google::protobuf::Metadata GetMetadata() const final; |
9624 | |
9625 | // nested types ---------------------------------------------------- |
9626 | |
9627 | // accessors ------------------------------------------------------- |
9628 | |
9629 | // required string filename = 1; |
9630 | bool has_filename() const; |
9631 | void clear_filename(); |
9632 | static const int kFilenameFieldNumber = 1; |
9633 | const ::std::string& filename() const; |
9634 | void set_filename(const ::std::string& value); |
9635 | #if LANG_CXX11 |
9636 | void set_filename(::std::string&& value); |
9637 | #endif |
9638 | void set_filename(const char* value); |
9639 | void set_filename(const char* value, size_t size); |
9640 | ::std::string* mutable_filename(); |
9641 | ::std::string* release_filename(); |
9642 | void set_allocated_filename(::std::string* filename); |
9643 | |
9644 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.MetaSaveRequestProto) |
9645 | private: |
9646 | void set_has_filename(); |
9647 | void clear_has_filename(); |
9648 | |
9649 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9650 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9651 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9652 | ::google::protobuf::internal::ArenaStringPtr filename_; |
9653 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9654 | }; |
9655 | // ------------------------------------------------------------------- |
9656 | |
9657 | class MetaSaveResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.MetaSaveResponseProto) */ { |
9658 | public: |
9659 | MetaSaveResponseProto(); |
9660 | virtual ~MetaSaveResponseProto(); |
9661 | |
9662 | MetaSaveResponseProto(const MetaSaveResponseProto& from); |
9663 | |
9664 | inline MetaSaveResponseProto& operator=(const MetaSaveResponseProto& from) { |
9665 | CopyFrom(from); |
9666 | return *this; |
9667 | } |
9668 | #if LANG_CXX11 |
9669 | MetaSaveResponseProto(MetaSaveResponseProto&& from) noexcept |
9670 | : MetaSaveResponseProto() { |
9671 | *this = ::std::move(from); |
9672 | } |
9673 | |
9674 | inline MetaSaveResponseProto& operator=(MetaSaveResponseProto&& from) noexcept { |
9675 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9676 | if (this != &from) InternalSwap(&from); |
9677 | } else { |
9678 | CopyFrom(from); |
9679 | } |
9680 | return *this; |
9681 | } |
9682 | #endif |
9683 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9684 | return _internal_metadata_.unknown_fields(); |
9685 | } |
9686 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9687 | return _internal_metadata_.mutable_unknown_fields(); |
9688 | } |
9689 | |
9690 | static const ::google::protobuf::Descriptor* descriptor(); |
9691 | static const MetaSaveResponseProto& default_instance(); |
9692 | |
9693 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9694 | static inline const MetaSaveResponseProto* internal_default_instance() { |
9695 | return reinterpret_cast<const MetaSaveResponseProto*>( |
9696 | &_MetaSaveResponseProto_default_instance_); |
9697 | } |
9698 | static constexpr int kIndexInFileMessages = |
9699 | 71; |
9700 | |
9701 | void Swap(MetaSaveResponseProto* other); |
9702 | friend void swap(MetaSaveResponseProto& a, MetaSaveResponseProto& b) { |
9703 | a.Swap(&b); |
9704 | } |
9705 | |
9706 | // implements Message ---------------------------------------------- |
9707 | |
9708 | inline MetaSaveResponseProto* New() const final { |
9709 | return CreateMaybeMessage<MetaSaveResponseProto>(NULL); |
9710 | } |
9711 | |
9712 | MetaSaveResponseProto* New(::google::protobuf::Arena* arena) const final { |
9713 | return CreateMaybeMessage<MetaSaveResponseProto>(arena); |
9714 | } |
9715 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9716 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9717 | void CopyFrom(const MetaSaveResponseProto& from); |
9718 | void MergeFrom(const MetaSaveResponseProto& from); |
9719 | void Clear() final; |
9720 | bool IsInitialized() const final; |
9721 | |
9722 | size_t ByteSizeLong() const final; |
9723 | bool MergePartialFromCodedStream( |
9724 | ::google::protobuf::io::CodedInputStream* input) final; |
9725 | void SerializeWithCachedSizes( |
9726 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9727 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9728 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9729 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9730 | |
9731 | private: |
9732 | void SharedCtor(); |
9733 | void SharedDtor(); |
9734 | void SetCachedSize(int size) const final; |
9735 | void InternalSwap(MetaSaveResponseProto* other); |
9736 | private: |
9737 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9738 | return NULL; |
9739 | } |
9740 | inline void* MaybeArenaPtr() const { |
9741 | return NULL; |
9742 | } |
9743 | public: |
9744 | |
9745 | ::google::protobuf::Metadata GetMetadata() const final; |
9746 | |
9747 | // nested types ---------------------------------------------------- |
9748 | |
9749 | // accessors ------------------------------------------------------- |
9750 | |
9751 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.MetaSaveResponseProto) |
9752 | private: |
9753 | |
9754 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9755 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9756 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9757 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9758 | }; |
9759 | // ------------------------------------------------------------------- |
9760 | |
9761 | class GetFileInfoRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFileInfoRequestProto) */ { |
9762 | public: |
9763 | GetFileInfoRequestProto(); |
9764 | virtual ~GetFileInfoRequestProto(); |
9765 | |
9766 | GetFileInfoRequestProto(const GetFileInfoRequestProto& from); |
9767 | |
9768 | inline GetFileInfoRequestProto& operator=(const GetFileInfoRequestProto& from) { |
9769 | CopyFrom(from); |
9770 | return *this; |
9771 | } |
9772 | #if LANG_CXX11 |
9773 | GetFileInfoRequestProto(GetFileInfoRequestProto&& from) noexcept |
9774 | : GetFileInfoRequestProto() { |
9775 | *this = ::std::move(from); |
9776 | } |
9777 | |
9778 | inline GetFileInfoRequestProto& operator=(GetFileInfoRequestProto&& from) noexcept { |
9779 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9780 | if (this != &from) InternalSwap(&from); |
9781 | } else { |
9782 | CopyFrom(from); |
9783 | } |
9784 | return *this; |
9785 | } |
9786 | #endif |
9787 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9788 | return _internal_metadata_.unknown_fields(); |
9789 | } |
9790 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9791 | return _internal_metadata_.mutable_unknown_fields(); |
9792 | } |
9793 | |
9794 | static const ::google::protobuf::Descriptor* descriptor(); |
9795 | static const GetFileInfoRequestProto& default_instance(); |
9796 | |
9797 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9798 | static inline const GetFileInfoRequestProto* internal_default_instance() { |
9799 | return reinterpret_cast<const GetFileInfoRequestProto*>( |
9800 | &_GetFileInfoRequestProto_default_instance_); |
9801 | } |
9802 | static constexpr int kIndexInFileMessages = |
9803 | 72; |
9804 | |
9805 | void Swap(GetFileInfoRequestProto* other); |
9806 | friend void swap(GetFileInfoRequestProto& a, GetFileInfoRequestProto& b) { |
9807 | a.Swap(&b); |
9808 | } |
9809 | |
9810 | // implements Message ---------------------------------------------- |
9811 | |
9812 | inline GetFileInfoRequestProto* New() const final { |
9813 | return CreateMaybeMessage<GetFileInfoRequestProto>(NULL); |
9814 | } |
9815 | |
9816 | GetFileInfoRequestProto* New(::google::protobuf::Arena* arena) const final { |
9817 | return CreateMaybeMessage<GetFileInfoRequestProto>(arena); |
9818 | } |
9819 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9820 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9821 | void CopyFrom(const GetFileInfoRequestProto& from); |
9822 | void MergeFrom(const GetFileInfoRequestProto& from); |
9823 | void Clear() final; |
9824 | bool IsInitialized() const final; |
9825 | |
9826 | size_t ByteSizeLong() const final; |
9827 | bool MergePartialFromCodedStream( |
9828 | ::google::protobuf::io::CodedInputStream* input) final; |
9829 | void SerializeWithCachedSizes( |
9830 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9831 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9832 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9833 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9834 | |
9835 | private: |
9836 | void SharedCtor(); |
9837 | void SharedDtor(); |
9838 | void SetCachedSize(int size) const final; |
9839 | void InternalSwap(GetFileInfoRequestProto* other); |
9840 | private: |
9841 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9842 | return NULL; |
9843 | } |
9844 | inline void* MaybeArenaPtr() const { |
9845 | return NULL; |
9846 | } |
9847 | public: |
9848 | |
9849 | ::google::protobuf::Metadata GetMetadata() const final; |
9850 | |
9851 | // nested types ---------------------------------------------------- |
9852 | |
9853 | // accessors ------------------------------------------------------- |
9854 | |
9855 | // required string src = 1; |
9856 | bool has_src() const; |
9857 | void clear_src(); |
9858 | static const int kSrcFieldNumber = 1; |
9859 | const ::std::string& src() const; |
9860 | void set_src(const ::std::string& value); |
9861 | #if LANG_CXX11 |
9862 | void set_src(::std::string&& value); |
9863 | #endif |
9864 | void set_src(const char* value); |
9865 | void set_src(const char* value, size_t size); |
9866 | ::std::string* mutable_src(); |
9867 | ::std::string* release_src(); |
9868 | void set_allocated_src(::std::string* src); |
9869 | |
9870 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFileInfoRequestProto) |
9871 | private: |
9872 | void set_has_src(); |
9873 | void clear_has_src(); |
9874 | |
9875 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9876 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9877 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9878 | ::google::protobuf::internal::ArenaStringPtr src_; |
9879 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9880 | }; |
9881 | // ------------------------------------------------------------------- |
9882 | |
9883 | class GetFileInfoResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFileInfoResponseProto) */ { |
9884 | public: |
9885 | GetFileInfoResponseProto(); |
9886 | virtual ~GetFileInfoResponseProto(); |
9887 | |
9888 | GetFileInfoResponseProto(const GetFileInfoResponseProto& from); |
9889 | |
9890 | inline GetFileInfoResponseProto& operator=(const GetFileInfoResponseProto& from) { |
9891 | CopyFrom(from); |
9892 | return *this; |
9893 | } |
9894 | #if LANG_CXX11 |
9895 | GetFileInfoResponseProto(GetFileInfoResponseProto&& from) noexcept |
9896 | : GetFileInfoResponseProto() { |
9897 | *this = ::std::move(from); |
9898 | } |
9899 | |
9900 | inline GetFileInfoResponseProto& operator=(GetFileInfoResponseProto&& from) noexcept { |
9901 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
9902 | if (this != &from) InternalSwap(&from); |
9903 | } else { |
9904 | CopyFrom(from); |
9905 | } |
9906 | return *this; |
9907 | } |
9908 | #endif |
9909 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
9910 | return _internal_metadata_.unknown_fields(); |
9911 | } |
9912 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
9913 | return _internal_metadata_.mutable_unknown_fields(); |
9914 | } |
9915 | |
9916 | static const ::google::protobuf::Descriptor* descriptor(); |
9917 | static const GetFileInfoResponseProto& default_instance(); |
9918 | |
9919 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
9920 | static inline const GetFileInfoResponseProto* internal_default_instance() { |
9921 | return reinterpret_cast<const GetFileInfoResponseProto*>( |
9922 | &_GetFileInfoResponseProto_default_instance_); |
9923 | } |
9924 | static constexpr int kIndexInFileMessages = |
9925 | 73; |
9926 | |
9927 | void Swap(GetFileInfoResponseProto* other); |
9928 | friend void swap(GetFileInfoResponseProto& a, GetFileInfoResponseProto& b) { |
9929 | a.Swap(&b); |
9930 | } |
9931 | |
9932 | // implements Message ---------------------------------------------- |
9933 | |
9934 | inline GetFileInfoResponseProto* New() const final { |
9935 | return CreateMaybeMessage<GetFileInfoResponseProto>(NULL); |
9936 | } |
9937 | |
9938 | GetFileInfoResponseProto* New(::google::protobuf::Arena* arena) const final { |
9939 | return CreateMaybeMessage<GetFileInfoResponseProto>(arena); |
9940 | } |
9941 | void CopyFrom(const ::google::protobuf::Message& from) final; |
9942 | void MergeFrom(const ::google::protobuf::Message& from) final; |
9943 | void CopyFrom(const GetFileInfoResponseProto& from); |
9944 | void MergeFrom(const GetFileInfoResponseProto& from); |
9945 | void Clear() final; |
9946 | bool IsInitialized() const final; |
9947 | |
9948 | size_t ByteSizeLong() const final; |
9949 | bool MergePartialFromCodedStream( |
9950 | ::google::protobuf::io::CodedInputStream* input) final; |
9951 | void SerializeWithCachedSizes( |
9952 | ::google::protobuf::io::CodedOutputStream* output) const final; |
9953 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
9954 | bool deterministic, ::google::protobuf::uint8* target) const final; |
9955 | int GetCachedSize() const final { return _cached_size_.Get(); } |
9956 | |
9957 | private: |
9958 | void SharedCtor(); |
9959 | void SharedDtor(); |
9960 | void SetCachedSize(int size) const final; |
9961 | void InternalSwap(GetFileInfoResponseProto* other); |
9962 | private: |
9963 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
9964 | return NULL; |
9965 | } |
9966 | inline void* MaybeArenaPtr() const { |
9967 | return NULL; |
9968 | } |
9969 | public: |
9970 | |
9971 | ::google::protobuf::Metadata GetMetadata() const final; |
9972 | |
9973 | // nested types ---------------------------------------------------- |
9974 | |
9975 | // accessors ------------------------------------------------------- |
9976 | |
9977 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
9978 | bool has_fs() const; |
9979 | void clear_fs(); |
9980 | static const int kFsFieldNumber = 1; |
9981 | private: |
9982 | const ::Hdfs::Internal::HdfsFileStatusProto& _internal_fs() const; |
9983 | public: |
9984 | const ::Hdfs::Internal::HdfsFileStatusProto& fs() const; |
9985 | ::Hdfs::Internal::HdfsFileStatusProto* release_fs(); |
9986 | ::Hdfs::Internal::HdfsFileStatusProto* mutable_fs(); |
9987 | void set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs); |
9988 | |
9989 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFileInfoResponseProto) |
9990 | private: |
9991 | void set_has_fs(); |
9992 | void clear_has_fs(); |
9993 | |
9994 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
9995 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
9996 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
9997 | ::Hdfs::Internal::HdfsFileStatusProto* fs_; |
9998 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
9999 | }; |
10000 | // ------------------------------------------------------------------- |
10001 | |
10002 | class IsFileClosedRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.IsFileClosedRequestProto) */ { |
10003 | public: |
10004 | IsFileClosedRequestProto(); |
10005 | virtual ~IsFileClosedRequestProto(); |
10006 | |
10007 | IsFileClosedRequestProto(const IsFileClosedRequestProto& from); |
10008 | |
10009 | inline IsFileClosedRequestProto& operator=(const IsFileClosedRequestProto& from) { |
10010 | CopyFrom(from); |
10011 | return *this; |
10012 | } |
10013 | #if LANG_CXX11 |
10014 | IsFileClosedRequestProto(IsFileClosedRequestProto&& from) noexcept |
10015 | : IsFileClosedRequestProto() { |
10016 | *this = ::std::move(from); |
10017 | } |
10018 | |
10019 | inline IsFileClosedRequestProto& operator=(IsFileClosedRequestProto&& from) noexcept { |
10020 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10021 | if (this != &from) InternalSwap(&from); |
10022 | } else { |
10023 | CopyFrom(from); |
10024 | } |
10025 | return *this; |
10026 | } |
10027 | #endif |
10028 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10029 | return _internal_metadata_.unknown_fields(); |
10030 | } |
10031 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10032 | return _internal_metadata_.mutable_unknown_fields(); |
10033 | } |
10034 | |
10035 | static const ::google::protobuf::Descriptor* descriptor(); |
10036 | static const IsFileClosedRequestProto& default_instance(); |
10037 | |
10038 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10039 | static inline const IsFileClosedRequestProto* internal_default_instance() { |
10040 | return reinterpret_cast<const IsFileClosedRequestProto*>( |
10041 | &_IsFileClosedRequestProto_default_instance_); |
10042 | } |
10043 | static constexpr int kIndexInFileMessages = |
10044 | 74; |
10045 | |
10046 | void Swap(IsFileClosedRequestProto* other); |
10047 | friend void swap(IsFileClosedRequestProto& a, IsFileClosedRequestProto& b) { |
10048 | a.Swap(&b); |
10049 | } |
10050 | |
10051 | // implements Message ---------------------------------------------- |
10052 | |
10053 | inline IsFileClosedRequestProto* New() const final { |
10054 | return CreateMaybeMessage<IsFileClosedRequestProto>(NULL); |
10055 | } |
10056 | |
10057 | IsFileClosedRequestProto* New(::google::protobuf::Arena* arena) const final { |
10058 | return CreateMaybeMessage<IsFileClosedRequestProto>(arena); |
10059 | } |
10060 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10061 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10062 | void CopyFrom(const IsFileClosedRequestProto& from); |
10063 | void MergeFrom(const IsFileClosedRequestProto& from); |
10064 | void Clear() final; |
10065 | bool IsInitialized() const final; |
10066 | |
10067 | size_t ByteSizeLong() const final; |
10068 | bool MergePartialFromCodedStream( |
10069 | ::google::protobuf::io::CodedInputStream* input) final; |
10070 | void SerializeWithCachedSizes( |
10071 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10072 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10073 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10074 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10075 | |
10076 | private: |
10077 | void SharedCtor(); |
10078 | void SharedDtor(); |
10079 | void SetCachedSize(int size) const final; |
10080 | void InternalSwap(IsFileClosedRequestProto* other); |
10081 | private: |
10082 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10083 | return NULL; |
10084 | } |
10085 | inline void* MaybeArenaPtr() const { |
10086 | return NULL; |
10087 | } |
10088 | public: |
10089 | |
10090 | ::google::protobuf::Metadata GetMetadata() const final; |
10091 | |
10092 | // nested types ---------------------------------------------------- |
10093 | |
10094 | // accessors ------------------------------------------------------- |
10095 | |
10096 | // required string src = 1; |
10097 | bool has_src() const; |
10098 | void clear_src(); |
10099 | static const int kSrcFieldNumber = 1; |
10100 | const ::std::string& src() const; |
10101 | void set_src(const ::std::string& value); |
10102 | #if LANG_CXX11 |
10103 | void set_src(::std::string&& value); |
10104 | #endif |
10105 | void set_src(const char* value); |
10106 | void set_src(const char* value, size_t size); |
10107 | ::std::string* mutable_src(); |
10108 | ::std::string* release_src(); |
10109 | void set_allocated_src(::std::string* src); |
10110 | |
10111 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.IsFileClosedRequestProto) |
10112 | private: |
10113 | void set_has_src(); |
10114 | void clear_has_src(); |
10115 | |
10116 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10117 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10118 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10119 | ::google::protobuf::internal::ArenaStringPtr src_; |
10120 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10121 | }; |
10122 | // ------------------------------------------------------------------- |
10123 | |
10124 | class IsFileClosedResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.IsFileClosedResponseProto) */ { |
10125 | public: |
10126 | IsFileClosedResponseProto(); |
10127 | virtual ~IsFileClosedResponseProto(); |
10128 | |
10129 | IsFileClosedResponseProto(const IsFileClosedResponseProto& from); |
10130 | |
10131 | inline IsFileClosedResponseProto& operator=(const IsFileClosedResponseProto& from) { |
10132 | CopyFrom(from); |
10133 | return *this; |
10134 | } |
10135 | #if LANG_CXX11 |
10136 | IsFileClosedResponseProto(IsFileClosedResponseProto&& from) noexcept |
10137 | : IsFileClosedResponseProto() { |
10138 | *this = ::std::move(from); |
10139 | } |
10140 | |
10141 | inline IsFileClosedResponseProto& operator=(IsFileClosedResponseProto&& from) noexcept { |
10142 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10143 | if (this != &from) InternalSwap(&from); |
10144 | } else { |
10145 | CopyFrom(from); |
10146 | } |
10147 | return *this; |
10148 | } |
10149 | #endif |
10150 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10151 | return _internal_metadata_.unknown_fields(); |
10152 | } |
10153 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10154 | return _internal_metadata_.mutable_unknown_fields(); |
10155 | } |
10156 | |
10157 | static const ::google::protobuf::Descriptor* descriptor(); |
10158 | static const IsFileClosedResponseProto& default_instance(); |
10159 | |
10160 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10161 | static inline const IsFileClosedResponseProto* internal_default_instance() { |
10162 | return reinterpret_cast<const IsFileClosedResponseProto*>( |
10163 | &_IsFileClosedResponseProto_default_instance_); |
10164 | } |
10165 | static constexpr int kIndexInFileMessages = |
10166 | 75; |
10167 | |
10168 | void Swap(IsFileClosedResponseProto* other); |
10169 | friend void swap(IsFileClosedResponseProto& a, IsFileClosedResponseProto& b) { |
10170 | a.Swap(&b); |
10171 | } |
10172 | |
10173 | // implements Message ---------------------------------------------- |
10174 | |
10175 | inline IsFileClosedResponseProto* New() const final { |
10176 | return CreateMaybeMessage<IsFileClosedResponseProto>(NULL); |
10177 | } |
10178 | |
10179 | IsFileClosedResponseProto* New(::google::protobuf::Arena* arena) const final { |
10180 | return CreateMaybeMessage<IsFileClosedResponseProto>(arena); |
10181 | } |
10182 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10183 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10184 | void CopyFrom(const IsFileClosedResponseProto& from); |
10185 | void MergeFrom(const IsFileClosedResponseProto& from); |
10186 | void Clear() final; |
10187 | bool IsInitialized() const final; |
10188 | |
10189 | size_t ByteSizeLong() const final; |
10190 | bool MergePartialFromCodedStream( |
10191 | ::google::protobuf::io::CodedInputStream* input) final; |
10192 | void SerializeWithCachedSizes( |
10193 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10194 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10195 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10196 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10197 | |
10198 | private: |
10199 | void SharedCtor(); |
10200 | void SharedDtor(); |
10201 | void SetCachedSize(int size) const final; |
10202 | void InternalSwap(IsFileClosedResponseProto* other); |
10203 | private: |
10204 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10205 | return NULL; |
10206 | } |
10207 | inline void* MaybeArenaPtr() const { |
10208 | return NULL; |
10209 | } |
10210 | public: |
10211 | |
10212 | ::google::protobuf::Metadata GetMetadata() const final; |
10213 | |
10214 | // nested types ---------------------------------------------------- |
10215 | |
10216 | // accessors ------------------------------------------------------- |
10217 | |
10218 | // required bool result = 1; |
10219 | bool has_result() const; |
10220 | void clear_result(); |
10221 | static const int kResultFieldNumber = 1; |
10222 | bool result() const; |
10223 | void set_result(bool value); |
10224 | |
10225 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.IsFileClosedResponseProto) |
10226 | private: |
10227 | void set_has_result(); |
10228 | void clear_has_result(); |
10229 | |
10230 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10231 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10232 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10233 | bool result_; |
10234 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10235 | }; |
10236 | // ------------------------------------------------------------------- |
10237 | |
10238 | class CacheDirectiveInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CacheDirectiveInfoProto) */ { |
10239 | public: |
10240 | CacheDirectiveInfoProto(); |
10241 | virtual ~CacheDirectiveInfoProto(); |
10242 | |
10243 | CacheDirectiveInfoProto(const CacheDirectiveInfoProto& from); |
10244 | |
10245 | inline CacheDirectiveInfoProto& operator=(const CacheDirectiveInfoProto& from) { |
10246 | CopyFrom(from); |
10247 | return *this; |
10248 | } |
10249 | #if LANG_CXX11 |
10250 | CacheDirectiveInfoProto(CacheDirectiveInfoProto&& from) noexcept |
10251 | : CacheDirectiveInfoProto() { |
10252 | *this = ::std::move(from); |
10253 | } |
10254 | |
10255 | inline CacheDirectiveInfoProto& operator=(CacheDirectiveInfoProto&& from) noexcept { |
10256 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10257 | if (this != &from) InternalSwap(&from); |
10258 | } else { |
10259 | CopyFrom(from); |
10260 | } |
10261 | return *this; |
10262 | } |
10263 | #endif |
10264 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10265 | return _internal_metadata_.unknown_fields(); |
10266 | } |
10267 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10268 | return _internal_metadata_.mutable_unknown_fields(); |
10269 | } |
10270 | |
10271 | static const ::google::protobuf::Descriptor* descriptor(); |
10272 | static const CacheDirectiveInfoProto& default_instance(); |
10273 | |
10274 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10275 | static inline const CacheDirectiveInfoProto* internal_default_instance() { |
10276 | return reinterpret_cast<const CacheDirectiveInfoProto*>( |
10277 | &_CacheDirectiveInfoProto_default_instance_); |
10278 | } |
10279 | static constexpr int kIndexInFileMessages = |
10280 | 76; |
10281 | |
10282 | void Swap(CacheDirectiveInfoProto* other); |
10283 | friend void swap(CacheDirectiveInfoProto& a, CacheDirectiveInfoProto& b) { |
10284 | a.Swap(&b); |
10285 | } |
10286 | |
10287 | // implements Message ---------------------------------------------- |
10288 | |
10289 | inline CacheDirectiveInfoProto* New() const final { |
10290 | return CreateMaybeMessage<CacheDirectiveInfoProto>(NULL); |
10291 | } |
10292 | |
10293 | CacheDirectiveInfoProto* New(::google::protobuf::Arena* arena) const final { |
10294 | return CreateMaybeMessage<CacheDirectiveInfoProto>(arena); |
10295 | } |
10296 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10297 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10298 | void CopyFrom(const CacheDirectiveInfoProto& from); |
10299 | void MergeFrom(const CacheDirectiveInfoProto& from); |
10300 | void Clear() final; |
10301 | bool IsInitialized() const final; |
10302 | |
10303 | size_t ByteSizeLong() const final; |
10304 | bool MergePartialFromCodedStream( |
10305 | ::google::protobuf::io::CodedInputStream* input) final; |
10306 | void SerializeWithCachedSizes( |
10307 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10308 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10309 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10310 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10311 | |
10312 | private: |
10313 | void SharedCtor(); |
10314 | void SharedDtor(); |
10315 | void SetCachedSize(int size) const final; |
10316 | void InternalSwap(CacheDirectiveInfoProto* other); |
10317 | private: |
10318 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10319 | return NULL; |
10320 | } |
10321 | inline void* MaybeArenaPtr() const { |
10322 | return NULL; |
10323 | } |
10324 | public: |
10325 | |
10326 | ::google::protobuf::Metadata GetMetadata() const final; |
10327 | |
10328 | // nested types ---------------------------------------------------- |
10329 | |
10330 | // accessors ------------------------------------------------------- |
10331 | |
10332 | // optional string path = 2; |
10333 | bool has_path() const; |
10334 | void clear_path(); |
10335 | static const int kPathFieldNumber = 2; |
10336 | const ::std::string& path() const; |
10337 | void set_path(const ::std::string& value); |
10338 | #if LANG_CXX11 |
10339 | void set_path(::std::string&& value); |
10340 | #endif |
10341 | void set_path(const char* value); |
10342 | void set_path(const char* value, size_t size); |
10343 | ::std::string* mutable_path(); |
10344 | ::std::string* release_path(); |
10345 | void set_allocated_path(::std::string* path); |
10346 | |
10347 | // optional string pool = 4; |
10348 | bool has_pool() const; |
10349 | void clear_pool(); |
10350 | static const int kPoolFieldNumber = 4; |
10351 | const ::std::string& pool() const; |
10352 | void set_pool(const ::std::string& value); |
10353 | #if LANG_CXX11 |
10354 | void set_pool(::std::string&& value); |
10355 | #endif |
10356 | void set_pool(const char* value); |
10357 | void set_pool(const char* value, size_t size); |
10358 | ::std::string* mutable_pool(); |
10359 | ::std::string* release_pool(); |
10360 | void set_allocated_pool(::std::string* pool); |
10361 | |
10362 | // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5; |
10363 | bool has_expiration() const; |
10364 | void clear_expiration(); |
10365 | static const int kExpirationFieldNumber = 5; |
10366 | private: |
10367 | const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto& _internal_expiration() const; |
10368 | public: |
10369 | const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto& expiration() const; |
10370 | ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* release_expiration(); |
10371 | ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* mutable_expiration(); |
10372 | void set_allocated_expiration(::Hdfs::Internal::CacheDirectiveInfoExpirationProto* expiration); |
10373 | |
10374 | // optional int64 id = 1; |
10375 | bool has_id() const; |
10376 | void clear_id(); |
10377 | static const int kIdFieldNumber = 1; |
10378 | ::google::protobuf::int64 id() const; |
10379 | void set_id(::google::protobuf::int64 value); |
10380 | |
10381 | // optional uint32 replication = 3; |
10382 | bool has_replication() const; |
10383 | void clear_replication(); |
10384 | static const int kReplicationFieldNumber = 3; |
10385 | ::google::protobuf::uint32 replication() const; |
10386 | void set_replication(::google::protobuf::uint32 value); |
10387 | |
10388 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CacheDirectiveInfoProto) |
10389 | private: |
10390 | void set_has_id(); |
10391 | void clear_has_id(); |
10392 | void set_has_path(); |
10393 | void clear_has_path(); |
10394 | void set_has_replication(); |
10395 | void clear_has_replication(); |
10396 | void set_has_pool(); |
10397 | void clear_has_pool(); |
10398 | void set_has_expiration(); |
10399 | void clear_has_expiration(); |
10400 | |
10401 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10402 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10403 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10404 | ::google::protobuf::internal::ArenaStringPtr path_; |
10405 | ::google::protobuf::internal::ArenaStringPtr pool_; |
10406 | ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* expiration_; |
10407 | ::google::protobuf::int64 id_; |
10408 | ::google::protobuf::uint32 replication_; |
10409 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10410 | }; |
10411 | // ------------------------------------------------------------------- |
10412 | |
10413 | class CacheDirectiveInfoExpirationProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CacheDirectiveInfoExpirationProto) */ { |
10414 | public: |
10415 | CacheDirectiveInfoExpirationProto(); |
10416 | virtual ~CacheDirectiveInfoExpirationProto(); |
10417 | |
10418 | CacheDirectiveInfoExpirationProto(const CacheDirectiveInfoExpirationProto& from); |
10419 | |
10420 | inline CacheDirectiveInfoExpirationProto& operator=(const CacheDirectiveInfoExpirationProto& from) { |
10421 | CopyFrom(from); |
10422 | return *this; |
10423 | } |
10424 | #if LANG_CXX11 |
10425 | CacheDirectiveInfoExpirationProto(CacheDirectiveInfoExpirationProto&& from) noexcept |
10426 | : CacheDirectiveInfoExpirationProto() { |
10427 | *this = ::std::move(from); |
10428 | } |
10429 | |
10430 | inline CacheDirectiveInfoExpirationProto& operator=(CacheDirectiveInfoExpirationProto&& from) noexcept { |
10431 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10432 | if (this != &from) InternalSwap(&from); |
10433 | } else { |
10434 | CopyFrom(from); |
10435 | } |
10436 | return *this; |
10437 | } |
10438 | #endif |
10439 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10440 | return _internal_metadata_.unknown_fields(); |
10441 | } |
10442 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10443 | return _internal_metadata_.mutable_unknown_fields(); |
10444 | } |
10445 | |
10446 | static const ::google::protobuf::Descriptor* descriptor(); |
10447 | static const CacheDirectiveInfoExpirationProto& default_instance(); |
10448 | |
10449 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10450 | static inline const CacheDirectiveInfoExpirationProto* internal_default_instance() { |
10451 | return reinterpret_cast<const CacheDirectiveInfoExpirationProto*>( |
10452 | &_CacheDirectiveInfoExpirationProto_default_instance_); |
10453 | } |
10454 | static constexpr int kIndexInFileMessages = |
10455 | 77; |
10456 | |
10457 | void Swap(CacheDirectiveInfoExpirationProto* other); |
10458 | friend void swap(CacheDirectiveInfoExpirationProto& a, CacheDirectiveInfoExpirationProto& b) { |
10459 | a.Swap(&b); |
10460 | } |
10461 | |
10462 | // implements Message ---------------------------------------------- |
10463 | |
10464 | inline CacheDirectiveInfoExpirationProto* New() const final { |
10465 | return CreateMaybeMessage<CacheDirectiveInfoExpirationProto>(NULL); |
10466 | } |
10467 | |
10468 | CacheDirectiveInfoExpirationProto* New(::google::protobuf::Arena* arena) const final { |
10469 | return CreateMaybeMessage<CacheDirectiveInfoExpirationProto>(arena); |
10470 | } |
10471 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10472 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10473 | void CopyFrom(const CacheDirectiveInfoExpirationProto& from); |
10474 | void MergeFrom(const CacheDirectiveInfoExpirationProto& from); |
10475 | void Clear() final; |
10476 | bool IsInitialized() const final; |
10477 | |
10478 | size_t ByteSizeLong() const final; |
10479 | bool MergePartialFromCodedStream( |
10480 | ::google::protobuf::io::CodedInputStream* input) final; |
10481 | void SerializeWithCachedSizes( |
10482 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10483 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10484 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10485 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10486 | |
10487 | private: |
10488 | void SharedCtor(); |
10489 | void SharedDtor(); |
10490 | void SetCachedSize(int size) const final; |
10491 | void InternalSwap(CacheDirectiveInfoExpirationProto* other); |
10492 | private: |
10493 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10494 | return NULL; |
10495 | } |
10496 | inline void* MaybeArenaPtr() const { |
10497 | return NULL; |
10498 | } |
10499 | public: |
10500 | |
10501 | ::google::protobuf::Metadata GetMetadata() const final; |
10502 | |
10503 | // nested types ---------------------------------------------------- |
10504 | |
10505 | // accessors ------------------------------------------------------- |
10506 | |
10507 | // required int64 millis = 1; |
10508 | bool has_millis() const; |
10509 | void clear_millis(); |
10510 | static const int kMillisFieldNumber = 1; |
10511 | ::google::protobuf::int64 millis() const; |
10512 | void set_millis(::google::protobuf::int64 value); |
10513 | |
10514 | // required bool isRelative = 2; |
10515 | bool has_isrelative() const; |
10516 | void clear_isrelative(); |
10517 | static const int kIsRelativeFieldNumber = 2; |
10518 | bool isrelative() const; |
10519 | void set_isrelative(bool value); |
10520 | |
10521 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CacheDirectiveInfoExpirationProto) |
10522 | private: |
10523 | void set_has_millis(); |
10524 | void clear_has_millis(); |
10525 | void set_has_isrelative(); |
10526 | void clear_has_isrelative(); |
10527 | |
10528 | // helper for ByteSizeLong() |
10529 | size_t RequiredFieldsByteSizeFallback() const; |
10530 | |
10531 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10532 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10533 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10534 | ::google::protobuf::int64 millis_; |
10535 | bool isrelative_; |
10536 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10537 | }; |
10538 | // ------------------------------------------------------------------- |
10539 | |
10540 | class CacheDirectiveStatsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CacheDirectiveStatsProto) */ { |
10541 | public: |
10542 | CacheDirectiveStatsProto(); |
10543 | virtual ~CacheDirectiveStatsProto(); |
10544 | |
10545 | CacheDirectiveStatsProto(const CacheDirectiveStatsProto& from); |
10546 | |
10547 | inline CacheDirectiveStatsProto& operator=(const CacheDirectiveStatsProto& from) { |
10548 | CopyFrom(from); |
10549 | return *this; |
10550 | } |
10551 | #if LANG_CXX11 |
10552 | CacheDirectiveStatsProto(CacheDirectiveStatsProto&& from) noexcept |
10553 | : CacheDirectiveStatsProto() { |
10554 | *this = ::std::move(from); |
10555 | } |
10556 | |
10557 | inline CacheDirectiveStatsProto& operator=(CacheDirectiveStatsProto&& from) noexcept { |
10558 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10559 | if (this != &from) InternalSwap(&from); |
10560 | } else { |
10561 | CopyFrom(from); |
10562 | } |
10563 | return *this; |
10564 | } |
10565 | #endif |
10566 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10567 | return _internal_metadata_.unknown_fields(); |
10568 | } |
10569 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10570 | return _internal_metadata_.mutable_unknown_fields(); |
10571 | } |
10572 | |
10573 | static const ::google::protobuf::Descriptor* descriptor(); |
10574 | static const CacheDirectiveStatsProto& default_instance(); |
10575 | |
10576 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10577 | static inline const CacheDirectiveStatsProto* internal_default_instance() { |
10578 | return reinterpret_cast<const CacheDirectiveStatsProto*>( |
10579 | &_CacheDirectiveStatsProto_default_instance_); |
10580 | } |
10581 | static constexpr int kIndexInFileMessages = |
10582 | 78; |
10583 | |
10584 | void Swap(CacheDirectiveStatsProto* other); |
10585 | friend void swap(CacheDirectiveStatsProto& a, CacheDirectiveStatsProto& b) { |
10586 | a.Swap(&b); |
10587 | } |
10588 | |
10589 | // implements Message ---------------------------------------------- |
10590 | |
10591 | inline CacheDirectiveStatsProto* New() const final { |
10592 | return CreateMaybeMessage<CacheDirectiveStatsProto>(NULL); |
10593 | } |
10594 | |
10595 | CacheDirectiveStatsProto* New(::google::protobuf::Arena* arena) const final { |
10596 | return CreateMaybeMessage<CacheDirectiveStatsProto>(arena); |
10597 | } |
10598 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10599 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10600 | void CopyFrom(const CacheDirectiveStatsProto& from); |
10601 | void MergeFrom(const CacheDirectiveStatsProto& from); |
10602 | void Clear() final; |
10603 | bool IsInitialized() const final; |
10604 | |
10605 | size_t ByteSizeLong() const final; |
10606 | bool MergePartialFromCodedStream( |
10607 | ::google::protobuf::io::CodedInputStream* input) final; |
10608 | void SerializeWithCachedSizes( |
10609 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10610 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10611 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10612 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10613 | |
10614 | private: |
10615 | void SharedCtor(); |
10616 | void SharedDtor(); |
10617 | void SetCachedSize(int size) const final; |
10618 | void InternalSwap(CacheDirectiveStatsProto* other); |
10619 | private: |
10620 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10621 | return NULL; |
10622 | } |
10623 | inline void* MaybeArenaPtr() const { |
10624 | return NULL; |
10625 | } |
10626 | public: |
10627 | |
10628 | ::google::protobuf::Metadata GetMetadata() const final; |
10629 | |
10630 | // nested types ---------------------------------------------------- |
10631 | |
10632 | // accessors ------------------------------------------------------- |
10633 | |
10634 | // required int64 bytesNeeded = 1; |
10635 | bool has_bytesneeded() const; |
10636 | void clear_bytesneeded(); |
10637 | static const int kBytesNeededFieldNumber = 1; |
10638 | ::google::protobuf::int64 bytesneeded() const; |
10639 | void set_bytesneeded(::google::protobuf::int64 value); |
10640 | |
10641 | // required int64 bytesCached = 2; |
10642 | bool has_bytescached() const; |
10643 | void clear_bytescached(); |
10644 | static const int kBytesCachedFieldNumber = 2; |
10645 | ::google::protobuf::int64 bytescached() const; |
10646 | void set_bytescached(::google::protobuf::int64 value); |
10647 | |
10648 | // required int64 filesNeeded = 3; |
10649 | bool has_filesneeded() const; |
10650 | void clear_filesneeded(); |
10651 | static const int kFilesNeededFieldNumber = 3; |
10652 | ::google::protobuf::int64 filesneeded() const; |
10653 | void set_filesneeded(::google::protobuf::int64 value); |
10654 | |
10655 | // required int64 filesCached = 4; |
10656 | bool has_filescached() const; |
10657 | void clear_filescached(); |
10658 | static const int kFilesCachedFieldNumber = 4; |
10659 | ::google::protobuf::int64 filescached() const; |
10660 | void set_filescached(::google::protobuf::int64 value); |
10661 | |
10662 | // required bool hasExpired = 5; |
10663 | bool has_hasexpired() const; |
10664 | void clear_hasexpired(); |
10665 | static const int kHasExpiredFieldNumber = 5; |
10666 | bool hasexpired() const; |
10667 | void set_hasexpired(bool value); |
10668 | |
10669 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CacheDirectiveStatsProto) |
10670 | private: |
10671 | void set_has_bytesneeded(); |
10672 | void clear_has_bytesneeded(); |
10673 | void set_has_bytescached(); |
10674 | void clear_has_bytescached(); |
10675 | void set_has_filesneeded(); |
10676 | void clear_has_filesneeded(); |
10677 | void set_has_filescached(); |
10678 | void clear_has_filescached(); |
10679 | void set_has_hasexpired(); |
10680 | void clear_has_hasexpired(); |
10681 | |
10682 | // helper for ByteSizeLong() |
10683 | size_t RequiredFieldsByteSizeFallback() const; |
10684 | |
10685 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10686 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10687 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10688 | ::google::protobuf::int64 bytesneeded_; |
10689 | ::google::protobuf::int64 bytescached_; |
10690 | ::google::protobuf::int64 filesneeded_; |
10691 | ::google::protobuf::int64 filescached_; |
10692 | bool hasexpired_; |
10693 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10694 | }; |
10695 | // ------------------------------------------------------------------- |
10696 | |
10697 | class AddCacheDirectiveRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddCacheDirectiveRequestProto) */ { |
10698 | public: |
10699 | AddCacheDirectiveRequestProto(); |
10700 | virtual ~AddCacheDirectiveRequestProto(); |
10701 | |
10702 | AddCacheDirectiveRequestProto(const AddCacheDirectiveRequestProto& from); |
10703 | |
10704 | inline AddCacheDirectiveRequestProto& operator=(const AddCacheDirectiveRequestProto& from) { |
10705 | CopyFrom(from); |
10706 | return *this; |
10707 | } |
10708 | #if LANG_CXX11 |
10709 | AddCacheDirectiveRequestProto(AddCacheDirectiveRequestProto&& from) noexcept |
10710 | : AddCacheDirectiveRequestProto() { |
10711 | *this = ::std::move(from); |
10712 | } |
10713 | |
10714 | inline AddCacheDirectiveRequestProto& operator=(AddCacheDirectiveRequestProto&& from) noexcept { |
10715 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10716 | if (this != &from) InternalSwap(&from); |
10717 | } else { |
10718 | CopyFrom(from); |
10719 | } |
10720 | return *this; |
10721 | } |
10722 | #endif |
10723 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10724 | return _internal_metadata_.unknown_fields(); |
10725 | } |
10726 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10727 | return _internal_metadata_.mutable_unknown_fields(); |
10728 | } |
10729 | |
10730 | static const ::google::protobuf::Descriptor* descriptor(); |
10731 | static const AddCacheDirectiveRequestProto& default_instance(); |
10732 | |
10733 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10734 | static inline const AddCacheDirectiveRequestProto* internal_default_instance() { |
10735 | return reinterpret_cast<const AddCacheDirectiveRequestProto*>( |
10736 | &_AddCacheDirectiveRequestProto_default_instance_); |
10737 | } |
10738 | static constexpr int kIndexInFileMessages = |
10739 | 79; |
10740 | |
10741 | void Swap(AddCacheDirectiveRequestProto* other); |
10742 | friend void swap(AddCacheDirectiveRequestProto& a, AddCacheDirectiveRequestProto& b) { |
10743 | a.Swap(&b); |
10744 | } |
10745 | |
10746 | // implements Message ---------------------------------------------- |
10747 | |
10748 | inline AddCacheDirectiveRequestProto* New() const final { |
10749 | return CreateMaybeMessage<AddCacheDirectiveRequestProto>(NULL); |
10750 | } |
10751 | |
10752 | AddCacheDirectiveRequestProto* New(::google::protobuf::Arena* arena) const final { |
10753 | return CreateMaybeMessage<AddCacheDirectiveRequestProto>(arena); |
10754 | } |
10755 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10756 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10757 | void CopyFrom(const AddCacheDirectiveRequestProto& from); |
10758 | void MergeFrom(const AddCacheDirectiveRequestProto& from); |
10759 | void Clear() final; |
10760 | bool IsInitialized() const final; |
10761 | |
10762 | size_t ByteSizeLong() const final; |
10763 | bool MergePartialFromCodedStream( |
10764 | ::google::protobuf::io::CodedInputStream* input) final; |
10765 | void SerializeWithCachedSizes( |
10766 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10767 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10768 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10769 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10770 | |
10771 | private: |
10772 | void SharedCtor(); |
10773 | void SharedDtor(); |
10774 | void SetCachedSize(int size) const final; |
10775 | void InternalSwap(AddCacheDirectiveRequestProto* other); |
10776 | private: |
10777 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10778 | return NULL; |
10779 | } |
10780 | inline void* MaybeArenaPtr() const { |
10781 | return NULL; |
10782 | } |
10783 | public: |
10784 | |
10785 | ::google::protobuf::Metadata GetMetadata() const final; |
10786 | |
10787 | // nested types ---------------------------------------------------- |
10788 | |
10789 | // accessors ------------------------------------------------------- |
10790 | |
10791 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
10792 | bool has_info() const; |
10793 | void clear_info(); |
10794 | static const int kInfoFieldNumber = 1; |
10795 | private: |
10796 | const ::Hdfs::Internal::CacheDirectiveInfoProto& _internal_info() const; |
10797 | public: |
10798 | const ::Hdfs::Internal::CacheDirectiveInfoProto& info() const; |
10799 | ::Hdfs::Internal::CacheDirectiveInfoProto* release_info(); |
10800 | ::Hdfs::Internal::CacheDirectiveInfoProto* mutable_info(); |
10801 | void set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info); |
10802 | |
10803 | // optional uint32 cacheFlags = 2; |
10804 | bool has_cacheflags() const; |
10805 | void clear_cacheflags(); |
10806 | static const int kCacheFlagsFieldNumber = 2; |
10807 | ::google::protobuf::uint32 cacheflags() const; |
10808 | void set_cacheflags(::google::protobuf::uint32 value); |
10809 | |
10810 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddCacheDirectiveRequestProto) |
10811 | private: |
10812 | void set_has_info(); |
10813 | void clear_has_info(); |
10814 | void set_has_cacheflags(); |
10815 | void clear_has_cacheflags(); |
10816 | |
10817 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10818 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10819 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10820 | ::Hdfs::Internal::CacheDirectiveInfoProto* info_; |
10821 | ::google::protobuf::uint32 cacheflags_; |
10822 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10823 | }; |
10824 | // ------------------------------------------------------------------- |
10825 | |
10826 | class AddCacheDirectiveResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddCacheDirectiveResponseProto) */ { |
10827 | public: |
10828 | AddCacheDirectiveResponseProto(); |
10829 | virtual ~AddCacheDirectiveResponseProto(); |
10830 | |
10831 | AddCacheDirectiveResponseProto(const AddCacheDirectiveResponseProto& from); |
10832 | |
10833 | inline AddCacheDirectiveResponseProto& operator=(const AddCacheDirectiveResponseProto& from) { |
10834 | CopyFrom(from); |
10835 | return *this; |
10836 | } |
10837 | #if LANG_CXX11 |
10838 | AddCacheDirectiveResponseProto(AddCacheDirectiveResponseProto&& from) noexcept |
10839 | : AddCacheDirectiveResponseProto() { |
10840 | *this = ::std::move(from); |
10841 | } |
10842 | |
10843 | inline AddCacheDirectiveResponseProto& operator=(AddCacheDirectiveResponseProto&& from) noexcept { |
10844 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10845 | if (this != &from) InternalSwap(&from); |
10846 | } else { |
10847 | CopyFrom(from); |
10848 | } |
10849 | return *this; |
10850 | } |
10851 | #endif |
10852 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10853 | return _internal_metadata_.unknown_fields(); |
10854 | } |
10855 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10856 | return _internal_metadata_.mutable_unknown_fields(); |
10857 | } |
10858 | |
10859 | static const ::google::protobuf::Descriptor* descriptor(); |
10860 | static const AddCacheDirectiveResponseProto& default_instance(); |
10861 | |
10862 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10863 | static inline const AddCacheDirectiveResponseProto* internal_default_instance() { |
10864 | return reinterpret_cast<const AddCacheDirectiveResponseProto*>( |
10865 | &_AddCacheDirectiveResponseProto_default_instance_); |
10866 | } |
10867 | static constexpr int kIndexInFileMessages = |
10868 | 80; |
10869 | |
10870 | void Swap(AddCacheDirectiveResponseProto* other); |
10871 | friend void swap(AddCacheDirectiveResponseProto& a, AddCacheDirectiveResponseProto& b) { |
10872 | a.Swap(&b); |
10873 | } |
10874 | |
10875 | // implements Message ---------------------------------------------- |
10876 | |
10877 | inline AddCacheDirectiveResponseProto* New() const final { |
10878 | return CreateMaybeMessage<AddCacheDirectiveResponseProto>(NULL); |
10879 | } |
10880 | |
10881 | AddCacheDirectiveResponseProto* New(::google::protobuf::Arena* arena) const final { |
10882 | return CreateMaybeMessage<AddCacheDirectiveResponseProto>(arena); |
10883 | } |
10884 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10885 | void MergeFrom(const ::google::protobuf::Message& from) final; |
10886 | void CopyFrom(const AddCacheDirectiveResponseProto& from); |
10887 | void MergeFrom(const AddCacheDirectiveResponseProto& from); |
10888 | void Clear() final; |
10889 | bool IsInitialized() const final; |
10890 | |
10891 | size_t ByteSizeLong() const final; |
10892 | bool MergePartialFromCodedStream( |
10893 | ::google::protobuf::io::CodedInputStream* input) final; |
10894 | void SerializeWithCachedSizes( |
10895 | ::google::protobuf::io::CodedOutputStream* output) const final; |
10896 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
10897 | bool deterministic, ::google::protobuf::uint8* target) const final; |
10898 | int GetCachedSize() const final { return _cached_size_.Get(); } |
10899 | |
10900 | private: |
10901 | void SharedCtor(); |
10902 | void SharedDtor(); |
10903 | void SetCachedSize(int size) const final; |
10904 | void InternalSwap(AddCacheDirectiveResponseProto* other); |
10905 | private: |
10906 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
10907 | return NULL; |
10908 | } |
10909 | inline void* MaybeArenaPtr() const { |
10910 | return NULL; |
10911 | } |
10912 | public: |
10913 | |
10914 | ::google::protobuf::Metadata GetMetadata() const final; |
10915 | |
10916 | // nested types ---------------------------------------------------- |
10917 | |
10918 | // accessors ------------------------------------------------------- |
10919 | |
10920 | // required int64 id = 1; |
10921 | bool has_id() const; |
10922 | void clear_id(); |
10923 | static const int kIdFieldNumber = 1; |
10924 | ::google::protobuf::int64 id() const; |
10925 | void set_id(::google::protobuf::int64 value); |
10926 | |
10927 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddCacheDirectiveResponseProto) |
10928 | private: |
10929 | void set_has_id(); |
10930 | void clear_has_id(); |
10931 | |
10932 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
10933 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
10934 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
10935 | ::google::protobuf::int64 id_; |
10936 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
10937 | }; |
10938 | // ------------------------------------------------------------------- |
10939 | |
10940 | class ModifyCacheDirectiveRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ModifyCacheDirectiveRequestProto) */ { |
10941 | public: |
10942 | ModifyCacheDirectiveRequestProto(); |
10943 | virtual ~ModifyCacheDirectiveRequestProto(); |
10944 | |
10945 | ModifyCacheDirectiveRequestProto(const ModifyCacheDirectiveRequestProto& from); |
10946 | |
10947 | inline ModifyCacheDirectiveRequestProto& operator=(const ModifyCacheDirectiveRequestProto& from) { |
10948 | CopyFrom(from); |
10949 | return *this; |
10950 | } |
10951 | #if LANG_CXX11 |
10952 | ModifyCacheDirectiveRequestProto(ModifyCacheDirectiveRequestProto&& from) noexcept |
10953 | : ModifyCacheDirectiveRequestProto() { |
10954 | *this = ::std::move(from); |
10955 | } |
10956 | |
10957 | inline ModifyCacheDirectiveRequestProto& operator=(ModifyCacheDirectiveRequestProto&& from) noexcept { |
10958 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
10959 | if (this != &from) InternalSwap(&from); |
10960 | } else { |
10961 | CopyFrom(from); |
10962 | } |
10963 | return *this; |
10964 | } |
10965 | #endif |
10966 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
10967 | return _internal_metadata_.unknown_fields(); |
10968 | } |
10969 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
10970 | return _internal_metadata_.mutable_unknown_fields(); |
10971 | } |
10972 | |
10973 | static const ::google::protobuf::Descriptor* descriptor(); |
10974 | static const ModifyCacheDirectiveRequestProto& default_instance(); |
10975 | |
10976 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
10977 | static inline const ModifyCacheDirectiveRequestProto* internal_default_instance() { |
10978 | return reinterpret_cast<const ModifyCacheDirectiveRequestProto*>( |
10979 | &_ModifyCacheDirectiveRequestProto_default_instance_); |
10980 | } |
10981 | static constexpr int kIndexInFileMessages = |
10982 | 81; |
10983 | |
10984 | void Swap(ModifyCacheDirectiveRequestProto* other); |
10985 | friend void swap(ModifyCacheDirectiveRequestProto& a, ModifyCacheDirectiveRequestProto& b) { |
10986 | a.Swap(&b); |
10987 | } |
10988 | |
10989 | // implements Message ---------------------------------------------- |
10990 | |
10991 | inline ModifyCacheDirectiveRequestProto* New() const final { |
10992 | return CreateMaybeMessage<ModifyCacheDirectiveRequestProto>(NULL); |
10993 | } |
10994 | |
10995 | ModifyCacheDirectiveRequestProto* New(::google::protobuf::Arena* arena) const final { |
10996 | return CreateMaybeMessage<ModifyCacheDirectiveRequestProto>(arena); |
10997 | } |
10998 | void CopyFrom(const ::google::protobuf::Message& from) final; |
10999 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11000 | void CopyFrom(const ModifyCacheDirectiveRequestProto& from); |
11001 | void MergeFrom(const ModifyCacheDirectiveRequestProto& from); |
11002 | void Clear() final; |
11003 | bool IsInitialized() const final; |
11004 | |
11005 | size_t ByteSizeLong() const final; |
11006 | bool MergePartialFromCodedStream( |
11007 | ::google::protobuf::io::CodedInputStream* input) final; |
11008 | void SerializeWithCachedSizes( |
11009 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11010 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11011 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11012 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11013 | |
11014 | private: |
11015 | void SharedCtor(); |
11016 | void SharedDtor(); |
11017 | void SetCachedSize(int size) const final; |
11018 | void InternalSwap(ModifyCacheDirectiveRequestProto* other); |
11019 | private: |
11020 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11021 | return NULL; |
11022 | } |
11023 | inline void* MaybeArenaPtr() const { |
11024 | return NULL; |
11025 | } |
11026 | public: |
11027 | |
11028 | ::google::protobuf::Metadata GetMetadata() const final; |
11029 | |
11030 | // nested types ---------------------------------------------------- |
11031 | |
11032 | // accessors ------------------------------------------------------- |
11033 | |
11034 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
11035 | bool has_info() const; |
11036 | void clear_info(); |
11037 | static const int kInfoFieldNumber = 1; |
11038 | private: |
11039 | const ::Hdfs::Internal::CacheDirectiveInfoProto& _internal_info() const; |
11040 | public: |
11041 | const ::Hdfs::Internal::CacheDirectiveInfoProto& info() const; |
11042 | ::Hdfs::Internal::CacheDirectiveInfoProto* release_info(); |
11043 | ::Hdfs::Internal::CacheDirectiveInfoProto* mutable_info(); |
11044 | void set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info); |
11045 | |
11046 | // optional uint32 cacheFlags = 2; |
11047 | bool has_cacheflags() const; |
11048 | void clear_cacheflags(); |
11049 | static const int kCacheFlagsFieldNumber = 2; |
11050 | ::google::protobuf::uint32 cacheflags() const; |
11051 | void set_cacheflags(::google::protobuf::uint32 value); |
11052 | |
11053 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ModifyCacheDirectiveRequestProto) |
11054 | private: |
11055 | void set_has_info(); |
11056 | void clear_has_info(); |
11057 | void set_has_cacheflags(); |
11058 | void clear_has_cacheflags(); |
11059 | |
11060 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11061 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11062 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11063 | ::Hdfs::Internal::CacheDirectiveInfoProto* info_; |
11064 | ::google::protobuf::uint32 cacheflags_; |
11065 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11066 | }; |
11067 | // ------------------------------------------------------------------- |
11068 | |
11069 | class ModifyCacheDirectiveResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ModifyCacheDirectiveResponseProto) */ { |
11070 | public: |
11071 | ModifyCacheDirectiveResponseProto(); |
11072 | virtual ~ModifyCacheDirectiveResponseProto(); |
11073 | |
11074 | ModifyCacheDirectiveResponseProto(const ModifyCacheDirectiveResponseProto& from); |
11075 | |
11076 | inline ModifyCacheDirectiveResponseProto& operator=(const ModifyCacheDirectiveResponseProto& from) { |
11077 | CopyFrom(from); |
11078 | return *this; |
11079 | } |
11080 | #if LANG_CXX11 |
11081 | ModifyCacheDirectiveResponseProto(ModifyCacheDirectiveResponseProto&& from) noexcept |
11082 | : ModifyCacheDirectiveResponseProto() { |
11083 | *this = ::std::move(from); |
11084 | } |
11085 | |
11086 | inline ModifyCacheDirectiveResponseProto& operator=(ModifyCacheDirectiveResponseProto&& from) noexcept { |
11087 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11088 | if (this != &from) InternalSwap(&from); |
11089 | } else { |
11090 | CopyFrom(from); |
11091 | } |
11092 | return *this; |
11093 | } |
11094 | #endif |
11095 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11096 | return _internal_metadata_.unknown_fields(); |
11097 | } |
11098 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11099 | return _internal_metadata_.mutable_unknown_fields(); |
11100 | } |
11101 | |
11102 | static const ::google::protobuf::Descriptor* descriptor(); |
11103 | static const ModifyCacheDirectiveResponseProto& default_instance(); |
11104 | |
11105 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11106 | static inline const ModifyCacheDirectiveResponseProto* internal_default_instance() { |
11107 | return reinterpret_cast<const ModifyCacheDirectiveResponseProto*>( |
11108 | &_ModifyCacheDirectiveResponseProto_default_instance_); |
11109 | } |
11110 | static constexpr int kIndexInFileMessages = |
11111 | 82; |
11112 | |
11113 | void Swap(ModifyCacheDirectiveResponseProto* other); |
11114 | friend void swap(ModifyCacheDirectiveResponseProto& a, ModifyCacheDirectiveResponseProto& b) { |
11115 | a.Swap(&b); |
11116 | } |
11117 | |
11118 | // implements Message ---------------------------------------------- |
11119 | |
11120 | inline ModifyCacheDirectiveResponseProto* New() const final { |
11121 | return CreateMaybeMessage<ModifyCacheDirectiveResponseProto>(NULL); |
11122 | } |
11123 | |
11124 | ModifyCacheDirectiveResponseProto* New(::google::protobuf::Arena* arena) const final { |
11125 | return CreateMaybeMessage<ModifyCacheDirectiveResponseProto>(arena); |
11126 | } |
11127 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11128 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11129 | void CopyFrom(const ModifyCacheDirectiveResponseProto& from); |
11130 | void MergeFrom(const ModifyCacheDirectiveResponseProto& from); |
11131 | void Clear() final; |
11132 | bool IsInitialized() const final; |
11133 | |
11134 | size_t ByteSizeLong() const final; |
11135 | bool MergePartialFromCodedStream( |
11136 | ::google::protobuf::io::CodedInputStream* input) final; |
11137 | void SerializeWithCachedSizes( |
11138 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11139 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11140 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11141 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11142 | |
11143 | private: |
11144 | void SharedCtor(); |
11145 | void SharedDtor(); |
11146 | void SetCachedSize(int size) const final; |
11147 | void InternalSwap(ModifyCacheDirectiveResponseProto* other); |
11148 | private: |
11149 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11150 | return NULL; |
11151 | } |
11152 | inline void* MaybeArenaPtr() const { |
11153 | return NULL; |
11154 | } |
11155 | public: |
11156 | |
11157 | ::google::protobuf::Metadata GetMetadata() const final; |
11158 | |
11159 | // nested types ---------------------------------------------------- |
11160 | |
11161 | // accessors ------------------------------------------------------- |
11162 | |
11163 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ModifyCacheDirectiveResponseProto) |
11164 | private: |
11165 | |
11166 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11167 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11168 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11169 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11170 | }; |
11171 | // ------------------------------------------------------------------- |
11172 | |
11173 | class RemoveCacheDirectiveRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RemoveCacheDirectiveRequestProto) */ { |
11174 | public: |
11175 | RemoveCacheDirectiveRequestProto(); |
11176 | virtual ~RemoveCacheDirectiveRequestProto(); |
11177 | |
11178 | RemoveCacheDirectiveRequestProto(const RemoveCacheDirectiveRequestProto& from); |
11179 | |
11180 | inline RemoveCacheDirectiveRequestProto& operator=(const RemoveCacheDirectiveRequestProto& from) { |
11181 | CopyFrom(from); |
11182 | return *this; |
11183 | } |
11184 | #if LANG_CXX11 |
11185 | RemoveCacheDirectiveRequestProto(RemoveCacheDirectiveRequestProto&& from) noexcept |
11186 | : RemoveCacheDirectiveRequestProto() { |
11187 | *this = ::std::move(from); |
11188 | } |
11189 | |
11190 | inline RemoveCacheDirectiveRequestProto& operator=(RemoveCacheDirectiveRequestProto&& from) noexcept { |
11191 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11192 | if (this != &from) InternalSwap(&from); |
11193 | } else { |
11194 | CopyFrom(from); |
11195 | } |
11196 | return *this; |
11197 | } |
11198 | #endif |
11199 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11200 | return _internal_metadata_.unknown_fields(); |
11201 | } |
11202 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11203 | return _internal_metadata_.mutable_unknown_fields(); |
11204 | } |
11205 | |
11206 | static const ::google::protobuf::Descriptor* descriptor(); |
11207 | static const RemoveCacheDirectiveRequestProto& default_instance(); |
11208 | |
11209 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11210 | static inline const RemoveCacheDirectiveRequestProto* internal_default_instance() { |
11211 | return reinterpret_cast<const RemoveCacheDirectiveRequestProto*>( |
11212 | &_RemoveCacheDirectiveRequestProto_default_instance_); |
11213 | } |
11214 | static constexpr int kIndexInFileMessages = |
11215 | 83; |
11216 | |
11217 | void Swap(RemoveCacheDirectiveRequestProto* other); |
11218 | friend void swap(RemoveCacheDirectiveRequestProto& a, RemoveCacheDirectiveRequestProto& b) { |
11219 | a.Swap(&b); |
11220 | } |
11221 | |
11222 | // implements Message ---------------------------------------------- |
11223 | |
11224 | inline RemoveCacheDirectiveRequestProto* New() const final { |
11225 | return CreateMaybeMessage<RemoveCacheDirectiveRequestProto>(NULL); |
11226 | } |
11227 | |
11228 | RemoveCacheDirectiveRequestProto* New(::google::protobuf::Arena* arena) const final { |
11229 | return CreateMaybeMessage<RemoveCacheDirectiveRequestProto>(arena); |
11230 | } |
11231 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11232 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11233 | void CopyFrom(const RemoveCacheDirectiveRequestProto& from); |
11234 | void MergeFrom(const RemoveCacheDirectiveRequestProto& from); |
11235 | void Clear() final; |
11236 | bool IsInitialized() const final; |
11237 | |
11238 | size_t ByteSizeLong() const final; |
11239 | bool MergePartialFromCodedStream( |
11240 | ::google::protobuf::io::CodedInputStream* input) final; |
11241 | void SerializeWithCachedSizes( |
11242 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11243 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11244 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11245 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11246 | |
11247 | private: |
11248 | void SharedCtor(); |
11249 | void SharedDtor(); |
11250 | void SetCachedSize(int size) const final; |
11251 | void InternalSwap(RemoveCacheDirectiveRequestProto* other); |
11252 | private: |
11253 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11254 | return NULL; |
11255 | } |
11256 | inline void* MaybeArenaPtr() const { |
11257 | return NULL; |
11258 | } |
11259 | public: |
11260 | |
11261 | ::google::protobuf::Metadata GetMetadata() const final; |
11262 | |
11263 | // nested types ---------------------------------------------------- |
11264 | |
11265 | // accessors ------------------------------------------------------- |
11266 | |
11267 | // required int64 id = 1; |
11268 | bool has_id() const; |
11269 | void clear_id(); |
11270 | static const int kIdFieldNumber = 1; |
11271 | ::google::protobuf::int64 id() const; |
11272 | void set_id(::google::protobuf::int64 value); |
11273 | |
11274 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RemoveCacheDirectiveRequestProto) |
11275 | private: |
11276 | void set_has_id(); |
11277 | void clear_has_id(); |
11278 | |
11279 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11280 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11281 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11282 | ::google::protobuf::int64 id_; |
11283 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11284 | }; |
11285 | // ------------------------------------------------------------------- |
11286 | |
11287 | class RemoveCacheDirectiveResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RemoveCacheDirectiveResponseProto) */ { |
11288 | public: |
11289 | RemoveCacheDirectiveResponseProto(); |
11290 | virtual ~RemoveCacheDirectiveResponseProto(); |
11291 | |
11292 | RemoveCacheDirectiveResponseProto(const RemoveCacheDirectiveResponseProto& from); |
11293 | |
11294 | inline RemoveCacheDirectiveResponseProto& operator=(const RemoveCacheDirectiveResponseProto& from) { |
11295 | CopyFrom(from); |
11296 | return *this; |
11297 | } |
11298 | #if LANG_CXX11 |
11299 | RemoveCacheDirectiveResponseProto(RemoveCacheDirectiveResponseProto&& from) noexcept |
11300 | : RemoveCacheDirectiveResponseProto() { |
11301 | *this = ::std::move(from); |
11302 | } |
11303 | |
11304 | inline RemoveCacheDirectiveResponseProto& operator=(RemoveCacheDirectiveResponseProto&& from) noexcept { |
11305 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11306 | if (this != &from) InternalSwap(&from); |
11307 | } else { |
11308 | CopyFrom(from); |
11309 | } |
11310 | return *this; |
11311 | } |
11312 | #endif |
11313 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11314 | return _internal_metadata_.unknown_fields(); |
11315 | } |
11316 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11317 | return _internal_metadata_.mutable_unknown_fields(); |
11318 | } |
11319 | |
11320 | static const ::google::protobuf::Descriptor* descriptor(); |
11321 | static const RemoveCacheDirectiveResponseProto& default_instance(); |
11322 | |
11323 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11324 | static inline const RemoveCacheDirectiveResponseProto* internal_default_instance() { |
11325 | return reinterpret_cast<const RemoveCacheDirectiveResponseProto*>( |
11326 | &_RemoveCacheDirectiveResponseProto_default_instance_); |
11327 | } |
11328 | static constexpr int kIndexInFileMessages = |
11329 | 84; |
11330 | |
11331 | void Swap(RemoveCacheDirectiveResponseProto* other); |
11332 | friend void swap(RemoveCacheDirectiveResponseProto& a, RemoveCacheDirectiveResponseProto& b) { |
11333 | a.Swap(&b); |
11334 | } |
11335 | |
11336 | // implements Message ---------------------------------------------- |
11337 | |
11338 | inline RemoveCacheDirectiveResponseProto* New() const final { |
11339 | return CreateMaybeMessage<RemoveCacheDirectiveResponseProto>(NULL); |
11340 | } |
11341 | |
11342 | RemoveCacheDirectiveResponseProto* New(::google::protobuf::Arena* arena) const final { |
11343 | return CreateMaybeMessage<RemoveCacheDirectiveResponseProto>(arena); |
11344 | } |
11345 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11346 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11347 | void CopyFrom(const RemoveCacheDirectiveResponseProto& from); |
11348 | void MergeFrom(const RemoveCacheDirectiveResponseProto& from); |
11349 | void Clear() final; |
11350 | bool IsInitialized() const final; |
11351 | |
11352 | size_t ByteSizeLong() const final; |
11353 | bool MergePartialFromCodedStream( |
11354 | ::google::protobuf::io::CodedInputStream* input) final; |
11355 | void SerializeWithCachedSizes( |
11356 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11357 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11358 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11359 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11360 | |
11361 | private: |
11362 | void SharedCtor(); |
11363 | void SharedDtor(); |
11364 | void SetCachedSize(int size) const final; |
11365 | void InternalSwap(RemoveCacheDirectiveResponseProto* other); |
11366 | private: |
11367 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11368 | return NULL; |
11369 | } |
11370 | inline void* MaybeArenaPtr() const { |
11371 | return NULL; |
11372 | } |
11373 | public: |
11374 | |
11375 | ::google::protobuf::Metadata GetMetadata() const final; |
11376 | |
11377 | // nested types ---------------------------------------------------- |
11378 | |
11379 | // accessors ------------------------------------------------------- |
11380 | |
11381 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RemoveCacheDirectiveResponseProto) |
11382 | private: |
11383 | |
11384 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11385 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11386 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11387 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11388 | }; |
11389 | // ------------------------------------------------------------------- |
11390 | |
11391 | class ListCacheDirectivesRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCacheDirectivesRequestProto) */ { |
11392 | public: |
11393 | ListCacheDirectivesRequestProto(); |
11394 | virtual ~ListCacheDirectivesRequestProto(); |
11395 | |
11396 | ListCacheDirectivesRequestProto(const ListCacheDirectivesRequestProto& from); |
11397 | |
11398 | inline ListCacheDirectivesRequestProto& operator=(const ListCacheDirectivesRequestProto& from) { |
11399 | CopyFrom(from); |
11400 | return *this; |
11401 | } |
11402 | #if LANG_CXX11 |
11403 | ListCacheDirectivesRequestProto(ListCacheDirectivesRequestProto&& from) noexcept |
11404 | : ListCacheDirectivesRequestProto() { |
11405 | *this = ::std::move(from); |
11406 | } |
11407 | |
11408 | inline ListCacheDirectivesRequestProto& operator=(ListCacheDirectivesRequestProto&& from) noexcept { |
11409 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11410 | if (this != &from) InternalSwap(&from); |
11411 | } else { |
11412 | CopyFrom(from); |
11413 | } |
11414 | return *this; |
11415 | } |
11416 | #endif |
11417 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11418 | return _internal_metadata_.unknown_fields(); |
11419 | } |
11420 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11421 | return _internal_metadata_.mutable_unknown_fields(); |
11422 | } |
11423 | |
11424 | static const ::google::protobuf::Descriptor* descriptor(); |
11425 | static const ListCacheDirectivesRequestProto& default_instance(); |
11426 | |
11427 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11428 | static inline const ListCacheDirectivesRequestProto* internal_default_instance() { |
11429 | return reinterpret_cast<const ListCacheDirectivesRequestProto*>( |
11430 | &_ListCacheDirectivesRequestProto_default_instance_); |
11431 | } |
11432 | static constexpr int kIndexInFileMessages = |
11433 | 85; |
11434 | |
11435 | void Swap(ListCacheDirectivesRequestProto* other); |
11436 | friend void swap(ListCacheDirectivesRequestProto& a, ListCacheDirectivesRequestProto& b) { |
11437 | a.Swap(&b); |
11438 | } |
11439 | |
11440 | // implements Message ---------------------------------------------- |
11441 | |
11442 | inline ListCacheDirectivesRequestProto* New() const final { |
11443 | return CreateMaybeMessage<ListCacheDirectivesRequestProto>(NULL); |
11444 | } |
11445 | |
11446 | ListCacheDirectivesRequestProto* New(::google::protobuf::Arena* arena) const final { |
11447 | return CreateMaybeMessage<ListCacheDirectivesRequestProto>(arena); |
11448 | } |
11449 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11450 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11451 | void CopyFrom(const ListCacheDirectivesRequestProto& from); |
11452 | void MergeFrom(const ListCacheDirectivesRequestProto& from); |
11453 | void Clear() final; |
11454 | bool IsInitialized() const final; |
11455 | |
11456 | size_t ByteSizeLong() const final; |
11457 | bool MergePartialFromCodedStream( |
11458 | ::google::protobuf::io::CodedInputStream* input) final; |
11459 | void SerializeWithCachedSizes( |
11460 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11461 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11462 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11463 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11464 | |
11465 | private: |
11466 | void SharedCtor(); |
11467 | void SharedDtor(); |
11468 | void SetCachedSize(int size) const final; |
11469 | void InternalSwap(ListCacheDirectivesRequestProto* other); |
11470 | private: |
11471 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11472 | return NULL; |
11473 | } |
11474 | inline void* MaybeArenaPtr() const { |
11475 | return NULL; |
11476 | } |
11477 | public: |
11478 | |
11479 | ::google::protobuf::Metadata GetMetadata() const final; |
11480 | |
11481 | // nested types ---------------------------------------------------- |
11482 | |
11483 | // accessors ------------------------------------------------------- |
11484 | |
11485 | // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2; |
11486 | bool has_filter() const; |
11487 | void clear_filter(); |
11488 | static const int kFilterFieldNumber = 2; |
11489 | private: |
11490 | const ::Hdfs::Internal::CacheDirectiveInfoProto& _internal_filter() const; |
11491 | public: |
11492 | const ::Hdfs::Internal::CacheDirectiveInfoProto& filter() const; |
11493 | ::Hdfs::Internal::CacheDirectiveInfoProto* release_filter(); |
11494 | ::Hdfs::Internal::CacheDirectiveInfoProto* mutable_filter(); |
11495 | void set_allocated_filter(::Hdfs::Internal::CacheDirectiveInfoProto* filter); |
11496 | |
11497 | // required int64 prevId = 1; |
11498 | bool has_previd() const; |
11499 | void clear_previd(); |
11500 | static const int kPrevIdFieldNumber = 1; |
11501 | ::google::protobuf::int64 previd() const; |
11502 | void set_previd(::google::protobuf::int64 value); |
11503 | |
11504 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCacheDirectivesRequestProto) |
11505 | private: |
11506 | void set_has_previd(); |
11507 | void clear_has_previd(); |
11508 | void set_has_filter(); |
11509 | void clear_has_filter(); |
11510 | |
11511 | // helper for ByteSizeLong() |
11512 | size_t RequiredFieldsByteSizeFallback() const; |
11513 | |
11514 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11515 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11516 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11517 | ::Hdfs::Internal::CacheDirectiveInfoProto* filter_; |
11518 | ::google::protobuf::int64 previd_; |
11519 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11520 | }; |
11521 | // ------------------------------------------------------------------- |
11522 | |
11523 | class CacheDirectiveEntryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CacheDirectiveEntryProto) */ { |
11524 | public: |
11525 | CacheDirectiveEntryProto(); |
11526 | virtual ~CacheDirectiveEntryProto(); |
11527 | |
11528 | CacheDirectiveEntryProto(const CacheDirectiveEntryProto& from); |
11529 | |
11530 | inline CacheDirectiveEntryProto& operator=(const CacheDirectiveEntryProto& from) { |
11531 | CopyFrom(from); |
11532 | return *this; |
11533 | } |
11534 | #if LANG_CXX11 |
11535 | CacheDirectiveEntryProto(CacheDirectiveEntryProto&& from) noexcept |
11536 | : CacheDirectiveEntryProto() { |
11537 | *this = ::std::move(from); |
11538 | } |
11539 | |
11540 | inline CacheDirectiveEntryProto& operator=(CacheDirectiveEntryProto&& from) noexcept { |
11541 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11542 | if (this != &from) InternalSwap(&from); |
11543 | } else { |
11544 | CopyFrom(from); |
11545 | } |
11546 | return *this; |
11547 | } |
11548 | #endif |
11549 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11550 | return _internal_metadata_.unknown_fields(); |
11551 | } |
11552 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11553 | return _internal_metadata_.mutable_unknown_fields(); |
11554 | } |
11555 | |
11556 | static const ::google::protobuf::Descriptor* descriptor(); |
11557 | static const CacheDirectiveEntryProto& default_instance(); |
11558 | |
11559 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11560 | static inline const CacheDirectiveEntryProto* internal_default_instance() { |
11561 | return reinterpret_cast<const CacheDirectiveEntryProto*>( |
11562 | &_CacheDirectiveEntryProto_default_instance_); |
11563 | } |
11564 | static constexpr int kIndexInFileMessages = |
11565 | 86; |
11566 | |
11567 | void Swap(CacheDirectiveEntryProto* other); |
11568 | friend void swap(CacheDirectiveEntryProto& a, CacheDirectiveEntryProto& b) { |
11569 | a.Swap(&b); |
11570 | } |
11571 | |
11572 | // implements Message ---------------------------------------------- |
11573 | |
11574 | inline CacheDirectiveEntryProto* New() const final { |
11575 | return CreateMaybeMessage<CacheDirectiveEntryProto>(NULL); |
11576 | } |
11577 | |
11578 | CacheDirectiveEntryProto* New(::google::protobuf::Arena* arena) const final { |
11579 | return CreateMaybeMessage<CacheDirectiveEntryProto>(arena); |
11580 | } |
11581 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11582 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11583 | void CopyFrom(const CacheDirectiveEntryProto& from); |
11584 | void MergeFrom(const CacheDirectiveEntryProto& from); |
11585 | void Clear() final; |
11586 | bool IsInitialized() const final; |
11587 | |
11588 | size_t ByteSizeLong() const final; |
11589 | bool MergePartialFromCodedStream( |
11590 | ::google::protobuf::io::CodedInputStream* input) final; |
11591 | void SerializeWithCachedSizes( |
11592 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11593 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11594 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11595 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11596 | |
11597 | private: |
11598 | void SharedCtor(); |
11599 | void SharedDtor(); |
11600 | void SetCachedSize(int size) const final; |
11601 | void InternalSwap(CacheDirectiveEntryProto* other); |
11602 | private: |
11603 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11604 | return NULL; |
11605 | } |
11606 | inline void* MaybeArenaPtr() const { |
11607 | return NULL; |
11608 | } |
11609 | public: |
11610 | |
11611 | ::google::protobuf::Metadata GetMetadata() const final; |
11612 | |
11613 | // nested types ---------------------------------------------------- |
11614 | |
11615 | // accessors ------------------------------------------------------- |
11616 | |
11617 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
11618 | bool has_info() const; |
11619 | void clear_info(); |
11620 | static const int kInfoFieldNumber = 1; |
11621 | private: |
11622 | const ::Hdfs::Internal::CacheDirectiveInfoProto& _internal_info() const; |
11623 | public: |
11624 | const ::Hdfs::Internal::CacheDirectiveInfoProto& info() const; |
11625 | ::Hdfs::Internal::CacheDirectiveInfoProto* release_info(); |
11626 | ::Hdfs::Internal::CacheDirectiveInfoProto* mutable_info(); |
11627 | void set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info); |
11628 | |
11629 | // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2; |
11630 | bool has_stats() const; |
11631 | void clear_stats(); |
11632 | static const int kStatsFieldNumber = 2; |
11633 | private: |
11634 | const ::Hdfs::Internal::CacheDirectiveStatsProto& _internal_stats() const; |
11635 | public: |
11636 | const ::Hdfs::Internal::CacheDirectiveStatsProto& stats() const; |
11637 | ::Hdfs::Internal::CacheDirectiveStatsProto* release_stats(); |
11638 | ::Hdfs::Internal::CacheDirectiveStatsProto* mutable_stats(); |
11639 | void set_allocated_stats(::Hdfs::Internal::CacheDirectiveStatsProto* stats); |
11640 | |
11641 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CacheDirectiveEntryProto) |
11642 | private: |
11643 | void set_has_info(); |
11644 | void clear_has_info(); |
11645 | void set_has_stats(); |
11646 | void clear_has_stats(); |
11647 | |
11648 | // helper for ByteSizeLong() |
11649 | size_t RequiredFieldsByteSizeFallback() const; |
11650 | |
11651 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11652 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11653 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11654 | ::Hdfs::Internal::CacheDirectiveInfoProto* info_; |
11655 | ::Hdfs::Internal::CacheDirectiveStatsProto* stats_; |
11656 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11657 | }; |
11658 | // ------------------------------------------------------------------- |
11659 | |
11660 | class ListCacheDirectivesResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCacheDirectivesResponseProto) */ { |
11661 | public: |
11662 | ListCacheDirectivesResponseProto(); |
11663 | virtual ~ListCacheDirectivesResponseProto(); |
11664 | |
11665 | ListCacheDirectivesResponseProto(const ListCacheDirectivesResponseProto& from); |
11666 | |
11667 | inline ListCacheDirectivesResponseProto& operator=(const ListCacheDirectivesResponseProto& from) { |
11668 | CopyFrom(from); |
11669 | return *this; |
11670 | } |
11671 | #if LANG_CXX11 |
11672 | ListCacheDirectivesResponseProto(ListCacheDirectivesResponseProto&& from) noexcept |
11673 | : ListCacheDirectivesResponseProto() { |
11674 | *this = ::std::move(from); |
11675 | } |
11676 | |
11677 | inline ListCacheDirectivesResponseProto& operator=(ListCacheDirectivesResponseProto&& from) noexcept { |
11678 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11679 | if (this != &from) InternalSwap(&from); |
11680 | } else { |
11681 | CopyFrom(from); |
11682 | } |
11683 | return *this; |
11684 | } |
11685 | #endif |
11686 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11687 | return _internal_metadata_.unknown_fields(); |
11688 | } |
11689 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11690 | return _internal_metadata_.mutable_unknown_fields(); |
11691 | } |
11692 | |
11693 | static const ::google::protobuf::Descriptor* descriptor(); |
11694 | static const ListCacheDirectivesResponseProto& default_instance(); |
11695 | |
11696 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11697 | static inline const ListCacheDirectivesResponseProto* internal_default_instance() { |
11698 | return reinterpret_cast<const ListCacheDirectivesResponseProto*>( |
11699 | &_ListCacheDirectivesResponseProto_default_instance_); |
11700 | } |
11701 | static constexpr int kIndexInFileMessages = |
11702 | 87; |
11703 | |
11704 | void Swap(ListCacheDirectivesResponseProto* other); |
11705 | friend void swap(ListCacheDirectivesResponseProto& a, ListCacheDirectivesResponseProto& b) { |
11706 | a.Swap(&b); |
11707 | } |
11708 | |
11709 | // implements Message ---------------------------------------------- |
11710 | |
11711 | inline ListCacheDirectivesResponseProto* New() const final { |
11712 | return CreateMaybeMessage<ListCacheDirectivesResponseProto>(NULL); |
11713 | } |
11714 | |
11715 | ListCacheDirectivesResponseProto* New(::google::protobuf::Arena* arena) const final { |
11716 | return CreateMaybeMessage<ListCacheDirectivesResponseProto>(arena); |
11717 | } |
11718 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11719 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11720 | void CopyFrom(const ListCacheDirectivesResponseProto& from); |
11721 | void MergeFrom(const ListCacheDirectivesResponseProto& from); |
11722 | void Clear() final; |
11723 | bool IsInitialized() const final; |
11724 | |
11725 | size_t ByteSizeLong() const final; |
11726 | bool MergePartialFromCodedStream( |
11727 | ::google::protobuf::io::CodedInputStream* input) final; |
11728 | void SerializeWithCachedSizes( |
11729 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11730 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11731 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11732 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11733 | |
11734 | private: |
11735 | void SharedCtor(); |
11736 | void SharedDtor(); |
11737 | void SetCachedSize(int size) const final; |
11738 | void InternalSwap(ListCacheDirectivesResponseProto* other); |
11739 | private: |
11740 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11741 | return NULL; |
11742 | } |
11743 | inline void* MaybeArenaPtr() const { |
11744 | return NULL; |
11745 | } |
11746 | public: |
11747 | |
11748 | ::google::protobuf::Metadata GetMetadata() const final; |
11749 | |
11750 | // nested types ---------------------------------------------------- |
11751 | |
11752 | // accessors ------------------------------------------------------- |
11753 | |
11754 | // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1; |
11755 | int elements_size() const; |
11756 | void clear_elements(); |
11757 | static const int kElementsFieldNumber = 1; |
11758 | ::Hdfs::Internal::CacheDirectiveEntryProto* mutable_elements(int index); |
11759 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CacheDirectiveEntryProto >* |
11760 | mutable_elements(); |
11761 | const ::Hdfs::Internal::CacheDirectiveEntryProto& elements(int index) const; |
11762 | ::Hdfs::Internal::CacheDirectiveEntryProto* add_elements(); |
11763 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CacheDirectiveEntryProto >& |
11764 | elements() const; |
11765 | |
11766 | // required bool hasMore = 2; |
11767 | bool has_hasmore() const; |
11768 | void clear_hasmore(); |
11769 | static const int kHasMoreFieldNumber = 2; |
11770 | bool hasmore() const; |
11771 | void set_hasmore(bool value); |
11772 | |
11773 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCacheDirectivesResponseProto) |
11774 | private: |
11775 | void set_has_hasmore(); |
11776 | void clear_has_hasmore(); |
11777 | |
11778 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11779 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11780 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11781 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CacheDirectiveEntryProto > elements_; |
11782 | bool hasmore_; |
11783 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11784 | }; |
11785 | // ------------------------------------------------------------------- |
11786 | |
11787 | class CachePoolInfoProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CachePoolInfoProto) */ { |
11788 | public: |
11789 | CachePoolInfoProto(); |
11790 | virtual ~CachePoolInfoProto(); |
11791 | |
11792 | CachePoolInfoProto(const CachePoolInfoProto& from); |
11793 | |
11794 | inline CachePoolInfoProto& operator=(const CachePoolInfoProto& from) { |
11795 | CopyFrom(from); |
11796 | return *this; |
11797 | } |
11798 | #if LANG_CXX11 |
11799 | CachePoolInfoProto(CachePoolInfoProto&& from) noexcept |
11800 | : CachePoolInfoProto() { |
11801 | *this = ::std::move(from); |
11802 | } |
11803 | |
11804 | inline CachePoolInfoProto& operator=(CachePoolInfoProto&& from) noexcept { |
11805 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11806 | if (this != &from) InternalSwap(&from); |
11807 | } else { |
11808 | CopyFrom(from); |
11809 | } |
11810 | return *this; |
11811 | } |
11812 | #endif |
11813 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
11814 | return _internal_metadata_.unknown_fields(); |
11815 | } |
11816 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
11817 | return _internal_metadata_.mutable_unknown_fields(); |
11818 | } |
11819 | |
11820 | static const ::google::protobuf::Descriptor* descriptor(); |
11821 | static const CachePoolInfoProto& default_instance(); |
11822 | |
11823 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
11824 | static inline const CachePoolInfoProto* internal_default_instance() { |
11825 | return reinterpret_cast<const CachePoolInfoProto*>( |
11826 | &_CachePoolInfoProto_default_instance_); |
11827 | } |
11828 | static constexpr int kIndexInFileMessages = |
11829 | 88; |
11830 | |
11831 | void Swap(CachePoolInfoProto* other); |
11832 | friend void swap(CachePoolInfoProto& a, CachePoolInfoProto& b) { |
11833 | a.Swap(&b); |
11834 | } |
11835 | |
11836 | // implements Message ---------------------------------------------- |
11837 | |
11838 | inline CachePoolInfoProto* New() const final { |
11839 | return CreateMaybeMessage<CachePoolInfoProto>(NULL); |
11840 | } |
11841 | |
11842 | CachePoolInfoProto* New(::google::protobuf::Arena* arena) const final { |
11843 | return CreateMaybeMessage<CachePoolInfoProto>(arena); |
11844 | } |
11845 | void CopyFrom(const ::google::protobuf::Message& from) final; |
11846 | void MergeFrom(const ::google::protobuf::Message& from) final; |
11847 | void CopyFrom(const CachePoolInfoProto& from); |
11848 | void MergeFrom(const CachePoolInfoProto& from); |
11849 | void Clear() final; |
11850 | bool IsInitialized() const final; |
11851 | |
11852 | size_t ByteSizeLong() const final; |
11853 | bool MergePartialFromCodedStream( |
11854 | ::google::protobuf::io::CodedInputStream* input) final; |
11855 | void SerializeWithCachedSizes( |
11856 | ::google::protobuf::io::CodedOutputStream* output) const final; |
11857 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
11858 | bool deterministic, ::google::protobuf::uint8* target) const final; |
11859 | int GetCachedSize() const final { return _cached_size_.Get(); } |
11860 | |
11861 | private: |
11862 | void SharedCtor(); |
11863 | void SharedDtor(); |
11864 | void SetCachedSize(int size) const final; |
11865 | void InternalSwap(CachePoolInfoProto* other); |
11866 | private: |
11867 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
11868 | return NULL; |
11869 | } |
11870 | inline void* MaybeArenaPtr() const { |
11871 | return NULL; |
11872 | } |
11873 | public: |
11874 | |
11875 | ::google::protobuf::Metadata GetMetadata() const final; |
11876 | |
11877 | // nested types ---------------------------------------------------- |
11878 | |
11879 | // accessors ------------------------------------------------------- |
11880 | |
11881 | // optional string poolName = 1; |
11882 | bool has_poolname() const; |
11883 | void clear_poolname(); |
11884 | static const int kPoolNameFieldNumber = 1; |
11885 | const ::std::string& poolname() const; |
11886 | void set_poolname(const ::std::string& value); |
11887 | #if LANG_CXX11 |
11888 | void set_poolname(::std::string&& value); |
11889 | #endif |
11890 | void set_poolname(const char* value); |
11891 | void set_poolname(const char* value, size_t size); |
11892 | ::std::string* mutable_poolname(); |
11893 | ::std::string* release_poolname(); |
11894 | void set_allocated_poolname(::std::string* poolname); |
11895 | |
11896 | // optional string ownerName = 2; |
11897 | bool has_ownername() const; |
11898 | void clear_ownername(); |
11899 | static const int kOwnerNameFieldNumber = 2; |
11900 | const ::std::string& ownername() const; |
11901 | void set_ownername(const ::std::string& value); |
11902 | #if LANG_CXX11 |
11903 | void set_ownername(::std::string&& value); |
11904 | #endif |
11905 | void set_ownername(const char* value); |
11906 | void set_ownername(const char* value, size_t size); |
11907 | ::std::string* mutable_ownername(); |
11908 | ::std::string* release_ownername(); |
11909 | void set_allocated_ownername(::std::string* ownername); |
11910 | |
11911 | // optional string groupName = 3; |
11912 | bool has_groupname() const; |
11913 | void clear_groupname(); |
11914 | static const int kGroupNameFieldNumber = 3; |
11915 | const ::std::string& groupname() const; |
11916 | void set_groupname(const ::std::string& value); |
11917 | #if LANG_CXX11 |
11918 | void set_groupname(::std::string&& value); |
11919 | #endif |
11920 | void set_groupname(const char* value); |
11921 | void set_groupname(const char* value, size_t size); |
11922 | ::std::string* mutable_groupname(); |
11923 | ::std::string* release_groupname(); |
11924 | void set_allocated_groupname(::std::string* groupname); |
11925 | |
11926 | // optional int64 limit = 5; |
11927 | bool has_limit() const; |
11928 | void clear_limit(); |
11929 | static const int kLimitFieldNumber = 5; |
11930 | ::google::protobuf::int64 limit() const; |
11931 | void set_limit(::google::protobuf::int64 value); |
11932 | |
11933 | // optional int64 maxRelativeExpiry = 6; |
11934 | bool has_maxrelativeexpiry() const; |
11935 | void clear_maxrelativeexpiry(); |
11936 | static const int kMaxRelativeExpiryFieldNumber = 6; |
11937 | ::google::protobuf::int64 maxrelativeexpiry() const; |
11938 | void set_maxrelativeexpiry(::google::protobuf::int64 value); |
11939 | |
11940 | // optional int32 mode = 4; |
11941 | bool has_mode() const; |
11942 | void clear_mode(); |
11943 | static const int kModeFieldNumber = 4; |
11944 | ::google::protobuf::int32 mode() const; |
11945 | void set_mode(::google::protobuf::int32 value); |
11946 | |
11947 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CachePoolInfoProto) |
11948 | private: |
11949 | void set_has_poolname(); |
11950 | void clear_has_poolname(); |
11951 | void set_has_ownername(); |
11952 | void clear_has_ownername(); |
11953 | void set_has_groupname(); |
11954 | void clear_has_groupname(); |
11955 | void set_has_mode(); |
11956 | void clear_has_mode(); |
11957 | void set_has_limit(); |
11958 | void clear_has_limit(); |
11959 | void set_has_maxrelativeexpiry(); |
11960 | void clear_has_maxrelativeexpiry(); |
11961 | |
11962 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
11963 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
11964 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
11965 | ::google::protobuf::internal::ArenaStringPtr poolname_; |
11966 | ::google::protobuf::internal::ArenaStringPtr ownername_; |
11967 | ::google::protobuf::internal::ArenaStringPtr groupname_; |
11968 | ::google::protobuf::int64 limit_; |
11969 | ::google::protobuf::int64 maxrelativeexpiry_; |
11970 | ::google::protobuf::int32 mode_; |
11971 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
11972 | }; |
11973 | // ------------------------------------------------------------------- |
11974 | |
11975 | class CachePoolStatsProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CachePoolStatsProto) */ { |
11976 | public: |
11977 | CachePoolStatsProto(); |
11978 | virtual ~CachePoolStatsProto(); |
11979 | |
11980 | CachePoolStatsProto(const CachePoolStatsProto& from); |
11981 | |
11982 | inline CachePoolStatsProto& operator=(const CachePoolStatsProto& from) { |
11983 | CopyFrom(from); |
11984 | return *this; |
11985 | } |
11986 | #if LANG_CXX11 |
11987 | CachePoolStatsProto(CachePoolStatsProto&& from) noexcept |
11988 | : CachePoolStatsProto() { |
11989 | *this = ::std::move(from); |
11990 | } |
11991 | |
11992 | inline CachePoolStatsProto& operator=(CachePoolStatsProto&& from) noexcept { |
11993 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
11994 | if (this != &from) InternalSwap(&from); |
11995 | } else { |
11996 | CopyFrom(from); |
11997 | } |
11998 | return *this; |
11999 | } |
12000 | #endif |
12001 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12002 | return _internal_metadata_.unknown_fields(); |
12003 | } |
12004 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12005 | return _internal_metadata_.mutable_unknown_fields(); |
12006 | } |
12007 | |
12008 | static const ::google::protobuf::Descriptor* descriptor(); |
12009 | static const CachePoolStatsProto& default_instance(); |
12010 | |
12011 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12012 | static inline const CachePoolStatsProto* internal_default_instance() { |
12013 | return reinterpret_cast<const CachePoolStatsProto*>( |
12014 | &_CachePoolStatsProto_default_instance_); |
12015 | } |
12016 | static constexpr int kIndexInFileMessages = |
12017 | 89; |
12018 | |
12019 | void Swap(CachePoolStatsProto* other); |
12020 | friend void swap(CachePoolStatsProto& a, CachePoolStatsProto& b) { |
12021 | a.Swap(&b); |
12022 | } |
12023 | |
12024 | // implements Message ---------------------------------------------- |
12025 | |
12026 | inline CachePoolStatsProto* New() const final { |
12027 | return CreateMaybeMessage<CachePoolStatsProto>(NULL); |
12028 | } |
12029 | |
12030 | CachePoolStatsProto* New(::google::protobuf::Arena* arena) const final { |
12031 | return CreateMaybeMessage<CachePoolStatsProto>(arena); |
12032 | } |
12033 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12034 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12035 | void CopyFrom(const CachePoolStatsProto& from); |
12036 | void MergeFrom(const CachePoolStatsProto& from); |
12037 | void Clear() final; |
12038 | bool IsInitialized() const final; |
12039 | |
12040 | size_t ByteSizeLong() const final; |
12041 | bool MergePartialFromCodedStream( |
12042 | ::google::protobuf::io::CodedInputStream* input) final; |
12043 | void SerializeWithCachedSizes( |
12044 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12045 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12046 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12047 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12048 | |
12049 | private: |
12050 | void SharedCtor(); |
12051 | void SharedDtor(); |
12052 | void SetCachedSize(int size) const final; |
12053 | void InternalSwap(CachePoolStatsProto* other); |
12054 | private: |
12055 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12056 | return NULL; |
12057 | } |
12058 | inline void* MaybeArenaPtr() const { |
12059 | return NULL; |
12060 | } |
12061 | public: |
12062 | |
12063 | ::google::protobuf::Metadata GetMetadata() const final; |
12064 | |
12065 | // nested types ---------------------------------------------------- |
12066 | |
12067 | // accessors ------------------------------------------------------- |
12068 | |
12069 | // required int64 bytesNeeded = 1; |
12070 | bool has_bytesneeded() const; |
12071 | void clear_bytesneeded(); |
12072 | static const int kBytesNeededFieldNumber = 1; |
12073 | ::google::protobuf::int64 bytesneeded() const; |
12074 | void set_bytesneeded(::google::protobuf::int64 value); |
12075 | |
12076 | // required int64 bytesCached = 2; |
12077 | bool has_bytescached() const; |
12078 | void clear_bytescached(); |
12079 | static const int kBytesCachedFieldNumber = 2; |
12080 | ::google::protobuf::int64 bytescached() const; |
12081 | void set_bytescached(::google::protobuf::int64 value); |
12082 | |
12083 | // required int64 bytesOverlimit = 3; |
12084 | bool has_bytesoverlimit() const; |
12085 | void clear_bytesoverlimit(); |
12086 | static const int kBytesOverlimitFieldNumber = 3; |
12087 | ::google::protobuf::int64 bytesoverlimit() const; |
12088 | void set_bytesoverlimit(::google::protobuf::int64 value); |
12089 | |
12090 | // required int64 filesNeeded = 4; |
12091 | bool has_filesneeded() const; |
12092 | void clear_filesneeded(); |
12093 | static const int kFilesNeededFieldNumber = 4; |
12094 | ::google::protobuf::int64 filesneeded() const; |
12095 | void set_filesneeded(::google::protobuf::int64 value); |
12096 | |
12097 | // required int64 filesCached = 5; |
12098 | bool has_filescached() const; |
12099 | void clear_filescached(); |
12100 | static const int kFilesCachedFieldNumber = 5; |
12101 | ::google::protobuf::int64 filescached() const; |
12102 | void set_filescached(::google::protobuf::int64 value); |
12103 | |
12104 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CachePoolStatsProto) |
12105 | private: |
12106 | void set_has_bytesneeded(); |
12107 | void clear_has_bytesneeded(); |
12108 | void set_has_bytescached(); |
12109 | void clear_has_bytescached(); |
12110 | void set_has_bytesoverlimit(); |
12111 | void clear_has_bytesoverlimit(); |
12112 | void set_has_filesneeded(); |
12113 | void clear_has_filesneeded(); |
12114 | void set_has_filescached(); |
12115 | void clear_has_filescached(); |
12116 | |
12117 | // helper for ByteSizeLong() |
12118 | size_t RequiredFieldsByteSizeFallback() const; |
12119 | |
12120 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12121 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12122 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12123 | ::google::protobuf::int64 bytesneeded_; |
12124 | ::google::protobuf::int64 bytescached_; |
12125 | ::google::protobuf::int64 bytesoverlimit_; |
12126 | ::google::protobuf::int64 filesneeded_; |
12127 | ::google::protobuf::int64 filescached_; |
12128 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12129 | }; |
12130 | // ------------------------------------------------------------------- |
12131 | |
12132 | class AddCachePoolRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddCachePoolRequestProto) */ { |
12133 | public: |
12134 | AddCachePoolRequestProto(); |
12135 | virtual ~AddCachePoolRequestProto(); |
12136 | |
12137 | AddCachePoolRequestProto(const AddCachePoolRequestProto& from); |
12138 | |
12139 | inline AddCachePoolRequestProto& operator=(const AddCachePoolRequestProto& from) { |
12140 | CopyFrom(from); |
12141 | return *this; |
12142 | } |
12143 | #if LANG_CXX11 |
12144 | AddCachePoolRequestProto(AddCachePoolRequestProto&& from) noexcept |
12145 | : AddCachePoolRequestProto() { |
12146 | *this = ::std::move(from); |
12147 | } |
12148 | |
12149 | inline AddCachePoolRequestProto& operator=(AddCachePoolRequestProto&& from) noexcept { |
12150 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12151 | if (this != &from) InternalSwap(&from); |
12152 | } else { |
12153 | CopyFrom(from); |
12154 | } |
12155 | return *this; |
12156 | } |
12157 | #endif |
12158 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12159 | return _internal_metadata_.unknown_fields(); |
12160 | } |
12161 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12162 | return _internal_metadata_.mutable_unknown_fields(); |
12163 | } |
12164 | |
12165 | static const ::google::protobuf::Descriptor* descriptor(); |
12166 | static const AddCachePoolRequestProto& default_instance(); |
12167 | |
12168 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12169 | static inline const AddCachePoolRequestProto* internal_default_instance() { |
12170 | return reinterpret_cast<const AddCachePoolRequestProto*>( |
12171 | &_AddCachePoolRequestProto_default_instance_); |
12172 | } |
12173 | static constexpr int kIndexInFileMessages = |
12174 | 90; |
12175 | |
12176 | void Swap(AddCachePoolRequestProto* other); |
12177 | friend void swap(AddCachePoolRequestProto& a, AddCachePoolRequestProto& b) { |
12178 | a.Swap(&b); |
12179 | } |
12180 | |
12181 | // implements Message ---------------------------------------------- |
12182 | |
12183 | inline AddCachePoolRequestProto* New() const final { |
12184 | return CreateMaybeMessage<AddCachePoolRequestProto>(NULL); |
12185 | } |
12186 | |
12187 | AddCachePoolRequestProto* New(::google::protobuf::Arena* arena) const final { |
12188 | return CreateMaybeMessage<AddCachePoolRequestProto>(arena); |
12189 | } |
12190 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12191 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12192 | void CopyFrom(const AddCachePoolRequestProto& from); |
12193 | void MergeFrom(const AddCachePoolRequestProto& from); |
12194 | void Clear() final; |
12195 | bool IsInitialized() const final; |
12196 | |
12197 | size_t ByteSizeLong() const final; |
12198 | bool MergePartialFromCodedStream( |
12199 | ::google::protobuf::io::CodedInputStream* input) final; |
12200 | void SerializeWithCachedSizes( |
12201 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12202 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12203 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12204 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12205 | |
12206 | private: |
12207 | void SharedCtor(); |
12208 | void SharedDtor(); |
12209 | void SetCachedSize(int size) const final; |
12210 | void InternalSwap(AddCachePoolRequestProto* other); |
12211 | private: |
12212 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12213 | return NULL; |
12214 | } |
12215 | inline void* MaybeArenaPtr() const { |
12216 | return NULL; |
12217 | } |
12218 | public: |
12219 | |
12220 | ::google::protobuf::Metadata GetMetadata() const final; |
12221 | |
12222 | // nested types ---------------------------------------------------- |
12223 | |
12224 | // accessors ------------------------------------------------------- |
12225 | |
12226 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
12227 | bool has_info() const; |
12228 | void clear_info(); |
12229 | static const int kInfoFieldNumber = 1; |
12230 | private: |
12231 | const ::Hdfs::Internal::CachePoolInfoProto& _internal_info() const; |
12232 | public: |
12233 | const ::Hdfs::Internal::CachePoolInfoProto& info() const; |
12234 | ::Hdfs::Internal::CachePoolInfoProto* release_info(); |
12235 | ::Hdfs::Internal::CachePoolInfoProto* mutable_info(); |
12236 | void set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info); |
12237 | |
12238 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddCachePoolRequestProto) |
12239 | private: |
12240 | void set_has_info(); |
12241 | void clear_has_info(); |
12242 | |
12243 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12244 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12245 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12246 | ::Hdfs::Internal::CachePoolInfoProto* info_; |
12247 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12248 | }; |
12249 | // ------------------------------------------------------------------- |
12250 | |
12251 | class AddCachePoolResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AddCachePoolResponseProto) */ { |
12252 | public: |
12253 | AddCachePoolResponseProto(); |
12254 | virtual ~AddCachePoolResponseProto(); |
12255 | |
12256 | AddCachePoolResponseProto(const AddCachePoolResponseProto& from); |
12257 | |
12258 | inline AddCachePoolResponseProto& operator=(const AddCachePoolResponseProto& from) { |
12259 | CopyFrom(from); |
12260 | return *this; |
12261 | } |
12262 | #if LANG_CXX11 |
12263 | AddCachePoolResponseProto(AddCachePoolResponseProto&& from) noexcept |
12264 | : AddCachePoolResponseProto() { |
12265 | *this = ::std::move(from); |
12266 | } |
12267 | |
12268 | inline AddCachePoolResponseProto& operator=(AddCachePoolResponseProto&& from) noexcept { |
12269 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12270 | if (this != &from) InternalSwap(&from); |
12271 | } else { |
12272 | CopyFrom(from); |
12273 | } |
12274 | return *this; |
12275 | } |
12276 | #endif |
12277 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12278 | return _internal_metadata_.unknown_fields(); |
12279 | } |
12280 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12281 | return _internal_metadata_.mutable_unknown_fields(); |
12282 | } |
12283 | |
12284 | static const ::google::protobuf::Descriptor* descriptor(); |
12285 | static const AddCachePoolResponseProto& default_instance(); |
12286 | |
12287 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12288 | static inline const AddCachePoolResponseProto* internal_default_instance() { |
12289 | return reinterpret_cast<const AddCachePoolResponseProto*>( |
12290 | &_AddCachePoolResponseProto_default_instance_); |
12291 | } |
12292 | static constexpr int kIndexInFileMessages = |
12293 | 91; |
12294 | |
12295 | void Swap(AddCachePoolResponseProto* other); |
12296 | friend void swap(AddCachePoolResponseProto& a, AddCachePoolResponseProto& b) { |
12297 | a.Swap(&b); |
12298 | } |
12299 | |
12300 | // implements Message ---------------------------------------------- |
12301 | |
12302 | inline AddCachePoolResponseProto* New() const final { |
12303 | return CreateMaybeMessage<AddCachePoolResponseProto>(NULL); |
12304 | } |
12305 | |
12306 | AddCachePoolResponseProto* New(::google::protobuf::Arena* arena) const final { |
12307 | return CreateMaybeMessage<AddCachePoolResponseProto>(arena); |
12308 | } |
12309 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12310 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12311 | void CopyFrom(const AddCachePoolResponseProto& from); |
12312 | void MergeFrom(const AddCachePoolResponseProto& from); |
12313 | void Clear() final; |
12314 | bool IsInitialized() const final; |
12315 | |
12316 | size_t ByteSizeLong() const final; |
12317 | bool MergePartialFromCodedStream( |
12318 | ::google::protobuf::io::CodedInputStream* input) final; |
12319 | void SerializeWithCachedSizes( |
12320 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12321 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12322 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12323 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12324 | |
12325 | private: |
12326 | void SharedCtor(); |
12327 | void SharedDtor(); |
12328 | void SetCachedSize(int size) const final; |
12329 | void InternalSwap(AddCachePoolResponseProto* other); |
12330 | private: |
12331 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12332 | return NULL; |
12333 | } |
12334 | inline void* MaybeArenaPtr() const { |
12335 | return NULL; |
12336 | } |
12337 | public: |
12338 | |
12339 | ::google::protobuf::Metadata GetMetadata() const final; |
12340 | |
12341 | // nested types ---------------------------------------------------- |
12342 | |
12343 | // accessors ------------------------------------------------------- |
12344 | |
12345 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AddCachePoolResponseProto) |
12346 | private: |
12347 | |
12348 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12349 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12350 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12351 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12352 | }; |
12353 | // ------------------------------------------------------------------- |
12354 | |
12355 | class ModifyCachePoolRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ModifyCachePoolRequestProto) */ { |
12356 | public: |
12357 | ModifyCachePoolRequestProto(); |
12358 | virtual ~ModifyCachePoolRequestProto(); |
12359 | |
12360 | ModifyCachePoolRequestProto(const ModifyCachePoolRequestProto& from); |
12361 | |
12362 | inline ModifyCachePoolRequestProto& operator=(const ModifyCachePoolRequestProto& from) { |
12363 | CopyFrom(from); |
12364 | return *this; |
12365 | } |
12366 | #if LANG_CXX11 |
12367 | ModifyCachePoolRequestProto(ModifyCachePoolRequestProto&& from) noexcept |
12368 | : ModifyCachePoolRequestProto() { |
12369 | *this = ::std::move(from); |
12370 | } |
12371 | |
12372 | inline ModifyCachePoolRequestProto& operator=(ModifyCachePoolRequestProto&& from) noexcept { |
12373 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12374 | if (this != &from) InternalSwap(&from); |
12375 | } else { |
12376 | CopyFrom(from); |
12377 | } |
12378 | return *this; |
12379 | } |
12380 | #endif |
12381 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12382 | return _internal_metadata_.unknown_fields(); |
12383 | } |
12384 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12385 | return _internal_metadata_.mutable_unknown_fields(); |
12386 | } |
12387 | |
12388 | static const ::google::protobuf::Descriptor* descriptor(); |
12389 | static const ModifyCachePoolRequestProto& default_instance(); |
12390 | |
12391 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12392 | static inline const ModifyCachePoolRequestProto* internal_default_instance() { |
12393 | return reinterpret_cast<const ModifyCachePoolRequestProto*>( |
12394 | &_ModifyCachePoolRequestProto_default_instance_); |
12395 | } |
12396 | static constexpr int kIndexInFileMessages = |
12397 | 92; |
12398 | |
12399 | void Swap(ModifyCachePoolRequestProto* other); |
12400 | friend void swap(ModifyCachePoolRequestProto& a, ModifyCachePoolRequestProto& b) { |
12401 | a.Swap(&b); |
12402 | } |
12403 | |
12404 | // implements Message ---------------------------------------------- |
12405 | |
12406 | inline ModifyCachePoolRequestProto* New() const final { |
12407 | return CreateMaybeMessage<ModifyCachePoolRequestProto>(NULL); |
12408 | } |
12409 | |
12410 | ModifyCachePoolRequestProto* New(::google::protobuf::Arena* arena) const final { |
12411 | return CreateMaybeMessage<ModifyCachePoolRequestProto>(arena); |
12412 | } |
12413 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12414 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12415 | void CopyFrom(const ModifyCachePoolRequestProto& from); |
12416 | void MergeFrom(const ModifyCachePoolRequestProto& from); |
12417 | void Clear() final; |
12418 | bool IsInitialized() const final; |
12419 | |
12420 | size_t ByteSizeLong() const final; |
12421 | bool MergePartialFromCodedStream( |
12422 | ::google::protobuf::io::CodedInputStream* input) final; |
12423 | void SerializeWithCachedSizes( |
12424 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12425 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12426 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12427 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12428 | |
12429 | private: |
12430 | void SharedCtor(); |
12431 | void SharedDtor(); |
12432 | void SetCachedSize(int size) const final; |
12433 | void InternalSwap(ModifyCachePoolRequestProto* other); |
12434 | private: |
12435 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12436 | return NULL; |
12437 | } |
12438 | inline void* MaybeArenaPtr() const { |
12439 | return NULL; |
12440 | } |
12441 | public: |
12442 | |
12443 | ::google::protobuf::Metadata GetMetadata() const final; |
12444 | |
12445 | // nested types ---------------------------------------------------- |
12446 | |
12447 | // accessors ------------------------------------------------------- |
12448 | |
12449 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
12450 | bool has_info() const; |
12451 | void clear_info(); |
12452 | static const int kInfoFieldNumber = 1; |
12453 | private: |
12454 | const ::Hdfs::Internal::CachePoolInfoProto& _internal_info() const; |
12455 | public: |
12456 | const ::Hdfs::Internal::CachePoolInfoProto& info() const; |
12457 | ::Hdfs::Internal::CachePoolInfoProto* release_info(); |
12458 | ::Hdfs::Internal::CachePoolInfoProto* mutable_info(); |
12459 | void set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info); |
12460 | |
12461 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ModifyCachePoolRequestProto) |
12462 | private: |
12463 | void set_has_info(); |
12464 | void clear_has_info(); |
12465 | |
12466 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12467 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12468 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12469 | ::Hdfs::Internal::CachePoolInfoProto* info_; |
12470 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12471 | }; |
12472 | // ------------------------------------------------------------------- |
12473 | |
12474 | class ModifyCachePoolResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ModifyCachePoolResponseProto) */ { |
12475 | public: |
12476 | ModifyCachePoolResponseProto(); |
12477 | virtual ~ModifyCachePoolResponseProto(); |
12478 | |
12479 | ModifyCachePoolResponseProto(const ModifyCachePoolResponseProto& from); |
12480 | |
12481 | inline ModifyCachePoolResponseProto& operator=(const ModifyCachePoolResponseProto& from) { |
12482 | CopyFrom(from); |
12483 | return *this; |
12484 | } |
12485 | #if LANG_CXX11 |
12486 | ModifyCachePoolResponseProto(ModifyCachePoolResponseProto&& from) noexcept |
12487 | : ModifyCachePoolResponseProto() { |
12488 | *this = ::std::move(from); |
12489 | } |
12490 | |
12491 | inline ModifyCachePoolResponseProto& operator=(ModifyCachePoolResponseProto&& from) noexcept { |
12492 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12493 | if (this != &from) InternalSwap(&from); |
12494 | } else { |
12495 | CopyFrom(from); |
12496 | } |
12497 | return *this; |
12498 | } |
12499 | #endif |
12500 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12501 | return _internal_metadata_.unknown_fields(); |
12502 | } |
12503 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12504 | return _internal_metadata_.mutable_unknown_fields(); |
12505 | } |
12506 | |
12507 | static const ::google::protobuf::Descriptor* descriptor(); |
12508 | static const ModifyCachePoolResponseProto& default_instance(); |
12509 | |
12510 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12511 | static inline const ModifyCachePoolResponseProto* internal_default_instance() { |
12512 | return reinterpret_cast<const ModifyCachePoolResponseProto*>( |
12513 | &_ModifyCachePoolResponseProto_default_instance_); |
12514 | } |
12515 | static constexpr int kIndexInFileMessages = |
12516 | 93; |
12517 | |
12518 | void Swap(ModifyCachePoolResponseProto* other); |
12519 | friend void swap(ModifyCachePoolResponseProto& a, ModifyCachePoolResponseProto& b) { |
12520 | a.Swap(&b); |
12521 | } |
12522 | |
12523 | // implements Message ---------------------------------------------- |
12524 | |
12525 | inline ModifyCachePoolResponseProto* New() const final { |
12526 | return CreateMaybeMessage<ModifyCachePoolResponseProto>(NULL); |
12527 | } |
12528 | |
12529 | ModifyCachePoolResponseProto* New(::google::protobuf::Arena* arena) const final { |
12530 | return CreateMaybeMessage<ModifyCachePoolResponseProto>(arena); |
12531 | } |
12532 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12533 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12534 | void CopyFrom(const ModifyCachePoolResponseProto& from); |
12535 | void MergeFrom(const ModifyCachePoolResponseProto& from); |
12536 | void Clear() final; |
12537 | bool IsInitialized() const final; |
12538 | |
12539 | size_t ByteSizeLong() const final; |
12540 | bool MergePartialFromCodedStream( |
12541 | ::google::protobuf::io::CodedInputStream* input) final; |
12542 | void SerializeWithCachedSizes( |
12543 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12544 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12545 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12546 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12547 | |
12548 | private: |
12549 | void SharedCtor(); |
12550 | void SharedDtor(); |
12551 | void SetCachedSize(int size) const final; |
12552 | void InternalSwap(ModifyCachePoolResponseProto* other); |
12553 | private: |
12554 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12555 | return NULL; |
12556 | } |
12557 | inline void* MaybeArenaPtr() const { |
12558 | return NULL; |
12559 | } |
12560 | public: |
12561 | |
12562 | ::google::protobuf::Metadata GetMetadata() const final; |
12563 | |
12564 | // nested types ---------------------------------------------------- |
12565 | |
12566 | // accessors ------------------------------------------------------- |
12567 | |
12568 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ModifyCachePoolResponseProto) |
12569 | private: |
12570 | |
12571 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12572 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12573 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12574 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12575 | }; |
12576 | // ------------------------------------------------------------------- |
12577 | |
12578 | class RemoveCachePoolRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RemoveCachePoolRequestProto) */ { |
12579 | public: |
12580 | RemoveCachePoolRequestProto(); |
12581 | virtual ~RemoveCachePoolRequestProto(); |
12582 | |
12583 | RemoveCachePoolRequestProto(const RemoveCachePoolRequestProto& from); |
12584 | |
12585 | inline RemoveCachePoolRequestProto& operator=(const RemoveCachePoolRequestProto& from) { |
12586 | CopyFrom(from); |
12587 | return *this; |
12588 | } |
12589 | #if LANG_CXX11 |
12590 | RemoveCachePoolRequestProto(RemoveCachePoolRequestProto&& from) noexcept |
12591 | : RemoveCachePoolRequestProto() { |
12592 | *this = ::std::move(from); |
12593 | } |
12594 | |
12595 | inline RemoveCachePoolRequestProto& operator=(RemoveCachePoolRequestProto&& from) noexcept { |
12596 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12597 | if (this != &from) InternalSwap(&from); |
12598 | } else { |
12599 | CopyFrom(from); |
12600 | } |
12601 | return *this; |
12602 | } |
12603 | #endif |
12604 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12605 | return _internal_metadata_.unknown_fields(); |
12606 | } |
12607 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12608 | return _internal_metadata_.mutable_unknown_fields(); |
12609 | } |
12610 | |
12611 | static const ::google::protobuf::Descriptor* descriptor(); |
12612 | static const RemoveCachePoolRequestProto& default_instance(); |
12613 | |
12614 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12615 | static inline const RemoveCachePoolRequestProto* internal_default_instance() { |
12616 | return reinterpret_cast<const RemoveCachePoolRequestProto*>( |
12617 | &_RemoveCachePoolRequestProto_default_instance_); |
12618 | } |
12619 | static constexpr int kIndexInFileMessages = |
12620 | 94; |
12621 | |
12622 | void Swap(RemoveCachePoolRequestProto* other); |
12623 | friend void swap(RemoveCachePoolRequestProto& a, RemoveCachePoolRequestProto& b) { |
12624 | a.Swap(&b); |
12625 | } |
12626 | |
12627 | // implements Message ---------------------------------------------- |
12628 | |
12629 | inline RemoveCachePoolRequestProto* New() const final { |
12630 | return CreateMaybeMessage<RemoveCachePoolRequestProto>(NULL); |
12631 | } |
12632 | |
12633 | RemoveCachePoolRequestProto* New(::google::protobuf::Arena* arena) const final { |
12634 | return CreateMaybeMessage<RemoveCachePoolRequestProto>(arena); |
12635 | } |
12636 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12637 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12638 | void CopyFrom(const RemoveCachePoolRequestProto& from); |
12639 | void MergeFrom(const RemoveCachePoolRequestProto& from); |
12640 | void Clear() final; |
12641 | bool IsInitialized() const final; |
12642 | |
12643 | size_t ByteSizeLong() const final; |
12644 | bool MergePartialFromCodedStream( |
12645 | ::google::protobuf::io::CodedInputStream* input) final; |
12646 | void SerializeWithCachedSizes( |
12647 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12648 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12649 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12650 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12651 | |
12652 | private: |
12653 | void SharedCtor(); |
12654 | void SharedDtor(); |
12655 | void SetCachedSize(int size) const final; |
12656 | void InternalSwap(RemoveCachePoolRequestProto* other); |
12657 | private: |
12658 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12659 | return NULL; |
12660 | } |
12661 | inline void* MaybeArenaPtr() const { |
12662 | return NULL; |
12663 | } |
12664 | public: |
12665 | |
12666 | ::google::protobuf::Metadata GetMetadata() const final; |
12667 | |
12668 | // nested types ---------------------------------------------------- |
12669 | |
12670 | // accessors ------------------------------------------------------- |
12671 | |
12672 | // required string poolName = 1; |
12673 | bool has_poolname() const; |
12674 | void clear_poolname(); |
12675 | static const int kPoolNameFieldNumber = 1; |
12676 | const ::std::string& poolname() const; |
12677 | void set_poolname(const ::std::string& value); |
12678 | #if LANG_CXX11 |
12679 | void set_poolname(::std::string&& value); |
12680 | #endif |
12681 | void set_poolname(const char* value); |
12682 | void set_poolname(const char* value, size_t size); |
12683 | ::std::string* mutable_poolname(); |
12684 | ::std::string* release_poolname(); |
12685 | void set_allocated_poolname(::std::string* poolname); |
12686 | |
12687 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RemoveCachePoolRequestProto) |
12688 | private: |
12689 | void set_has_poolname(); |
12690 | void clear_has_poolname(); |
12691 | |
12692 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12693 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12694 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12695 | ::google::protobuf::internal::ArenaStringPtr poolname_; |
12696 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12697 | }; |
12698 | // ------------------------------------------------------------------- |
12699 | |
12700 | class RemoveCachePoolResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RemoveCachePoolResponseProto) */ { |
12701 | public: |
12702 | RemoveCachePoolResponseProto(); |
12703 | virtual ~RemoveCachePoolResponseProto(); |
12704 | |
12705 | RemoveCachePoolResponseProto(const RemoveCachePoolResponseProto& from); |
12706 | |
12707 | inline RemoveCachePoolResponseProto& operator=(const RemoveCachePoolResponseProto& from) { |
12708 | CopyFrom(from); |
12709 | return *this; |
12710 | } |
12711 | #if LANG_CXX11 |
12712 | RemoveCachePoolResponseProto(RemoveCachePoolResponseProto&& from) noexcept |
12713 | : RemoveCachePoolResponseProto() { |
12714 | *this = ::std::move(from); |
12715 | } |
12716 | |
12717 | inline RemoveCachePoolResponseProto& operator=(RemoveCachePoolResponseProto&& from) noexcept { |
12718 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12719 | if (this != &from) InternalSwap(&from); |
12720 | } else { |
12721 | CopyFrom(from); |
12722 | } |
12723 | return *this; |
12724 | } |
12725 | #endif |
12726 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12727 | return _internal_metadata_.unknown_fields(); |
12728 | } |
12729 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12730 | return _internal_metadata_.mutable_unknown_fields(); |
12731 | } |
12732 | |
12733 | static const ::google::protobuf::Descriptor* descriptor(); |
12734 | static const RemoveCachePoolResponseProto& default_instance(); |
12735 | |
12736 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12737 | static inline const RemoveCachePoolResponseProto* internal_default_instance() { |
12738 | return reinterpret_cast<const RemoveCachePoolResponseProto*>( |
12739 | &_RemoveCachePoolResponseProto_default_instance_); |
12740 | } |
12741 | static constexpr int kIndexInFileMessages = |
12742 | 95; |
12743 | |
12744 | void Swap(RemoveCachePoolResponseProto* other); |
12745 | friend void swap(RemoveCachePoolResponseProto& a, RemoveCachePoolResponseProto& b) { |
12746 | a.Swap(&b); |
12747 | } |
12748 | |
12749 | // implements Message ---------------------------------------------- |
12750 | |
12751 | inline RemoveCachePoolResponseProto* New() const final { |
12752 | return CreateMaybeMessage<RemoveCachePoolResponseProto>(NULL); |
12753 | } |
12754 | |
12755 | RemoveCachePoolResponseProto* New(::google::protobuf::Arena* arena) const final { |
12756 | return CreateMaybeMessage<RemoveCachePoolResponseProto>(arena); |
12757 | } |
12758 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12759 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12760 | void CopyFrom(const RemoveCachePoolResponseProto& from); |
12761 | void MergeFrom(const RemoveCachePoolResponseProto& from); |
12762 | void Clear() final; |
12763 | bool IsInitialized() const final; |
12764 | |
12765 | size_t ByteSizeLong() const final; |
12766 | bool MergePartialFromCodedStream( |
12767 | ::google::protobuf::io::CodedInputStream* input) final; |
12768 | void SerializeWithCachedSizes( |
12769 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12770 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12771 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12772 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12773 | |
12774 | private: |
12775 | void SharedCtor(); |
12776 | void SharedDtor(); |
12777 | void SetCachedSize(int size) const final; |
12778 | void InternalSwap(RemoveCachePoolResponseProto* other); |
12779 | private: |
12780 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12781 | return NULL; |
12782 | } |
12783 | inline void* MaybeArenaPtr() const { |
12784 | return NULL; |
12785 | } |
12786 | public: |
12787 | |
12788 | ::google::protobuf::Metadata GetMetadata() const final; |
12789 | |
12790 | // nested types ---------------------------------------------------- |
12791 | |
12792 | // accessors ------------------------------------------------------- |
12793 | |
12794 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RemoveCachePoolResponseProto) |
12795 | private: |
12796 | |
12797 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12798 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12799 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12800 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12801 | }; |
12802 | // ------------------------------------------------------------------- |
12803 | |
12804 | class ListCachePoolsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCachePoolsRequestProto) */ { |
12805 | public: |
12806 | ListCachePoolsRequestProto(); |
12807 | virtual ~ListCachePoolsRequestProto(); |
12808 | |
12809 | ListCachePoolsRequestProto(const ListCachePoolsRequestProto& from); |
12810 | |
12811 | inline ListCachePoolsRequestProto& operator=(const ListCachePoolsRequestProto& from) { |
12812 | CopyFrom(from); |
12813 | return *this; |
12814 | } |
12815 | #if LANG_CXX11 |
12816 | ListCachePoolsRequestProto(ListCachePoolsRequestProto&& from) noexcept |
12817 | : ListCachePoolsRequestProto() { |
12818 | *this = ::std::move(from); |
12819 | } |
12820 | |
12821 | inline ListCachePoolsRequestProto& operator=(ListCachePoolsRequestProto&& from) noexcept { |
12822 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12823 | if (this != &from) InternalSwap(&from); |
12824 | } else { |
12825 | CopyFrom(from); |
12826 | } |
12827 | return *this; |
12828 | } |
12829 | #endif |
12830 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12831 | return _internal_metadata_.unknown_fields(); |
12832 | } |
12833 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12834 | return _internal_metadata_.mutable_unknown_fields(); |
12835 | } |
12836 | |
12837 | static const ::google::protobuf::Descriptor* descriptor(); |
12838 | static const ListCachePoolsRequestProto& default_instance(); |
12839 | |
12840 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12841 | static inline const ListCachePoolsRequestProto* internal_default_instance() { |
12842 | return reinterpret_cast<const ListCachePoolsRequestProto*>( |
12843 | &_ListCachePoolsRequestProto_default_instance_); |
12844 | } |
12845 | static constexpr int kIndexInFileMessages = |
12846 | 96; |
12847 | |
12848 | void Swap(ListCachePoolsRequestProto* other); |
12849 | friend void swap(ListCachePoolsRequestProto& a, ListCachePoolsRequestProto& b) { |
12850 | a.Swap(&b); |
12851 | } |
12852 | |
12853 | // implements Message ---------------------------------------------- |
12854 | |
12855 | inline ListCachePoolsRequestProto* New() const final { |
12856 | return CreateMaybeMessage<ListCachePoolsRequestProto>(NULL); |
12857 | } |
12858 | |
12859 | ListCachePoolsRequestProto* New(::google::protobuf::Arena* arena) const final { |
12860 | return CreateMaybeMessage<ListCachePoolsRequestProto>(arena); |
12861 | } |
12862 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12863 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12864 | void CopyFrom(const ListCachePoolsRequestProto& from); |
12865 | void MergeFrom(const ListCachePoolsRequestProto& from); |
12866 | void Clear() final; |
12867 | bool IsInitialized() const final; |
12868 | |
12869 | size_t ByteSizeLong() const final; |
12870 | bool MergePartialFromCodedStream( |
12871 | ::google::protobuf::io::CodedInputStream* input) final; |
12872 | void SerializeWithCachedSizes( |
12873 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12874 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12875 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12876 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12877 | |
12878 | private: |
12879 | void SharedCtor(); |
12880 | void SharedDtor(); |
12881 | void SetCachedSize(int size) const final; |
12882 | void InternalSwap(ListCachePoolsRequestProto* other); |
12883 | private: |
12884 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
12885 | return NULL; |
12886 | } |
12887 | inline void* MaybeArenaPtr() const { |
12888 | return NULL; |
12889 | } |
12890 | public: |
12891 | |
12892 | ::google::protobuf::Metadata GetMetadata() const final; |
12893 | |
12894 | // nested types ---------------------------------------------------- |
12895 | |
12896 | // accessors ------------------------------------------------------- |
12897 | |
12898 | // required string prevPoolName = 1; |
12899 | bool has_prevpoolname() const; |
12900 | void clear_prevpoolname(); |
12901 | static const int kPrevPoolNameFieldNumber = 1; |
12902 | const ::std::string& prevpoolname() const; |
12903 | void set_prevpoolname(const ::std::string& value); |
12904 | #if LANG_CXX11 |
12905 | void set_prevpoolname(::std::string&& value); |
12906 | #endif |
12907 | void set_prevpoolname(const char* value); |
12908 | void set_prevpoolname(const char* value, size_t size); |
12909 | ::std::string* mutable_prevpoolname(); |
12910 | ::std::string* release_prevpoolname(); |
12911 | void set_allocated_prevpoolname(::std::string* prevpoolname); |
12912 | |
12913 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCachePoolsRequestProto) |
12914 | private: |
12915 | void set_has_prevpoolname(); |
12916 | void clear_has_prevpoolname(); |
12917 | |
12918 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
12919 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
12920 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
12921 | ::google::protobuf::internal::ArenaStringPtr prevpoolname_; |
12922 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
12923 | }; |
12924 | // ------------------------------------------------------------------- |
12925 | |
12926 | class ListCachePoolsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.ListCachePoolsResponseProto) */ { |
12927 | public: |
12928 | ListCachePoolsResponseProto(); |
12929 | virtual ~ListCachePoolsResponseProto(); |
12930 | |
12931 | ListCachePoolsResponseProto(const ListCachePoolsResponseProto& from); |
12932 | |
12933 | inline ListCachePoolsResponseProto& operator=(const ListCachePoolsResponseProto& from) { |
12934 | CopyFrom(from); |
12935 | return *this; |
12936 | } |
12937 | #if LANG_CXX11 |
12938 | ListCachePoolsResponseProto(ListCachePoolsResponseProto&& from) noexcept |
12939 | : ListCachePoolsResponseProto() { |
12940 | *this = ::std::move(from); |
12941 | } |
12942 | |
12943 | inline ListCachePoolsResponseProto& operator=(ListCachePoolsResponseProto&& from) noexcept { |
12944 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
12945 | if (this != &from) InternalSwap(&from); |
12946 | } else { |
12947 | CopyFrom(from); |
12948 | } |
12949 | return *this; |
12950 | } |
12951 | #endif |
12952 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
12953 | return _internal_metadata_.unknown_fields(); |
12954 | } |
12955 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
12956 | return _internal_metadata_.mutable_unknown_fields(); |
12957 | } |
12958 | |
12959 | static const ::google::protobuf::Descriptor* descriptor(); |
12960 | static const ListCachePoolsResponseProto& default_instance(); |
12961 | |
12962 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
12963 | static inline const ListCachePoolsResponseProto* internal_default_instance() { |
12964 | return reinterpret_cast<const ListCachePoolsResponseProto*>( |
12965 | &_ListCachePoolsResponseProto_default_instance_); |
12966 | } |
12967 | static constexpr int kIndexInFileMessages = |
12968 | 97; |
12969 | |
12970 | void Swap(ListCachePoolsResponseProto* other); |
12971 | friend void swap(ListCachePoolsResponseProto& a, ListCachePoolsResponseProto& b) { |
12972 | a.Swap(&b); |
12973 | } |
12974 | |
12975 | // implements Message ---------------------------------------------- |
12976 | |
12977 | inline ListCachePoolsResponseProto* New() const final { |
12978 | return CreateMaybeMessage<ListCachePoolsResponseProto>(NULL); |
12979 | } |
12980 | |
12981 | ListCachePoolsResponseProto* New(::google::protobuf::Arena* arena) const final { |
12982 | return CreateMaybeMessage<ListCachePoolsResponseProto>(arena); |
12983 | } |
12984 | void CopyFrom(const ::google::protobuf::Message& from) final; |
12985 | void MergeFrom(const ::google::protobuf::Message& from) final; |
12986 | void CopyFrom(const ListCachePoolsResponseProto& from); |
12987 | void MergeFrom(const ListCachePoolsResponseProto& from); |
12988 | void Clear() final; |
12989 | bool IsInitialized() const final; |
12990 | |
12991 | size_t ByteSizeLong() const final; |
12992 | bool MergePartialFromCodedStream( |
12993 | ::google::protobuf::io::CodedInputStream* input) final; |
12994 | void SerializeWithCachedSizes( |
12995 | ::google::protobuf::io::CodedOutputStream* output) const final; |
12996 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
12997 | bool deterministic, ::google::protobuf::uint8* target) const final; |
12998 | int GetCachedSize() const final { return _cached_size_.Get(); } |
12999 | |
13000 | private: |
13001 | void SharedCtor(); |
13002 | void SharedDtor(); |
13003 | void SetCachedSize(int size) const final; |
13004 | void InternalSwap(ListCachePoolsResponseProto* other); |
13005 | private: |
13006 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13007 | return NULL; |
13008 | } |
13009 | inline void* MaybeArenaPtr() const { |
13010 | return NULL; |
13011 | } |
13012 | public: |
13013 | |
13014 | ::google::protobuf::Metadata GetMetadata() const final; |
13015 | |
13016 | // nested types ---------------------------------------------------- |
13017 | |
13018 | // accessors ------------------------------------------------------- |
13019 | |
13020 | // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1; |
13021 | int entries_size() const; |
13022 | void clear_entries(); |
13023 | static const int kEntriesFieldNumber = 1; |
13024 | ::Hdfs::Internal::CachePoolEntryProto* mutable_entries(int index); |
13025 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CachePoolEntryProto >* |
13026 | mutable_entries(); |
13027 | const ::Hdfs::Internal::CachePoolEntryProto& entries(int index) const; |
13028 | ::Hdfs::Internal::CachePoolEntryProto* add_entries(); |
13029 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CachePoolEntryProto >& |
13030 | entries() const; |
13031 | |
13032 | // required bool hasMore = 2; |
13033 | bool has_hasmore() const; |
13034 | void clear_hasmore(); |
13035 | static const int kHasMoreFieldNumber = 2; |
13036 | bool hasmore() const; |
13037 | void set_hasmore(bool value); |
13038 | |
13039 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.ListCachePoolsResponseProto) |
13040 | private: |
13041 | void set_has_hasmore(); |
13042 | void clear_has_hasmore(); |
13043 | |
13044 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13045 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13046 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13047 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CachePoolEntryProto > entries_; |
13048 | bool hasmore_; |
13049 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13050 | }; |
13051 | // ------------------------------------------------------------------- |
13052 | |
13053 | class CachePoolEntryProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CachePoolEntryProto) */ { |
13054 | public: |
13055 | CachePoolEntryProto(); |
13056 | virtual ~CachePoolEntryProto(); |
13057 | |
13058 | CachePoolEntryProto(const CachePoolEntryProto& from); |
13059 | |
13060 | inline CachePoolEntryProto& operator=(const CachePoolEntryProto& from) { |
13061 | CopyFrom(from); |
13062 | return *this; |
13063 | } |
13064 | #if LANG_CXX11 |
13065 | CachePoolEntryProto(CachePoolEntryProto&& from) noexcept |
13066 | : CachePoolEntryProto() { |
13067 | *this = ::std::move(from); |
13068 | } |
13069 | |
13070 | inline CachePoolEntryProto& operator=(CachePoolEntryProto&& from) noexcept { |
13071 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13072 | if (this != &from) InternalSwap(&from); |
13073 | } else { |
13074 | CopyFrom(from); |
13075 | } |
13076 | return *this; |
13077 | } |
13078 | #endif |
13079 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13080 | return _internal_metadata_.unknown_fields(); |
13081 | } |
13082 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13083 | return _internal_metadata_.mutable_unknown_fields(); |
13084 | } |
13085 | |
13086 | static const ::google::protobuf::Descriptor* descriptor(); |
13087 | static const CachePoolEntryProto& default_instance(); |
13088 | |
13089 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13090 | static inline const CachePoolEntryProto* internal_default_instance() { |
13091 | return reinterpret_cast<const CachePoolEntryProto*>( |
13092 | &_CachePoolEntryProto_default_instance_); |
13093 | } |
13094 | static constexpr int kIndexInFileMessages = |
13095 | 98; |
13096 | |
13097 | void Swap(CachePoolEntryProto* other); |
13098 | friend void swap(CachePoolEntryProto& a, CachePoolEntryProto& b) { |
13099 | a.Swap(&b); |
13100 | } |
13101 | |
13102 | // implements Message ---------------------------------------------- |
13103 | |
13104 | inline CachePoolEntryProto* New() const final { |
13105 | return CreateMaybeMessage<CachePoolEntryProto>(NULL); |
13106 | } |
13107 | |
13108 | CachePoolEntryProto* New(::google::protobuf::Arena* arena) const final { |
13109 | return CreateMaybeMessage<CachePoolEntryProto>(arena); |
13110 | } |
13111 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13112 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13113 | void CopyFrom(const CachePoolEntryProto& from); |
13114 | void MergeFrom(const CachePoolEntryProto& from); |
13115 | void Clear() final; |
13116 | bool IsInitialized() const final; |
13117 | |
13118 | size_t ByteSizeLong() const final; |
13119 | bool MergePartialFromCodedStream( |
13120 | ::google::protobuf::io::CodedInputStream* input) final; |
13121 | void SerializeWithCachedSizes( |
13122 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13123 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13124 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13125 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13126 | |
13127 | private: |
13128 | void SharedCtor(); |
13129 | void SharedDtor(); |
13130 | void SetCachedSize(int size) const final; |
13131 | void InternalSwap(CachePoolEntryProto* other); |
13132 | private: |
13133 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13134 | return NULL; |
13135 | } |
13136 | inline void* MaybeArenaPtr() const { |
13137 | return NULL; |
13138 | } |
13139 | public: |
13140 | |
13141 | ::google::protobuf::Metadata GetMetadata() const final; |
13142 | |
13143 | // nested types ---------------------------------------------------- |
13144 | |
13145 | // accessors ------------------------------------------------------- |
13146 | |
13147 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
13148 | bool has_info() const; |
13149 | void clear_info(); |
13150 | static const int kInfoFieldNumber = 1; |
13151 | private: |
13152 | const ::Hdfs::Internal::CachePoolInfoProto& _internal_info() const; |
13153 | public: |
13154 | const ::Hdfs::Internal::CachePoolInfoProto& info() const; |
13155 | ::Hdfs::Internal::CachePoolInfoProto* release_info(); |
13156 | ::Hdfs::Internal::CachePoolInfoProto* mutable_info(); |
13157 | void set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info); |
13158 | |
13159 | // required .Hdfs.Internal.CachePoolStatsProto stats = 2; |
13160 | bool has_stats() const; |
13161 | void clear_stats(); |
13162 | static const int kStatsFieldNumber = 2; |
13163 | private: |
13164 | const ::Hdfs::Internal::CachePoolStatsProto& _internal_stats() const; |
13165 | public: |
13166 | const ::Hdfs::Internal::CachePoolStatsProto& stats() const; |
13167 | ::Hdfs::Internal::CachePoolStatsProto* release_stats(); |
13168 | ::Hdfs::Internal::CachePoolStatsProto* mutable_stats(); |
13169 | void set_allocated_stats(::Hdfs::Internal::CachePoolStatsProto* stats); |
13170 | |
13171 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CachePoolEntryProto) |
13172 | private: |
13173 | void set_has_info(); |
13174 | void clear_has_info(); |
13175 | void set_has_stats(); |
13176 | void clear_has_stats(); |
13177 | |
13178 | // helper for ByteSizeLong() |
13179 | size_t RequiredFieldsByteSizeFallback() const; |
13180 | |
13181 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13182 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13183 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13184 | ::Hdfs::Internal::CachePoolInfoProto* info_; |
13185 | ::Hdfs::Internal::CachePoolStatsProto* stats_; |
13186 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13187 | }; |
13188 | // ------------------------------------------------------------------- |
13189 | |
13190 | class GetFileLinkInfoRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFileLinkInfoRequestProto) */ { |
13191 | public: |
13192 | GetFileLinkInfoRequestProto(); |
13193 | virtual ~GetFileLinkInfoRequestProto(); |
13194 | |
13195 | GetFileLinkInfoRequestProto(const GetFileLinkInfoRequestProto& from); |
13196 | |
13197 | inline GetFileLinkInfoRequestProto& operator=(const GetFileLinkInfoRequestProto& from) { |
13198 | CopyFrom(from); |
13199 | return *this; |
13200 | } |
13201 | #if LANG_CXX11 |
13202 | GetFileLinkInfoRequestProto(GetFileLinkInfoRequestProto&& from) noexcept |
13203 | : GetFileLinkInfoRequestProto() { |
13204 | *this = ::std::move(from); |
13205 | } |
13206 | |
13207 | inline GetFileLinkInfoRequestProto& operator=(GetFileLinkInfoRequestProto&& from) noexcept { |
13208 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13209 | if (this != &from) InternalSwap(&from); |
13210 | } else { |
13211 | CopyFrom(from); |
13212 | } |
13213 | return *this; |
13214 | } |
13215 | #endif |
13216 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13217 | return _internal_metadata_.unknown_fields(); |
13218 | } |
13219 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13220 | return _internal_metadata_.mutable_unknown_fields(); |
13221 | } |
13222 | |
13223 | static const ::google::protobuf::Descriptor* descriptor(); |
13224 | static const GetFileLinkInfoRequestProto& default_instance(); |
13225 | |
13226 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13227 | static inline const GetFileLinkInfoRequestProto* internal_default_instance() { |
13228 | return reinterpret_cast<const GetFileLinkInfoRequestProto*>( |
13229 | &_GetFileLinkInfoRequestProto_default_instance_); |
13230 | } |
13231 | static constexpr int kIndexInFileMessages = |
13232 | 99; |
13233 | |
13234 | void Swap(GetFileLinkInfoRequestProto* other); |
13235 | friend void swap(GetFileLinkInfoRequestProto& a, GetFileLinkInfoRequestProto& b) { |
13236 | a.Swap(&b); |
13237 | } |
13238 | |
13239 | // implements Message ---------------------------------------------- |
13240 | |
13241 | inline GetFileLinkInfoRequestProto* New() const final { |
13242 | return CreateMaybeMessage<GetFileLinkInfoRequestProto>(NULL); |
13243 | } |
13244 | |
13245 | GetFileLinkInfoRequestProto* New(::google::protobuf::Arena* arena) const final { |
13246 | return CreateMaybeMessage<GetFileLinkInfoRequestProto>(arena); |
13247 | } |
13248 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13249 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13250 | void CopyFrom(const GetFileLinkInfoRequestProto& from); |
13251 | void MergeFrom(const GetFileLinkInfoRequestProto& from); |
13252 | void Clear() final; |
13253 | bool IsInitialized() const final; |
13254 | |
13255 | size_t ByteSizeLong() const final; |
13256 | bool MergePartialFromCodedStream( |
13257 | ::google::protobuf::io::CodedInputStream* input) final; |
13258 | void SerializeWithCachedSizes( |
13259 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13260 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13261 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13262 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13263 | |
13264 | private: |
13265 | void SharedCtor(); |
13266 | void SharedDtor(); |
13267 | void SetCachedSize(int size) const final; |
13268 | void InternalSwap(GetFileLinkInfoRequestProto* other); |
13269 | private: |
13270 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13271 | return NULL; |
13272 | } |
13273 | inline void* MaybeArenaPtr() const { |
13274 | return NULL; |
13275 | } |
13276 | public: |
13277 | |
13278 | ::google::protobuf::Metadata GetMetadata() const final; |
13279 | |
13280 | // nested types ---------------------------------------------------- |
13281 | |
13282 | // accessors ------------------------------------------------------- |
13283 | |
13284 | // required string src = 1; |
13285 | bool has_src() const; |
13286 | void clear_src(); |
13287 | static const int kSrcFieldNumber = 1; |
13288 | const ::std::string& src() const; |
13289 | void set_src(const ::std::string& value); |
13290 | #if LANG_CXX11 |
13291 | void set_src(::std::string&& value); |
13292 | #endif |
13293 | void set_src(const char* value); |
13294 | void set_src(const char* value, size_t size); |
13295 | ::std::string* mutable_src(); |
13296 | ::std::string* release_src(); |
13297 | void set_allocated_src(::std::string* src); |
13298 | |
13299 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFileLinkInfoRequestProto) |
13300 | private: |
13301 | void set_has_src(); |
13302 | void clear_has_src(); |
13303 | |
13304 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13305 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13306 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13307 | ::google::protobuf::internal::ArenaStringPtr src_; |
13308 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13309 | }; |
13310 | // ------------------------------------------------------------------- |
13311 | |
13312 | class GetFileLinkInfoResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetFileLinkInfoResponseProto) */ { |
13313 | public: |
13314 | GetFileLinkInfoResponseProto(); |
13315 | virtual ~GetFileLinkInfoResponseProto(); |
13316 | |
13317 | GetFileLinkInfoResponseProto(const GetFileLinkInfoResponseProto& from); |
13318 | |
13319 | inline GetFileLinkInfoResponseProto& operator=(const GetFileLinkInfoResponseProto& from) { |
13320 | CopyFrom(from); |
13321 | return *this; |
13322 | } |
13323 | #if LANG_CXX11 |
13324 | GetFileLinkInfoResponseProto(GetFileLinkInfoResponseProto&& from) noexcept |
13325 | : GetFileLinkInfoResponseProto() { |
13326 | *this = ::std::move(from); |
13327 | } |
13328 | |
13329 | inline GetFileLinkInfoResponseProto& operator=(GetFileLinkInfoResponseProto&& from) noexcept { |
13330 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13331 | if (this != &from) InternalSwap(&from); |
13332 | } else { |
13333 | CopyFrom(from); |
13334 | } |
13335 | return *this; |
13336 | } |
13337 | #endif |
13338 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13339 | return _internal_metadata_.unknown_fields(); |
13340 | } |
13341 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13342 | return _internal_metadata_.mutable_unknown_fields(); |
13343 | } |
13344 | |
13345 | static const ::google::protobuf::Descriptor* descriptor(); |
13346 | static const GetFileLinkInfoResponseProto& default_instance(); |
13347 | |
13348 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13349 | static inline const GetFileLinkInfoResponseProto* internal_default_instance() { |
13350 | return reinterpret_cast<const GetFileLinkInfoResponseProto*>( |
13351 | &_GetFileLinkInfoResponseProto_default_instance_); |
13352 | } |
13353 | static constexpr int kIndexInFileMessages = |
13354 | 100; |
13355 | |
13356 | void Swap(GetFileLinkInfoResponseProto* other); |
13357 | friend void swap(GetFileLinkInfoResponseProto& a, GetFileLinkInfoResponseProto& b) { |
13358 | a.Swap(&b); |
13359 | } |
13360 | |
13361 | // implements Message ---------------------------------------------- |
13362 | |
13363 | inline GetFileLinkInfoResponseProto* New() const final { |
13364 | return CreateMaybeMessage<GetFileLinkInfoResponseProto>(NULL); |
13365 | } |
13366 | |
13367 | GetFileLinkInfoResponseProto* New(::google::protobuf::Arena* arena) const final { |
13368 | return CreateMaybeMessage<GetFileLinkInfoResponseProto>(arena); |
13369 | } |
13370 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13371 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13372 | void CopyFrom(const GetFileLinkInfoResponseProto& from); |
13373 | void MergeFrom(const GetFileLinkInfoResponseProto& from); |
13374 | void Clear() final; |
13375 | bool IsInitialized() const final; |
13376 | |
13377 | size_t ByteSizeLong() const final; |
13378 | bool MergePartialFromCodedStream( |
13379 | ::google::protobuf::io::CodedInputStream* input) final; |
13380 | void SerializeWithCachedSizes( |
13381 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13382 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13383 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13384 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13385 | |
13386 | private: |
13387 | void SharedCtor(); |
13388 | void SharedDtor(); |
13389 | void SetCachedSize(int size) const final; |
13390 | void InternalSwap(GetFileLinkInfoResponseProto* other); |
13391 | private: |
13392 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13393 | return NULL; |
13394 | } |
13395 | inline void* MaybeArenaPtr() const { |
13396 | return NULL; |
13397 | } |
13398 | public: |
13399 | |
13400 | ::google::protobuf::Metadata GetMetadata() const final; |
13401 | |
13402 | // nested types ---------------------------------------------------- |
13403 | |
13404 | // accessors ------------------------------------------------------- |
13405 | |
13406 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
13407 | bool has_fs() const; |
13408 | void clear_fs(); |
13409 | static const int kFsFieldNumber = 1; |
13410 | private: |
13411 | const ::Hdfs::Internal::HdfsFileStatusProto& _internal_fs() const; |
13412 | public: |
13413 | const ::Hdfs::Internal::HdfsFileStatusProto& fs() const; |
13414 | ::Hdfs::Internal::HdfsFileStatusProto* release_fs(); |
13415 | ::Hdfs::Internal::HdfsFileStatusProto* mutable_fs(); |
13416 | void set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs); |
13417 | |
13418 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetFileLinkInfoResponseProto) |
13419 | private: |
13420 | void set_has_fs(); |
13421 | void clear_has_fs(); |
13422 | |
13423 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13424 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13425 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13426 | ::Hdfs::Internal::HdfsFileStatusProto* fs_; |
13427 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13428 | }; |
13429 | // ------------------------------------------------------------------- |
13430 | |
13431 | class GetContentSummaryRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetContentSummaryRequestProto) */ { |
13432 | public: |
13433 | GetContentSummaryRequestProto(); |
13434 | virtual ~GetContentSummaryRequestProto(); |
13435 | |
13436 | GetContentSummaryRequestProto(const GetContentSummaryRequestProto& from); |
13437 | |
13438 | inline GetContentSummaryRequestProto& operator=(const GetContentSummaryRequestProto& from) { |
13439 | CopyFrom(from); |
13440 | return *this; |
13441 | } |
13442 | #if LANG_CXX11 |
13443 | GetContentSummaryRequestProto(GetContentSummaryRequestProto&& from) noexcept |
13444 | : GetContentSummaryRequestProto() { |
13445 | *this = ::std::move(from); |
13446 | } |
13447 | |
13448 | inline GetContentSummaryRequestProto& operator=(GetContentSummaryRequestProto&& from) noexcept { |
13449 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13450 | if (this != &from) InternalSwap(&from); |
13451 | } else { |
13452 | CopyFrom(from); |
13453 | } |
13454 | return *this; |
13455 | } |
13456 | #endif |
13457 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13458 | return _internal_metadata_.unknown_fields(); |
13459 | } |
13460 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13461 | return _internal_metadata_.mutable_unknown_fields(); |
13462 | } |
13463 | |
13464 | static const ::google::protobuf::Descriptor* descriptor(); |
13465 | static const GetContentSummaryRequestProto& default_instance(); |
13466 | |
13467 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13468 | static inline const GetContentSummaryRequestProto* internal_default_instance() { |
13469 | return reinterpret_cast<const GetContentSummaryRequestProto*>( |
13470 | &_GetContentSummaryRequestProto_default_instance_); |
13471 | } |
13472 | static constexpr int kIndexInFileMessages = |
13473 | 101; |
13474 | |
13475 | void Swap(GetContentSummaryRequestProto* other); |
13476 | friend void swap(GetContentSummaryRequestProto& a, GetContentSummaryRequestProto& b) { |
13477 | a.Swap(&b); |
13478 | } |
13479 | |
13480 | // implements Message ---------------------------------------------- |
13481 | |
13482 | inline GetContentSummaryRequestProto* New() const final { |
13483 | return CreateMaybeMessage<GetContentSummaryRequestProto>(NULL); |
13484 | } |
13485 | |
13486 | GetContentSummaryRequestProto* New(::google::protobuf::Arena* arena) const final { |
13487 | return CreateMaybeMessage<GetContentSummaryRequestProto>(arena); |
13488 | } |
13489 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13490 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13491 | void CopyFrom(const GetContentSummaryRequestProto& from); |
13492 | void MergeFrom(const GetContentSummaryRequestProto& from); |
13493 | void Clear() final; |
13494 | bool IsInitialized() const final; |
13495 | |
13496 | size_t ByteSizeLong() const final; |
13497 | bool MergePartialFromCodedStream( |
13498 | ::google::protobuf::io::CodedInputStream* input) final; |
13499 | void SerializeWithCachedSizes( |
13500 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13501 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13502 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13503 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13504 | |
13505 | private: |
13506 | void SharedCtor(); |
13507 | void SharedDtor(); |
13508 | void SetCachedSize(int size) const final; |
13509 | void InternalSwap(GetContentSummaryRequestProto* other); |
13510 | private: |
13511 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13512 | return NULL; |
13513 | } |
13514 | inline void* MaybeArenaPtr() const { |
13515 | return NULL; |
13516 | } |
13517 | public: |
13518 | |
13519 | ::google::protobuf::Metadata GetMetadata() const final; |
13520 | |
13521 | // nested types ---------------------------------------------------- |
13522 | |
13523 | // accessors ------------------------------------------------------- |
13524 | |
13525 | // required string path = 1; |
13526 | bool has_path() const; |
13527 | void clear_path(); |
13528 | static const int kPathFieldNumber = 1; |
13529 | const ::std::string& path() const; |
13530 | void set_path(const ::std::string& value); |
13531 | #if LANG_CXX11 |
13532 | void set_path(::std::string&& value); |
13533 | #endif |
13534 | void set_path(const char* value); |
13535 | void set_path(const char* value, size_t size); |
13536 | ::std::string* mutable_path(); |
13537 | ::std::string* release_path(); |
13538 | void set_allocated_path(::std::string* path); |
13539 | |
13540 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetContentSummaryRequestProto) |
13541 | private: |
13542 | void set_has_path(); |
13543 | void clear_has_path(); |
13544 | |
13545 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13546 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13547 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13548 | ::google::protobuf::internal::ArenaStringPtr path_; |
13549 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13550 | }; |
13551 | // ------------------------------------------------------------------- |
13552 | |
13553 | class GetContentSummaryResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetContentSummaryResponseProto) */ { |
13554 | public: |
13555 | GetContentSummaryResponseProto(); |
13556 | virtual ~GetContentSummaryResponseProto(); |
13557 | |
13558 | GetContentSummaryResponseProto(const GetContentSummaryResponseProto& from); |
13559 | |
13560 | inline GetContentSummaryResponseProto& operator=(const GetContentSummaryResponseProto& from) { |
13561 | CopyFrom(from); |
13562 | return *this; |
13563 | } |
13564 | #if LANG_CXX11 |
13565 | GetContentSummaryResponseProto(GetContentSummaryResponseProto&& from) noexcept |
13566 | : GetContentSummaryResponseProto() { |
13567 | *this = ::std::move(from); |
13568 | } |
13569 | |
13570 | inline GetContentSummaryResponseProto& operator=(GetContentSummaryResponseProto&& from) noexcept { |
13571 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13572 | if (this != &from) InternalSwap(&from); |
13573 | } else { |
13574 | CopyFrom(from); |
13575 | } |
13576 | return *this; |
13577 | } |
13578 | #endif |
13579 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13580 | return _internal_metadata_.unknown_fields(); |
13581 | } |
13582 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13583 | return _internal_metadata_.mutable_unknown_fields(); |
13584 | } |
13585 | |
13586 | static const ::google::protobuf::Descriptor* descriptor(); |
13587 | static const GetContentSummaryResponseProto& default_instance(); |
13588 | |
13589 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13590 | static inline const GetContentSummaryResponseProto* internal_default_instance() { |
13591 | return reinterpret_cast<const GetContentSummaryResponseProto*>( |
13592 | &_GetContentSummaryResponseProto_default_instance_); |
13593 | } |
13594 | static constexpr int kIndexInFileMessages = |
13595 | 102; |
13596 | |
13597 | void Swap(GetContentSummaryResponseProto* other); |
13598 | friend void swap(GetContentSummaryResponseProto& a, GetContentSummaryResponseProto& b) { |
13599 | a.Swap(&b); |
13600 | } |
13601 | |
13602 | // implements Message ---------------------------------------------- |
13603 | |
13604 | inline GetContentSummaryResponseProto* New() const final { |
13605 | return CreateMaybeMessage<GetContentSummaryResponseProto>(NULL); |
13606 | } |
13607 | |
13608 | GetContentSummaryResponseProto* New(::google::protobuf::Arena* arena) const final { |
13609 | return CreateMaybeMessage<GetContentSummaryResponseProto>(arena); |
13610 | } |
13611 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13612 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13613 | void CopyFrom(const GetContentSummaryResponseProto& from); |
13614 | void MergeFrom(const GetContentSummaryResponseProto& from); |
13615 | void Clear() final; |
13616 | bool IsInitialized() const final; |
13617 | |
13618 | size_t ByteSizeLong() const final; |
13619 | bool MergePartialFromCodedStream( |
13620 | ::google::protobuf::io::CodedInputStream* input) final; |
13621 | void SerializeWithCachedSizes( |
13622 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13623 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13624 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13625 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13626 | |
13627 | private: |
13628 | void SharedCtor(); |
13629 | void SharedDtor(); |
13630 | void SetCachedSize(int size) const final; |
13631 | void InternalSwap(GetContentSummaryResponseProto* other); |
13632 | private: |
13633 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13634 | return NULL; |
13635 | } |
13636 | inline void* MaybeArenaPtr() const { |
13637 | return NULL; |
13638 | } |
13639 | public: |
13640 | |
13641 | ::google::protobuf::Metadata GetMetadata() const final; |
13642 | |
13643 | // nested types ---------------------------------------------------- |
13644 | |
13645 | // accessors ------------------------------------------------------- |
13646 | |
13647 | // required .Hdfs.Internal.ContentSummaryProto summary = 1; |
13648 | bool has_summary() const; |
13649 | void clear_summary(); |
13650 | static const int kSummaryFieldNumber = 1; |
13651 | private: |
13652 | const ::Hdfs::Internal::ContentSummaryProto& _internal_summary() const; |
13653 | public: |
13654 | const ::Hdfs::Internal::ContentSummaryProto& summary() const; |
13655 | ::Hdfs::Internal::ContentSummaryProto* release_summary(); |
13656 | ::Hdfs::Internal::ContentSummaryProto* mutable_summary(); |
13657 | void set_allocated_summary(::Hdfs::Internal::ContentSummaryProto* summary); |
13658 | |
13659 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetContentSummaryResponseProto) |
13660 | private: |
13661 | void set_has_summary(); |
13662 | void clear_has_summary(); |
13663 | |
13664 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13665 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13666 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13667 | ::Hdfs::Internal::ContentSummaryProto* summary_; |
13668 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13669 | }; |
13670 | // ------------------------------------------------------------------- |
13671 | |
13672 | class SetQuotaRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetQuotaRequestProto) */ { |
13673 | public: |
13674 | SetQuotaRequestProto(); |
13675 | virtual ~SetQuotaRequestProto(); |
13676 | |
13677 | SetQuotaRequestProto(const SetQuotaRequestProto& from); |
13678 | |
13679 | inline SetQuotaRequestProto& operator=(const SetQuotaRequestProto& from) { |
13680 | CopyFrom(from); |
13681 | return *this; |
13682 | } |
13683 | #if LANG_CXX11 |
13684 | SetQuotaRequestProto(SetQuotaRequestProto&& from) noexcept |
13685 | : SetQuotaRequestProto() { |
13686 | *this = ::std::move(from); |
13687 | } |
13688 | |
13689 | inline SetQuotaRequestProto& operator=(SetQuotaRequestProto&& from) noexcept { |
13690 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13691 | if (this != &from) InternalSwap(&from); |
13692 | } else { |
13693 | CopyFrom(from); |
13694 | } |
13695 | return *this; |
13696 | } |
13697 | #endif |
13698 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13699 | return _internal_metadata_.unknown_fields(); |
13700 | } |
13701 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13702 | return _internal_metadata_.mutable_unknown_fields(); |
13703 | } |
13704 | |
13705 | static const ::google::protobuf::Descriptor* descriptor(); |
13706 | static const SetQuotaRequestProto& default_instance(); |
13707 | |
13708 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13709 | static inline const SetQuotaRequestProto* internal_default_instance() { |
13710 | return reinterpret_cast<const SetQuotaRequestProto*>( |
13711 | &_SetQuotaRequestProto_default_instance_); |
13712 | } |
13713 | static constexpr int kIndexInFileMessages = |
13714 | 103; |
13715 | |
13716 | void Swap(SetQuotaRequestProto* other); |
13717 | friend void swap(SetQuotaRequestProto& a, SetQuotaRequestProto& b) { |
13718 | a.Swap(&b); |
13719 | } |
13720 | |
13721 | // implements Message ---------------------------------------------- |
13722 | |
13723 | inline SetQuotaRequestProto* New() const final { |
13724 | return CreateMaybeMessage<SetQuotaRequestProto>(NULL); |
13725 | } |
13726 | |
13727 | SetQuotaRequestProto* New(::google::protobuf::Arena* arena) const final { |
13728 | return CreateMaybeMessage<SetQuotaRequestProto>(arena); |
13729 | } |
13730 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13731 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13732 | void CopyFrom(const SetQuotaRequestProto& from); |
13733 | void MergeFrom(const SetQuotaRequestProto& from); |
13734 | void Clear() final; |
13735 | bool IsInitialized() const final; |
13736 | |
13737 | size_t ByteSizeLong() const final; |
13738 | bool MergePartialFromCodedStream( |
13739 | ::google::protobuf::io::CodedInputStream* input) final; |
13740 | void SerializeWithCachedSizes( |
13741 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13742 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13743 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13744 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13745 | |
13746 | private: |
13747 | void SharedCtor(); |
13748 | void SharedDtor(); |
13749 | void SetCachedSize(int size) const final; |
13750 | void InternalSwap(SetQuotaRequestProto* other); |
13751 | private: |
13752 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13753 | return NULL; |
13754 | } |
13755 | inline void* MaybeArenaPtr() const { |
13756 | return NULL; |
13757 | } |
13758 | public: |
13759 | |
13760 | ::google::protobuf::Metadata GetMetadata() const final; |
13761 | |
13762 | // nested types ---------------------------------------------------- |
13763 | |
13764 | // accessors ------------------------------------------------------- |
13765 | |
13766 | // required string path = 1; |
13767 | bool has_path() const; |
13768 | void clear_path(); |
13769 | static const int kPathFieldNumber = 1; |
13770 | const ::std::string& path() const; |
13771 | void set_path(const ::std::string& value); |
13772 | #if LANG_CXX11 |
13773 | void set_path(::std::string&& value); |
13774 | #endif |
13775 | void set_path(const char* value); |
13776 | void set_path(const char* value, size_t size); |
13777 | ::std::string* mutable_path(); |
13778 | ::std::string* release_path(); |
13779 | void set_allocated_path(::std::string* path); |
13780 | |
13781 | // required uint64 namespaceQuota = 2; |
13782 | bool has_namespacequota() const; |
13783 | void clear_namespacequota(); |
13784 | static const int kNamespaceQuotaFieldNumber = 2; |
13785 | ::google::protobuf::uint64 namespacequota() const; |
13786 | void set_namespacequota(::google::protobuf::uint64 value); |
13787 | |
13788 | // required uint64 diskspaceQuota = 3; |
13789 | bool has_diskspacequota() const; |
13790 | void clear_diskspacequota(); |
13791 | static const int kDiskspaceQuotaFieldNumber = 3; |
13792 | ::google::protobuf::uint64 diskspacequota() const; |
13793 | void set_diskspacequota(::google::protobuf::uint64 value); |
13794 | |
13795 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetQuotaRequestProto) |
13796 | private: |
13797 | void set_has_path(); |
13798 | void clear_has_path(); |
13799 | void set_has_namespacequota(); |
13800 | void clear_has_namespacequota(); |
13801 | void set_has_diskspacequota(); |
13802 | void clear_has_diskspacequota(); |
13803 | |
13804 | // helper for ByteSizeLong() |
13805 | size_t RequiredFieldsByteSizeFallback() const; |
13806 | |
13807 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13808 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13809 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13810 | ::google::protobuf::internal::ArenaStringPtr path_; |
13811 | ::google::protobuf::uint64 namespacequota_; |
13812 | ::google::protobuf::uint64 diskspacequota_; |
13813 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13814 | }; |
13815 | // ------------------------------------------------------------------- |
13816 | |
13817 | class SetQuotaResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetQuotaResponseProto) */ { |
13818 | public: |
13819 | SetQuotaResponseProto(); |
13820 | virtual ~SetQuotaResponseProto(); |
13821 | |
13822 | SetQuotaResponseProto(const SetQuotaResponseProto& from); |
13823 | |
13824 | inline SetQuotaResponseProto& operator=(const SetQuotaResponseProto& from) { |
13825 | CopyFrom(from); |
13826 | return *this; |
13827 | } |
13828 | #if LANG_CXX11 |
13829 | SetQuotaResponseProto(SetQuotaResponseProto&& from) noexcept |
13830 | : SetQuotaResponseProto() { |
13831 | *this = ::std::move(from); |
13832 | } |
13833 | |
13834 | inline SetQuotaResponseProto& operator=(SetQuotaResponseProto&& from) noexcept { |
13835 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13836 | if (this != &from) InternalSwap(&from); |
13837 | } else { |
13838 | CopyFrom(from); |
13839 | } |
13840 | return *this; |
13841 | } |
13842 | #endif |
13843 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13844 | return _internal_metadata_.unknown_fields(); |
13845 | } |
13846 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13847 | return _internal_metadata_.mutable_unknown_fields(); |
13848 | } |
13849 | |
13850 | static const ::google::protobuf::Descriptor* descriptor(); |
13851 | static const SetQuotaResponseProto& default_instance(); |
13852 | |
13853 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13854 | static inline const SetQuotaResponseProto* internal_default_instance() { |
13855 | return reinterpret_cast<const SetQuotaResponseProto*>( |
13856 | &_SetQuotaResponseProto_default_instance_); |
13857 | } |
13858 | static constexpr int kIndexInFileMessages = |
13859 | 104; |
13860 | |
13861 | void Swap(SetQuotaResponseProto* other); |
13862 | friend void swap(SetQuotaResponseProto& a, SetQuotaResponseProto& b) { |
13863 | a.Swap(&b); |
13864 | } |
13865 | |
13866 | // implements Message ---------------------------------------------- |
13867 | |
13868 | inline SetQuotaResponseProto* New() const final { |
13869 | return CreateMaybeMessage<SetQuotaResponseProto>(NULL); |
13870 | } |
13871 | |
13872 | SetQuotaResponseProto* New(::google::protobuf::Arena* arena) const final { |
13873 | return CreateMaybeMessage<SetQuotaResponseProto>(arena); |
13874 | } |
13875 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13876 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13877 | void CopyFrom(const SetQuotaResponseProto& from); |
13878 | void MergeFrom(const SetQuotaResponseProto& from); |
13879 | void Clear() final; |
13880 | bool IsInitialized() const final; |
13881 | |
13882 | size_t ByteSizeLong() const final; |
13883 | bool MergePartialFromCodedStream( |
13884 | ::google::protobuf::io::CodedInputStream* input) final; |
13885 | void SerializeWithCachedSizes( |
13886 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13887 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13888 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13889 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13890 | |
13891 | private: |
13892 | void SharedCtor(); |
13893 | void SharedDtor(); |
13894 | void SetCachedSize(int size) const final; |
13895 | void InternalSwap(SetQuotaResponseProto* other); |
13896 | private: |
13897 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
13898 | return NULL; |
13899 | } |
13900 | inline void* MaybeArenaPtr() const { |
13901 | return NULL; |
13902 | } |
13903 | public: |
13904 | |
13905 | ::google::protobuf::Metadata GetMetadata() const final; |
13906 | |
13907 | // nested types ---------------------------------------------------- |
13908 | |
13909 | // accessors ------------------------------------------------------- |
13910 | |
13911 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetQuotaResponseProto) |
13912 | private: |
13913 | |
13914 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
13915 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
13916 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
13917 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
13918 | }; |
13919 | // ------------------------------------------------------------------- |
13920 | |
13921 | class FsyncRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.FsyncRequestProto) */ { |
13922 | public: |
13923 | FsyncRequestProto(); |
13924 | virtual ~FsyncRequestProto(); |
13925 | |
13926 | FsyncRequestProto(const FsyncRequestProto& from); |
13927 | |
13928 | inline FsyncRequestProto& operator=(const FsyncRequestProto& from) { |
13929 | CopyFrom(from); |
13930 | return *this; |
13931 | } |
13932 | #if LANG_CXX11 |
13933 | FsyncRequestProto(FsyncRequestProto&& from) noexcept |
13934 | : FsyncRequestProto() { |
13935 | *this = ::std::move(from); |
13936 | } |
13937 | |
13938 | inline FsyncRequestProto& operator=(FsyncRequestProto&& from) noexcept { |
13939 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
13940 | if (this != &from) InternalSwap(&from); |
13941 | } else { |
13942 | CopyFrom(from); |
13943 | } |
13944 | return *this; |
13945 | } |
13946 | #endif |
13947 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
13948 | return _internal_metadata_.unknown_fields(); |
13949 | } |
13950 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
13951 | return _internal_metadata_.mutable_unknown_fields(); |
13952 | } |
13953 | |
13954 | static const ::google::protobuf::Descriptor* descriptor(); |
13955 | static const FsyncRequestProto& default_instance(); |
13956 | |
13957 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
13958 | static inline const FsyncRequestProto* internal_default_instance() { |
13959 | return reinterpret_cast<const FsyncRequestProto*>( |
13960 | &_FsyncRequestProto_default_instance_); |
13961 | } |
13962 | static constexpr int kIndexInFileMessages = |
13963 | 105; |
13964 | |
13965 | void Swap(FsyncRequestProto* other); |
13966 | friend void swap(FsyncRequestProto& a, FsyncRequestProto& b) { |
13967 | a.Swap(&b); |
13968 | } |
13969 | |
13970 | // implements Message ---------------------------------------------- |
13971 | |
13972 | inline FsyncRequestProto* New() const final { |
13973 | return CreateMaybeMessage<FsyncRequestProto>(NULL); |
13974 | } |
13975 | |
13976 | FsyncRequestProto* New(::google::protobuf::Arena* arena) const final { |
13977 | return CreateMaybeMessage<FsyncRequestProto>(arena); |
13978 | } |
13979 | void CopyFrom(const ::google::protobuf::Message& from) final; |
13980 | void MergeFrom(const ::google::protobuf::Message& from) final; |
13981 | void CopyFrom(const FsyncRequestProto& from); |
13982 | void MergeFrom(const FsyncRequestProto& from); |
13983 | void Clear() final; |
13984 | bool IsInitialized() const final; |
13985 | |
13986 | size_t ByteSizeLong() const final; |
13987 | bool MergePartialFromCodedStream( |
13988 | ::google::protobuf::io::CodedInputStream* input) final; |
13989 | void SerializeWithCachedSizes( |
13990 | ::google::protobuf::io::CodedOutputStream* output) const final; |
13991 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
13992 | bool deterministic, ::google::protobuf::uint8* target) const final; |
13993 | int GetCachedSize() const final { return _cached_size_.Get(); } |
13994 | |
13995 | private: |
13996 | void SharedCtor(); |
13997 | void SharedDtor(); |
13998 | void SetCachedSize(int size) const final; |
13999 | void InternalSwap(FsyncRequestProto* other); |
14000 | private: |
14001 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14002 | return NULL; |
14003 | } |
14004 | inline void* MaybeArenaPtr() const { |
14005 | return NULL; |
14006 | } |
14007 | public: |
14008 | |
14009 | ::google::protobuf::Metadata GetMetadata() const final; |
14010 | |
14011 | // nested types ---------------------------------------------------- |
14012 | |
14013 | // accessors ------------------------------------------------------- |
14014 | |
14015 | // required string src = 1; |
14016 | bool has_src() const; |
14017 | void clear_src(); |
14018 | static const int kSrcFieldNumber = 1; |
14019 | const ::std::string& src() const; |
14020 | void set_src(const ::std::string& value); |
14021 | #if LANG_CXX11 |
14022 | void set_src(::std::string&& value); |
14023 | #endif |
14024 | void set_src(const char* value); |
14025 | void set_src(const char* value, size_t size); |
14026 | ::std::string* mutable_src(); |
14027 | ::std::string* release_src(); |
14028 | void set_allocated_src(::std::string* src); |
14029 | |
14030 | // required string client = 2; |
14031 | bool has_client() const; |
14032 | void clear_client(); |
14033 | static const int kClientFieldNumber = 2; |
14034 | const ::std::string& client() const; |
14035 | void set_client(const ::std::string& value); |
14036 | #if LANG_CXX11 |
14037 | void set_client(::std::string&& value); |
14038 | #endif |
14039 | void set_client(const char* value); |
14040 | void set_client(const char* value, size_t size); |
14041 | ::std::string* mutable_client(); |
14042 | ::std::string* release_client(); |
14043 | void set_allocated_client(::std::string* client); |
14044 | |
14045 | // optional sint64 lastBlockLength = 3 [default = -1]; |
14046 | bool has_lastblocklength() const; |
14047 | void clear_lastblocklength(); |
14048 | static const int kLastBlockLengthFieldNumber = 3; |
14049 | ::google::protobuf::int64 lastblocklength() const; |
14050 | void set_lastblocklength(::google::protobuf::int64 value); |
14051 | |
14052 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.FsyncRequestProto) |
14053 | private: |
14054 | void set_has_src(); |
14055 | void clear_has_src(); |
14056 | void set_has_client(); |
14057 | void clear_has_client(); |
14058 | void set_has_lastblocklength(); |
14059 | void clear_has_lastblocklength(); |
14060 | |
14061 | // helper for ByteSizeLong() |
14062 | size_t RequiredFieldsByteSizeFallback() const; |
14063 | |
14064 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14065 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14066 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14067 | ::google::protobuf::internal::ArenaStringPtr src_; |
14068 | ::google::protobuf::internal::ArenaStringPtr client_; |
14069 | ::google::protobuf::int64 lastblocklength_; |
14070 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14071 | }; |
14072 | // ------------------------------------------------------------------- |
14073 | |
14074 | class FsyncResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.FsyncResponseProto) */ { |
14075 | public: |
14076 | FsyncResponseProto(); |
14077 | virtual ~FsyncResponseProto(); |
14078 | |
14079 | FsyncResponseProto(const FsyncResponseProto& from); |
14080 | |
14081 | inline FsyncResponseProto& operator=(const FsyncResponseProto& from) { |
14082 | CopyFrom(from); |
14083 | return *this; |
14084 | } |
14085 | #if LANG_CXX11 |
14086 | FsyncResponseProto(FsyncResponseProto&& from) noexcept |
14087 | : FsyncResponseProto() { |
14088 | *this = ::std::move(from); |
14089 | } |
14090 | |
14091 | inline FsyncResponseProto& operator=(FsyncResponseProto&& from) noexcept { |
14092 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14093 | if (this != &from) InternalSwap(&from); |
14094 | } else { |
14095 | CopyFrom(from); |
14096 | } |
14097 | return *this; |
14098 | } |
14099 | #endif |
14100 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14101 | return _internal_metadata_.unknown_fields(); |
14102 | } |
14103 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14104 | return _internal_metadata_.mutable_unknown_fields(); |
14105 | } |
14106 | |
14107 | static const ::google::protobuf::Descriptor* descriptor(); |
14108 | static const FsyncResponseProto& default_instance(); |
14109 | |
14110 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14111 | static inline const FsyncResponseProto* internal_default_instance() { |
14112 | return reinterpret_cast<const FsyncResponseProto*>( |
14113 | &_FsyncResponseProto_default_instance_); |
14114 | } |
14115 | static constexpr int kIndexInFileMessages = |
14116 | 106; |
14117 | |
14118 | void Swap(FsyncResponseProto* other); |
14119 | friend void swap(FsyncResponseProto& a, FsyncResponseProto& b) { |
14120 | a.Swap(&b); |
14121 | } |
14122 | |
14123 | // implements Message ---------------------------------------------- |
14124 | |
14125 | inline FsyncResponseProto* New() const final { |
14126 | return CreateMaybeMessage<FsyncResponseProto>(NULL); |
14127 | } |
14128 | |
14129 | FsyncResponseProto* New(::google::protobuf::Arena* arena) const final { |
14130 | return CreateMaybeMessage<FsyncResponseProto>(arena); |
14131 | } |
14132 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14133 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14134 | void CopyFrom(const FsyncResponseProto& from); |
14135 | void MergeFrom(const FsyncResponseProto& from); |
14136 | void Clear() final; |
14137 | bool IsInitialized() const final; |
14138 | |
14139 | size_t ByteSizeLong() const final; |
14140 | bool MergePartialFromCodedStream( |
14141 | ::google::protobuf::io::CodedInputStream* input) final; |
14142 | void SerializeWithCachedSizes( |
14143 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14144 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14145 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14146 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14147 | |
14148 | private: |
14149 | void SharedCtor(); |
14150 | void SharedDtor(); |
14151 | void SetCachedSize(int size) const final; |
14152 | void InternalSwap(FsyncResponseProto* other); |
14153 | private: |
14154 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14155 | return NULL; |
14156 | } |
14157 | inline void* MaybeArenaPtr() const { |
14158 | return NULL; |
14159 | } |
14160 | public: |
14161 | |
14162 | ::google::protobuf::Metadata GetMetadata() const final; |
14163 | |
14164 | // nested types ---------------------------------------------------- |
14165 | |
14166 | // accessors ------------------------------------------------------- |
14167 | |
14168 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.FsyncResponseProto) |
14169 | private: |
14170 | |
14171 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14172 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14173 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14174 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14175 | }; |
14176 | // ------------------------------------------------------------------- |
14177 | |
14178 | class SetTimesRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetTimesRequestProto) */ { |
14179 | public: |
14180 | SetTimesRequestProto(); |
14181 | virtual ~SetTimesRequestProto(); |
14182 | |
14183 | SetTimesRequestProto(const SetTimesRequestProto& from); |
14184 | |
14185 | inline SetTimesRequestProto& operator=(const SetTimesRequestProto& from) { |
14186 | CopyFrom(from); |
14187 | return *this; |
14188 | } |
14189 | #if LANG_CXX11 |
14190 | SetTimesRequestProto(SetTimesRequestProto&& from) noexcept |
14191 | : SetTimesRequestProto() { |
14192 | *this = ::std::move(from); |
14193 | } |
14194 | |
14195 | inline SetTimesRequestProto& operator=(SetTimesRequestProto&& from) noexcept { |
14196 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14197 | if (this != &from) InternalSwap(&from); |
14198 | } else { |
14199 | CopyFrom(from); |
14200 | } |
14201 | return *this; |
14202 | } |
14203 | #endif |
14204 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14205 | return _internal_metadata_.unknown_fields(); |
14206 | } |
14207 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14208 | return _internal_metadata_.mutable_unknown_fields(); |
14209 | } |
14210 | |
14211 | static const ::google::protobuf::Descriptor* descriptor(); |
14212 | static const SetTimesRequestProto& default_instance(); |
14213 | |
14214 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14215 | static inline const SetTimesRequestProto* internal_default_instance() { |
14216 | return reinterpret_cast<const SetTimesRequestProto*>( |
14217 | &_SetTimesRequestProto_default_instance_); |
14218 | } |
14219 | static constexpr int kIndexInFileMessages = |
14220 | 107; |
14221 | |
14222 | void Swap(SetTimesRequestProto* other); |
14223 | friend void swap(SetTimesRequestProto& a, SetTimesRequestProto& b) { |
14224 | a.Swap(&b); |
14225 | } |
14226 | |
14227 | // implements Message ---------------------------------------------- |
14228 | |
14229 | inline SetTimesRequestProto* New() const final { |
14230 | return CreateMaybeMessage<SetTimesRequestProto>(NULL); |
14231 | } |
14232 | |
14233 | SetTimesRequestProto* New(::google::protobuf::Arena* arena) const final { |
14234 | return CreateMaybeMessage<SetTimesRequestProto>(arena); |
14235 | } |
14236 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14237 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14238 | void CopyFrom(const SetTimesRequestProto& from); |
14239 | void MergeFrom(const SetTimesRequestProto& from); |
14240 | void Clear() final; |
14241 | bool IsInitialized() const final; |
14242 | |
14243 | size_t ByteSizeLong() const final; |
14244 | bool MergePartialFromCodedStream( |
14245 | ::google::protobuf::io::CodedInputStream* input) final; |
14246 | void SerializeWithCachedSizes( |
14247 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14248 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14249 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14250 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14251 | |
14252 | private: |
14253 | void SharedCtor(); |
14254 | void SharedDtor(); |
14255 | void SetCachedSize(int size) const final; |
14256 | void InternalSwap(SetTimesRequestProto* other); |
14257 | private: |
14258 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14259 | return NULL; |
14260 | } |
14261 | inline void* MaybeArenaPtr() const { |
14262 | return NULL; |
14263 | } |
14264 | public: |
14265 | |
14266 | ::google::protobuf::Metadata GetMetadata() const final; |
14267 | |
14268 | // nested types ---------------------------------------------------- |
14269 | |
14270 | // accessors ------------------------------------------------------- |
14271 | |
14272 | // required string src = 1; |
14273 | bool has_src() const; |
14274 | void clear_src(); |
14275 | static const int kSrcFieldNumber = 1; |
14276 | const ::std::string& src() const; |
14277 | void set_src(const ::std::string& value); |
14278 | #if LANG_CXX11 |
14279 | void set_src(::std::string&& value); |
14280 | #endif |
14281 | void set_src(const char* value); |
14282 | void set_src(const char* value, size_t size); |
14283 | ::std::string* mutable_src(); |
14284 | ::std::string* release_src(); |
14285 | void set_allocated_src(::std::string* src); |
14286 | |
14287 | // required uint64 mtime = 2; |
14288 | bool has_mtime() const; |
14289 | void clear_mtime(); |
14290 | static const int kMtimeFieldNumber = 2; |
14291 | ::google::protobuf::uint64 mtime() const; |
14292 | void set_mtime(::google::protobuf::uint64 value); |
14293 | |
14294 | // required uint64 atime = 3; |
14295 | bool has_atime() const; |
14296 | void clear_atime(); |
14297 | static const int kAtimeFieldNumber = 3; |
14298 | ::google::protobuf::uint64 atime() const; |
14299 | void set_atime(::google::protobuf::uint64 value); |
14300 | |
14301 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetTimesRequestProto) |
14302 | private: |
14303 | void set_has_src(); |
14304 | void clear_has_src(); |
14305 | void set_has_mtime(); |
14306 | void clear_has_mtime(); |
14307 | void set_has_atime(); |
14308 | void clear_has_atime(); |
14309 | |
14310 | // helper for ByteSizeLong() |
14311 | size_t RequiredFieldsByteSizeFallback() const; |
14312 | |
14313 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14314 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14315 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14316 | ::google::protobuf::internal::ArenaStringPtr src_; |
14317 | ::google::protobuf::uint64 mtime_; |
14318 | ::google::protobuf::uint64 atime_; |
14319 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14320 | }; |
14321 | // ------------------------------------------------------------------- |
14322 | |
14323 | class SetTimesResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetTimesResponseProto) */ { |
14324 | public: |
14325 | SetTimesResponseProto(); |
14326 | virtual ~SetTimesResponseProto(); |
14327 | |
14328 | SetTimesResponseProto(const SetTimesResponseProto& from); |
14329 | |
14330 | inline SetTimesResponseProto& operator=(const SetTimesResponseProto& from) { |
14331 | CopyFrom(from); |
14332 | return *this; |
14333 | } |
14334 | #if LANG_CXX11 |
14335 | SetTimesResponseProto(SetTimesResponseProto&& from) noexcept |
14336 | : SetTimesResponseProto() { |
14337 | *this = ::std::move(from); |
14338 | } |
14339 | |
14340 | inline SetTimesResponseProto& operator=(SetTimesResponseProto&& from) noexcept { |
14341 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14342 | if (this != &from) InternalSwap(&from); |
14343 | } else { |
14344 | CopyFrom(from); |
14345 | } |
14346 | return *this; |
14347 | } |
14348 | #endif |
14349 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14350 | return _internal_metadata_.unknown_fields(); |
14351 | } |
14352 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14353 | return _internal_metadata_.mutable_unknown_fields(); |
14354 | } |
14355 | |
14356 | static const ::google::protobuf::Descriptor* descriptor(); |
14357 | static const SetTimesResponseProto& default_instance(); |
14358 | |
14359 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14360 | static inline const SetTimesResponseProto* internal_default_instance() { |
14361 | return reinterpret_cast<const SetTimesResponseProto*>( |
14362 | &_SetTimesResponseProto_default_instance_); |
14363 | } |
14364 | static constexpr int kIndexInFileMessages = |
14365 | 108; |
14366 | |
14367 | void Swap(SetTimesResponseProto* other); |
14368 | friend void swap(SetTimesResponseProto& a, SetTimesResponseProto& b) { |
14369 | a.Swap(&b); |
14370 | } |
14371 | |
14372 | // implements Message ---------------------------------------------- |
14373 | |
14374 | inline SetTimesResponseProto* New() const final { |
14375 | return CreateMaybeMessage<SetTimesResponseProto>(NULL); |
14376 | } |
14377 | |
14378 | SetTimesResponseProto* New(::google::protobuf::Arena* arena) const final { |
14379 | return CreateMaybeMessage<SetTimesResponseProto>(arena); |
14380 | } |
14381 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14382 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14383 | void CopyFrom(const SetTimesResponseProto& from); |
14384 | void MergeFrom(const SetTimesResponseProto& from); |
14385 | void Clear() final; |
14386 | bool IsInitialized() const final; |
14387 | |
14388 | size_t ByteSizeLong() const final; |
14389 | bool MergePartialFromCodedStream( |
14390 | ::google::protobuf::io::CodedInputStream* input) final; |
14391 | void SerializeWithCachedSizes( |
14392 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14393 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14394 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14395 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14396 | |
14397 | private: |
14398 | void SharedCtor(); |
14399 | void SharedDtor(); |
14400 | void SetCachedSize(int size) const final; |
14401 | void InternalSwap(SetTimesResponseProto* other); |
14402 | private: |
14403 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14404 | return NULL; |
14405 | } |
14406 | inline void* MaybeArenaPtr() const { |
14407 | return NULL; |
14408 | } |
14409 | public: |
14410 | |
14411 | ::google::protobuf::Metadata GetMetadata() const final; |
14412 | |
14413 | // nested types ---------------------------------------------------- |
14414 | |
14415 | // accessors ------------------------------------------------------- |
14416 | |
14417 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetTimesResponseProto) |
14418 | private: |
14419 | |
14420 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14421 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14422 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14423 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14424 | }; |
14425 | // ------------------------------------------------------------------- |
14426 | |
14427 | class CreateSymlinkRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateSymlinkRequestProto) */ { |
14428 | public: |
14429 | CreateSymlinkRequestProto(); |
14430 | virtual ~CreateSymlinkRequestProto(); |
14431 | |
14432 | CreateSymlinkRequestProto(const CreateSymlinkRequestProto& from); |
14433 | |
14434 | inline CreateSymlinkRequestProto& operator=(const CreateSymlinkRequestProto& from) { |
14435 | CopyFrom(from); |
14436 | return *this; |
14437 | } |
14438 | #if LANG_CXX11 |
14439 | CreateSymlinkRequestProto(CreateSymlinkRequestProto&& from) noexcept |
14440 | : CreateSymlinkRequestProto() { |
14441 | *this = ::std::move(from); |
14442 | } |
14443 | |
14444 | inline CreateSymlinkRequestProto& operator=(CreateSymlinkRequestProto&& from) noexcept { |
14445 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14446 | if (this != &from) InternalSwap(&from); |
14447 | } else { |
14448 | CopyFrom(from); |
14449 | } |
14450 | return *this; |
14451 | } |
14452 | #endif |
14453 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14454 | return _internal_metadata_.unknown_fields(); |
14455 | } |
14456 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14457 | return _internal_metadata_.mutable_unknown_fields(); |
14458 | } |
14459 | |
14460 | static const ::google::protobuf::Descriptor* descriptor(); |
14461 | static const CreateSymlinkRequestProto& default_instance(); |
14462 | |
14463 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14464 | static inline const CreateSymlinkRequestProto* internal_default_instance() { |
14465 | return reinterpret_cast<const CreateSymlinkRequestProto*>( |
14466 | &_CreateSymlinkRequestProto_default_instance_); |
14467 | } |
14468 | static constexpr int kIndexInFileMessages = |
14469 | 109; |
14470 | |
14471 | void Swap(CreateSymlinkRequestProto* other); |
14472 | friend void swap(CreateSymlinkRequestProto& a, CreateSymlinkRequestProto& b) { |
14473 | a.Swap(&b); |
14474 | } |
14475 | |
14476 | // implements Message ---------------------------------------------- |
14477 | |
14478 | inline CreateSymlinkRequestProto* New() const final { |
14479 | return CreateMaybeMessage<CreateSymlinkRequestProto>(NULL); |
14480 | } |
14481 | |
14482 | CreateSymlinkRequestProto* New(::google::protobuf::Arena* arena) const final { |
14483 | return CreateMaybeMessage<CreateSymlinkRequestProto>(arena); |
14484 | } |
14485 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14486 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14487 | void CopyFrom(const CreateSymlinkRequestProto& from); |
14488 | void MergeFrom(const CreateSymlinkRequestProto& from); |
14489 | void Clear() final; |
14490 | bool IsInitialized() const final; |
14491 | |
14492 | size_t ByteSizeLong() const final; |
14493 | bool MergePartialFromCodedStream( |
14494 | ::google::protobuf::io::CodedInputStream* input) final; |
14495 | void SerializeWithCachedSizes( |
14496 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14497 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14498 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14499 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14500 | |
14501 | private: |
14502 | void SharedCtor(); |
14503 | void SharedDtor(); |
14504 | void SetCachedSize(int size) const final; |
14505 | void InternalSwap(CreateSymlinkRequestProto* other); |
14506 | private: |
14507 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14508 | return NULL; |
14509 | } |
14510 | inline void* MaybeArenaPtr() const { |
14511 | return NULL; |
14512 | } |
14513 | public: |
14514 | |
14515 | ::google::protobuf::Metadata GetMetadata() const final; |
14516 | |
14517 | // nested types ---------------------------------------------------- |
14518 | |
14519 | // accessors ------------------------------------------------------- |
14520 | |
14521 | // required string target = 1; |
14522 | bool has_target() const; |
14523 | void clear_target(); |
14524 | static const int kTargetFieldNumber = 1; |
14525 | const ::std::string& target() const; |
14526 | void set_target(const ::std::string& value); |
14527 | #if LANG_CXX11 |
14528 | void set_target(::std::string&& value); |
14529 | #endif |
14530 | void set_target(const char* value); |
14531 | void set_target(const char* value, size_t size); |
14532 | ::std::string* mutable_target(); |
14533 | ::std::string* release_target(); |
14534 | void set_allocated_target(::std::string* target); |
14535 | |
14536 | // required string link = 2; |
14537 | bool has_link() const; |
14538 | void clear_link(); |
14539 | static const int kLinkFieldNumber = 2; |
14540 | const ::std::string& link() const; |
14541 | void set_link(const ::std::string& value); |
14542 | #if LANG_CXX11 |
14543 | void set_link(::std::string&& value); |
14544 | #endif |
14545 | void set_link(const char* value); |
14546 | void set_link(const char* value, size_t size); |
14547 | ::std::string* mutable_link(); |
14548 | ::std::string* release_link(); |
14549 | void set_allocated_link(::std::string* link); |
14550 | |
14551 | // required .Hdfs.Internal.FsPermissionProto dirPerm = 3; |
14552 | bool has_dirperm() const; |
14553 | void clear_dirperm(); |
14554 | static const int kDirPermFieldNumber = 3; |
14555 | private: |
14556 | const ::Hdfs::Internal::FsPermissionProto& _internal_dirperm() const; |
14557 | public: |
14558 | const ::Hdfs::Internal::FsPermissionProto& dirperm() const; |
14559 | ::Hdfs::Internal::FsPermissionProto* release_dirperm(); |
14560 | ::Hdfs::Internal::FsPermissionProto* mutable_dirperm(); |
14561 | void set_allocated_dirperm(::Hdfs::Internal::FsPermissionProto* dirperm); |
14562 | |
14563 | // required bool createParent = 4; |
14564 | bool has_createparent() const; |
14565 | void clear_createparent(); |
14566 | static const int kCreateParentFieldNumber = 4; |
14567 | bool createparent() const; |
14568 | void set_createparent(bool value); |
14569 | |
14570 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateSymlinkRequestProto) |
14571 | private: |
14572 | void set_has_target(); |
14573 | void clear_has_target(); |
14574 | void set_has_link(); |
14575 | void clear_has_link(); |
14576 | void set_has_dirperm(); |
14577 | void clear_has_dirperm(); |
14578 | void set_has_createparent(); |
14579 | void clear_has_createparent(); |
14580 | |
14581 | // helper for ByteSizeLong() |
14582 | size_t RequiredFieldsByteSizeFallback() const; |
14583 | |
14584 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14585 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14586 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14587 | ::google::protobuf::internal::ArenaStringPtr target_; |
14588 | ::google::protobuf::internal::ArenaStringPtr link_; |
14589 | ::Hdfs::Internal::FsPermissionProto* dirperm_; |
14590 | bool createparent_; |
14591 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14592 | }; |
14593 | // ------------------------------------------------------------------- |
14594 | |
14595 | class CreateSymlinkResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateSymlinkResponseProto) */ { |
14596 | public: |
14597 | CreateSymlinkResponseProto(); |
14598 | virtual ~CreateSymlinkResponseProto(); |
14599 | |
14600 | CreateSymlinkResponseProto(const CreateSymlinkResponseProto& from); |
14601 | |
14602 | inline CreateSymlinkResponseProto& operator=(const CreateSymlinkResponseProto& from) { |
14603 | CopyFrom(from); |
14604 | return *this; |
14605 | } |
14606 | #if LANG_CXX11 |
14607 | CreateSymlinkResponseProto(CreateSymlinkResponseProto&& from) noexcept |
14608 | : CreateSymlinkResponseProto() { |
14609 | *this = ::std::move(from); |
14610 | } |
14611 | |
14612 | inline CreateSymlinkResponseProto& operator=(CreateSymlinkResponseProto&& from) noexcept { |
14613 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14614 | if (this != &from) InternalSwap(&from); |
14615 | } else { |
14616 | CopyFrom(from); |
14617 | } |
14618 | return *this; |
14619 | } |
14620 | #endif |
14621 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14622 | return _internal_metadata_.unknown_fields(); |
14623 | } |
14624 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14625 | return _internal_metadata_.mutable_unknown_fields(); |
14626 | } |
14627 | |
14628 | static const ::google::protobuf::Descriptor* descriptor(); |
14629 | static const CreateSymlinkResponseProto& default_instance(); |
14630 | |
14631 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14632 | static inline const CreateSymlinkResponseProto* internal_default_instance() { |
14633 | return reinterpret_cast<const CreateSymlinkResponseProto*>( |
14634 | &_CreateSymlinkResponseProto_default_instance_); |
14635 | } |
14636 | static constexpr int kIndexInFileMessages = |
14637 | 110; |
14638 | |
14639 | void Swap(CreateSymlinkResponseProto* other); |
14640 | friend void swap(CreateSymlinkResponseProto& a, CreateSymlinkResponseProto& b) { |
14641 | a.Swap(&b); |
14642 | } |
14643 | |
14644 | // implements Message ---------------------------------------------- |
14645 | |
14646 | inline CreateSymlinkResponseProto* New() const final { |
14647 | return CreateMaybeMessage<CreateSymlinkResponseProto>(NULL); |
14648 | } |
14649 | |
14650 | CreateSymlinkResponseProto* New(::google::protobuf::Arena* arena) const final { |
14651 | return CreateMaybeMessage<CreateSymlinkResponseProto>(arena); |
14652 | } |
14653 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14654 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14655 | void CopyFrom(const CreateSymlinkResponseProto& from); |
14656 | void MergeFrom(const CreateSymlinkResponseProto& from); |
14657 | void Clear() final; |
14658 | bool IsInitialized() const final; |
14659 | |
14660 | size_t ByteSizeLong() const final; |
14661 | bool MergePartialFromCodedStream( |
14662 | ::google::protobuf::io::CodedInputStream* input) final; |
14663 | void SerializeWithCachedSizes( |
14664 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14665 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14666 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14667 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14668 | |
14669 | private: |
14670 | void SharedCtor(); |
14671 | void SharedDtor(); |
14672 | void SetCachedSize(int size) const final; |
14673 | void InternalSwap(CreateSymlinkResponseProto* other); |
14674 | private: |
14675 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14676 | return NULL; |
14677 | } |
14678 | inline void* MaybeArenaPtr() const { |
14679 | return NULL; |
14680 | } |
14681 | public: |
14682 | |
14683 | ::google::protobuf::Metadata GetMetadata() const final; |
14684 | |
14685 | // nested types ---------------------------------------------------- |
14686 | |
14687 | // accessors ------------------------------------------------------- |
14688 | |
14689 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateSymlinkResponseProto) |
14690 | private: |
14691 | |
14692 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14693 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14694 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14695 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14696 | }; |
14697 | // ------------------------------------------------------------------- |
14698 | |
14699 | class GetLinkTargetRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetLinkTargetRequestProto) */ { |
14700 | public: |
14701 | GetLinkTargetRequestProto(); |
14702 | virtual ~GetLinkTargetRequestProto(); |
14703 | |
14704 | GetLinkTargetRequestProto(const GetLinkTargetRequestProto& from); |
14705 | |
14706 | inline GetLinkTargetRequestProto& operator=(const GetLinkTargetRequestProto& from) { |
14707 | CopyFrom(from); |
14708 | return *this; |
14709 | } |
14710 | #if LANG_CXX11 |
14711 | GetLinkTargetRequestProto(GetLinkTargetRequestProto&& from) noexcept |
14712 | : GetLinkTargetRequestProto() { |
14713 | *this = ::std::move(from); |
14714 | } |
14715 | |
14716 | inline GetLinkTargetRequestProto& operator=(GetLinkTargetRequestProto&& from) noexcept { |
14717 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14718 | if (this != &from) InternalSwap(&from); |
14719 | } else { |
14720 | CopyFrom(from); |
14721 | } |
14722 | return *this; |
14723 | } |
14724 | #endif |
14725 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14726 | return _internal_metadata_.unknown_fields(); |
14727 | } |
14728 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14729 | return _internal_metadata_.mutable_unknown_fields(); |
14730 | } |
14731 | |
14732 | static const ::google::protobuf::Descriptor* descriptor(); |
14733 | static const GetLinkTargetRequestProto& default_instance(); |
14734 | |
14735 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14736 | static inline const GetLinkTargetRequestProto* internal_default_instance() { |
14737 | return reinterpret_cast<const GetLinkTargetRequestProto*>( |
14738 | &_GetLinkTargetRequestProto_default_instance_); |
14739 | } |
14740 | static constexpr int kIndexInFileMessages = |
14741 | 111; |
14742 | |
14743 | void Swap(GetLinkTargetRequestProto* other); |
14744 | friend void swap(GetLinkTargetRequestProto& a, GetLinkTargetRequestProto& b) { |
14745 | a.Swap(&b); |
14746 | } |
14747 | |
14748 | // implements Message ---------------------------------------------- |
14749 | |
14750 | inline GetLinkTargetRequestProto* New() const final { |
14751 | return CreateMaybeMessage<GetLinkTargetRequestProto>(NULL); |
14752 | } |
14753 | |
14754 | GetLinkTargetRequestProto* New(::google::protobuf::Arena* arena) const final { |
14755 | return CreateMaybeMessage<GetLinkTargetRequestProto>(arena); |
14756 | } |
14757 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14758 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14759 | void CopyFrom(const GetLinkTargetRequestProto& from); |
14760 | void MergeFrom(const GetLinkTargetRequestProto& from); |
14761 | void Clear() final; |
14762 | bool IsInitialized() const final; |
14763 | |
14764 | size_t ByteSizeLong() const final; |
14765 | bool MergePartialFromCodedStream( |
14766 | ::google::protobuf::io::CodedInputStream* input) final; |
14767 | void SerializeWithCachedSizes( |
14768 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14769 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14770 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14771 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14772 | |
14773 | private: |
14774 | void SharedCtor(); |
14775 | void SharedDtor(); |
14776 | void SetCachedSize(int size) const final; |
14777 | void InternalSwap(GetLinkTargetRequestProto* other); |
14778 | private: |
14779 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14780 | return NULL; |
14781 | } |
14782 | inline void* MaybeArenaPtr() const { |
14783 | return NULL; |
14784 | } |
14785 | public: |
14786 | |
14787 | ::google::protobuf::Metadata GetMetadata() const final; |
14788 | |
14789 | // nested types ---------------------------------------------------- |
14790 | |
14791 | // accessors ------------------------------------------------------- |
14792 | |
14793 | // required string path = 1; |
14794 | bool has_path() const; |
14795 | void clear_path(); |
14796 | static const int kPathFieldNumber = 1; |
14797 | const ::std::string& path() const; |
14798 | void set_path(const ::std::string& value); |
14799 | #if LANG_CXX11 |
14800 | void set_path(::std::string&& value); |
14801 | #endif |
14802 | void set_path(const char* value); |
14803 | void set_path(const char* value, size_t size); |
14804 | ::std::string* mutable_path(); |
14805 | ::std::string* release_path(); |
14806 | void set_allocated_path(::std::string* path); |
14807 | |
14808 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetLinkTargetRequestProto) |
14809 | private: |
14810 | void set_has_path(); |
14811 | void clear_has_path(); |
14812 | |
14813 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14814 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14815 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14816 | ::google::protobuf::internal::ArenaStringPtr path_; |
14817 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14818 | }; |
14819 | // ------------------------------------------------------------------- |
14820 | |
14821 | class GetLinkTargetResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetLinkTargetResponseProto) */ { |
14822 | public: |
14823 | GetLinkTargetResponseProto(); |
14824 | virtual ~GetLinkTargetResponseProto(); |
14825 | |
14826 | GetLinkTargetResponseProto(const GetLinkTargetResponseProto& from); |
14827 | |
14828 | inline GetLinkTargetResponseProto& operator=(const GetLinkTargetResponseProto& from) { |
14829 | CopyFrom(from); |
14830 | return *this; |
14831 | } |
14832 | #if LANG_CXX11 |
14833 | GetLinkTargetResponseProto(GetLinkTargetResponseProto&& from) noexcept |
14834 | : GetLinkTargetResponseProto() { |
14835 | *this = ::std::move(from); |
14836 | } |
14837 | |
14838 | inline GetLinkTargetResponseProto& operator=(GetLinkTargetResponseProto&& from) noexcept { |
14839 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14840 | if (this != &from) InternalSwap(&from); |
14841 | } else { |
14842 | CopyFrom(from); |
14843 | } |
14844 | return *this; |
14845 | } |
14846 | #endif |
14847 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14848 | return _internal_metadata_.unknown_fields(); |
14849 | } |
14850 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14851 | return _internal_metadata_.mutable_unknown_fields(); |
14852 | } |
14853 | |
14854 | static const ::google::protobuf::Descriptor* descriptor(); |
14855 | static const GetLinkTargetResponseProto& default_instance(); |
14856 | |
14857 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14858 | static inline const GetLinkTargetResponseProto* internal_default_instance() { |
14859 | return reinterpret_cast<const GetLinkTargetResponseProto*>( |
14860 | &_GetLinkTargetResponseProto_default_instance_); |
14861 | } |
14862 | static constexpr int kIndexInFileMessages = |
14863 | 112; |
14864 | |
14865 | void Swap(GetLinkTargetResponseProto* other); |
14866 | friend void swap(GetLinkTargetResponseProto& a, GetLinkTargetResponseProto& b) { |
14867 | a.Swap(&b); |
14868 | } |
14869 | |
14870 | // implements Message ---------------------------------------------- |
14871 | |
14872 | inline GetLinkTargetResponseProto* New() const final { |
14873 | return CreateMaybeMessage<GetLinkTargetResponseProto>(NULL); |
14874 | } |
14875 | |
14876 | GetLinkTargetResponseProto* New(::google::protobuf::Arena* arena) const final { |
14877 | return CreateMaybeMessage<GetLinkTargetResponseProto>(arena); |
14878 | } |
14879 | void CopyFrom(const ::google::protobuf::Message& from) final; |
14880 | void MergeFrom(const ::google::protobuf::Message& from) final; |
14881 | void CopyFrom(const GetLinkTargetResponseProto& from); |
14882 | void MergeFrom(const GetLinkTargetResponseProto& from); |
14883 | void Clear() final; |
14884 | bool IsInitialized() const final; |
14885 | |
14886 | size_t ByteSizeLong() const final; |
14887 | bool MergePartialFromCodedStream( |
14888 | ::google::protobuf::io::CodedInputStream* input) final; |
14889 | void SerializeWithCachedSizes( |
14890 | ::google::protobuf::io::CodedOutputStream* output) const final; |
14891 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
14892 | bool deterministic, ::google::protobuf::uint8* target) const final; |
14893 | int GetCachedSize() const final { return _cached_size_.Get(); } |
14894 | |
14895 | private: |
14896 | void SharedCtor(); |
14897 | void SharedDtor(); |
14898 | void SetCachedSize(int size) const final; |
14899 | void InternalSwap(GetLinkTargetResponseProto* other); |
14900 | private: |
14901 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
14902 | return NULL; |
14903 | } |
14904 | inline void* MaybeArenaPtr() const { |
14905 | return NULL; |
14906 | } |
14907 | public: |
14908 | |
14909 | ::google::protobuf::Metadata GetMetadata() const final; |
14910 | |
14911 | // nested types ---------------------------------------------------- |
14912 | |
14913 | // accessors ------------------------------------------------------- |
14914 | |
14915 | // optional string targetPath = 1; |
14916 | bool has_targetpath() const; |
14917 | void clear_targetpath(); |
14918 | static const int kTargetPathFieldNumber = 1; |
14919 | const ::std::string& targetpath() const; |
14920 | void set_targetpath(const ::std::string& value); |
14921 | #if LANG_CXX11 |
14922 | void set_targetpath(::std::string&& value); |
14923 | #endif |
14924 | void set_targetpath(const char* value); |
14925 | void set_targetpath(const char* value, size_t size); |
14926 | ::std::string* mutable_targetpath(); |
14927 | ::std::string* release_targetpath(); |
14928 | void set_allocated_targetpath(::std::string* targetpath); |
14929 | |
14930 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetLinkTargetResponseProto) |
14931 | private: |
14932 | void set_has_targetpath(); |
14933 | void clear_has_targetpath(); |
14934 | |
14935 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
14936 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
14937 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
14938 | ::google::protobuf::internal::ArenaStringPtr targetpath_; |
14939 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
14940 | }; |
14941 | // ------------------------------------------------------------------- |
14942 | |
14943 | class UpdateBlockForPipelineRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.UpdateBlockForPipelineRequestProto) */ { |
14944 | public: |
14945 | UpdateBlockForPipelineRequestProto(); |
14946 | virtual ~UpdateBlockForPipelineRequestProto(); |
14947 | |
14948 | UpdateBlockForPipelineRequestProto(const UpdateBlockForPipelineRequestProto& from); |
14949 | |
14950 | inline UpdateBlockForPipelineRequestProto& operator=(const UpdateBlockForPipelineRequestProto& from) { |
14951 | CopyFrom(from); |
14952 | return *this; |
14953 | } |
14954 | #if LANG_CXX11 |
14955 | UpdateBlockForPipelineRequestProto(UpdateBlockForPipelineRequestProto&& from) noexcept |
14956 | : UpdateBlockForPipelineRequestProto() { |
14957 | *this = ::std::move(from); |
14958 | } |
14959 | |
14960 | inline UpdateBlockForPipelineRequestProto& operator=(UpdateBlockForPipelineRequestProto&& from) noexcept { |
14961 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
14962 | if (this != &from) InternalSwap(&from); |
14963 | } else { |
14964 | CopyFrom(from); |
14965 | } |
14966 | return *this; |
14967 | } |
14968 | #endif |
14969 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
14970 | return _internal_metadata_.unknown_fields(); |
14971 | } |
14972 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
14973 | return _internal_metadata_.mutable_unknown_fields(); |
14974 | } |
14975 | |
14976 | static const ::google::protobuf::Descriptor* descriptor(); |
14977 | static const UpdateBlockForPipelineRequestProto& default_instance(); |
14978 | |
14979 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
14980 | static inline const UpdateBlockForPipelineRequestProto* internal_default_instance() { |
14981 | return reinterpret_cast<const UpdateBlockForPipelineRequestProto*>( |
14982 | &_UpdateBlockForPipelineRequestProto_default_instance_); |
14983 | } |
14984 | static constexpr int kIndexInFileMessages = |
14985 | 113; |
14986 | |
14987 | void Swap(UpdateBlockForPipelineRequestProto* other); |
14988 | friend void swap(UpdateBlockForPipelineRequestProto& a, UpdateBlockForPipelineRequestProto& b) { |
14989 | a.Swap(&b); |
14990 | } |
14991 | |
14992 | // implements Message ---------------------------------------------- |
14993 | |
14994 | inline UpdateBlockForPipelineRequestProto* New() const final { |
14995 | return CreateMaybeMessage<UpdateBlockForPipelineRequestProto>(NULL); |
14996 | } |
14997 | |
14998 | UpdateBlockForPipelineRequestProto* New(::google::protobuf::Arena* arena) const final { |
14999 | return CreateMaybeMessage<UpdateBlockForPipelineRequestProto>(arena); |
15000 | } |
15001 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15002 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15003 | void CopyFrom(const UpdateBlockForPipelineRequestProto& from); |
15004 | void MergeFrom(const UpdateBlockForPipelineRequestProto& from); |
15005 | void Clear() final; |
15006 | bool IsInitialized() const final; |
15007 | |
15008 | size_t ByteSizeLong() const final; |
15009 | bool MergePartialFromCodedStream( |
15010 | ::google::protobuf::io::CodedInputStream* input) final; |
15011 | void SerializeWithCachedSizes( |
15012 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15013 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15014 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15015 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15016 | |
15017 | private: |
15018 | void SharedCtor(); |
15019 | void SharedDtor(); |
15020 | void SetCachedSize(int size) const final; |
15021 | void InternalSwap(UpdateBlockForPipelineRequestProto* other); |
15022 | private: |
15023 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15024 | return NULL; |
15025 | } |
15026 | inline void* MaybeArenaPtr() const { |
15027 | return NULL; |
15028 | } |
15029 | public: |
15030 | |
15031 | ::google::protobuf::Metadata GetMetadata() const final; |
15032 | |
15033 | // nested types ---------------------------------------------------- |
15034 | |
15035 | // accessors ------------------------------------------------------- |
15036 | |
15037 | // required string clientName = 2; |
15038 | bool has_clientname() const; |
15039 | void clear_clientname(); |
15040 | static const int kClientNameFieldNumber = 2; |
15041 | const ::std::string& clientname() const; |
15042 | void set_clientname(const ::std::string& value); |
15043 | #if LANG_CXX11 |
15044 | void set_clientname(::std::string&& value); |
15045 | #endif |
15046 | void set_clientname(const char* value); |
15047 | void set_clientname(const char* value, size_t size); |
15048 | ::std::string* mutable_clientname(); |
15049 | ::std::string* release_clientname(); |
15050 | void set_allocated_clientname(::std::string* clientname); |
15051 | |
15052 | // required .Hdfs.Internal.ExtendedBlockProto block = 1; |
15053 | bool has_block() const; |
15054 | void clear_block(); |
15055 | static const int kBlockFieldNumber = 1; |
15056 | private: |
15057 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_block() const; |
15058 | public: |
15059 | const ::Hdfs::Internal::ExtendedBlockProto& block() const; |
15060 | ::Hdfs::Internal::ExtendedBlockProto* release_block(); |
15061 | ::Hdfs::Internal::ExtendedBlockProto* mutable_block(); |
15062 | void set_allocated_block(::Hdfs::Internal::ExtendedBlockProto* block); |
15063 | |
15064 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.UpdateBlockForPipelineRequestProto) |
15065 | private: |
15066 | void set_has_block(); |
15067 | void clear_has_block(); |
15068 | void set_has_clientname(); |
15069 | void clear_has_clientname(); |
15070 | |
15071 | // helper for ByteSizeLong() |
15072 | size_t RequiredFieldsByteSizeFallback() const; |
15073 | |
15074 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15075 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15076 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15077 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
15078 | ::Hdfs::Internal::ExtendedBlockProto* block_; |
15079 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15080 | }; |
15081 | // ------------------------------------------------------------------- |
15082 | |
15083 | class UpdateBlockForPipelineResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.UpdateBlockForPipelineResponseProto) */ { |
15084 | public: |
15085 | UpdateBlockForPipelineResponseProto(); |
15086 | virtual ~UpdateBlockForPipelineResponseProto(); |
15087 | |
15088 | UpdateBlockForPipelineResponseProto(const UpdateBlockForPipelineResponseProto& from); |
15089 | |
15090 | inline UpdateBlockForPipelineResponseProto& operator=(const UpdateBlockForPipelineResponseProto& from) { |
15091 | CopyFrom(from); |
15092 | return *this; |
15093 | } |
15094 | #if LANG_CXX11 |
15095 | UpdateBlockForPipelineResponseProto(UpdateBlockForPipelineResponseProto&& from) noexcept |
15096 | : UpdateBlockForPipelineResponseProto() { |
15097 | *this = ::std::move(from); |
15098 | } |
15099 | |
15100 | inline UpdateBlockForPipelineResponseProto& operator=(UpdateBlockForPipelineResponseProto&& from) noexcept { |
15101 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15102 | if (this != &from) InternalSwap(&from); |
15103 | } else { |
15104 | CopyFrom(from); |
15105 | } |
15106 | return *this; |
15107 | } |
15108 | #endif |
15109 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15110 | return _internal_metadata_.unknown_fields(); |
15111 | } |
15112 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15113 | return _internal_metadata_.mutable_unknown_fields(); |
15114 | } |
15115 | |
15116 | static const ::google::protobuf::Descriptor* descriptor(); |
15117 | static const UpdateBlockForPipelineResponseProto& default_instance(); |
15118 | |
15119 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15120 | static inline const UpdateBlockForPipelineResponseProto* internal_default_instance() { |
15121 | return reinterpret_cast<const UpdateBlockForPipelineResponseProto*>( |
15122 | &_UpdateBlockForPipelineResponseProto_default_instance_); |
15123 | } |
15124 | static constexpr int kIndexInFileMessages = |
15125 | 114; |
15126 | |
15127 | void Swap(UpdateBlockForPipelineResponseProto* other); |
15128 | friend void swap(UpdateBlockForPipelineResponseProto& a, UpdateBlockForPipelineResponseProto& b) { |
15129 | a.Swap(&b); |
15130 | } |
15131 | |
15132 | // implements Message ---------------------------------------------- |
15133 | |
15134 | inline UpdateBlockForPipelineResponseProto* New() const final { |
15135 | return CreateMaybeMessage<UpdateBlockForPipelineResponseProto>(NULL); |
15136 | } |
15137 | |
15138 | UpdateBlockForPipelineResponseProto* New(::google::protobuf::Arena* arena) const final { |
15139 | return CreateMaybeMessage<UpdateBlockForPipelineResponseProto>(arena); |
15140 | } |
15141 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15142 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15143 | void CopyFrom(const UpdateBlockForPipelineResponseProto& from); |
15144 | void MergeFrom(const UpdateBlockForPipelineResponseProto& from); |
15145 | void Clear() final; |
15146 | bool IsInitialized() const final; |
15147 | |
15148 | size_t ByteSizeLong() const final; |
15149 | bool MergePartialFromCodedStream( |
15150 | ::google::protobuf::io::CodedInputStream* input) final; |
15151 | void SerializeWithCachedSizes( |
15152 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15153 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15154 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15155 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15156 | |
15157 | private: |
15158 | void SharedCtor(); |
15159 | void SharedDtor(); |
15160 | void SetCachedSize(int size) const final; |
15161 | void InternalSwap(UpdateBlockForPipelineResponseProto* other); |
15162 | private: |
15163 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15164 | return NULL; |
15165 | } |
15166 | inline void* MaybeArenaPtr() const { |
15167 | return NULL; |
15168 | } |
15169 | public: |
15170 | |
15171 | ::google::protobuf::Metadata GetMetadata() const final; |
15172 | |
15173 | // nested types ---------------------------------------------------- |
15174 | |
15175 | // accessors ------------------------------------------------------- |
15176 | |
15177 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
15178 | bool has_block() const; |
15179 | void clear_block(); |
15180 | static const int kBlockFieldNumber = 1; |
15181 | private: |
15182 | const ::Hdfs::Internal::LocatedBlockProto& _internal_block() const; |
15183 | public: |
15184 | const ::Hdfs::Internal::LocatedBlockProto& block() const; |
15185 | ::Hdfs::Internal::LocatedBlockProto* release_block(); |
15186 | ::Hdfs::Internal::LocatedBlockProto* mutable_block(); |
15187 | void set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block); |
15188 | |
15189 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.UpdateBlockForPipelineResponseProto) |
15190 | private: |
15191 | void set_has_block(); |
15192 | void clear_has_block(); |
15193 | |
15194 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15195 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15196 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15197 | ::Hdfs::Internal::LocatedBlockProto* block_; |
15198 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15199 | }; |
15200 | // ------------------------------------------------------------------- |
15201 | |
15202 | class UpdatePipelineRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.UpdatePipelineRequestProto) */ { |
15203 | public: |
15204 | UpdatePipelineRequestProto(); |
15205 | virtual ~UpdatePipelineRequestProto(); |
15206 | |
15207 | UpdatePipelineRequestProto(const UpdatePipelineRequestProto& from); |
15208 | |
15209 | inline UpdatePipelineRequestProto& operator=(const UpdatePipelineRequestProto& from) { |
15210 | CopyFrom(from); |
15211 | return *this; |
15212 | } |
15213 | #if LANG_CXX11 |
15214 | UpdatePipelineRequestProto(UpdatePipelineRequestProto&& from) noexcept |
15215 | : UpdatePipelineRequestProto() { |
15216 | *this = ::std::move(from); |
15217 | } |
15218 | |
15219 | inline UpdatePipelineRequestProto& operator=(UpdatePipelineRequestProto&& from) noexcept { |
15220 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15221 | if (this != &from) InternalSwap(&from); |
15222 | } else { |
15223 | CopyFrom(from); |
15224 | } |
15225 | return *this; |
15226 | } |
15227 | #endif |
15228 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15229 | return _internal_metadata_.unknown_fields(); |
15230 | } |
15231 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15232 | return _internal_metadata_.mutable_unknown_fields(); |
15233 | } |
15234 | |
15235 | static const ::google::protobuf::Descriptor* descriptor(); |
15236 | static const UpdatePipelineRequestProto& default_instance(); |
15237 | |
15238 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15239 | static inline const UpdatePipelineRequestProto* internal_default_instance() { |
15240 | return reinterpret_cast<const UpdatePipelineRequestProto*>( |
15241 | &_UpdatePipelineRequestProto_default_instance_); |
15242 | } |
15243 | static constexpr int kIndexInFileMessages = |
15244 | 115; |
15245 | |
15246 | void Swap(UpdatePipelineRequestProto* other); |
15247 | friend void swap(UpdatePipelineRequestProto& a, UpdatePipelineRequestProto& b) { |
15248 | a.Swap(&b); |
15249 | } |
15250 | |
15251 | // implements Message ---------------------------------------------- |
15252 | |
15253 | inline UpdatePipelineRequestProto* New() const final { |
15254 | return CreateMaybeMessage<UpdatePipelineRequestProto>(NULL); |
15255 | } |
15256 | |
15257 | UpdatePipelineRequestProto* New(::google::protobuf::Arena* arena) const final { |
15258 | return CreateMaybeMessage<UpdatePipelineRequestProto>(arena); |
15259 | } |
15260 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15261 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15262 | void CopyFrom(const UpdatePipelineRequestProto& from); |
15263 | void MergeFrom(const UpdatePipelineRequestProto& from); |
15264 | void Clear() final; |
15265 | bool IsInitialized() const final; |
15266 | |
15267 | size_t ByteSizeLong() const final; |
15268 | bool MergePartialFromCodedStream( |
15269 | ::google::protobuf::io::CodedInputStream* input) final; |
15270 | void SerializeWithCachedSizes( |
15271 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15272 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15273 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15274 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15275 | |
15276 | private: |
15277 | void SharedCtor(); |
15278 | void SharedDtor(); |
15279 | void SetCachedSize(int size) const final; |
15280 | void InternalSwap(UpdatePipelineRequestProto* other); |
15281 | private: |
15282 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15283 | return NULL; |
15284 | } |
15285 | inline void* MaybeArenaPtr() const { |
15286 | return NULL; |
15287 | } |
15288 | public: |
15289 | |
15290 | ::google::protobuf::Metadata GetMetadata() const final; |
15291 | |
15292 | // nested types ---------------------------------------------------- |
15293 | |
15294 | // accessors ------------------------------------------------------- |
15295 | |
15296 | // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4; |
15297 | int newnodes_size() const; |
15298 | void clear_newnodes(); |
15299 | static const int kNewNodesFieldNumber = 4; |
15300 | ::Hdfs::Internal::DatanodeIDProto* mutable_newnodes(int index); |
15301 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeIDProto >* |
15302 | mutable_newnodes(); |
15303 | const ::Hdfs::Internal::DatanodeIDProto& newnodes(int index) const; |
15304 | ::Hdfs::Internal::DatanodeIDProto* add_newnodes(); |
15305 | const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeIDProto >& |
15306 | newnodes() const; |
15307 | |
15308 | // repeated string storageIDs = 5; |
15309 | int storageids_size() const; |
15310 | void clear_storageids(); |
15311 | static const int kStorageIDsFieldNumber = 5; |
15312 | const ::std::string& storageids(int index) const; |
15313 | ::std::string* mutable_storageids(int index); |
15314 | void set_storageids(int index, const ::std::string& value); |
15315 | #if LANG_CXX11 |
15316 | void set_storageids(int index, ::std::string&& value); |
15317 | #endif |
15318 | void set_storageids(int index, const char* value); |
15319 | void set_storageids(int index, const char* value, size_t size); |
15320 | ::std::string* add_storageids(); |
15321 | void add_storageids(const ::std::string& value); |
15322 | #if LANG_CXX11 |
15323 | void add_storageids(::std::string&& value); |
15324 | #endif |
15325 | void add_storageids(const char* value); |
15326 | void add_storageids(const char* value, size_t size); |
15327 | const ::google::protobuf::RepeatedPtrField< ::std::string>& storageids() const; |
15328 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_storageids(); |
15329 | |
15330 | // required string clientName = 1; |
15331 | bool has_clientname() const; |
15332 | void clear_clientname(); |
15333 | static const int kClientNameFieldNumber = 1; |
15334 | const ::std::string& clientname() const; |
15335 | void set_clientname(const ::std::string& value); |
15336 | #if LANG_CXX11 |
15337 | void set_clientname(::std::string&& value); |
15338 | #endif |
15339 | void set_clientname(const char* value); |
15340 | void set_clientname(const char* value, size_t size); |
15341 | ::std::string* mutable_clientname(); |
15342 | ::std::string* release_clientname(); |
15343 | void set_allocated_clientname(::std::string* clientname); |
15344 | |
15345 | // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2; |
15346 | bool has_oldblock() const; |
15347 | void clear_oldblock(); |
15348 | static const int kOldBlockFieldNumber = 2; |
15349 | private: |
15350 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_oldblock() const; |
15351 | public: |
15352 | const ::Hdfs::Internal::ExtendedBlockProto& oldblock() const; |
15353 | ::Hdfs::Internal::ExtendedBlockProto* release_oldblock(); |
15354 | ::Hdfs::Internal::ExtendedBlockProto* mutable_oldblock(); |
15355 | void set_allocated_oldblock(::Hdfs::Internal::ExtendedBlockProto* oldblock); |
15356 | |
15357 | // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3; |
15358 | bool has_newblock() const; |
15359 | void clear_newblock(); |
15360 | static const int kNewBlockFieldNumber = 3; |
15361 | private: |
15362 | const ::Hdfs::Internal::ExtendedBlockProto& _internal_newblock() const; |
15363 | public: |
15364 | const ::Hdfs::Internal::ExtendedBlockProto& newblock() const; |
15365 | ::Hdfs::Internal::ExtendedBlockProto* release_newblock(); |
15366 | ::Hdfs::Internal::ExtendedBlockProto* mutable_newblock(); |
15367 | void set_allocated_newblock(::Hdfs::Internal::ExtendedBlockProto* newblock); |
15368 | |
15369 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.UpdatePipelineRequestProto) |
15370 | private: |
15371 | void set_has_clientname(); |
15372 | void clear_has_clientname(); |
15373 | void set_has_oldblock(); |
15374 | void clear_has_oldblock(); |
15375 | void set_has_newblock(); |
15376 | void clear_has_newblock(); |
15377 | |
15378 | // helper for ByteSizeLong() |
15379 | size_t RequiredFieldsByteSizeFallback() const; |
15380 | |
15381 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15382 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15383 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15384 | ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeIDProto > newnodes_; |
15385 | ::google::protobuf::RepeatedPtrField< ::std::string> storageids_; |
15386 | ::google::protobuf::internal::ArenaStringPtr clientname_; |
15387 | ::Hdfs::Internal::ExtendedBlockProto* oldblock_; |
15388 | ::Hdfs::Internal::ExtendedBlockProto* newblock_; |
15389 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15390 | }; |
15391 | // ------------------------------------------------------------------- |
15392 | |
15393 | class UpdatePipelineResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.UpdatePipelineResponseProto) */ { |
15394 | public: |
15395 | UpdatePipelineResponseProto(); |
15396 | virtual ~UpdatePipelineResponseProto(); |
15397 | |
15398 | UpdatePipelineResponseProto(const UpdatePipelineResponseProto& from); |
15399 | |
15400 | inline UpdatePipelineResponseProto& operator=(const UpdatePipelineResponseProto& from) { |
15401 | CopyFrom(from); |
15402 | return *this; |
15403 | } |
15404 | #if LANG_CXX11 |
15405 | UpdatePipelineResponseProto(UpdatePipelineResponseProto&& from) noexcept |
15406 | : UpdatePipelineResponseProto() { |
15407 | *this = ::std::move(from); |
15408 | } |
15409 | |
15410 | inline UpdatePipelineResponseProto& operator=(UpdatePipelineResponseProto&& from) noexcept { |
15411 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15412 | if (this != &from) InternalSwap(&from); |
15413 | } else { |
15414 | CopyFrom(from); |
15415 | } |
15416 | return *this; |
15417 | } |
15418 | #endif |
15419 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15420 | return _internal_metadata_.unknown_fields(); |
15421 | } |
15422 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15423 | return _internal_metadata_.mutable_unknown_fields(); |
15424 | } |
15425 | |
15426 | static const ::google::protobuf::Descriptor* descriptor(); |
15427 | static const UpdatePipelineResponseProto& default_instance(); |
15428 | |
15429 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15430 | static inline const UpdatePipelineResponseProto* internal_default_instance() { |
15431 | return reinterpret_cast<const UpdatePipelineResponseProto*>( |
15432 | &_UpdatePipelineResponseProto_default_instance_); |
15433 | } |
15434 | static constexpr int kIndexInFileMessages = |
15435 | 116; |
15436 | |
15437 | void Swap(UpdatePipelineResponseProto* other); |
15438 | friend void swap(UpdatePipelineResponseProto& a, UpdatePipelineResponseProto& b) { |
15439 | a.Swap(&b); |
15440 | } |
15441 | |
15442 | // implements Message ---------------------------------------------- |
15443 | |
15444 | inline UpdatePipelineResponseProto* New() const final { |
15445 | return CreateMaybeMessage<UpdatePipelineResponseProto>(NULL); |
15446 | } |
15447 | |
15448 | UpdatePipelineResponseProto* New(::google::protobuf::Arena* arena) const final { |
15449 | return CreateMaybeMessage<UpdatePipelineResponseProto>(arena); |
15450 | } |
15451 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15452 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15453 | void CopyFrom(const UpdatePipelineResponseProto& from); |
15454 | void MergeFrom(const UpdatePipelineResponseProto& from); |
15455 | void Clear() final; |
15456 | bool IsInitialized() const final; |
15457 | |
15458 | size_t ByteSizeLong() const final; |
15459 | bool MergePartialFromCodedStream( |
15460 | ::google::protobuf::io::CodedInputStream* input) final; |
15461 | void SerializeWithCachedSizes( |
15462 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15463 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15464 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15465 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15466 | |
15467 | private: |
15468 | void SharedCtor(); |
15469 | void SharedDtor(); |
15470 | void SetCachedSize(int size) const final; |
15471 | void InternalSwap(UpdatePipelineResponseProto* other); |
15472 | private: |
15473 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15474 | return NULL; |
15475 | } |
15476 | inline void* MaybeArenaPtr() const { |
15477 | return NULL; |
15478 | } |
15479 | public: |
15480 | |
15481 | ::google::protobuf::Metadata GetMetadata() const final; |
15482 | |
15483 | // nested types ---------------------------------------------------- |
15484 | |
15485 | // accessors ------------------------------------------------------- |
15486 | |
15487 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.UpdatePipelineResponseProto) |
15488 | private: |
15489 | |
15490 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15491 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15492 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15493 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15494 | }; |
15495 | // ------------------------------------------------------------------- |
15496 | |
15497 | class SetBalancerBandwidthRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetBalancerBandwidthRequestProto) */ { |
15498 | public: |
15499 | SetBalancerBandwidthRequestProto(); |
15500 | virtual ~SetBalancerBandwidthRequestProto(); |
15501 | |
15502 | SetBalancerBandwidthRequestProto(const SetBalancerBandwidthRequestProto& from); |
15503 | |
15504 | inline SetBalancerBandwidthRequestProto& operator=(const SetBalancerBandwidthRequestProto& from) { |
15505 | CopyFrom(from); |
15506 | return *this; |
15507 | } |
15508 | #if LANG_CXX11 |
15509 | SetBalancerBandwidthRequestProto(SetBalancerBandwidthRequestProto&& from) noexcept |
15510 | : SetBalancerBandwidthRequestProto() { |
15511 | *this = ::std::move(from); |
15512 | } |
15513 | |
15514 | inline SetBalancerBandwidthRequestProto& operator=(SetBalancerBandwidthRequestProto&& from) noexcept { |
15515 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15516 | if (this != &from) InternalSwap(&from); |
15517 | } else { |
15518 | CopyFrom(from); |
15519 | } |
15520 | return *this; |
15521 | } |
15522 | #endif |
15523 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15524 | return _internal_metadata_.unknown_fields(); |
15525 | } |
15526 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15527 | return _internal_metadata_.mutable_unknown_fields(); |
15528 | } |
15529 | |
15530 | static const ::google::protobuf::Descriptor* descriptor(); |
15531 | static const SetBalancerBandwidthRequestProto& default_instance(); |
15532 | |
15533 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15534 | static inline const SetBalancerBandwidthRequestProto* internal_default_instance() { |
15535 | return reinterpret_cast<const SetBalancerBandwidthRequestProto*>( |
15536 | &_SetBalancerBandwidthRequestProto_default_instance_); |
15537 | } |
15538 | static constexpr int kIndexInFileMessages = |
15539 | 117; |
15540 | |
15541 | void Swap(SetBalancerBandwidthRequestProto* other); |
15542 | friend void swap(SetBalancerBandwidthRequestProto& a, SetBalancerBandwidthRequestProto& b) { |
15543 | a.Swap(&b); |
15544 | } |
15545 | |
15546 | // implements Message ---------------------------------------------- |
15547 | |
15548 | inline SetBalancerBandwidthRequestProto* New() const final { |
15549 | return CreateMaybeMessage<SetBalancerBandwidthRequestProto>(NULL); |
15550 | } |
15551 | |
15552 | SetBalancerBandwidthRequestProto* New(::google::protobuf::Arena* arena) const final { |
15553 | return CreateMaybeMessage<SetBalancerBandwidthRequestProto>(arena); |
15554 | } |
15555 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15556 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15557 | void CopyFrom(const SetBalancerBandwidthRequestProto& from); |
15558 | void MergeFrom(const SetBalancerBandwidthRequestProto& from); |
15559 | void Clear() final; |
15560 | bool IsInitialized() const final; |
15561 | |
15562 | size_t ByteSizeLong() const final; |
15563 | bool MergePartialFromCodedStream( |
15564 | ::google::protobuf::io::CodedInputStream* input) final; |
15565 | void SerializeWithCachedSizes( |
15566 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15567 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15568 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15569 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15570 | |
15571 | private: |
15572 | void SharedCtor(); |
15573 | void SharedDtor(); |
15574 | void SetCachedSize(int size) const final; |
15575 | void InternalSwap(SetBalancerBandwidthRequestProto* other); |
15576 | private: |
15577 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15578 | return NULL; |
15579 | } |
15580 | inline void* MaybeArenaPtr() const { |
15581 | return NULL; |
15582 | } |
15583 | public: |
15584 | |
15585 | ::google::protobuf::Metadata GetMetadata() const final; |
15586 | |
15587 | // nested types ---------------------------------------------------- |
15588 | |
15589 | // accessors ------------------------------------------------------- |
15590 | |
15591 | // required int64 bandwidth = 1; |
15592 | bool has_bandwidth() const; |
15593 | void clear_bandwidth(); |
15594 | static const int kBandwidthFieldNumber = 1; |
15595 | ::google::protobuf::int64 bandwidth() const; |
15596 | void set_bandwidth(::google::protobuf::int64 value); |
15597 | |
15598 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetBalancerBandwidthRequestProto) |
15599 | private: |
15600 | void set_has_bandwidth(); |
15601 | void clear_has_bandwidth(); |
15602 | |
15603 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15604 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15605 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15606 | ::google::protobuf::int64 bandwidth_; |
15607 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15608 | }; |
15609 | // ------------------------------------------------------------------- |
15610 | |
15611 | class SetBalancerBandwidthResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.SetBalancerBandwidthResponseProto) */ { |
15612 | public: |
15613 | SetBalancerBandwidthResponseProto(); |
15614 | virtual ~SetBalancerBandwidthResponseProto(); |
15615 | |
15616 | SetBalancerBandwidthResponseProto(const SetBalancerBandwidthResponseProto& from); |
15617 | |
15618 | inline SetBalancerBandwidthResponseProto& operator=(const SetBalancerBandwidthResponseProto& from) { |
15619 | CopyFrom(from); |
15620 | return *this; |
15621 | } |
15622 | #if LANG_CXX11 |
15623 | SetBalancerBandwidthResponseProto(SetBalancerBandwidthResponseProto&& from) noexcept |
15624 | : SetBalancerBandwidthResponseProto() { |
15625 | *this = ::std::move(from); |
15626 | } |
15627 | |
15628 | inline SetBalancerBandwidthResponseProto& operator=(SetBalancerBandwidthResponseProto&& from) noexcept { |
15629 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15630 | if (this != &from) InternalSwap(&from); |
15631 | } else { |
15632 | CopyFrom(from); |
15633 | } |
15634 | return *this; |
15635 | } |
15636 | #endif |
15637 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15638 | return _internal_metadata_.unknown_fields(); |
15639 | } |
15640 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15641 | return _internal_metadata_.mutable_unknown_fields(); |
15642 | } |
15643 | |
15644 | static const ::google::protobuf::Descriptor* descriptor(); |
15645 | static const SetBalancerBandwidthResponseProto& default_instance(); |
15646 | |
15647 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15648 | static inline const SetBalancerBandwidthResponseProto* internal_default_instance() { |
15649 | return reinterpret_cast<const SetBalancerBandwidthResponseProto*>( |
15650 | &_SetBalancerBandwidthResponseProto_default_instance_); |
15651 | } |
15652 | static constexpr int kIndexInFileMessages = |
15653 | 118; |
15654 | |
15655 | void Swap(SetBalancerBandwidthResponseProto* other); |
15656 | friend void swap(SetBalancerBandwidthResponseProto& a, SetBalancerBandwidthResponseProto& b) { |
15657 | a.Swap(&b); |
15658 | } |
15659 | |
15660 | // implements Message ---------------------------------------------- |
15661 | |
15662 | inline SetBalancerBandwidthResponseProto* New() const final { |
15663 | return CreateMaybeMessage<SetBalancerBandwidthResponseProto>(NULL); |
15664 | } |
15665 | |
15666 | SetBalancerBandwidthResponseProto* New(::google::protobuf::Arena* arena) const final { |
15667 | return CreateMaybeMessage<SetBalancerBandwidthResponseProto>(arena); |
15668 | } |
15669 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15670 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15671 | void CopyFrom(const SetBalancerBandwidthResponseProto& from); |
15672 | void MergeFrom(const SetBalancerBandwidthResponseProto& from); |
15673 | void Clear() final; |
15674 | bool IsInitialized() const final; |
15675 | |
15676 | size_t ByteSizeLong() const final; |
15677 | bool MergePartialFromCodedStream( |
15678 | ::google::protobuf::io::CodedInputStream* input) final; |
15679 | void SerializeWithCachedSizes( |
15680 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15681 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15682 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15683 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15684 | |
15685 | private: |
15686 | void SharedCtor(); |
15687 | void SharedDtor(); |
15688 | void SetCachedSize(int size) const final; |
15689 | void InternalSwap(SetBalancerBandwidthResponseProto* other); |
15690 | private: |
15691 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15692 | return NULL; |
15693 | } |
15694 | inline void* MaybeArenaPtr() const { |
15695 | return NULL; |
15696 | } |
15697 | public: |
15698 | |
15699 | ::google::protobuf::Metadata GetMetadata() const final; |
15700 | |
15701 | // nested types ---------------------------------------------------- |
15702 | |
15703 | // accessors ------------------------------------------------------- |
15704 | |
15705 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.SetBalancerBandwidthResponseProto) |
15706 | private: |
15707 | |
15708 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15709 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15710 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15711 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15712 | }; |
15713 | // ------------------------------------------------------------------- |
15714 | |
15715 | class GetDataEncryptionKeyRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDataEncryptionKeyRequestProto) */ { |
15716 | public: |
15717 | GetDataEncryptionKeyRequestProto(); |
15718 | virtual ~GetDataEncryptionKeyRequestProto(); |
15719 | |
15720 | GetDataEncryptionKeyRequestProto(const GetDataEncryptionKeyRequestProto& from); |
15721 | |
15722 | inline GetDataEncryptionKeyRequestProto& operator=(const GetDataEncryptionKeyRequestProto& from) { |
15723 | CopyFrom(from); |
15724 | return *this; |
15725 | } |
15726 | #if LANG_CXX11 |
15727 | GetDataEncryptionKeyRequestProto(GetDataEncryptionKeyRequestProto&& from) noexcept |
15728 | : GetDataEncryptionKeyRequestProto() { |
15729 | *this = ::std::move(from); |
15730 | } |
15731 | |
15732 | inline GetDataEncryptionKeyRequestProto& operator=(GetDataEncryptionKeyRequestProto&& from) noexcept { |
15733 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15734 | if (this != &from) InternalSwap(&from); |
15735 | } else { |
15736 | CopyFrom(from); |
15737 | } |
15738 | return *this; |
15739 | } |
15740 | #endif |
15741 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15742 | return _internal_metadata_.unknown_fields(); |
15743 | } |
15744 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15745 | return _internal_metadata_.mutable_unknown_fields(); |
15746 | } |
15747 | |
15748 | static const ::google::protobuf::Descriptor* descriptor(); |
15749 | static const GetDataEncryptionKeyRequestProto& default_instance(); |
15750 | |
15751 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15752 | static inline const GetDataEncryptionKeyRequestProto* internal_default_instance() { |
15753 | return reinterpret_cast<const GetDataEncryptionKeyRequestProto*>( |
15754 | &_GetDataEncryptionKeyRequestProto_default_instance_); |
15755 | } |
15756 | static constexpr int kIndexInFileMessages = |
15757 | 119; |
15758 | |
15759 | void Swap(GetDataEncryptionKeyRequestProto* other); |
15760 | friend void swap(GetDataEncryptionKeyRequestProto& a, GetDataEncryptionKeyRequestProto& b) { |
15761 | a.Swap(&b); |
15762 | } |
15763 | |
15764 | // implements Message ---------------------------------------------- |
15765 | |
15766 | inline GetDataEncryptionKeyRequestProto* New() const final { |
15767 | return CreateMaybeMessage<GetDataEncryptionKeyRequestProto>(NULL); |
15768 | } |
15769 | |
15770 | GetDataEncryptionKeyRequestProto* New(::google::protobuf::Arena* arena) const final { |
15771 | return CreateMaybeMessage<GetDataEncryptionKeyRequestProto>(arena); |
15772 | } |
15773 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15774 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15775 | void CopyFrom(const GetDataEncryptionKeyRequestProto& from); |
15776 | void MergeFrom(const GetDataEncryptionKeyRequestProto& from); |
15777 | void Clear() final; |
15778 | bool IsInitialized() const final; |
15779 | |
15780 | size_t ByteSizeLong() const final; |
15781 | bool MergePartialFromCodedStream( |
15782 | ::google::protobuf::io::CodedInputStream* input) final; |
15783 | void SerializeWithCachedSizes( |
15784 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15785 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15786 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15787 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15788 | |
15789 | private: |
15790 | void SharedCtor(); |
15791 | void SharedDtor(); |
15792 | void SetCachedSize(int size) const final; |
15793 | void InternalSwap(GetDataEncryptionKeyRequestProto* other); |
15794 | private: |
15795 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15796 | return NULL; |
15797 | } |
15798 | inline void* MaybeArenaPtr() const { |
15799 | return NULL; |
15800 | } |
15801 | public: |
15802 | |
15803 | ::google::protobuf::Metadata GetMetadata() const final; |
15804 | |
15805 | // nested types ---------------------------------------------------- |
15806 | |
15807 | // accessors ------------------------------------------------------- |
15808 | |
15809 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDataEncryptionKeyRequestProto) |
15810 | private: |
15811 | |
15812 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15813 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15814 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15815 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15816 | }; |
15817 | // ------------------------------------------------------------------- |
15818 | |
15819 | class GetDataEncryptionKeyResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.GetDataEncryptionKeyResponseProto) */ { |
15820 | public: |
15821 | GetDataEncryptionKeyResponseProto(); |
15822 | virtual ~GetDataEncryptionKeyResponseProto(); |
15823 | |
15824 | GetDataEncryptionKeyResponseProto(const GetDataEncryptionKeyResponseProto& from); |
15825 | |
15826 | inline GetDataEncryptionKeyResponseProto& operator=(const GetDataEncryptionKeyResponseProto& from) { |
15827 | CopyFrom(from); |
15828 | return *this; |
15829 | } |
15830 | #if LANG_CXX11 |
15831 | GetDataEncryptionKeyResponseProto(GetDataEncryptionKeyResponseProto&& from) noexcept |
15832 | : GetDataEncryptionKeyResponseProto() { |
15833 | *this = ::std::move(from); |
15834 | } |
15835 | |
15836 | inline GetDataEncryptionKeyResponseProto& operator=(GetDataEncryptionKeyResponseProto&& from) noexcept { |
15837 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15838 | if (this != &from) InternalSwap(&from); |
15839 | } else { |
15840 | CopyFrom(from); |
15841 | } |
15842 | return *this; |
15843 | } |
15844 | #endif |
15845 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15846 | return _internal_metadata_.unknown_fields(); |
15847 | } |
15848 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15849 | return _internal_metadata_.mutable_unknown_fields(); |
15850 | } |
15851 | |
15852 | static const ::google::protobuf::Descriptor* descriptor(); |
15853 | static const GetDataEncryptionKeyResponseProto& default_instance(); |
15854 | |
15855 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15856 | static inline const GetDataEncryptionKeyResponseProto* internal_default_instance() { |
15857 | return reinterpret_cast<const GetDataEncryptionKeyResponseProto*>( |
15858 | &_GetDataEncryptionKeyResponseProto_default_instance_); |
15859 | } |
15860 | static constexpr int kIndexInFileMessages = |
15861 | 120; |
15862 | |
15863 | void Swap(GetDataEncryptionKeyResponseProto* other); |
15864 | friend void swap(GetDataEncryptionKeyResponseProto& a, GetDataEncryptionKeyResponseProto& b) { |
15865 | a.Swap(&b); |
15866 | } |
15867 | |
15868 | // implements Message ---------------------------------------------- |
15869 | |
15870 | inline GetDataEncryptionKeyResponseProto* New() const final { |
15871 | return CreateMaybeMessage<GetDataEncryptionKeyResponseProto>(NULL); |
15872 | } |
15873 | |
15874 | GetDataEncryptionKeyResponseProto* New(::google::protobuf::Arena* arena) const final { |
15875 | return CreateMaybeMessage<GetDataEncryptionKeyResponseProto>(arena); |
15876 | } |
15877 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15878 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15879 | void CopyFrom(const GetDataEncryptionKeyResponseProto& from); |
15880 | void MergeFrom(const GetDataEncryptionKeyResponseProto& from); |
15881 | void Clear() final; |
15882 | bool IsInitialized() const final; |
15883 | |
15884 | size_t ByteSizeLong() const final; |
15885 | bool MergePartialFromCodedStream( |
15886 | ::google::protobuf::io::CodedInputStream* input) final; |
15887 | void SerializeWithCachedSizes( |
15888 | ::google::protobuf::io::CodedOutputStream* output) const final; |
15889 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
15890 | bool deterministic, ::google::protobuf::uint8* target) const final; |
15891 | int GetCachedSize() const final { return _cached_size_.Get(); } |
15892 | |
15893 | private: |
15894 | void SharedCtor(); |
15895 | void SharedDtor(); |
15896 | void SetCachedSize(int size) const final; |
15897 | void InternalSwap(GetDataEncryptionKeyResponseProto* other); |
15898 | private: |
15899 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
15900 | return NULL; |
15901 | } |
15902 | inline void* MaybeArenaPtr() const { |
15903 | return NULL; |
15904 | } |
15905 | public: |
15906 | |
15907 | ::google::protobuf::Metadata GetMetadata() const final; |
15908 | |
15909 | // nested types ---------------------------------------------------- |
15910 | |
15911 | // accessors ------------------------------------------------------- |
15912 | |
15913 | // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1; |
15914 | bool has_dataencryptionkey() const; |
15915 | void clear_dataencryptionkey(); |
15916 | static const int kDataEncryptionKeyFieldNumber = 1; |
15917 | private: |
15918 | const ::Hdfs::Internal::DataEncryptionKeyProto& _internal_dataencryptionkey() const; |
15919 | public: |
15920 | const ::Hdfs::Internal::DataEncryptionKeyProto& dataencryptionkey() const; |
15921 | ::Hdfs::Internal::DataEncryptionKeyProto* release_dataencryptionkey(); |
15922 | ::Hdfs::Internal::DataEncryptionKeyProto* mutable_dataencryptionkey(); |
15923 | void set_allocated_dataencryptionkey(::Hdfs::Internal::DataEncryptionKeyProto* dataencryptionkey); |
15924 | |
15925 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.GetDataEncryptionKeyResponseProto) |
15926 | private: |
15927 | void set_has_dataencryptionkey(); |
15928 | void clear_has_dataencryptionkey(); |
15929 | |
15930 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
15931 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
15932 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
15933 | ::Hdfs::Internal::DataEncryptionKeyProto* dataencryptionkey_; |
15934 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
15935 | }; |
15936 | // ------------------------------------------------------------------- |
15937 | |
15938 | class CreateSnapshotRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateSnapshotRequestProto) */ { |
15939 | public: |
15940 | CreateSnapshotRequestProto(); |
15941 | virtual ~CreateSnapshotRequestProto(); |
15942 | |
15943 | CreateSnapshotRequestProto(const CreateSnapshotRequestProto& from); |
15944 | |
15945 | inline CreateSnapshotRequestProto& operator=(const CreateSnapshotRequestProto& from) { |
15946 | CopyFrom(from); |
15947 | return *this; |
15948 | } |
15949 | #if LANG_CXX11 |
15950 | CreateSnapshotRequestProto(CreateSnapshotRequestProto&& from) noexcept |
15951 | : CreateSnapshotRequestProto() { |
15952 | *this = ::std::move(from); |
15953 | } |
15954 | |
15955 | inline CreateSnapshotRequestProto& operator=(CreateSnapshotRequestProto&& from) noexcept { |
15956 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
15957 | if (this != &from) InternalSwap(&from); |
15958 | } else { |
15959 | CopyFrom(from); |
15960 | } |
15961 | return *this; |
15962 | } |
15963 | #endif |
15964 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
15965 | return _internal_metadata_.unknown_fields(); |
15966 | } |
15967 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
15968 | return _internal_metadata_.mutable_unknown_fields(); |
15969 | } |
15970 | |
15971 | static const ::google::protobuf::Descriptor* descriptor(); |
15972 | static const CreateSnapshotRequestProto& default_instance(); |
15973 | |
15974 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
15975 | static inline const CreateSnapshotRequestProto* internal_default_instance() { |
15976 | return reinterpret_cast<const CreateSnapshotRequestProto*>( |
15977 | &_CreateSnapshotRequestProto_default_instance_); |
15978 | } |
15979 | static constexpr int kIndexInFileMessages = |
15980 | 121; |
15981 | |
15982 | void Swap(CreateSnapshotRequestProto* other); |
15983 | friend void swap(CreateSnapshotRequestProto& a, CreateSnapshotRequestProto& b) { |
15984 | a.Swap(&b); |
15985 | } |
15986 | |
15987 | // implements Message ---------------------------------------------- |
15988 | |
15989 | inline CreateSnapshotRequestProto* New() const final { |
15990 | return CreateMaybeMessage<CreateSnapshotRequestProto>(NULL); |
15991 | } |
15992 | |
15993 | CreateSnapshotRequestProto* New(::google::protobuf::Arena* arena) const final { |
15994 | return CreateMaybeMessage<CreateSnapshotRequestProto>(arena); |
15995 | } |
15996 | void CopyFrom(const ::google::protobuf::Message& from) final; |
15997 | void MergeFrom(const ::google::protobuf::Message& from) final; |
15998 | void CopyFrom(const CreateSnapshotRequestProto& from); |
15999 | void MergeFrom(const CreateSnapshotRequestProto& from); |
16000 | void Clear() final; |
16001 | bool IsInitialized() const final; |
16002 | |
16003 | size_t ByteSizeLong() const final; |
16004 | bool MergePartialFromCodedStream( |
16005 | ::google::protobuf::io::CodedInputStream* input) final; |
16006 | void SerializeWithCachedSizes( |
16007 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16008 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16009 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16010 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16011 | |
16012 | private: |
16013 | void SharedCtor(); |
16014 | void SharedDtor(); |
16015 | void SetCachedSize(int size) const final; |
16016 | void InternalSwap(CreateSnapshotRequestProto* other); |
16017 | private: |
16018 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16019 | return NULL; |
16020 | } |
16021 | inline void* MaybeArenaPtr() const { |
16022 | return NULL; |
16023 | } |
16024 | public: |
16025 | |
16026 | ::google::protobuf::Metadata GetMetadata() const final; |
16027 | |
16028 | // nested types ---------------------------------------------------- |
16029 | |
16030 | // accessors ------------------------------------------------------- |
16031 | |
16032 | // required string snapshotRoot = 1; |
16033 | bool has_snapshotroot() const; |
16034 | void clear_snapshotroot(); |
16035 | static const int kSnapshotRootFieldNumber = 1; |
16036 | const ::std::string& snapshotroot() const; |
16037 | void set_snapshotroot(const ::std::string& value); |
16038 | #if LANG_CXX11 |
16039 | void set_snapshotroot(::std::string&& value); |
16040 | #endif |
16041 | void set_snapshotroot(const char* value); |
16042 | void set_snapshotroot(const char* value, size_t size); |
16043 | ::std::string* mutable_snapshotroot(); |
16044 | ::std::string* release_snapshotroot(); |
16045 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
16046 | |
16047 | // optional string snapshotName = 2; |
16048 | bool has_snapshotname() const; |
16049 | void clear_snapshotname(); |
16050 | static const int kSnapshotNameFieldNumber = 2; |
16051 | const ::std::string& snapshotname() const; |
16052 | void set_snapshotname(const ::std::string& value); |
16053 | #if LANG_CXX11 |
16054 | void set_snapshotname(::std::string&& value); |
16055 | #endif |
16056 | void set_snapshotname(const char* value); |
16057 | void set_snapshotname(const char* value, size_t size); |
16058 | ::std::string* mutable_snapshotname(); |
16059 | ::std::string* release_snapshotname(); |
16060 | void set_allocated_snapshotname(::std::string* snapshotname); |
16061 | |
16062 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateSnapshotRequestProto) |
16063 | private: |
16064 | void set_has_snapshotroot(); |
16065 | void clear_has_snapshotroot(); |
16066 | void set_has_snapshotname(); |
16067 | void clear_has_snapshotname(); |
16068 | |
16069 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16070 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16071 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16072 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
16073 | ::google::protobuf::internal::ArenaStringPtr snapshotname_; |
16074 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16075 | }; |
16076 | // ------------------------------------------------------------------- |
16077 | |
16078 | class CreateSnapshotResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.CreateSnapshotResponseProto) */ { |
16079 | public: |
16080 | CreateSnapshotResponseProto(); |
16081 | virtual ~CreateSnapshotResponseProto(); |
16082 | |
16083 | CreateSnapshotResponseProto(const CreateSnapshotResponseProto& from); |
16084 | |
16085 | inline CreateSnapshotResponseProto& operator=(const CreateSnapshotResponseProto& from) { |
16086 | CopyFrom(from); |
16087 | return *this; |
16088 | } |
16089 | #if LANG_CXX11 |
16090 | CreateSnapshotResponseProto(CreateSnapshotResponseProto&& from) noexcept |
16091 | : CreateSnapshotResponseProto() { |
16092 | *this = ::std::move(from); |
16093 | } |
16094 | |
16095 | inline CreateSnapshotResponseProto& operator=(CreateSnapshotResponseProto&& from) noexcept { |
16096 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16097 | if (this != &from) InternalSwap(&from); |
16098 | } else { |
16099 | CopyFrom(from); |
16100 | } |
16101 | return *this; |
16102 | } |
16103 | #endif |
16104 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16105 | return _internal_metadata_.unknown_fields(); |
16106 | } |
16107 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16108 | return _internal_metadata_.mutable_unknown_fields(); |
16109 | } |
16110 | |
16111 | static const ::google::protobuf::Descriptor* descriptor(); |
16112 | static const CreateSnapshotResponseProto& default_instance(); |
16113 | |
16114 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16115 | static inline const CreateSnapshotResponseProto* internal_default_instance() { |
16116 | return reinterpret_cast<const CreateSnapshotResponseProto*>( |
16117 | &_CreateSnapshotResponseProto_default_instance_); |
16118 | } |
16119 | static constexpr int kIndexInFileMessages = |
16120 | 122; |
16121 | |
16122 | void Swap(CreateSnapshotResponseProto* other); |
16123 | friend void swap(CreateSnapshotResponseProto& a, CreateSnapshotResponseProto& b) { |
16124 | a.Swap(&b); |
16125 | } |
16126 | |
16127 | // implements Message ---------------------------------------------- |
16128 | |
16129 | inline CreateSnapshotResponseProto* New() const final { |
16130 | return CreateMaybeMessage<CreateSnapshotResponseProto>(NULL); |
16131 | } |
16132 | |
16133 | CreateSnapshotResponseProto* New(::google::protobuf::Arena* arena) const final { |
16134 | return CreateMaybeMessage<CreateSnapshotResponseProto>(arena); |
16135 | } |
16136 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16137 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16138 | void CopyFrom(const CreateSnapshotResponseProto& from); |
16139 | void MergeFrom(const CreateSnapshotResponseProto& from); |
16140 | void Clear() final; |
16141 | bool IsInitialized() const final; |
16142 | |
16143 | size_t ByteSizeLong() const final; |
16144 | bool MergePartialFromCodedStream( |
16145 | ::google::protobuf::io::CodedInputStream* input) final; |
16146 | void SerializeWithCachedSizes( |
16147 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16148 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16149 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16150 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16151 | |
16152 | private: |
16153 | void SharedCtor(); |
16154 | void SharedDtor(); |
16155 | void SetCachedSize(int size) const final; |
16156 | void InternalSwap(CreateSnapshotResponseProto* other); |
16157 | private: |
16158 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16159 | return NULL; |
16160 | } |
16161 | inline void* MaybeArenaPtr() const { |
16162 | return NULL; |
16163 | } |
16164 | public: |
16165 | |
16166 | ::google::protobuf::Metadata GetMetadata() const final; |
16167 | |
16168 | // nested types ---------------------------------------------------- |
16169 | |
16170 | // accessors ------------------------------------------------------- |
16171 | |
16172 | // required string snapshotPath = 1; |
16173 | bool has_snapshotpath() const; |
16174 | void clear_snapshotpath(); |
16175 | static const int kSnapshotPathFieldNumber = 1; |
16176 | const ::std::string& snapshotpath() const; |
16177 | void set_snapshotpath(const ::std::string& value); |
16178 | #if LANG_CXX11 |
16179 | void set_snapshotpath(::std::string&& value); |
16180 | #endif |
16181 | void set_snapshotpath(const char* value); |
16182 | void set_snapshotpath(const char* value, size_t size); |
16183 | ::std::string* mutable_snapshotpath(); |
16184 | ::std::string* release_snapshotpath(); |
16185 | void set_allocated_snapshotpath(::std::string* snapshotpath); |
16186 | |
16187 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.CreateSnapshotResponseProto) |
16188 | private: |
16189 | void set_has_snapshotpath(); |
16190 | void clear_has_snapshotpath(); |
16191 | |
16192 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16193 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16194 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16195 | ::google::protobuf::internal::ArenaStringPtr snapshotpath_; |
16196 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16197 | }; |
16198 | // ------------------------------------------------------------------- |
16199 | |
16200 | class RenameSnapshotRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenameSnapshotRequestProto) */ { |
16201 | public: |
16202 | RenameSnapshotRequestProto(); |
16203 | virtual ~RenameSnapshotRequestProto(); |
16204 | |
16205 | RenameSnapshotRequestProto(const RenameSnapshotRequestProto& from); |
16206 | |
16207 | inline RenameSnapshotRequestProto& operator=(const RenameSnapshotRequestProto& from) { |
16208 | CopyFrom(from); |
16209 | return *this; |
16210 | } |
16211 | #if LANG_CXX11 |
16212 | RenameSnapshotRequestProto(RenameSnapshotRequestProto&& from) noexcept |
16213 | : RenameSnapshotRequestProto() { |
16214 | *this = ::std::move(from); |
16215 | } |
16216 | |
16217 | inline RenameSnapshotRequestProto& operator=(RenameSnapshotRequestProto&& from) noexcept { |
16218 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16219 | if (this != &from) InternalSwap(&from); |
16220 | } else { |
16221 | CopyFrom(from); |
16222 | } |
16223 | return *this; |
16224 | } |
16225 | #endif |
16226 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16227 | return _internal_metadata_.unknown_fields(); |
16228 | } |
16229 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16230 | return _internal_metadata_.mutable_unknown_fields(); |
16231 | } |
16232 | |
16233 | static const ::google::protobuf::Descriptor* descriptor(); |
16234 | static const RenameSnapshotRequestProto& default_instance(); |
16235 | |
16236 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16237 | static inline const RenameSnapshotRequestProto* internal_default_instance() { |
16238 | return reinterpret_cast<const RenameSnapshotRequestProto*>( |
16239 | &_RenameSnapshotRequestProto_default_instance_); |
16240 | } |
16241 | static constexpr int kIndexInFileMessages = |
16242 | 123; |
16243 | |
16244 | void Swap(RenameSnapshotRequestProto* other); |
16245 | friend void swap(RenameSnapshotRequestProto& a, RenameSnapshotRequestProto& b) { |
16246 | a.Swap(&b); |
16247 | } |
16248 | |
16249 | // implements Message ---------------------------------------------- |
16250 | |
16251 | inline RenameSnapshotRequestProto* New() const final { |
16252 | return CreateMaybeMessage<RenameSnapshotRequestProto>(NULL); |
16253 | } |
16254 | |
16255 | RenameSnapshotRequestProto* New(::google::protobuf::Arena* arena) const final { |
16256 | return CreateMaybeMessage<RenameSnapshotRequestProto>(arena); |
16257 | } |
16258 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16259 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16260 | void CopyFrom(const RenameSnapshotRequestProto& from); |
16261 | void MergeFrom(const RenameSnapshotRequestProto& from); |
16262 | void Clear() final; |
16263 | bool IsInitialized() const final; |
16264 | |
16265 | size_t ByteSizeLong() const final; |
16266 | bool MergePartialFromCodedStream( |
16267 | ::google::protobuf::io::CodedInputStream* input) final; |
16268 | void SerializeWithCachedSizes( |
16269 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16270 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16271 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16272 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16273 | |
16274 | private: |
16275 | void SharedCtor(); |
16276 | void SharedDtor(); |
16277 | void SetCachedSize(int size) const final; |
16278 | void InternalSwap(RenameSnapshotRequestProto* other); |
16279 | private: |
16280 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16281 | return NULL; |
16282 | } |
16283 | inline void* MaybeArenaPtr() const { |
16284 | return NULL; |
16285 | } |
16286 | public: |
16287 | |
16288 | ::google::protobuf::Metadata GetMetadata() const final; |
16289 | |
16290 | // nested types ---------------------------------------------------- |
16291 | |
16292 | // accessors ------------------------------------------------------- |
16293 | |
16294 | // required string snapshotRoot = 1; |
16295 | bool has_snapshotroot() const; |
16296 | void clear_snapshotroot(); |
16297 | static const int kSnapshotRootFieldNumber = 1; |
16298 | const ::std::string& snapshotroot() const; |
16299 | void set_snapshotroot(const ::std::string& value); |
16300 | #if LANG_CXX11 |
16301 | void set_snapshotroot(::std::string&& value); |
16302 | #endif |
16303 | void set_snapshotroot(const char* value); |
16304 | void set_snapshotroot(const char* value, size_t size); |
16305 | ::std::string* mutable_snapshotroot(); |
16306 | ::std::string* release_snapshotroot(); |
16307 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
16308 | |
16309 | // required string snapshotOldName = 2; |
16310 | bool has_snapshotoldname() const; |
16311 | void clear_snapshotoldname(); |
16312 | static const int kSnapshotOldNameFieldNumber = 2; |
16313 | const ::std::string& snapshotoldname() const; |
16314 | void set_snapshotoldname(const ::std::string& value); |
16315 | #if LANG_CXX11 |
16316 | void set_snapshotoldname(::std::string&& value); |
16317 | #endif |
16318 | void set_snapshotoldname(const char* value); |
16319 | void set_snapshotoldname(const char* value, size_t size); |
16320 | ::std::string* mutable_snapshotoldname(); |
16321 | ::std::string* release_snapshotoldname(); |
16322 | void set_allocated_snapshotoldname(::std::string* snapshotoldname); |
16323 | |
16324 | // required string snapshotNewName = 3; |
16325 | bool has_snapshotnewname() const; |
16326 | void clear_snapshotnewname(); |
16327 | static const int kSnapshotNewNameFieldNumber = 3; |
16328 | const ::std::string& snapshotnewname() const; |
16329 | void set_snapshotnewname(const ::std::string& value); |
16330 | #if LANG_CXX11 |
16331 | void set_snapshotnewname(::std::string&& value); |
16332 | #endif |
16333 | void set_snapshotnewname(const char* value); |
16334 | void set_snapshotnewname(const char* value, size_t size); |
16335 | ::std::string* mutable_snapshotnewname(); |
16336 | ::std::string* release_snapshotnewname(); |
16337 | void set_allocated_snapshotnewname(::std::string* snapshotnewname); |
16338 | |
16339 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenameSnapshotRequestProto) |
16340 | private: |
16341 | void set_has_snapshotroot(); |
16342 | void clear_has_snapshotroot(); |
16343 | void set_has_snapshotoldname(); |
16344 | void clear_has_snapshotoldname(); |
16345 | void set_has_snapshotnewname(); |
16346 | void clear_has_snapshotnewname(); |
16347 | |
16348 | // helper for ByteSizeLong() |
16349 | size_t RequiredFieldsByteSizeFallback() const; |
16350 | |
16351 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16352 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16353 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16354 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
16355 | ::google::protobuf::internal::ArenaStringPtr snapshotoldname_; |
16356 | ::google::protobuf::internal::ArenaStringPtr snapshotnewname_; |
16357 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16358 | }; |
16359 | // ------------------------------------------------------------------- |
16360 | |
16361 | class RenameSnapshotResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.RenameSnapshotResponseProto) */ { |
16362 | public: |
16363 | RenameSnapshotResponseProto(); |
16364 | virtual ~RenameSnapshotResponseProto(); |
16365 | |
16366 | RenameSnapshotResponseProto(const RenameSnapshotResponseProto& from); |
16367 | |
16368 | inline RenameSnapshotResponseProto& operator=(const RenameSnapshotResponseProto& from) { |
16369 | CopyFrom(from); |
16370 | return *this; |
16371 | } |
16372 | #if LANG_CXX11 |
16373 | RenameSnapshotResponseProto(RenameSnapshotResponseProto&& from) noexcept |
16374 | : RenameSnapshotResponseProto() { |
16375 | *this = ::std::move(from); |
16376 | } |
16377 | |
16378 | inline RenameSnapshotResponseProto& operator=(RenameSnapshotResponseProto&& from) noexcept { |
16379 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16380 | if (this != &from) InternalSwap(&from); |
16381 | } else { |
16382 | CopyFrom(from); |
16383 | } |
16384 | return *this; |
16385 | } |
16386 | #endif |
16387 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16388 | return _internal_metadata_.unknown_fields(); |
16389 | } |
16390 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16391 | return _internal_metadata_.mutable_unknown_fields(); |
16392 | } |
16393 | |
16394 | static const ::google::protobuf::Descriptor* descriptor(); |
16395 | static const RenameSnapshotResponseProto& default_instance(); |
16396 | |
16397 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16398 | static inline const RenameSnapshotResponseProto* internal_default_instance() { |
16399 | return reinterpret_cast<const RenameSnapshotResponseProto*>( |
16400 | &_RenameSnapshotResponseProto_default_instance_); |
16401 | } |
16402 | static constexpr int kIndexInFileMessages = |
16403 | 124; |
16404 | |
16405 | void Swap(RenameSnapshotResponseProto* other); |
16406 | friend void swap(RenameSnapshotResponseProto& a, RenameSnapshotResponseProto& b) { |
16407 | a.Swap(&b); |
16408 | } |
16409 | |
16410 | // implements Message ---------------------------------------------- |
16411 | |
16412 | inline RenameSnapshotResponseProto* New() const final { |
16413 | return CreateMaybeMessage<RenameSnapshotResponseProto>(NULL); |
16414 | } |
16415 | |
16416 | RenameSnapshotResponseProto* New(::google::protobuf::Arena* arena) const final { |
16417 | return CreateMaybeMessage<RenameSnapshotResponseProto>(arena); |
16418 | } |
16419 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16420 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16421 | void CopyFrom(const RenameSnapshotResponseProto& from); |
16422 | void MergeFrom(const RenameSnapshotResponseProto& from); |
16423 | void Clear() final; |
16424 | bool IsInitialized() const final; |
16425 | |
16426 | size_t ByteSizeLong() const final; |
16427 | bool MergePartialFromCodedStream( |
16428 | ::google::protobuf::io::CodedInputStream* input) final; |
16429 | void SerializeWithCachedSizes( |
16430 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16431 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16432 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16433 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16434 | |
16435 | private: |
16436 | void SharedCtor(); |
16437 | void SharedDtor(); |
16438 | void SetCachedSize(int size) const final; |
16439 | void InternalSwap(RenameSnapshotResponseProto* other); |
16440 | private: |
16441 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16442 | return NULL; |
16443 | } |
16444 | inline void* MaybeArenaPtr() const { |
16445 | return NULL; |
16446 | } |
16447 | public: |
16448 | |
16449 | ::google::protobuf::Metadata GetMetadata() const final; |
16450 | |
16451 | // nested types ---------------------------------------------------- |
16452 | |
16453 | // accessors ------------------------------------------------------- |
16454 | |
16455 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.RenameSnapshotResponseProto) |
16456 | private: |
16457 | |
16458 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16459 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16460 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16461 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16462 | }; |
16463 | // ------------------------------------------------------------------- |
16464 | |
16465 | class AllowSnapshotRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AllowSnapshotRequestProto) */ { |
16466 | public: |
16467 | AllowSnapshotRequestProto(); |
16468 | virtual ~AllowSnapshotRequestProto(); |
16469 | |
16470 | AllowSnapshotRequestProto(const AllowSnapshotRequestProto& from); |
16471 | |
16472 | inline AllowSnapshotRequestProto& operator=(const AllowSnapshotRequestProto& from) { |
16473 | CopyFrom(from); |
16474 | return *this; |
16475 | } |
16476 | #if LANG_CXX11 |
16477 | AllowSnapshotRequestProto(AllowSnapshotRequestProto&& from) noexcept |
16478 | : AllowSnapshotRequestProto() { |
16479 | *this = ::std::move(from); |
16480 | } |
16481 | |
16482 | inline AllowSnapshotRequestProto& operator=(AllowSnapshotRequestProto&& from) noexcept { |
16483 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16484 | if (this != &from) InternalSwap(&from); |
16485 | } else { |
16486 | CopyFrom(from); |
16487 | } |
16488 | return *this; |
16489 | } |
16490 | #endif |
16491 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16492 | return _internal_metadata_.unknown_fields(); |
16493 | } |
16494 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16495 | return _internal_metadata_.mutable_unknown_fields(); |
16496 | } |
16497 | |
16498 | static const ::google::protobuf::Descriptor* descriptor(); |
16499 | static const AllowSnapshotRequestProto& default_instance(); |
16500 | |
16501 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16502 | static inline const AllowSnapshotRequestProto* internal_default_instance() { |
16503 | return reinterpret_cast<const AllowSnapshotRequestProto*>( |
16504 | &_AllowSnapshotRequestProto_default_instance_); |
16505 | } |
16506 | static constexpr int kIndexInFileMessages = |
16507 | 125; |
16508 | |
16509 | void Swap(AllowSnapshotRequestProto* other); |
16510 | friend void swap(AllowSnapshotRequestProto& a, AllowSnapshotRequestProto& b) { |
16511 | a.Swap(&b); |
16512 | } |
16513 | |
16514 | // implements Message ---------------------------------------------- |
16515 | |
16516 | inline AllowSnapshotRequestProto* New() const final { |
16517 | return CreateMaybeMessage<AllowSnapshotRequestProto>(NULL); |
16518 | } |
16519 | |
16520 | AllowSnapshotRequestProto* New(::google::protobuf::Arena* arena) const final { |
16521 | return CreateMaybeMessage<AllowSnapshotRequestProto>(arena); |
16522 | } |
16523 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16524 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16525 | void CopyFrom(const AllowSnapshotRequestProto& from); |
16526 | void MergeFrom(const AllowSnapshotRequestProto& from); |
16527 | void Clear() final; |
16528 | bool IsInitialized() const final; |
16529 | |
16530 | size_t ByteSizeLong() const final; |
16531 | bool MergePartialFromCodedStream( |
16532 | ::google::protobuf::io::CodedInputStream* input) final; |
16533 | void SerializeWithCachedSizes( |
16534 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16535 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16536 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16537 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16538 | |
16539 | private: |
16540 | void SharedCtor(); |
16541 | void SharedDtor(); |
16542 | void SetCachedSize(int size) const final; |
16543 | void InternalSwap(AllowSnapshotRequestProto* other); |
16544 | private: |
16545 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16546 | return NULL; |
16547 | } |
16548 | inline void* MaybeArenaPtr() const { |
16549 | return NULL; |
16550 | } |
16551 | public: |
16552 | |
16553 | ::google::protobuf::Metadata GetMetadata() const final; |
16554 | |
16555 | // nested types ---------------------------------------------------- |
16556 | |
16557 | // accessors ------------------------------------------------------- |
16558 | |
16559 | // required string snapshotRoot = 1; |
16560 | bool has_snapshotroot() const; |
16561 | void clear_snapshotroot(); |
16562 | static const int kSnapshotRootFieldNumber = 1; |
16563 | const ::std::string& snapshotroot() const; |
16564 | void set_snapshotroot(const ::std::string& value); |
16565 | #if LANG_CXX11 |
16566 | void set_snapshotroot(::std::string&& value); |
16567 | #endif |
16568 | void set_snapshotroot(const char* value); |
16569 | void set_snapshotroot(const char* value, size_t size); |
16570 | ::std::string* mutable_snapshotroot(); |
16571 | ::std::string* release_snapshotroot(); |
16572 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
16573 | |
16574 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AllowSnapshotRequestProto) |
16575 | private: |
16576 | void set_has_snapshotroot(); |
16577 | void clear_has_snapshotroot(); |
16578 | |
16579 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16580 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16581 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16582 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
16583 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16584 | }; |
16585 | // ------------------------------------------------------------------- |
16586 | |
16587 | class AllowSnapshotResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.AllowSnapshotResponseProto) */ { |
16588 | public: |
16589 | AllowSnapshotResponseProto(); |
16590 | virtual ~AllowSnapshotResponseProto(); |
16591 | |
16592 | AllowSnapshotResponseProto(const AllowSnapshotResponseProto& from); |
16593 | |
16594 | inline AllowSnapshotResponseProto& operator=(const AllowSnapshotResponseProto& from) { |
16595 | CopyFrom(from); |
16596 | return *this; |
16597 | } |
16598 | #if LANG_CXX11 |
16599 | AllowSnapshotResponseProto(AllowSnapshotResponseProto&& from) noexcept |
16600 | : AllowSnapshotResponseProto() { |
16601 | *this = ::std::move(from); |
16602 | } |
16603 | |
16604 | inline AllowSnapshotResponseProto& operator=(AllowSnapshotResponseProto&& from) noexcept { |
16605 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16606 | if (this != &from) InternalSwap(&from); |
16607 | } else { |
16608 | CopyFrom(from); |
16609 | } |
16610 | return *this; |
16611 | } |
16612 | #endif |
16613 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16614 | return _internal_metadata_.unknown_fields(); |
16615 | } |
16616 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16617 | return _internal_metadata_.mutable_unknown_fields(); |
16618 | } |
16619 | |
16620 | static const ::google::protobuf::Descriptor* descriptor(); |
16621 | static const AllowSnapshotResponseProto& default_instance(); |
16622 | |
16623 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16624 | static inline const AllowSnapshotResponseProto* internal_default_instance() { |
16625 | return reinterpret_cast<const AllowSnapshotResponseProto*>( |
16626 | &_AllowSnapshotResponseProto_default_instance_); |
16627 | } |
16628 | static constexpr int kIndexInFileMessages = |
16629 | 126; |
16630 | |
16631 | void Swap(AllowSnapshotResponseProto* other); |
16632 | friend void swap(AllowSnapshotResponseProto& a, AllowSnapshotResponseProto& b) { |
16633 | a.Swap(&b); |
16634 | } |
16635 | |
16636 | // implements Message ---------------------------------------------- |
16637 | |
16638 | inline AllowSnapshotResponseProto* New() const final { |
16639 | return CreateMaybeMessage<AllowSnapshotResponseProto>(NULL); |
16640 | } |
16641 | |
16642 | AllowSnapshotResponseProto* New(::google::protobuf::Arena* arena) const final { |
16643 | return CreateMaybeMessage<AllowSnapshotResponseProto>(arena); |
16644 | } |
16645 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16646 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16647 | void CopyFrom(const AllowSnapshotResponseProto& from); |
16648 | void MergeFrom(const AllowSnapshotResponseProto& from); |
16649 | void Clear() final; |
16650 | bool IsInitialized() const final; |
16651 | |
16652 | size_t ByteSizeLong() const final; |
16653 | bool MergePartialFromCodedStream( |
16654 | ::google::protobuf::io::CodedInputStream* input) final; |
16655 | void SerializeWithCachedSizes( |
16656 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16657 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16658 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16659 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16660 | |
16661 | private: |
16662 | void SharedCtor(); |
16663 | void SharedDtor(); |
16664 | void SetCachedSize(int size) const final; |
16665 | void InternalSwap(AllowSnapshotResponseProto* other); |
16666 | private: |
16667 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16668 | return NULL; |
16669 | } |
16670 | inline void* MaybeArenaPtr() const { |
16671 | return NULL; |
16672 | } |
16673 | public: |
16674 | |
16675 | ::google::protobuf::Metadata GetMetadata() const final; |
16676 | |
16677 | // nested types ---------------------------------------------------- |
16678 | |
16679 | // accessors ------------------------------------------------------- |
16680 | |
16681 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.AllowSnapshotResponseProto) |
16682 | private: |
16683 | |
16684 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16685 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16686 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16687 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16688 | }; |
16689 | // ------------------------------------------------------------------- |
16690 | |
16691 | class DisallowSnapshotRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DisallowSnapshotRequestProto) */ { |
16692 | public: |
16693 | DisallowSnapshotRequestProto(); |
16694 | virtual ~DisallowSnapshotRequestProto(); |
16695 | |
16696 | DisallowSnapshotRequestProto(const DisallowSnapshotRequestProto& from); |
16697 | |
16698 | inline DisallowSnapshotRequestProto& operator=(const DisallowSnapshotRequestProto& from) { |
16699 | CopyFrom(from); |
16700 | return *this; |
16701 | } |
16702 | #if LANG_CXX11 |
16703 | DisallowSnapshotRequestProto(DisallowSnapshotRequestProto&& from) noexcept |
16704 | : DisallowSnapshotRequestProto() { |
16705 | *this = ::std::move(from); |
16706 | } |
16707 | |
16708 | inline DisallowSnapshotRequestProto& operator=(DisallowSnapshotRequestProto&& from) noexcept { |
16709 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16710 | if (this != &from) InternalSwap(&from); |
16711 | } else { |
16712 | CopyFrom(from); |
16713 | } |
16714 | return *this; |
16715 | } |
16716 | #endif |
16717 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16718 | return _internal_metadata_.unknown_fields(); |
16719 | } |
16720 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16721 | return _internal_metadata_.mutable_unknown_fields(); |
16722 | } |
16723 | |
16724 | static const ::google::protobuf::Descriptor* descriptor(); |
16725 | static const DisallowSnapshotRequestProto& default_instance(); |
16726 | |
16727 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16728 | static inline const DisallowSnapshotRequestProto* internal_default_instance() { |
16729 | return reinterpret_cast<const DisallowSnapshotRequestProto*>( |
16730 | &_DisallowSnapshotRequestProto_default_instance_); |
16731 | } |
16732 | static constexpr int kIndexInFileMessages = |
16733 | 127; |
16734 | |
16735 | void Swap(DisallowSnapshotRequestProto* other); |
16736 | friend void swap(DisallowSnapshotRequestProto& a, DisallowSnapshotRequestProto& b) { |
16737 | a.Swap(&b); |
16738 | } |
16739 | |
16740 | // implements Message ---------------------------------------------- |
16741 | |
16742 | inline DisallowSnapshotRequestProto* New() const final { |
16743 | return CreateMaybeMessage<DisallowSnapshotRequestProto>(NULL); |
16744 | } |
16745 | |
16746 | DisallowSnapshotRequestProto* New(::google::protobuf::Arena* arena) const final { |
16747 | return CreateMaybeMessage<DisallowSnapshotRequestProto>(arena); |
16748 | } |
16749 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16750 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16751 | void CopyFrom(const DisallowSnapshotRequestProto& from); |
16752 | void MergeFrom(const DisallowSnapshotRequestProto& from); |
16753 | void Clear() final; |
16754 | bool IsInitialized() const final; |
16755 | |
16756 | size_t ByteSizeLong() const final; |
16757 | bool MergePartialFromCodedStream( |
16758 | ::google::protobuf::io::CodedInputStream* input) final; |
16759 | void SerializeWithCachedSizes( |
16760 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16761 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16762 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16763 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16764 | |
16765 | private: |
16766 | void SharedCtor(); |
16767 | void SharedDtor(); |
16768 | void SetCachedSize(int size) const final; |
16769 | void InternalSwap(DisallowSnapshotRequestProto* other); |
16770 | private: |
16771 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16772 | return NULL; |
16773 | } |
16774 | inline void* MaybeArenaPtr() const { |
16775 | return NULL; |
16776 | } |
16777 | public: |
16778 | |
16779 | ::google::protobuf::Metadata GetMetadata() const final; |
16780 | |
16781 | // nested types ---------------------------------------------------- |
16782 | |
16783 | // accessors ------------------------------------------------------- |
16784 | |
16785 | // required string snapshotRoot = 1; |
16786 | bool has_snapshotroot() const; |
16787 | void clear_snapshotroot(); |
16788 | static const int kSnapshotRootFieldNumber = 1; |
16789 | const ::std::string& snapshotroot() const; |
16790 | void set_snapshotroot(const ::std::string& value); |
16791 | #if LANG_CXX11 |
16792 | void set_snapshotroot(::std::string&& value); |
16793 | #endif |
16794 | void set_snapshotroot(const char* value); |
16795 | void set_snapshotroot(const char* value, size_t size); |
16796 | ::std::string* mutable_snapshotroot(); |
16797 | ::std::string* release_snapshotroot(); |
16798 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
16799 | |
16800 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DisallowSnapshotRequestProto) |
16801 | private: |
16802 | void set_has_snapshotroot(); |
16803 | void clear_has_snapshotroot(); |
16804 | |
16805 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16806 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16807 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16808 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
16809 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16810 | }; |
16811 | // ------------------------------------------------------------------- |
16812 | |
16813 | class DisallowSnapshotResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DisallowSnapshotResponseProto) */ { |
16814 | public: |
16815 | DisallowSnapshotResponseProto(); |
16816 | virtual ~DisallowSnapshotResponseProto(); |
16817 | |
16818 | DisallowSnapshotResponseProto(const DisallowSnapshotResponseProto& from); |
16819 | |
16820 | inline DisallowSnapshotResponseProto& operator=(const DisallowSnapshotResponseProto& from) { |
16821 | CopyFrom(from); |
16822 | return *this; |
16823 | } |
16824 | #if LANG_CXX11 |
16825 | DisallowSnapshotResponseProto(DisallowSnapshotResponseProto&& from) noexcept |
16826 | : DisallowSnapshotResponseProto() { |
16827 | *this = ::std::move(from); |
16828 | } |
16829 | |
16830 | inline DisallowSnapshotResponseProto& operator=(DisallowSnapshotResponseProto&& from) noexcept { |
16831 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16832 | if (this != &from) InternalSwap(&from); |
16833 | } else { |
16834 | CopyFrom(from); |
16835 | } |
16836 | return *this; |
16837 | } |
16838 | #endif |
16839 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16840 | return _internal_metadata_.unknown_fields(); |
16841 | } |
16842 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16843 | return _internal_metadata_.mutable_unknown_fields(); |
16844 | } |
16845 | |
16846 | static const ::google::protobuf::Descriptor* descriptor(); |
16847 | static const DisallowSnapshotResponseProto& default_instance(); |
16848 | |
16849 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16850 | static inline const DisallowSnapshotResponseProto* internal_default_instance() { |
16851 | return reinterpret_cast<const DisallowSnapshotResponseProto*>( |
16852 | &_DisallowSnapshotResponseProto_default_instance_); |
16853 | } |
16854 | static constexpr int kIndexInFileMessages = |
16855 | 128; |
16856 | |
16857 | void Swap(DisallowSnapshotResponseProto* other); |
16858 | friend void swap(DisallowSnapshotResponseProto& a, DisallowSnapshotResponseProto& b) { |
16859 | a.Swap(&b); |
16860 | } |
16861 | |
16862 | // implements Message ---------------------------------------------- |
16863 | |
16864 | inline DisallowSnapshotResponseProto* New() const final { |
16865 | return CreateMaybeMessage<DisallowSnapshotResponseProto>(NULL); |
16866 | } |
16867 | |
16868 | DisallowSnapshotResponseProto* New(::google::protobuf::Arena* arena) const final { |
16869 | return CreateMaybeMessage<DisallowSnapshotResponseProto>(arena); |
16870 | } |
16871 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16872 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16873 | void CopyFrom(const DisallowSnapshotResponseProto& from); |
16874 | void MergeFrom(const DisallowSnapshotResponseProto& from); |
16875 | void Clear() final; |
16876 | bool IsInitialized() const final; |
16877 | |
16878 | size_t ByteSizeLong() const final; |
16879 | bool MergePartialFromCodedStream( |
16880 | ::google::protobuf::io::CodedInputStream* input) final; |
16881 | void SerializeWithCachedSizes( |
16882 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16883 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16884 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16885 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16886 | |
16887 | private: |
16888 | void SharedCtor(); |
16889 | void SharedDtor(); |
16890 | void SetCachedSize(int size) const final; |
16891 | void InternalSwap(DisallowSnapshotResponseProto* other); |
16892 | private: |
16893 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16894 | return NULL; |
16895 | } |
16896 | inline void* MaybeArenaPtr() const { |
16897 | return NULL; |
16898 | } |
16899 | public: |
16900 | |
16901 | ::google::protobuf::Metadata GetMetadata() const final; |
16902 | |
16903 | // nested types ---------------------------------------------------- |
16904 | |
16905 | // accessors ------------------------------------------------------- |
16906 | |
16907 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DisallowSnapshotResponseProto) |
16908 | private: |
16909 | |
16910 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
16911 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
16912 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
16913 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
16914 | }; |
16915 | // ------------------------------------------------------------------- |
16916 | |
16917 | class DeleteSnapshotRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DeleteSnapshotRequestProto) */ { |
16918 | public: |
16919 | DeleteSnapshotRequestProto(); |
16920 | virtual ~DeleteSnapshotRequestProto(); |
16921 | |
16922 | DeleteSnapshotRequestProto(const DeleteSnapshotRequestProto& from); |
16923 | |
16924 | inline DeleteSnapshotRequestProto& operator=(const DeleteSnapshotRequestProto& from) { |
16925 | CopyFrom(from); |
16926 | return *this; |
16927 | } |
16928 | #if LANG_CXX11 |
16929 | DeleteSnapshotRequestProto(DeleteSnapshotRequestProto&& from) noexcept |
16930 | : DeleteSnapshotRequestProto() { |
16931 | *this = ::std::move(from); |
16932 | } |
16933 | |
16934 | inline DeleteSnapshotRequestProto& operator=(DeleteSnapshotRequestProto&& from) noexcept { |
16935 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
16936 | if (this != &from) InternalSwap(&from); |
16937 | } else { |
16938 | CopyFrom(from); |
16939 | } |
16940 | return *this; |
16941 | } |
16942 | #endif |
16943 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
16944 | return _internal_metadata_.unknown_fields(); |
16945 | } |
16946 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
16947 | return _internal_metadata_.mutable_unknown_fields(); |
16948 | } |
16949 | |
16950 | static const ::google::protobuf::Descriptor* descriptor(); |
16951 | static const DeleteSnapshotRequestProto& default_instance(); |
16952 | |
16953 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
16954 | static inline const DeleteSnapshotRequestProto* internal_default_instance() { |
16955 | return reinterpret_cast<const DeleteSnapshotRequestProto*>( |
16956 | &_DeleteSnapshotRequestProto_default_instance_); |
16957 | } |
16958 | static constexpr int kIndexInFileMessages = |
16959 | 129; |
16960 | |
16961 | void Swap(DeleteSnapshotRequestProto* other); |
16962 | friend void swap(DeleteSnapshotRequestProto& a, DeleteSnapshotRequestProto& b) { |
16963 | a.Swap(&b); |
16964 | } |
16965 | |
16966 | // implements Message ---------------------------------------------- |
16967 | |
16968 | inline DeleteSnapshotRequestProto* New() const final { |
16969 | return CreateMaybeMessage<DeleteSnapshotRequestProto>(NULL); |
16970 | } |
16971 | |
16972 | DeleteSnapshotRequestProto* New(::google::protobuf::Arena* arena) const final { |
16973 | return CreateMaybeMessage<DeleteSnapshotRequestProto>(arena); |
16974 | } |
16975 | void CopyFrom(const ::google::protobuf::Message& from) final; |
16976 | void MergeFrom(const ::google::protobuf::Message& from) final; |
16977 | void CopyFrom(const DeleteSnapshotRequestProto& from); |
16978 | void MergeFrom(const DeleteSnapshotRequestProto& from); |
16979 | void Clear() final; |
16980 | bool IsInitialized() const final; |
16981 | |
16982 | size_t ByteSizeLong() const final; |
16983 | bool MergePartialFromCodedStream( |
16984 | ::google::protobuf::io::CodedInputStream* input) final; |
16985 | void SerializeWithCachedSizes( |
16986 | ::google::protobuf::io::CodedOutputStream* output) const final; |
16987 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
16988 | bool deterministic, ::google::protobuf::uint8* target) const final; |
16989 | int GetCachedSize() const final { return _cached_size_.Get(); } |
16990 | |
16991 | private: |
16992 | void SharedCtor(); |
16993 | void SharedDtor(); |
16994 | void SetCachedSize(int size) const final; |
16995 | void InternalSwap(DeleteSnapshotRequestProto* other); |
16996 | private: |
16997 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
16998 | return NULL; |
16999 | } |
17000 | inline void* MaybeArenaPtr() const { |
17001 | return NULL; |
17002 | } |
17003 | public: |
17004 | |
17005 | ::google::protobuf::Metadata GetMetadata() const final; |
17006 | |
17007 | // nested types ---------------------------------------------------- |
17008 | |
17009 | // accessors ------------------------------------------------------- |
17010 | |
17011 | // required string snapshotRoot = 1; |
17012 | bool has_snapshotroot() const; |
17013 | void clear_snapshotroot(); |
17014 | static const int kSnapshotRootFieldNumber = 1; |
17015 | const ::std::string& snapshotroot() const; |
17016 | void set_snapshotroot(const ::std::string& value); |
17017 | #if LANG_CXX11 |
17018 | void set_snapshotroot(::std::string&& value); |
17019 | #endif |
17020 | void set_snapshotroot(const char* value); |
17021 | void set_snapshotroot(const char* value, size_t size); |
17022 | ::std::string* mutable_snapshotroot(); |
17023 | ::std::string* release_snapshotroot(); |
17024 | void set_allocated_snapshotroot(::std::string* snapshotroot); |
17025 | |
17026 | // required string snapshotName = 2; |
17027 | bool has_snapshotname() const; |
17028 | void clear_snapshotname(); |
17029 | static const int kSnapshotNameFieldNumber = 2; |
17030 | const ::std::string& snapshotname() const; |
17031 | void set_snapshotname(const ::std::string& value); |
17032 | #if LANG_CXX11 |
17033 | void set_snapshotname(::std::string&& value); |
17034 | #endif |
17035 | void set_snapshotname(const char* value); |
17036 | void set_snapshotname(const char* value, size_t size); |
17037 | ::std::string* mutable_snapshotname(); |
17038 | ::std::string* release_snapshotname(); |
17039 | void set_allocated_snapshotname(::std::string* snapshotname); |
17040 | |
17041 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DeleteSnapshotRequestProto) |
17042 | private: |
17043 | void set_has_snapshotroot(); |
17044 | void clear_has_snapshotroot(); |
17045 | void set_has_snapshotname(); |
17046 | void clear_has_snapshotname(); |
17047 | |
17048 | // helper for ByteSizeLong() |
17049 | size_t RequiredFieldsByteSizeFallback() const; |
17050 | |
17051 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
17052 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
17053 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
17054 | ::google::protobuf::internal::ArenaStringPtr snapshotroot_; |
17055 | ::google::protobuf::internal::ArenaStringPtr snapshotname_; |
17056 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
17057 | }; |
17058 | // ------------------------------------------------------------------- |
17059 | |
17060 | class DeleteSnapshotResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Hdfs.Internal.DeleteSnapshotResponseProto) */ { |
17061 | public: |
17062 | DeleteSnapshotResponseProto(); |
17063 | virtual ~DeleteSnapshotResponseProto(); |
17064 | |
17065 | DeleteSnapshotResponseProto(const DeleteSnapshotResponseProto& from); |
17066 | |
17067 | inline DeleteSnapshotResponseProto& operator=(const DeleteSnapshotResponseProto& from) { |
17068 | CopyFrom(from); |
17069 | return *this; |
17070 | } |
17071 | #if LANG_CXX11 |
17072 | DeleteSnapshotResponseProto(DeleteSnapshotResponseProto&& from) noexcept |
17073 | : DeleteSnapshotResponseProto() { |
17074 | *this = ::std::move(from); |
17075 | } |
17076 | |
17077 | inline DeleteSnapshotResponseProto& operator=(DeleteSnapshotResponseProto&& from) noexcept { |
17078 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
17079 | if (this != &from) InternalSwap(&from); |
17080 | } else { |
17081 | CopyFrom(from); |
17082 | } |
17083 | return *this; |
17084 | } |
17085 | #endif |
17086 | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { |
17087 | return _internal_metadata_.unknown_fields(); |
17088 | } |
17089 | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { |
17090 | return _internal_metadata_.mutable_unknown_fields(); |
17091 | } |
17092 | |
17093 | static const ::google::protobuf::Descriptor* descriptor(); |
17094 | static const DeleteSnapshotResponseProto& default_instance(); |
17095 | |
17096 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
17097 | static inline const DeleteSnapshotResponseProto* internal_default_instance() { |
17098 | return reinterpret_cast<const DeleteSnapshotResponseProto*>( |
17099 | &_DeleteSnapshotResponseProto_default_instance_); |
17100 | } |
17101 | static constexpr int kIndexInFileMessages = |
17102 | 130; |
17103 | |
17104 | void Swap(DeleteSnapshotResponseProto* other); |
17105 | friend void swap(DeleteSnapshotResponseProto& a, DeleteSnapshotResponseProto& b) { |
17106 | a.Swap(&b); |
17107 | } |
17108 | |
17109 | // implements Message ---------------------------------------------- |
17110 | |
17111 | inline DeleteSnapshotResponseProto* New() const final { |
17112 | return CreateMaybeMessage<DeleteSnapshotResponseProto>(NULL); |
17113 | } |
17114 | |
17115 | DeleteSnapshotResponseProto* New(::google::protobuf::Arena* arena) const final { |
17116 | return CreateMaybeMessage<DeleteSnapshotResponseProto>(arena); |
17117 | } |
17118 | void CopyFrom(const ::google::protobuf::Message& from) final; |
17119 | void MergeFrom(const ::google::protobuf::Message& from) final; |
17120 | void CopyFrom(const DeleteSnapshotResponseProto& from); |
17121 | void MergeFrom(const DeleteSnapshotResponseProto& from); |
17122 | void Clear() final; |
17123 | bool IsInitialized() const final; |
17124 | |
17125 | size_t ByteSizeLong() const final; |
17126 | bool MergePartialFromCodedStream( |
17127 | ::google::protobuf::io::CodedInputStream* input) final; |
17128 | void SerializeWithCachedSizes( |
17129 | ::google::protobuf::io::CodedOutputStream* output) const final; |
17130 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
17131 | bool deterministic, ::google::protobuf::uint8* target) const final; |
17132 | int GetCachedSize() const final { return _cached_size_.Get(); } |
17133 | |
17134 | private: |
17135 | void SharedCtor(); |
17136 | void SharedDtor(); |
17137 | void SetCachedSize(int size) const final; |
17138 | void InternalSwap(DeleteSnapshotResponseProto* other); |
17139 | private: |
17140 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
17141 | return NULL; |
17142 | } |
17143 | inline void* MaybeArenaPtr() const { |
17144 | return NULL; |
17145 | } |
17146 | public: |
17147 | |
17148 | ::google::protobuf::Metadata GetMetadata() const final; |
17149 | |
17150 | // nested types ---------------------------------------------------- |
17151 | |
17152 | // accessors ------------------------------------------------------- |
17153 | |
17154 | // @@protoc_insertion_point(class_scope:Hdfs.Internal.DeleteSnapshotResponseProto) |
17155 | private: |
17156 | |
17157 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
17158 | ::google::protobuf::internal::HasBits<1> _has_bits_; |
17159 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
17160 | friend struct ::protobuf_ClientNamenodeProtocol_2eproto::TableStruct; |
17161 | }; |
17162 | // =================================================================== |
17163 | |
17164 | class ClientNamenodeProtocol_Stub; |
17165 | |
17166 | class ClientNamenodeProtocol : public ::google::protobuf::Service { |
17167 | protected: |
17168 | // This class should be treated as an abstract interface. |
17169 | inline ClientNamenodeProtocol() {}; |
17170 | public: |
17171 | virtual ~ClientNamenodeProtocol(); |
17172 | |
17173 | typedef ClientNamenodeProtocol_Stub Stub; |
17174 | |
17175 | static const ::google::protobuf::ServiceDescriptor* descriptor(); |
17176 | |
17177 | virtual void getBlockLocations(::google::protobuf::RpcController* controller, |
17178 | const ::Hdfs::Internal::GetBlockLocationsRequestProto* request, |
17179 | ::Hdfs::Internal::GetBlockLocationsResponseProto* response, |
17180 | ::google::protobuf::Closure* done); |
17181 | virtual void getServerDefaults(::google::protobuf::RpcController* controller, |
17182 | const ::Hdfs::Internal::GetServerDefaultsRequestProto* request, |
17183 | ::Hdfs::Internal::GetServerDefaultsResponseProto* response, |
17184 | ::google::protobuf::Closure* done); |
17185 | virtual void create(::google::protobuf::RpcController* controller, |
17186 | const ::Hdfs::Internal::CreateRequestProto* request, |
17187 | ::Hdfs::Internal::CreateResponseProto* response, |
17188 | ::google::protobuf::Closure* done); |
17189 | virtual void append(::google::protobuf::RpcController* controller, |
17190 | const ::Hdfs::Internal::AppendRequestProto* request, |
17191 | ::Hdfs::Internal::AppendResponseProto* response, |
17192 | ::google::protobuf::Closure* done); |
17193 | virtual void setReplication(::google::protobuf::RpcController* controller, |
17194 | const ::Hdfs::Internal::SetReplicationRequestProto* request, |
17195 | ::Hdfs::Internal::SetReplicationResponseProto* response, |
17196 | ::google::protobuf::Closure* done); |
17197 | virtual void setPermission(::google::protobuf::RpcController* controller, |
17198 | const ::Hdfs::Internal::SetPermissionRequestProto* request, |
17199 | ::Hdfs::Internal::SetPermissionResponseProto* response, |
17200 | ::google::protobuf::Closure* done); |
17201 | virtual void setOwner(::google::protobuf::RpcController* controller, |
17202 | const ::Hdfs::Internal::SetOwnerRequestProto* request, |
17203 | ::Hdfs::Internal::SetOwnerResponseProto* response, |
17204 | ::google::protobuf::Closure* done); |
17205 | virtual void abandonBlock(::google::protobuf::RpcController* controller, |
17206 | const ::Hdfs::Internal::AbandonBlockRequestProto* request, |
17207 | ::Hdfs::Internal::AbandonBlockResponseProto* response, |
17208 | ::google::protobuf::Closure* done); |
17209 | virtual void addBlock(::google::protobuf::RpcController* controller, |
17210 | const ::Hdfs::Internal::AddBlockRequestProto* request, |
17211 | ::Hdfs::Internal::AddBlockResponseProto* response, |
17212 | ::google::protobuf::Closure* done); |
17213 | virtual void getAdditionalDatanode(::google::protobuf::RpcController* controller, |
17214 | const ::Hdfs::Internal::GetAdditionalDatanodeRequestProto* request, |
17215 | ::Hdfs::Internal::GetAdditionalDatanodeResponseProto* response, |
17216 | ::google::protobuf::Closure* done); |
17217 | virtual void complete(::google::protobuf::RpcController* controller, |
17218 | const ::Hdfs::Internal::CompleteRequestProto* request, |
17219 | ::Hdfs::Internal::CompleteResponseProto* response, |
17220 | ::google::protobuf::Closure* done); |
17221 | virtual void reportBadBlocks(::google::protobuf::RpcController* controller, |
17222 | const ::Hdfs::Internal::ReportBadBlocksRequestProto* request, |
17223 | ::Hdfs::Internal::ReportBadBlocksResponseProto* response, |
17224 | ::google::protobuf::Closure* done); |
17225 | virtual void concat(::google::protobuf::RpcController* controller, |
17226 | const ::Hdfs::Internal::ConcatRequestProto* request, |
17227 | ::Hdfs::Internal::ConcatResponseProto* response, |
17228 | ::google::protobuf::Closure* done); |
17229 | virtual void truncate(::google::protobuf::RpcController* controller, |
17230 | const ::Hdfs::Internal::TruncateRequestProto* request, |
17231 | ::Hdfs::Internal::TruncateResponseProto* response, |
17232 | ::google::protobuf::Closure* done); |
17233 | virtual void getLease(::google::protobuf::RpcController* controller, |
17234 | const ::Hdfs::Internal::GetLeaseRequestProto* request, |
17235 | ::Hdfs::Internal::GetLeaseResponseProto* response, |
17236 | ::google::protobuf::Closure* done); |
17237 | virtual void releaseLease(::google::protobuf::RpcController* controller, |
17238 | const ::Hdfs::Internal::ReleaseLeaseRequestProto* request, |
17239 | ::Hdfs::Internal::ReleaseLeaseResponseProto* response, |
17240 | ::google::protobuf::Closure* done); |
17241 | virtual void rename(::google::protobuf::RpcController* controller, |
17242 | const ::Hdfs::Internal::RenameRequestProto* request, |
17243 | ::Hdfs::Internal::RenameResponseProto* response, |
17244 | ::google::protobuf::Closure* done); |
17245 | virtual void rename2(::google::protobuf::RpcController* controller, |
17246 | const ::Hdfs::Internal::Rename2RequestProto* request, |
17247 | ::Hdfs::Internal::Rename2ResponseProto* response, |
17248 | ::google::protobuf::Closure* done); |
17249 | virtual void deleteFile(::google::protobuf::RpcController* controller, |
17250 | const ::Hdfs::Internal::DeleteRequestProto* request, |
17251 | ::Hdfs::Internal::DeleteResponseProto* response, |
17252 | ::google::protobuf::Closure* done); |
17253 | virtual void mkdirs(::google::protobuf::RpcController* controller, |
17254 | const ::Hdfs::Internal::MkdirsRequestProto* request, |
17255 | ::Hdfs::Internal::MkdirsResponseProto* response, |
17256 | ::google::protobuf::Closure* done); |
17257 | virtual void getListing(::google::protobuf::RpcController* controller, |
17258 | const ::Hdfs::Internal::GetListingRequestProto* request, |
17259 | ::Hdfs::Internal::GetListingResponseProto* response, |
17260 | ::google::protobuf::Closure* done); |
17261 | virtual void renewLease(::google::protobuf::RpcController* controller, |
17262 | const ::Hdfs::Internal::RenewLeaseRequestProto* request, |
17263 | ::Hdfs::Internal::RenewLeaseResponseProto* response, |
17264 | ::google::protobuf::Closure* done); |
17265 | virtual void recoverLease(::google::protobuf::RpcController* controller, |
17266 | const ::Hdfs::Internal::RecoverLeaseRequestProto* request, |
17267 | ::Hdfs::Internal::RecoverLeaseResponseProto* response, |
17268 | ::google::protobuf::Closure* done); |
17269 | virtual void getFsStats(::google::protobuf::RpcController* controller, |
17270 | const ::Hdfs::Internal::GetFsStatusRequestProto* request, |
17271 | ::Hdfs::Internal::GetFsStatsResponseProto* response, |
17272 | ::google::protobuf::Closure* done); |
17273 | virtual void getDatanodeReport(::google::protobuf::RpcController* controller, |
17274 | const ::Hdfs::Internal::GetDatanodeReportRequestProto* request, |
17275 | ::Hdfs::Internal::GetDatanodeReportResponseProto* response, |
17276 | ::google::protobuf::Closure* done); |
17277 | virtual void getPreferredBlockSize(::google::protobuf::RpcController* controller, |
17278 | const ::Hdfs::Internal::GetPreferredBlockSizeRequestProto* request, |
17279 | ::Hdfs::Internal::GetPreferredBlockSizeResponseProto* response, |
17280 | ::google::protobuf::Closure* done); |
17281 | virtual void setSafeMode(::google::protobuf::RpcController* controller, |
17282 | const ::Hdfs::Internal::SetSafeModeRequestProto* request, |
17283 | ::Hdfs::Internal::SetSafeModeResponseProto* response, |
17284 | ::google::protobuf::Closure* done); |
17285 | virtual void saveNamespace(::google::protobuf::RpcController* controller, |
17286 | const ::Hdfs::Internal::SaveNamespaceRequestProto* request, |
17287 | ::Hdfs::Internal::SaveNamespaceResponseProto* response, |
17288 | ::google::protobuf::Closure* done); |
17289 | virtual void rollEdits(::google::protobuf::RpcController* controller, |
17290 | const ::Hdfs::Internal::RollEditsRequestProto* request, |
17291 | ::Hdfs::Internal::RollEditsResponseProto* response, |
17292 | ::google::protobuf::Closure* done); |
17293 | virtual void restoreFailedStorage(::google::protobuf::RpcController* controller, |
17294 | const ::Hdfs::Internal::RestoreFailedStorageRequestProto* request, |
17295 | ::Hdfs::Internal::RestoreFailedStorageResponseProto* response, |
17296 | ::google::protobuf::Closure* done); |
17297 | virtual void refreshNodes(::google::protobuf::RpcController* controller, |
17298 | const ::Hdfs::Internal::RefreshNodesRequestProto* request, |
17299 | ::Hdfs::Internal::RefreshNodesResponseProto* response, |
17300 | ::google::protobuf::Closure* done); |
17301 | virtual void finalizeUpgrade(::google::protobuf::RpcController* controller, |
17302 | const ::Hdfs::Internal::FinalizeUpgradeRequestProto* request, |
17303 | ::Hdfs::Internal::FinalizeUpgradeResponseProto* response, |
17304 | ::google::protobuf::Closure* done); |
17305 | virtual void listCorruptFileBlocks(::google::protobuf::RpcController* controller, |
17306 | const ::Hdfs::Internal::ListCorruptFileBlocksRequestProto* request, |
17307 | ::Hdfs::Internal::ListCorruptFileBlocksResponseProto* response, |
17308 | ::google::protobuf::Closure* done); |
17309 | virtual void metaSave(::google::protobuf::RpcController* controller, |
17310 | const ::Hdfs::Internal::MetaSaveRequestProto* request, |
17311 | ::Hdfs::Internal::MetaSaveResponseProto* response, |
17312 | ::google::protobuf::Closure* done); |
17313 | virtual void getFileInfo(::google::protobuf::RpcController* controller, |
17314 | const ::Hdfs::Internal::GetFileInfoRequestProto* request, |
17315 | ::Hdfs::Internal::GetFileInfoResponseProto* response, |
17316 | ::google::protobuf::Closure* done); |
17317 | virtual void addCacheDirective(::google::protobuf::RpcController* controller, |
17318 | const ::Hdfs::Internal::AddCacheDirectiveRequestProto* request, |
17319 | ::Hdfs::Internal::AddCacheDirectiveResponseProto* response, |
17320 | ::google::protobuf::Closure* done); |
17321 | virtual void modifyCacheDirective(::google::protobuf::RpcController* controller, |
17322 | const ::Hdfs::Internal::ModifyCacheDirectiveRequestProto* request, |
17323 | ::Hdfs::Internal::ModifyCacheDirectiveResponseProto* response, |
17324 | ::google::protobuf::Closure* done); |
17325 | virtual void removeCacheDirective(::google::protobuf::RpcController* controller, |
17326 | const ::Hdfs::Internal::RemoveCacheDirectiveRequestProto* request, |
17327 | ::Hdfs::Internal::RemoveCacheDirectiveResponseProto* response, |
17328 | ::google::protobuf::Closure* done); |
17329 | virtual void listCacheDirectives(::google::protobuf::RpcController* controller, |
17330 | const ::Hdfs::Internal::ListCacheDirectivesRequestProto* request, |
17331 | ::Hdfs::Internal::ListCacheDirectivesResponseProto* response, |
17332 | ::google::protobuf::Closure* done); |
17333 | virtual void addCachePool(::google::protobuf::RpcController* controller, |
17334 | const ::Hdfs::Internal::AddCachePoolRequestProto* request, |
17335 | ::Hdfs::Internal::AddCachePoolResponseProto* response, |
17336 | ::google::protobuf::Closure* done); |
17337 | virtual void modifyCachePool(::google::protobuf::RpcController* controller, |
17338 | const ::Hdfs::Internal::ModifyCachePoolRequestProto* request, |
17339 | ::Hdfs::Internal::ModifyCachePoolResponseProto* response, |
17340 | ::google::protobuf::Closure* done); |
17341 | virtual void removeCachePool(::google::protobuf::RpcController* controller, |
17342 | const ::Hdfs::Internal::RemoveCachePoolRequestProto* request, |
17343 | ::Hdfs::Internal::RemoveCachePoolResponseProto* response, |
17344 | ::google::protobuf::Closure* done); |
17345 | virtual void listCachePools(::google::protobuf::RpcController* controller, |
17346 | const ::Hdfs::Internal::ListCachePoolsRequestProto* request, |
17347 | ::Hdfs::Internal::ListCachePoolsResponseProto* response, |
17348 | ::google::protobuf::Closure* done); |
17349 | virtual void getFileLinkInfo(::google::protobuf::RpcController* controller, |
17350 | const ::Hdfs::Internal::GetFileLinkInfoRequestProto* request, |
17351 | ::Hdfs::Internal::GetFileLinkInfoResponseProto* response, |
17352 | ::google::protobuf::Closure* done); |
17353 | virtual void getContentSummary(::google::protobuf::RpcController* controller, |
17354 | const ::Hdfs::Internal::GetContentSummaryRequestProto* request, |
17355 | ::Hdfs::Internal::GetContentSummaryResponseProto* response, |
17356 | ::google::protobuf::Closure* done); |
17357 | virtual void setQuota(::google::protobuf::RpcController* controller, |
17358 | const ::Hdfs::Internal::SetQuotaRequestProto* request, |
17359 | ::Hdfs::Internal::SetQuotaResponseProto* response, |
17360 | ::google::protobuf::Closure* done); |
17361 | virtual void fsync(::google::protobuf::RpcController* controller, |
17362 | const ::Hdfs::Internal::FsyncRequestProto* request, |
17363 | ::Hdfs::Internal::FsyncResponseProto* response, |
17364 | ::google::protobuf::Closure* done); |
17365 | virtual void setTimes(::google::protobuf::RpcController* controller, |
17366 | const ::Hdfs::Internal::SetTimesRequestProto* request, |
17367 | ::Hdfs::Internal::SetTimesResponseProto* response, |
17368 | ::google::protobuf::Closure* done); |
17369 | virtual void createSymlink(::google::protobuf::RpcController* controller, |
17370 | const ::Hdfs::Internal::CreateSymlinkRequestProto* request, |
17371 | ::Hdfs::Internal::CreateSymlinkResponseProto* response, |
17372 | ::google::protobuf::Closure* done); |
17373 | virtual void getLinkTarget(::google::protobuf::RpcController* controller, |
17374 | const ::Hdfs::Internal::GetLinkTargetRequestProto* request, |
17375 | ::Hdfs::Internal::GetLinkTargetResponseProto* response, |
17376 | ::google::protobuf::Closure* done); |
17377 | virtual void updateBlockForPipeline(::google::protobuf::RpcController* controller, |
17378 | const ::Hdfs::Internal::UpdateBlockForPipelineRequestProto* request, |
17379 | ::Hdfs::Internal::UpdateBlockForPipelineResponseProto* response, |
17380 | ::google::protobuf::Closure* done); |
17381 | virtual void updatePipeline(::google::protobuf::RpcController* controller, |
17382 | const ::Hdfs::Internal::UpdatePipelineRequestProto* request, |
17383 | ::Hdfs::Internal::UpdatePipelineResponseProto* response, |
17384 | ::google::protobuf::Closure* done); |
17385 | virtual void getDelegationToken(::google::protobuf::RpcController* controller, |
17386 | const ::Hdfs::Internal::GetDelegationTokenRequestProto* request, |
17387 | ::Hdfs::Internal::GetDelegationTokenResponseProto* response, |
17388 | ::google::protobuf::Closure* done); |
17389 | virtual void renewDelegationToken(::google::protobuf::RpcController* controller, |
17390 | const ::Hdfs::Internal::RenewDelegationTokenRequestProto* request, |
17391 | ::Hdfs::Internal::RenewDelegationTokenResponseProto* response, |
17392 | ::google::protobuf::Closure* done); |
17393 | virtual void cancelDelegationToken(::google::protobuf::RpcController* controller, |
17394 | const ::Hdfs::Internal::CancelDelegationTokenRequestProto* request, |
17395 | ::Hdfs::Internal::CancelDelegationTokenResponseProto* response, |
17396 | ::google::protobuf::Closure* done); |
17397 | virtual void setBalancerBandwidth(::google::protobuf::RpcController* controller, |
17398 | const ::Hdfs::Internal::SetBalancerBandwidthRequestProto* request, |
17399 | ::Hdfs::Internal::SetBalancerBandwidthResponseProto* response, |
17400 | ::google::protobuf::Closure* done); |
17401 | virtual void getDataEncryptionKey(::google::protobuf::RpcController* controller, |
17402 | const ::Hdfs::Internal::GetDataEncryptionKeyRequestProto* request, |
17403 | ::Hdfs::Internal::GetDataEncryptionKeyResponseProto* response, |
17404 | ::google::protobuf::Closure* done); |
17405 | virtual void createSnapshot(::google::protobuf::RpcController* controller, |
17406 | const ::Hdfs::Internal::CreateSnapshotRequestProto* request, |
17407 | ::Hdfs::Internal::CreateSnapshotResponseProto* response, |
17408 | ::google::protobuf::Closure* done); |
17409 | virtual void renameSnapshot(::google::protobuf::RpcController* controller, |
17410 | const ::Hdfs::Internal::RenameSnapshotRequestProto* request, |
17411 | ::Hdfs::Internal::RenameSnapshotResponseProto* response, |
17412 | ::google::protobuf::Closure* done); |
17413 | virtual void allowSnapshot(::google::protobuf::RpcController* controller, |
17414 | const ::Hdfs::Internal::AllowSnapshotRequestProto* request, |
17415 | ::Hdfs::Internal::AllowSnapshotResponseProto* response, |
17416 | ::google::protobuf::Closure* done); |
17417 | virtual void disallowSnapshot(::google::protobuf::RpcController* controller, |
17418 | const ::Hdfs::Internal::DisallowSnapshotRequestProto* request, |
17419 | ::Hdfs::Internal::DisallowSnapshotResponseProto* response, |
17420 | ::google::protobuf::Closure* done); |
17421 | virtual void getSnapshottableDirListing(::google::protobuf::RpcController* controller, |
17422 | const ::Hdfs::Internal::GetSnapshottableDirListingRequestProto* request, |
17423 | ::Hdfs::Internal::GetSnapshottableDirListingResponseProto* response, |
17424 | ::google::protobuf::Closure* done); |
17425 | virtual void deleteSnapshot(::google::protobuf::RpcController* controller, |
17426 | const ::Hdfs::Internal::DeleteSnapshotRequestProto* request, |
17427 | ::Hdfs::Internal::DeleteSnapshotResponseProto* response, |
17428 | ::google::protobuf::Closure* done); |
17429 | virtual void getSnapshotDiffReport(::google::protobuf::RpcController* controller, |
17430 | const ::Hdfs::Internal::GetSnapshotDiffReportRequestProto* request, |
17431 | ::Hdfs::Internal::GetSnapshotDiffReportResponseProto* response, |
17432 | ::google::protobuf::Closure* done); |
17433 | virtual void isFileClosed(::google::protobuf::RpcController* controller, |
17434 | const ::Hdfs::Internal::IsFileClosedRequestProto* request, |
17435 | ::Hdfs::Internal::IsFileClosedResponseProto* response, |
17436 | ::google::protobuf::Closure* done); |
17437 | |
17438 | // implements Service ---------------------------------------------- |
17439 | |
17440 | const ::google::protobuf::ServiceDescriptor* GetDescriptor(); |
17441 | void CallMethod(const ::google::protobuf::MethodDescriptor* method, |
17442 | ::google::protobuf::RpcController* controller, |
17443 | const ::google::protobuf::Message* request, |
17444 | ::google::protobuf::Message* response, |
17445 | ::google::protobuf::Closure* done); |
17446 | const ::google::protobuf::Message& GetRequestPrototype( |
17447 | const ::google::protobuf::MethodDescriptor* method) const; |
17448 | const ::google::protobuf::Message& GetResponsePrototype( |
17449 | const ::google::protobuf::MethodDescriptor* method) const; |
17450 | |
17451 | private: |
17452 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ClientNamenodeProtocol); |
17453 | }; |
17454 | |
17455 | class ClientNamenodeProtocol_Stub : public ClientNamenodeProtocol { |
17456 | public: |
17457 | ClientNamenodeProtocol_Stub(::google::protobuf::RpcChannel* channel); |
17458 | ClientNamenodeProtocol_Stub(::google::protobuf::RpcChannel* channel, |
17459 | ::google::protobuf::Service::ChannelOwnership ownership); |
17460 | ~ClientNamenodeProtocol_Stub(); |
17461 | |
17462 | inline ::google::protobuf::RpcChannel* channel() { return channel_; } |
17463 | |
17464 | // implements ClientNamenodeProtocol ------------------------------------------ |
17465 | |
17466 | void getBlockLocations(::google::protobuf::RpcController* controller, |
17467 | const ::Hdfs::Internal::GetBlockLocationsRequestProto* request, |
17468 | ::Hdfs::Internal::GetBlockLocationsResponseProto* response, |
17469 | ::google::protobuf::Closure* done); |
17470 | void getServerDefaults(::google::protobuf::RpcController* controller, |
17471 | const ::Hdfs::Internal::GetServerDefaultsRequestProto* request, |
17472 | ::Hdfs::Internal::GetServerDefaultsResponseProto* response, |
17473 | ::google::protobuf::Closure* done); |
17474 | void create(::google::protobuf::RpcController* controller, |
17475 | const ::Hdfs::Internal::CreateRequestProto* request, |
17476 | ::Hdfs::Internal::CreateResponseProto* response, |
17477 | ::google::protobuf::Closure* done); |
17478 | void append(::google::protobuf::RpcController* controller, |
17479 | const ::Hdfs::Internal::AppendRequestProto* request, |
17480 | ::Hdfs::Internal::AppendResponseProto* response, |
17481 | ::google::protobuf::Closure* done); |
17482 | void setReplication(::google::protobuf::RpcController* controller, |
17483 | const ::Hdfs::Internal::SetReplicationRequestProto* request, |
17484 | ::Hdfs::Internal::SetReplicationResponseProto* response, |
17485 | ::google::protobuf::Closure* done); |
17486 | void setPermission(::google::protobuf::RpcController* controller, |
17487 | const ::Hdfs::Internal::SetPermissionRequestProto* request, |
17488 | ::Hdfs::Internal::SetPermissionResponseProto* response, |
17489 | ::google::protobuf::Closure* done); |
17490 | void setOwner(::google::protobuf::RpcController* controller, |
17491 | const ::Hdfs::Internal::SetOwnerRequestProto* request, |
17492 | ::Hdfs::Internal::SetOwnerResponseProto* response, |
17493 | ::google::protobuf::Closure* done); |
17494 | void abandonBlock(::google::protobuf::RpcController* controller, |
17495 | const ::Hdfs::Internal::AbandonBlockRequestProto* request, |
17496 | ::Hdfs::Internal::AbandonBlockResponseProto* response, |
17497 | ::google::protobuf::Closure* done); |
17498 | void addBlock(::google::protobuf::RpcController* controller, |
17499 | const ::Hdfs::Internal::AddBlockRequestProto* request, |
17500 | ::Hdfs::Internal::AddBlockResponseProto* response, |
17501 | ::google::protobuf::Closure* done); |
17502 | void getAdditionalDatanode(::google::protobuf::RpcController* controller, |
17503 | const ::Hdfs::Internal::GetAdditionalDatanodeRequestProto* request, |
17504 | ::Hdfs::Internal::GetAdditionalDatanodeResponseProto* response, |
17505 | ::google::protobuf::Closure* done); |
17506 | void complete(::google::protobuf::RpcController* controller, |
17507 | const ::Hdfs::Internal::CompleteRequestProto* request, |
17508 | ::Hdfs::Internal::CompleteResponseProto* response, |
17509 | ::google::protobuf::Closure* done); |
17510 | void reportBadBlocks(::google::protobuf::RpcController* controller, |
17511 | const ::Hdfs::Internal::ReportBadBlocksRequestProto* request, |
17512 | ::Hdfs::Internal::ReportBadBlocksResponseProto* response, |
17513 | ::google::protobuf::Closure* done); |
17514 | void concat(::google::protobuf::RpcController* controller, |
17515 | const ::Hdfs::Internal::ConcatRequestProto* request, |
17516 | ::Hdfs::Internal::ConcatResponseProto* response, |
17517 | ::google::protobuf::Closure* done); |
17518 | void truncate(::google::protobuf::RpcController* controller, |
17519 | const ::Hdfs::Internal::TruncateRequestProto* request, |
17520 | ::Hdfs::Internal::TruncateResponseProto* response, |
17521 | ::google::protobuf::Closure* done); |
17522 | void getLease(::google::protobuf::RpcController* controller, |
17523 | const ::Hdfs::Internal::GetLeaseRequestProto* request, |
17524 | ::Hdfs::Internal::GetLeaseResponseProto* response, |
17525 | ::google::protobuf::Closure* done); |
17526 | void releaseLease(::google::protobuf::RpcController* controller, |
17527 | const ::Hdfs::Internal::ReleaseLeaseRequestProto* request, |
17528 | ::Hdfs::Internal::ReleaseLeaseResponseProto* response, |
17529 | ::google::protobuf::Closure* done); |
17530 | void rename(::google::protobuf::RpcController* controller, |
17531 | const ::Hdfs::Internal::RenameRequestProto* request, |
17532 | ::Hdfs::Internal::RenameResponseProto* response, |
17533 | ::google::protobuf::Closure* done); |
17534 | void rename2(::google::protobuf::RpcController* controller, |
17535 | const ::Hdfs::Internal::Rename2RequestProto* request, |
17536 | ::Hdfs::Internal::Rename2ResponseProto* response, |
17537 | ::google::protobuf::Closure* done); |
17538 | void deleteFile(::google::protobuf::RpcController* controller, |
17539 | const ::Hdfs::Internal::DeleteRequestProto* request, |
17540 | ::Hdfs::Internal::DeleteResponseProto* response, |
17541 | ::google::protobuf::Closure* done); |
17542 | void mkdirs(::google::protobuf::RpcController* controller, |
17543 | const ::Hdfs::Internal::MkdirsRequestProto* request, |
17544 | ::Hdfs::Internal::MkdirsResponseProto* response, |
17545 | ::google::protobuf::Closure* done); |
17546 | void getListing(::google::protobuf::RpcController* controller, |
17547 | const ::Hdfs::Internal::GetListingRequestProto* request, |
17548 | ::Hdfs::Internal::GetListingResponseProto* response, |
17549 | ::google::protobuf::Closure* done); |
17550 | void renewLease(::google::protobuf::RpcController* controller, |
17551 | const ::Hdfs::Internal::RenewLeaseRequestProto* request, |
17552 | ::Hdfs::Internal::RenewLeaseResponseProto* response, |
17553 | ::google::protobuf::Closure* done); |
17554 | void recoverLease(::google::protobuf::RpcController* controller, |
17555 | const ::Hdfs::Internal::RecoverLeaseRequestProto* request, |
17556 | ::Hdfs::Internal::RecoverLeaseResponseProto* response, |
17557 | ::google::protobuf::Closure* done); |
17558 | void getFsStats(::google::protobuf::RpcController* controller, |
17559 | const ::Hdfs::Internal::GetFsStatusRequestProto* request, |
17560 | ::Hdfs::Internal::GetFsStatsResponseProto* response, |
17561 | ::google::protobuf::Closure* done); |
17562 | void getDatanodeReport(::google::protobuf::RpcController* controller, |
17563 | const ::Hdfs::Internal::GetDatanodeReportRequestProto* request, |
17564 | ::Hdfs::Internal::GetDatanodeReportResponseProto* response, |
17565 | ::google::protobuf::Closure* done); |
17566 | void getPreferredBlockSize(::google::protobuf::RpcController* controller, |
17567 | const ::Hdfs::Internal::GetPreferredBlockSizeRequestProto* request, |
17568 | ::Hdfs::Internal::GetPreferredBlockSizeResponseProto* response, |
17569 | ::google::protobuf::Closure* done); |
17570 | void setSafeMode(::google::protobuf::RpcController* controller, |
17571 | const ::Hdfs::Internal::SetSafeModeRequestProto* request, |
17572 | ::Hdfs::Internal::SetSafeModeResponseProto* response, |
17573 | ::google::protobuf::Closure* done); |
17574 | void saveNamespace(::google::protobuf::RpcController* controller, |
17575 | const ::Hdfs::Internal::SaveNamespaceRequestProto* request, |
17576 | ::Hdfs::Internal::SaveNamespaceResponseProto* response, |
17577 | ::google::protobuf::Closure* done); |
17578 | void rollEdits(::google::protobuf::RpcController* controller, |
17579 | const ::Hdfs::Internal::RollEditsRequestProto* request, |
17580 | ::Hdfs::Internal::RollEditsResponseProto* response, |
17581 | ::google::protobuf::Closure* done); |
17582 | void restoreFailedStorage(::google::protobuf::RpcController* controller, |
17583 | const ::Hdfs::Internal::RestoreFailedStorageRequestProto* request, |
17584 | ::Hdfs::Internal::RestoreFailedStorageResponseProto* response, |
17585 | ::google::protobuf::Closure* done); |
17586 | void refreshNodes(::google::protobuf::RpcController* controller, |
17587 | const ::Hdfs::Internal::RefreshNodesRequestProto* request, |
17588 | ::Hdfs::Internal::RefreshNodesResponseProto* response, |
17589 | ::google::protobuf::Closure* done); |
17590 | void finalizeUpgrade(::google::protobuf::RpcController* controller, |
17591 | const ::Hdfs::Internal::FinalizeUpgradeRequestProto* request, |
17592 | ::Hdfs::Internal::FinalizeUpgradeResponseProto* response, |
17593 | ::google::protobuf::Closure* done); |
17594 | void listCorruptFileBlocks(::google::protobuf::RpcController* controller, |
17595 | const ::Hdfs::Internal::ListCorruptFileBlocksRequestProto* request, |
17596 | ::Hdfs::Internal::ListCorruptFileBlocksResponseProto* response, |
17597 | ::google::protobuf::Closure* done); |
17598 | void metaSave(::google::protobuf::RpcController* controller, |
17599 | const ::Hdfs::Internal::MetaSaveRequestProto* request, |
17600 | ::Hdfs::Internal::MetaSaveResponseProto* response, |
17601 | ::google::protobuf::Closure* done); |
17602 | void getFileInfo(::google::protobuf::RpcController* controller, |
17603 | const ::Hdfs::Internal::GetFileInfoRequestProto* request, |
17604 | ::Hdfs::Internal::GetFileInfoResponseProto* response, |
17605 | ::google::protobuf::Closure* done); |
17606 | void addCacheDirective(::google::protobuf::RpcController* controller, |
17607 | const ::Hdfs::Internal::AddCacheDirectiveRequestProto* request, |
17608 | ::Hdfs::Internal::AddCacheDirectiveResponseProto* response, |
17609 | ::google::protobuf::Closure* done); |
17610 | void modifyCacheDirective(::google::protobuf::RpcController* controller, |
17611 | const ::Hdfs::Internal::ModifyCacheDirectiveRequestProto* request, |
17612 | ::Hdfs::Internal::ModifyCacheDirectiveResponseProto* response, |
17613 | ::google::protobuf::Closure* done); |
17614 | void removeCacheDirective(::google::protobuf::RpcController* controller, |
17615 | const ::Hdfs::Internal::RemoveCacheDirectiveRequestProto* request, |
17616 | ::Hdfs::Internal::RemoveCacheDirectiveResponseProto* response, |
17617 | ::google::protobuf::Closure* done); |
17618 | void listCacheDirectives(::google::protobuf::RpcController* controller, |
17619 | const ::Hdfs::Internal::ListCacheDirectivesRequestProto* request, |
17620 | ::Hdfs::Internal::ListCacheDirectivesResponseProto* response, |
17621 | ::google::protobuf::Closure* done); |
17622 | void addCachePool(::google::protobuf::RpcController* controller, |
17623 | const ::Hdfs::Internal::AddCachePoolRequestProto* request, |
17624 | ::Hdfs::Internal::AddCachePoolResponseProto* response, |
17625 | ::google::protobuf::Closure* done); |
17626 | void modifyCachePool(::google::protobuf::RpcController* controller, |
17627 | const ::Hdfs::Internal::ModifyCachePoolRequestProto* request, |
17628 | ::Hdfs::Internal::ModifyCachePoolResponseProto* response, |
17629 | ::google::protobuf::Closure* done); |
17630 | void removeCachePool(::google::protobuf::RpcController* controller, |
17631 | const ::Hdfs::Internal::RemoveCachePoolRequestProto* request, |
17632 | ::Hdfs::Internal::RemoveCachePoolResponseProto* response, |
17633 | ::google::protobuf::Closure* done); |
17634 | void listCachePools(::google::protobuf::RpcController* controller, |
17635 | const ::Hdfs::Internal::ListCachePoolsRequestProto* request, |
17636 | ::Hdfs::Internal::ListCachePoolsResponseProto* response, |
17637 | ::google::protobuf::Closure* done); |
17638 | void getFileLinkInfo(::google::protobuf::RpcController* controller, |
17639 | const ::Hdfs::Internal::GetFileLinkInfoRequestProto* request, |
17640 | ::Hdfs::Internal::GetFileLinkInfoResponseProto* response, |
17641 | ::google::protobuf::Closure* done); |
17642 | void getContentSummary(::google::protobuf::RpcController* controller, |
17643 | const ::Hdfs::Internal::GetContentSummaryRequestProto* request, |
17644 | ::Hdfs::Internal::GetContentSummaryResponseProto* response, |
17645 | ::google::protobuf::Closure* done); |
17646 | void setQuota(::google::protobuf::RpcController* controller, |
17647 | const ::Hdfs::Internal::SetQuotaRequestProto* request, |
17648 | ::Hdfs::Internal::SetQuotaResponseProto* response, |
17649 | ::google::protobuf::Closure* done); |
17650 | void fsync(::google::protobuf::RpcController* controller, |
17651 | const ::Hdfs::Internal::FsyncRequestProto* request, |
17652 | ::Hdfs::Internal::FsyncResponseProto* response, |
17653 | ::google::protobuf::Closure* done); |
17654 | void setTimes(::google::protobuf::RpcController* controller, |
17655 | const ::Hdfs::Internal::SetTimesRequestProto* request, |
17656 | ::Hdfs::Internal::SetTimesResponseProto* response, |
17657 | ::google::protobuf::Closure* done); |
17658 | void createSymlink(::google::protobuf::RpcController* controller, |
17659 | const ::Hdfs::Internal::CreateSymlinkRequestProto* request, |
17660 | ::Hdfs::Internal::CreateSymlinkResponseProto* response, |
17661 | ::google::protobuf::Closure* done); |
17662 | void getLinkTarget(::google::protobuf::RpcController* controller, |
17663 | const ::Hdfs::Internal::GetLinkTargetRequestProto* request, |
17664 | ::Hdfs::Internal::GetLinkTargetResponseProto* response, |
17665 | ::google::protobuf::Closure* done); |
17666 | void updateBlockForPipeline(::google::protobuf::RpcController* controller, |
17667 | const ::Hdfs::Internal::UpdateBlockForPipelineRequestProto* request, |
17668 | ::Hdfs::Internal::UpdateBlockForPipelineResponseProto* response, |
17669 | ::google::protobuf::Closure* done); |
17670 | void updatePipeline(::google::protobuf::RpcController* controller, |
17671 | const ::Hdfs::Internal::UpdatePipelineRequestProto* request, |
17672 | ::Hdfs::Internal::UpdatePipelineResponseProto* response, |
17673 | ::google::protobuf::Closure* done); |
17674 | void getDelegationToken(::google::protobuf::RpcController* controller, |
17675 | const ::Hdfs::Internal::GetDelegationTokenRequestProto* request, |
17676 | ::Hdfs::Internal::GetDelegationTokenResponseProto* response, |
17677 | ::google::protobuf::Closure* done); |
17678 | void renewDelegationToken(::google::protobuf::RpcController* controller, |
17679 | const ::Hdfs::Internal::RenewDelegationTokenRequestProto* request, |
17680 | ::Hdfs::Internal::RenewDelegationTokenResponseProto* response, |
17681 | ::google::protobuf::Closure* done); |
17682 | void cancelDelegationToken(::google::protobuf::RpcController* controller, |
17683 | const ::Hdfs::Internal::CancelDelegationTokenRequestProto* request, |
17684 | ::Hdfs::Internal::CancelDelegationTokenResponseProto* response, |
17685 | ::google::protobuf::Closure* done); |
17686 | void setBalancerBandwidth(::google::protobuf::RpcController* controller, |
17687 | const ::Hdfs::Internal::SetBalancerBandwidthRequestProto* request, |
17688 | ::Hdfs::Internal::SetBalancerBandwidthResponseProto* response, |
17689 | ::google::protobuf::Closure* done); |
17690 | void getDataEncryptionKey(::google::protobuf::RpcController* controller, |
17691 | const ::Hdfs::Internal::GetDataEncryptionKeyRequestProto* request, |
17692 | ::Hdfs::Internal::GetDataEncryptionKeyResponseProto* response, |
17693 | ::google::protobuf::Closure* done); |
17694 | void createSnapshot(::google::protobuf::RpcController* controller, |
17695 | const ::Hdfs::Internal::CreateSnapshotRequestProto* request, |
17696 | ::Hdfs::Internal::CreateSnapshotResponseProto* response, |
17697 | ::google::protobuf::Closure* done); |
17698 | void renameSnapshot(::google::protobuf::RpcController* controller, |
17699 | const ::Hdfs::Internal::RenameSnapshotRequestProto* request, |
17700 | ::Hdfs::Internal::RenameSnapshotResponseProto* response, |
17701 | ::google::protobuf::Closure* done); |
17702 | void allowSnapshot(::google::protobuf::RpcController* controller, |
17703 | const ::Hdfs::Internal::AllowSnapshotRequestProto* request, |
17704 | ::Hdfs::Internal::AllowSnapshotResponseProto* response, |
17705 | ::google::protobuf::Closure* done); |
17706 | void disallowSnapshot(::google::protobuf::RpcController* controller, |
17707 | const ::Hdfs::Internal::DisallowSnapshotRequestProto* request, |
17708 | ::Hdfs::Internal::DisallowSnapshotResponseProto* response, |
17709 | ::google::protobuf::Closure* done); |
17710 | void getSnapshottableDirListing(::google::protobuf::RpcController* controller, |
17711 | const ::Hdfs::Internal::GetSnapshottableDirListingRequestProto* request, |
17712 | ::Hdfs::Internal::GetSnapshottableDirListingResponseProto* response, |
17713 | ::google::protobuf::Closure* done); |
17714 | void deleteSnapshot(::google::protobuf::RpcController* controller, |
17715 | const ::Hdfs::Internal::DeleteSnapshotRequestProto* request, |
17716 | ::Hdfs::Internal::DeleteSnapshotResponseProto* response, |
17717 | ::google::protobuf::Closure* done); |
17718 | void getSnapshotDiffReport(::google::protobuf::RpcController* controller, |
17719 | const ::Hdfs::Internal::GetSnapshotDiffReportRequestProto* request, |
17720 | ::Hdfs::Internal::GetSnapshotDiffReportResponseProto* response, |
17721 | ::google::protobuf::Closure* done); |
17722 | void isFileClosed(::google::protobuf::RpcController* controller, |
17723 | const ::Hdfs::Internal::IsFileClosedRequestProto* request, |
17724 | ::Hdfs::Internal::IsFileClosedResponseProto* response, |
17725 | ::google::protobuf::Closure* done); |
17726 | private: |
17727 | ::google::protobuf::RpcChannel* channel_; |
17728 | bool owns_channel_; |
17729 | GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ClientNamenodeProtocol_Stub); |
17730 | }; |
17731 | |
17732 | |
17733 | // =================================================================== |
17734 | |
17735 | |
17736 | // =================================================================== |
17737 | |
17738 | #ifdef __GNUC__ |
17739 | #pragma GCC diagnostic push |
17740 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
17741 | #endif // __GNUC__ |
17742 | // GetBlockLocationsRequestProto |
17743 | |
17744 | // required string src = 1; |
17745 | inline bool GetBlockLocationsRequestProto::has_src() const { |
17746 | return (_has_bits_[0] & 0x00000001u) != 0; |
17747 | } |
17748 | inline void GetBlockLocationsRequestProto::set_has_src() { |
17749 | _has_bits_[0] |= 0x00000001u; |
17750 | } |
17751 | inline void GetBlockLocationsRequestProto::clear_has_src() { |
17752 | _has_bits_[0] &= ~0x00000001u; |
17753 | } |
17754 | inline void GetBlockLocationsRequestProto::clear_src() { |
17755 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
17756 | clear_has_src(); |
17757 | } |
17758 | inline const ::std::string& GetBlockLocationsRequestProto::src() const { |
17759 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17760 | return src_.GetNoArena(); |
17761 | } |
17762 | inline void GetBlockLocationsRequestProto::set_src(const ::std::string& value) { |
17763 | set_has_src(); |
17764 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
17765 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17766 | } |
17767 | #if LANG_CXX11 |
17768 | inline void GetBlockLocationsRequestProto::set_src(::std::string&& value) { |
17769 | set_has_src(); |
17770 | src_.SetNoArena( |
17771 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
17772 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17773 | } |
17774 | #endif |
17775 | inline void GetBlockLocationsRequestProto::set_src(const char* value) { |
17776 | GOOGLE_DCHECK(value != NULL); |
17777 | set_has_src(); |
17778 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
17779 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17780 | } |
17781 | inline void GetBlockLocationsRequestProto::set_src(const char* value, size_t size) { |
17782 | set_has_src(); |
17783 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
17784 | ::std::string(reinterpret_cast<const char*>(value), size)); |
17785 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17786 | } |
17787 | inline ::std::string* GetBlockLocationsRequestProto::mutable_src() { |
17788 | set_has_src(); |
17789 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17790 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
17791 | } |
17792 | inline ::std::string* GetBlockLocationsRequestProto::release_src() { |
17793 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17794 | if (!has_src()) { |
17795 | return NULL; |
17796 | } |
17797 | clear_has_src(); |
17798 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
17799 | } |
17800 | inline void GetBlockLocationsRequestProto::set_allocated_src(::std::string* src) { |
17801 | if (src != NULL) { |
17802 | set_has_src(); |
17803 | } else { |
17804 | clear_has_src(); |
17805 | } |
17806 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
17807 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetBlockLocationsRequestProto.src) |
17808 | } |
17809 | |
17810 | // required uint64 offset = 2; |
17811 | inline bool GetBlockLocationsRequestProto::has_offset() const { |
17812 | return (_has_bits_[0] & 0x00000002u) != 0; |
17813 | } |
17814 | inline void GetBlockLocationsRequestProto::set_has_offset() { |
17815 | _has_bits_[0] |= 0x00000002u; |
17816 | } |
17817 | inline void GetBlockLocationsRequestProto::clear_has_offset() { |
17818 | _has_bits_[0] &= ~0x00000002u; |
17819 | } |
17820 | inline void GetBlockLocationsRequestProto::clear_offset() { |
17821 | offset_ = GOOGLE_ULONGLONG(0); |
17822 | clear_has_offset(); |
17823 | } |
17824 | inline ::google::protobuf::uint64 GetBlockLocationsRequestProto::offset() const { |
17825 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetBlockLocationsRequestProto.offset) |
17826 | return offset_; |
17827 | } |
17828 | inline void GetBlockLocationsRequestProto::set_offset(::google::protobuf::uint64 value) { |
17829 | set_has_offset(); |
17830 | offset_ = value; |
17831 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetBlockLocationsRequestProto.offset) |
17832 | } |
17833 | |
17834 | // required uint64 length = 3; |
17835 | inline bool GetBlockLocationsRequestProto::has_length() const { |
17836 | return (_has_bits_[0] & 0x00000004u) != 0; |
17837 | } |
17838 | inline void GetBlockLocationsRequestProto::set_has_length() { |
17839 | _has_bits_[0] |= 0x00000004u; |
17840 | } |
17841 | inline void GetBlockLocationsRequestProto::clear_has_length() { |
17842 | _has_bits_[0] &= ~0x00000004u; |
17843 | } |
17844 | inline void GetBlockLocationsRequestProto::clear_length() { |
17845 | length_ = GOOGLE_ULONGLONG(0); |
17846 | clear_has_length(); |
17847 | } |
17848 | inline ::google::protobuf::uint64 GetBlockLocationsRequestProto::length() const { |
17849 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetBlockLocationsRequestProto.length) |
17850 | return length_; |
17851 | } |
17852 | inline void GetBlockLocationsRequestProto::set_length(::google::protobuf::uint64 value) { |
17853 | set_has_length(); |
17854 | length_ = value; |
17855 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetBlockLocationsRequestProto.length) |
17856 | } |
17857 | |
17858 | // ------------------------------------------------------------------- |
17859 | |
17860 | // GetBlockLocationsResponseProto |
17861 | |
17862 | // optional .Hdfs.Internal.LocatedBlocksProto locations = 1; |
17863 | inline bool GetBlockLocationsResponseProto::has_locations() const { |
17864 | return (_has_bits_[0] & 0x00000001u) != 0; |
17865 | } |
17866 | inline void GetBlockLocationsResponseProto::set_has_locations() { |
17867 | _has_bits_[0] |= 0x00000001u; |
17868 | } |
17869 | inline void GetBlockLocationsResponseProto::clear_has_locations() { |
17870 | _has_bits_[0] &= ~0x00000001u; |
17871 | } |
17872 | inline const ::Hdfs::Internal::LocatedBlocksProto& GetBlockLocationsResponseProto::_internal_locations() const { |
17873 | return *locations_; |
17874 | } |
17875 | inline const ::Hdfs::Internal::LocatedBlocksProto& GetBlockLocationsResponseProto::locations() const { |
17876 | const ::Hdfs::Internal::LocatedBlocksProto* p = locations_; |
17877 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetBlockLocationsResponseProto.locations) |
17878 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::LocatedBlocksProto*>( |
17879 | &::Hdfs::Internal::_LocatedBlocksProto_default_instance_); |
17880 | } |
17881 | inline ::Hdfs::Internal::LocatedBlocksProto* GetBlockLocationsResponseProto::release_locations() { |
17882 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetBlockLocationsResponseProto.locations) |
17883 | clear_has_locations(); |
17884 | ::Hdfs::Internal::LocatedBlocksProto* temp = locations_; |
17885 | locations_ = NULL; |
17886 | return temp; |
17887 | } |
17888 | inline ::Hdfs::Internal::LocatedBlocksProto* GetBlockLocationsResponseProto::mutable_locations() { |
17889 | set_has_locations(); |
17890 | if (locations_ == NULL) { |
17891 | auto* p = CreateMaybeMessage<::Hdfs::Internal::LocatedBlocksProto>(GetArenaNoVirtual()); |
17892 | locations_ = p; |
17893 | } |
17894 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetBlockLocationsResponseProto.locations) |
17895 | return locations_; |
17896 | } |
17897 | inline void GetBlockLocationsResponseProto::set_allocated_locations(::Hdfs::Internal::LocatedBlocksProto* locations) { |
17898 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
17899 | if (message_arena == NULL) { |
17900 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(locations_); |
17901 | } |
17902 | if (locations) { |
17903 | ::google::protobuf::Arena* submessage_arena = NULL; |
17904 | if (message_arena != submessage_arena) { |
17905 | locations = ::google::protobuf::internal::GetOwnedMessage( |
17906 | message_arena, locations, submessage_arena); |
17907 | } |
17908 | set_has_locations(); |
17909 | } else { |
17910 | clear_has_locations(); |
17911 | } |
17912 | locations_ = locations; |
17913 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetBlockLocationsResponseProto.locations) |
17914 | } |
17915 | |
17916 | // ------------------------------------------------------------------- |
17917 | |
17918 | // GetServerDefaultsRequestProto |
17919 | |
17920 | // ------------------------------------------------------------------- |
17921 | |
17922 | // GetServerDefaultsResponseProto |
17923 | |
17924 | // required .Hdfs.Internal.FsServerDefaultsProto serverDefaults = 1; |
17925 | inline bool GetServerDefaultsResponseProto::has_serverdefaults() const { |
17926 | return (_has_bits_[0] & 0x00000001u) != 0; |
17927 | } |
17928 | inline void GetServerDefaultsResponseProto::set_has_serverdefaults() { |
17929 | _has_bits_[0] |= 0x00000001u; |
17930 | } |
17931 | inline void GetServerDefaultsResponseProto::clear_has_serverdefaults() { |
17932 | _has_bits_[0] &= ~0x00000001u; |
17933 | } |
17934 | inline const ::Hdfs::Internal::FsServerDefaultsProto& GetServerDefaultsResponseProto::_internal_serverdefaults() const { |
17935 | return *serverdefaults_; |
17936 | } |
17937 | inline const ::Hdfs::Internal::FsServerDefaultsProto& GetServerDefaultsResponseProto::serverdefaults() const { |
17938 | const ::Hdfs::Internal::FsServerDefaultsProto* p = serverdefaults_; |
17939 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetServerDefaultsResponseProto.serverDefaults) |
17940 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::FsServerDefaultsProto*>( |
17941 | &::Hdfs::Internal::_FsServerDefaultsProto_default_instance_); |
17942 | } |
17943 | inline ::Hdfs::Internal::FsServerDefaultsProto* GetServerDefaultsResponseProto::release_serverdefaults() { |
17944 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetServerDefaultsResponseProto.serverDefaults) |
17945 | clear_has_serverdefaults(); |
17946 | ::Hdfs::Internal::FsServerDefaultsProto* temp = serverdefaults_; |
17947 | serverdefaults_ = NULL; |
17948 | return temp; |
17949 | } |
17950 | inline ::Hdfs::Internal::FsServerDefaultsProto* GetServerDefaultsResponseProto::mutable_serverdefaults() { |
17951 | set_has_serverdefaults(); |
17952 | if (serverdefaults_ == NULL) { |
17953 | auto* p = CreateMaybeMessage<::Hdfs::Internal::FsServerDefaultsProto>(GetArenaNoVirtual()); |
17954 | serverdefaults_ = p; |
17955 | } |
17956 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetServerDefaultsResponseProto.serverDefaults) |
17957 | return serverdefaults_; |
17958 | } |
17959 | inline void GetServerDefaultsResponseProto::set_allocated_serverdefaults(::Hdfs::Internal::FsServerDefaultsProto* serverdefaults) { |
17960 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
17961 | if (message_arena == NULL) { |
17962 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(serverdefaults_); |
17963 | } |
17964 | if (serverdefaults) { |
17965 | ::google::protobuf::Arena* submessage_arena = NULL; |
17966 | if (message_arena != submessage_arena) { |
17967 | serverdefaults = ::google::protobuf::internal::GetOwnedMessage( |
17968 | message_arena, serverdefaults, submessage_arena); |
17969 | } |
17970 | set_has_serverdefaults(); |
17971 | } else { |
17972 | clear_has_serverdefaults(); |
17973 | } |
17974 | serverdefaults_ = serverdefaults; |
17975 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetServerDefaultsResponseProto.serverDefaults) |
17976 | } |
17977 | |
17978 | // ------------------------------------------------------------------- |
17979 | |
17980 | // CreateRequestProto |
17981 | |
17982 | // required string src = 1; |
17983 | inline bool CreateRequestProto::has_src() const { |
17984 | return (_has_bits_[0] & 0x00000001u) != 0; |
17985 | } |
17986 | inline void CreateRequestProto::set_has_src() { |
17987 | _has_bits_[0] |= 0x00000001u; |
17988 | } |
17989 | inline void CreateRequestProto::clear_has_src() { |
17990 | _has_bits_[0] &= ~0x00000001u; |
17991 | } |
17992 | inline void CreateRequestProto::clear_src() { |
17993 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
17994 | clear_has_src(); |
17995 | } |
17996 | inline const ::std::string& CreateRequestProto::src() const { |
17997 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.src) |
17998 | return src_.GetNoArena(); |
17999 | } |
18000 | inline void CreateRequestProto::set_src(const ::std::string& value) { |
18001 | set_has_src(); |
18002 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18003 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.src) |
18004 | } |
18005 | #if LANG_CXX11 |
18006 | inline void CreateRequestProto::set_src(::std::string&& value) { |
18007 | set_has_src(); |
18008 | src_.SetNoArena( |
18009 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18010 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateRequestProto.src) |
18011 | } |
18012 | #endif |
18013 | inline void CreateRequestProto::set_src(const char* value) { |
18014 | GOOGLE_DCHECK(value != NULL); |
18015 | set_has_src(); |
18016 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18017 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateRequestProto.src) |
18018 | } |
18019 | inline void CreateRequestProto::set_src(const char* value, size_t size) { |
18020 | set_has_src(); |
18021 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18022 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18023 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateRequestProto.src) |
18024 | } |
18025 | inline ::std::string* CreateRequestProto::mutable_src() { |
18026 | set_has_src(); |
18027 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateRequestProto.src) |
18028 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18029 | } |
18030 | inline ::std::string* CreateRequestProto::release_src() { |
18031 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateRequestProto.src) |
18032 | if (!has_src()) { |
18033 | return NULL; |
18034 | } |
18035 | clear_has_src(); |
18036 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18037 | } |
18038 | inline void CreateRequestProto::set_allocated_src(::std::string* src) { |
18039 | if (src != NULL) { |
18040 | set_has_src(); |
18041 | } else { |
18042 | clear_has_src(); |
18043 | } |
18044 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
18045 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateRequestProto.src) |
18046 | } |
18047 | |
18048 | // required .Hdfs.Internal.FsPermissionProto masked = 2; |
18049 | inline bool CreateRequestProto::has_masked() const { |
18050 | return (_has_bits_[0] & 0x00000004u) != 0; |
18051 | } |
18052 | inline void CreateRequestProto::set_has_masked() { |
18053 | _has_bits_[0] |= 0x00000004u; |
18054 | } |
18055 | inline void CreateRequestProto::clear_has_masked() { |
18056 | _has_bits_[0] &= ~0x00000004u; |
18057 | } |
18058 | inline const ::Hdfs::Internal::FsPermissionProto& CreateRequestProto::_internal_masked() const { |
18059 | return *masked_; |
18060 | } |
18061 | inline const ::Hdfs::Internal::FsPermissionProto& CreateRequestProto::masked() const { |
18062 | const ::Hdfs::Internal::FsPermissionProto* p = masked_; |
18063 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.masked) |
18064 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::FsPermissionProto*>( |
18065 | &::Hdfs::Internal::_FsPermissionProto_default_instance_); |
18066 | } |
18067 | inline ::Hdfs::Internal::FsPermissionProto* CreateRequestProto::release_masked() { |
18068 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateRequestProto.masked) |
18069 | clear_has_masked(); |
18070 | ::Hdfs::Internal::FsPermissionProto* temp = masked_; |
18071 | masked_ = NULL; |
18072 | return temp; |
18073 | } |
18074 | inline ::Hdfs::Internal::FsPermissionProto* CreateRequestProto::mutable_masked() { |
18075 | set_has_masked(); |
18076 | if (masked_ == NULL) { |
18077 | auto* p = CreateMaybeMessage<::Hdfs::Internal::FsPermissionProto>(GetArenaNoVirtual()); |
18078 | masked_ = p; |
18079 | } |
18080 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateRequestProto.masked) |
18081 | return masked_; |
18082 | } |
18083 | inline void CreateRequestProto::set_allocated_masked(::Hdfs::Internal::FsPermissionProto* masked) { |
18084 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
18085 | if (message_arena == NULL) { |
18086 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(masked_); |
18087 | } |
18088 | if (masked) { |
18089 | ::google::protobuf::Arena* submessage_arena = NULL; |
18090 | if (message_arena != submessage_arena) { |
18091 | masked = ::google::protobuf::internal::GetOwnedMessage( |
18092 | message_arena, masked, submessage_arena); |
18093 | } |
18094 | set_has_masked(); |
18095 | } else { |
18096 | clear_has_masked(); |
18097 | } |
18098 | masked_ = masked; |
18099 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateRequestProto.masked) |
18100 | } |
18101 | |
18102 | // required string clientName = 3; |
18103 | inline bool CreateRequestProto::has_clientname() const { |
18104 | return (_has_bits_[0] & 0x00000002u) != 0; |
18105 | } |
18106 | inline void CreateRequestProto::set_has_clientname() { |
18107 | _has_bits_[0] |= 0x00000002u; |
18108 | } |
18109 | inline void CreateRequestProto::clear_has_clientname() { |
18110 | _has_bits_[0] &= ~0x00000002u; |
18111 | } |
18112 | inline void CreateRequestProto::clear_clientname() { |
18113 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18114 | clear_has_clientname(); |
18115 | } |
18116 | inline const ::std::string& CreateRequestProto::clientname() const { |
18117 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.clientName) |
18118 | return clientname_.GetNoArena(); |
18119 | } |
18120 | inline void CreateRequestProto::set_clientname(const ::std::string& value) { |
18121 | set_has_clientname(); |
18122 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18123 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.clientName) |
18124 | } |
18125 | #if LANG_CXX11 |
18126 | inline void CreateRequestProto::set_clientname(::std::string&& value) { |
18127 | set_has_clientname(); |
18128 | clientname_.SetNoArena( |
18129 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18130 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateRequestProto.clientName) |
18131 | } |
18132 | #endif |
18133 | inline void CreateRequestProto::set_clientname(const char* value) { |
18134 | GOOGLE_DCHECK(value != NULL); |
18135 | set_has_clientname(); |
18136 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18137 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateRequestProto.clientName) |
18138 | } |
18139 | inline void CreateRequestProto::set_clientname(const char* value, size_t size) { |
18140 | set_has_clientname(); |
18141 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18142 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18143 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateRequestProto.clientName) |
18144 | } |
18145 | inline ::std::string* CreateRequestProto::mutable_clientname() { |
18146 | set_has_clientname(); |
18147 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateRequestProto.clientName) |
18148 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18149 | } |
18150 | inline ::std::string* CreateRequestProto::release_clientname() { |
18151 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateRequestProto.clientName) |
18152 | if (!has_clientname()) { |
18153 | return NULL; |
18154 | } |
18155 | clear_has_clientname(); |
18156 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18157 | } |
18158 | inline void CreateRequestProto::set_allocated_clientname(::std::string* clientname) { |
18159 | if (clientname != NULL) { |
18160 | set_has_clientname(); |
18161 | } else { |
18162 | clear_has_clientname(); |
18163 | } |
18164 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
18165 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateRequestProto.clientName) |
18166 | } |
18167 | |
18168 | // required uint32 createFlag = 4; |
18169 | inline bool CreateRequestProto::has_createflag() const { |
18170 | return (_has_bits_[0] & 0x00000008u) != 0; |
18171 | } |
18172 | inline void CreateRequestProto::set_has_createflag() { |
18173 | _has_bits_[0] |= 0x00000008u; |
18174 | } |
18175 | inline void CreateRequestProto::clear_has_createflag() { |
18176 | _has_bits_[0] &= ~0x00000008u; |
18177 | } |
18178 | inline void CreateRequestProto::clear_createflag() { |
18179 | createflag_ = 0u; |
18180 | clear_has_createflag(); |
18181 | } |
18182 | inline ::google::protobuf::uint32 CreateRequestProto::createflag() const { |
18183 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.createFlag) |
18184 | return createflag_; |
18185 | } |
18186 | inline void CreateRequestProto::set_createflag(::google::protobuf::uint32 value) { |
18187 | set_has_createflag(); |
18188 | createflag_ = value; |
18189 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.createFlag) |
18190 | } |
18191 | |
18192 | // required bool createParent = 5; |
18193 | inline bool CreateRequestProto::has_createparent() const { |
18194 | return (_has_bits_[0] & 0x00000010u) != 0; |
18195 | } |
18196 | inline void CreateRequestProto::set_has_createparent() { |
18197 | _has_bits_[0] |= 0x00000010u; |
18198 | } |
18199 | inline void CreateRequestProto::clear_has_createparent() { |
18200 | _has_bits_[0] &= ~0x00000010u; |
18201 | } |
18202 | inline void CreateRequestProto::clear_createparent() { |
18203 | createparent_ = false; |
18204 | clear_has_createparent(); |
18205 | } |
18206 | inline bool CreateRequestProto::createparent() const { |
18207 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.createParent) |
18208 | return createparent_; |
18209 | } |
18210 | inline void CreateRequestProto::set_createparent(bool value) { |
18211 | set_has_createparent(); |
18212 | createparent_ = value; |
18213 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.createParent) |
18214 | } |
18215 | |
18216 | // required uint32 replication = 6; |
18217 | inline bool CreateRequestProto::has_replication() const { |
18218 | return (_has_bits_[0] & 0x00000040u) != 0; |
18219 | } |
18220 | inline void CreateRequestProto::set_has_replication() { |
18221 | _has_bits_[0] |= 0x00000040u; |
18222 | } |
18223 | inline void CreateRequestProto::clear_has_replication() { |
18224 | _has_bits_[0] &= ~0x00000040u; |
18225 | } |
18226 | inline void CreateRequestProto::clear_replication() { |
18227 | replication_ = 0u; |
18228 | clear_has_replication(); |
18229 | } |
18230 | inline ::google::protobuf::uint32 CreateRequestProto::replication() const { |
18231 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.replication) |
18232 | return replication_; |
18233 | } |
18234 | inline void CreateRequestProto::set_replication(::google::protobuf::uint32 value) { |
18235 | set_has_replication(); |
18236 | replication_ = value; |
18237 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.replication) |
18238 | } |
18239 | |
18240 | // required uint64 blockSize = 7; |
18241 | inline bool CreateRequestProto::has_blocksize() const { |
18242 | return (_has_bits_[0] & 0x00000020u) != 0; |
18243 | } |
18244 | inline void CreateRequestProto::set_has_blocksize() { |
18245 | _has_bits_[0] |= 0x00000020u; |
18246 | } |
18247 | inline void CreateRequestProto::clear_has_blocksize() { |
18248 | _has_bits_[0] &= ~0x00000020u; |
18249 | } |
18250 | inline void CreateRequestProto::clear_blocksize() { |
18251 | blocksize_ = GOOGLE_ULONGLONG(0); |
18252 | clear_has_blocksize(); |
18253 | } |
18254 | inline ::google::protobuf::uint64 CreateRequestProto::blocksize() const { |
18255 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateRequestProto.blockSize) |
18256 | return blocksize_; |
18257 | } |
18258 | inline void CreateRequestProto::set_blocksize(::google::protobuf::uint64 value) { |
18259 | set_has_blocksize(); |
18260 | blocksize_ = value; |
18261 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateRequestProto.blockSize) |
18262 | } |
18263 | |
18264 | // ------------------------------------------------------------------- |
18265 | |
18266 | // CreateResponseProto |
18267 | |
18268 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
18269 | inline bool CreateResponseProto::has_fs() const { |
18270 | return (_has_bits_[0] & 0x00000001u) != 0; |
18271 | } |
18272 | inline void CreateResponseProto::set_has_fs() { |
18273 | _has_bits_[0] |= 0x00000001u; |
18274 | } |
18275 | inline void CreateResponseProto::clear_has_fs() { |
18276 | _has_bits_[0] &= ~0x00000001u; |
18277 | } |
18278 | inline const ::Hdfs::Internal::HdfsFileStatusProto& CreateResponseProto::_internal_fs() const { |
18279 | return *fs_; |
18280 | } |
18281 | inline const ::Hdfs::Internal::HdfsFileStatusProto& CreateResponseProto::fs() const { |
18282 | const ::Hdfs::Internal::HdfsFileStatusProto* p = fs_; |
18283 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateResponseProto.fs) |
18284 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::HdfsFileStatusProto*>( |
18285 | &::Hdfs::Internal::_HdfsFileStatusProto_default_instance_); |
18286 | } |
18287 | inline ::Hdfs::Internal::HdfsFileStatusProto* CreateResponseProto::release_fs() { |
18288 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateResponseProto.fs) |
18289 | clear_has_fs(); |
18290 | ::Hdfs::Internal::HdfsFileStatusProto* temp = fs_; |
18291 | fs_ = NULL; |
18292 | return temp; |
18293 | } |
18294 | inline ::Hdfs::Internal::HdfsFileStatusProto* CreateResponseProto::mutable_fs() { |
18295 | set_has_fs(); |
18296 | if (fs_ == NULL) { |
18297 | auto* p = CreateMaybeMessage<::Hdfs::Internal::HdfsFileStatusProto>(GetArenaNoVirtual()); |
18298 | fs_ = p; |
18299 | } |
18300 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateResponseProto.fs) |
18301 | return fs_; |
18302 | } |
18303 | inline void CreateResponseProto::set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs) { |
18304 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
18305 | if (message_arena == NULL) { |
18306 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(fs_); |
18307 | } |
18308 | if (fs) { |
18309 | ::google::protobuf::Arena* submessage_arena = NULL; |
18310 | if (message_arena != submessage_arena) { |
18311 | fs = ::google::protobuf::internal::GetOwnedMessage( |
18312 | message_arena, fs, submessage_arena); |
18313 | } |
18314 | set_has_fs(); |
18315 | } else { |
18316 | clear_has_fs(); |
18317 | } |
18318 | fs_ = fs; |
18319 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateResponseProto.fs) |
18320 | } |
18321 | |
18322 | // ------------------------------------------------------------------- |
18323 | |
18324 | // AppendRequestProto |
18325 | |
18326 | // required string src = 1; |
18327 | inline bool AppendRequestProto::has_src() const { |
18328 | return (_has_bits_[0] & 0x00000001u) != 0; |
18329 | } |
18330 | inline void AppendRequestProto::set_has_src() { |
18331 | _has_bits_[0] |= 0x00000001u; |
18332 | } |
18333 | inline void AppendRequestProto::clear_has_src() { |
18334 | _has_bits_[0] &= ~0x00000001u; |
18335 | } |
18336 | inline void AppendRequestProto::clear_src() { |
18337 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18338 | clear_has_src(); |
18339 | } |
18340 | inline const ::std::string& AppendRequestProto::src() const { |
18341 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AppendRequestProto.src) |
18342 | return src_.GetNoArena(); |
18343 | } |
18344 | inline void AppendRequestProto::set_src(const ::std::string& value) { |
18345 | set_has_src(); |
18346 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18347 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AppendRequestProto.src) |
18348 | } |
18349 | #if LANG_CXX11 |
18350 | inline void AppendRequestProto::set_src(::std::string&& value) { |
18351 | set_has_src(); |
18352 | src_.SetNoArena( |
18353 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18354 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AppendRequestProto.src) |
18355 | } |
18356 | #endif |
18357 | inline void AppendRequestProto::set_src(const char* value) { |
18358 | GOOGLE_DCHECK(value != NULL); |
18359 | set_has_src(); |
18360 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18361 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AppendRequestProto.src) |
18362 | } |
18363 | inline void AppendRequestProto::set_src(const char* value, size_t size) { |
18364 | set_has_src(); |
18365 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18366 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18367 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AppendRequestProto.src) |
18368 | } |
18369 | inline ::std::string* AppendRequestProto::mutable_src() { |
18370 | set_has_src(); |
18371 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AppendRequestProto.src) |
18372 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18373 | } |
18374 | inline ::std::string* AppendRequestProto::release_src() { |
18375 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AppendRequestProto.src) |
18376 | if (!has_src()) { |
18377 | return NULL; |
18378 | } |
18379 | clear_has_src(); |
18380 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18381 | } |
18382 | inline void AppendRequestProto::set_allocated_src(::std::string* src) { |
18383 | if (src != NULL) { |
18384 | set_has_src(); |
18385 | } else { |
18386 | clear_has_src(); |
18387 | } |
18388 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
18389 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AppendRequestProto.src) |
18390 | } |
18391 | |
18392 | // required string clientName = 2; |
18393 | inline bool AppendRequestProto::has_clientname() const { |
18394 | return (_has_bits_[0] & 0x00000002u) != 0; |
18395 | } |
18396 | inline void AppendRequestProto::set_has_clientname() { |
18397 | _has_bits_[0] |= 0x00000002u; |
18398 | } |
18399 | inline void AppendRequestProto::clear_has_clientname() { |
18400 | _has_bits_[0] &= ~0x00000002u; |
18401 | } |
18402 | inline void AppendRequestProto::clear_clientname() { |
18403 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18404 | clear_has_clientname(); |
18405 | } |
18406 | inline const ::std::string& AppendRequestProto::clientname() const { |
18407 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AppendRequestProto.clientName) |
18408 | return clientname_.GetNoArena(); |
18409 | } |
18410 | inline void AppendRequestProto::set_clientname(const ::std::string& value) { |
18411 | set_has_clientname(); |
18412 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18413 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AppendRequestProto.clientName) |
18414 | } |
18415 | #if LANG_CXX11 |
18416 | inline void AppendRequestProto::set_clientname(::std::string&& value) { |
18417 | set_has_clientname(); |
18418 | clientname_.SetNoArena( |
18419 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18420 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AppendRequestProto.clientName) |
18421 | } |
18422 | #endif |
18423 | inline void AppendRequestProto::set_clientname(const char* value) { |
18424 | GOOGLE_DCHECK(value != NULL); |
18425 | set_has_clientname(); |
18426 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18427 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AppendRequestProto.clientName) |
18428 | } |
18429 | inline void AppendRequestProto::set_clientname(const char* value, size_t size) { |
18430 | set_has_clientname(); |
18431 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18432 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18433 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AppendRequestProto.clientName) |
18434 | } |
18435 | inline ::std::string* AppendRequestProto::mutable_clientname() { |
18436 | set_has_clientname(); |
18437 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AppendRequestProto.clientName) |
18438 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18439 | } |
18440 | inline ::std::string* AppendRequestProto::release_clientname() { |
18441 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AppendRequestProto.clientName) |
18442 | if (!has_clientname()) { |
18443 | return NULL; |
18444 | } |
18445 | clear_has_clientname(); |
18446 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18447 | } |
18448 | inline void AppendRequestProto::set_allocated_clientname(::std::string* clientname) { |
18449 | if (clientname != NULL) { |
18450 | set_has_clientname(); |
18451 | } else { |
18452 | clear_has_clientname(); |
18453 | } |
18454 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
18455 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AppendRequestProto.clientName) |
18456 | } |
18457 | |
18458 | // ------------------------------------------------------------------- |
18459 | |
18460 | // AppendResponseProto |
18461 | |
18462 | // optional .Hdfs.Internal.LocatedBlockProto block = 1; |
18463 | inline bool AppendResponseProto::has_block() const { |
18464 | return (_has_bits_[0] & 0x00000001u) != 0; |
18465 | } |
18466 | inline void AppendResponseProto::set_has_block() { |
18467 | _has_bits_[0] |= 0x00000001u; |
18468 | } |
18469 | inline void AppendResponseProto::clear_has_block() { |
18470 | _has_bits_[0] &= ~0x00000001u; |
18471 | } |
18472 | inline const ::Hdfs::Internal::LocatedBlockProto& AppendResponseProto::_internal_block() const { |
18473 | return *block_; |
18474 | } |
18475 | inline const ::Hdfs::Internal::LocatedBlockProto& AppendResponseProto::block() const { |
18476 | const ::Hdfs::Internal::LocatedBlockProto* p = block_; |
18477 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AppendResponseProto.block) |
18478 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::LocatedBlockProto*>( |
18479 | &::Hdfs::Internal::_LocatedBlockProto_default_instance_); |
18480 | } |
18481 | inline ::Hdfs::Internal::LocatedBlockProto* AppendResponseProto::release_block() { |
18482 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AppendResponseProto.block) |
18483 | clear_has_block(); |
18484 | ::Hdfs::Internal::LocatedBlockProto* temp = block_; |
18485 | block_ = NULL; |
18486 | return temp; |
18487 | } |
18488 | inline ::Hdfs::Internal::LocatedBlockProto* AppendResponseProto::mutable_block() { |
18489 | set_has_block(); |
18490 | if (block_ == NULL) { |
18491 | auto* p = CreateMaybeMessage<::Hdfs::Internal::LocatedBlockProto>(GetArenaNoVirtual()); |
18492 | block_ = p; |
18493 | } |
18494 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AppendResponseProto.block) |
18495 | return block_; |
18496 | } |
18497 | inline void AppendResponseProto::set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block) { |
18498 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
18499 | if (message_arena == NULL) { |
18500 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(block_); |
18501 | } |
18502 | if (block) { |
18503 | ::google::protobuf::Arena* submessage_arena = NULL; |
18504 | if (message_arena != submessage_arena) { |
18505 | block = ::google::protobuf::internal::GetOwnedMessage( |
18506 | message_arena, block, submessage_arena); |
18507 | } |
18508 | set_has_block(); |
18509 | } else { |
18510 | clear_has_block(); |
18511 | } |
18512 | block_ = block; |
18513 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AppendResponseProto.block) |
18514 | } |
18515 | |
18516 | // optional .Hdfs.Internal.HdfsFileStatusProto stat = 2; |
18517 | inline bool AppendResponseProto::has_stat() const { |
18518 | return (_has_bits_[0] & 0x00000002u) != 0; |
18519 | } |
18520 | inline void AppendResponseProto::set_has_stat() { |
18521 | _has_bits_[0] |= 0x00000002u; |
18522 | } |
18523 | inline void AppendResponseProto::clear_has_stat() { |
18524 | _has_bits_[0] &= ~0x00000002u; |
18525 | } |
18526 | inline const ::Hdfs::Internal::HdfsFileStatusProto& AppendResponseProto::_internal_stat() const { |
18527 | return *stat_; |
18528 | } |
18529 | inline const ::Hdfs::Internal::HdfsFileStatusProto& AppendResponseProto::stat() const { |
18530 | const ::Hdfs::Internal::HdfsFileStatusProto* p = stat_; |
18531 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AppendResponseProto.stat) |
18532 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::HdfsFileStatusProto*>( |
18533 | &::Hdfs::Internal::_HdfsFileStatusProto_default_instance_); |
18534 | } |
18535 | inline ::Hdfs::Internal::HdfsFileStatusProto* AppendResponseProto::release_stat() { |
18536 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AppendResponseProto.stat) |
18537 | clear_has_stat(); |
18538 | ::Hdfs::Internal::HdfsFileStatusProto* temp = stat_; |
18539 | stat_ = NULL; |
18540 | return temp; |
18541 | } |
18542 | inline ::Hdfs::Internal::HdfsFileStatusProto* AppendResponseProto::mutable_stat() { |
18543 | set_has_stat(); |
18544 | if (stat_ == NULL) { |
18545 | auto* p = CreateMaybeMessage<::Hdfs::Internal::HdfsFileStatusProto>(GetArenaNoVirtual()); |
18546 | stat_ = p; |
18547 | } |
18548 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AppendResponseProto.stat) |
18549 | return stat_; |
18550 | } |
18551 | inline void AppendResponseProto::set_allocated_stat(::Hdfs::Internal::HdfsFileStatusProto* stat) { |
18552 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
18553 | if (message_arena == NULL) { |
18554 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(stat_); |
18555 | } |
18556 | if (stat) { |
18557 | ::google::protobuf::Arena* submessage_arena = NULL; |
18558 | if (message_arena != submessage_arena) { |
18559 | stat = ::google::protobuf::internal::GetOwnedMessage( |
18560 | message_arena, stat, submessage_arena); |
18561 | } |
18562 | set_has_stat(); |
18563 | } else { |
18564 | clear_has_stat(); |
18565 | } |
18566 | stat_ = stat; |
18567 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AppendResponseProto.stat) |
18568 | } |
18569 | |
18570 | // ------------------------------------------------------------------- |
18571 | |
18572 | // SetReplicationRequestProto |
18573 | |
18574 | // required string src = 1; |
18575 | inline bool SetReplicationRequestProto::has_src() const { |
18576 | return (_has_bits_[0] & 0x00000001u) != 0; |
18577 | } |
18578 | inline void SetReplicationRequestProto::set_has_src() { |
18579 | _has_bits_[0] |= 0x00000001u; |
18580 | } |
18581 | inline void SetReplicationRequestProto::clear_has_src() { |
18582 | _has_bits_[0] &= ~0x00000001u; |
18583 | } |
18584 | inline void SetReplicationRequestProto::clear_src() { |
18585 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18586 | clear_has_src(); |
18587 | } |
18588 | inline const ::std::string& SetReplicationRequestProto::src() const { |
18589 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetReplicationRequestProto.src) |
18590 | return src_.GetNoArena(); |
18591 | } |
18592 | inline void SetReplicationRequestProto::set_src(const ::std::string& value) { |
18593 | set_has_src(); |
18594 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18595 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetReplicationRequestProto.src) |
18596 | } |
18597 | #if LANG_CXX11 |
18598 | inline void SetReplicationRequestProto::set_src(::std::string&& value) { |
18599 | set_has_src(); |
18600 | src_.SetNoArena( |
18601 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18602 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetReplicationRequestProto.src) |
18603 | } |
18604 | #endif |
18605 | inline void SetReplicationRequestProto::set_src(const char* value) { |
18606 | GOOGLE_DCHECK(value != NULL); |
18607 | set_has_src(); |
18608 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18609 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetReplicationRequestProto.src) |
18610 | } |
18611 | inline void SetReplicationRequestProto::set_src(const char* value, size_t size) { |
18612 | set_has_src(); |
18613 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18614 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18615 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetReplicationRequestProto.src) |
18616 | } |
18617 | inline ::std::string* SetReplicationRequestProto::mutable_src() { |
18618 | set_has_src(); |
18619 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetReplicationRequestProto.src) |
18620 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18621 | } |
18622 | inline ::std::string* SetReplicationRequestProto::release_src() { |
18623 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetReplicationRequestProto.src) |
18624 | if (!has_src()) { |
18625 | return NULL; |
18626 | } |
18627 | clear_has_src(); |
18628 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18629 | } |
18630 | inline void SetReplicationRequestProto::set_allocated_src(::std::string* src) { |
18631 | if (src != NULL) { |
18632 | set_has_src(); |
18633 | } else { |
18634 | clear_has_src(); |
18635 | } |
18636 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
18637 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetReplicationRequestProto.src) |
18638 | } |
18639 | |
18640 | // required uint32 replication = 2; |
18641 | inline bool SetReplicationRequestProto::has_replication() const { |
18642 | return (_has_bits_[0] & 0x00000002u) != 0; |
18643 | } |
18644 | inline void SetReplicationRequestProto::set_has_replication() { |
18645 | _has_bits_[0] |= 0x00000002u; |
18646 | } |
18647 | inline void SetReplicationRequestProto::clear_has_replication() { |
18648 | _has_bits_[0] &= ~0x00000002u; |
18649 | } |
18650 | inline void SetReplicationRequestProto::clear_replication() { |
18651 | replication_ = 0u; |
18652 | clear_has_replication(); |
18653 | } |
18654 | inline ::google::protobuf::uint32 SetReplicationRequestProto::replication() const { |
18655 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetReplicationRequestProto.replication) |
18656 | return replication_; |
18657 | } |
18658 | inline void SetReplicationRequestProto::set_replication(::google::protobuf::uint32 value) { |
18659 | set_has_replication(); |
18660 | replication_ = value; |
18661 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetReplicationRequestProto.replication) |
18662 | } |
18663 | |
18664 | // ------------------------------------------------------------------- |
18665 | |
18666 | // SetReplicationResponseProto |
18667 | |
18668 | // required bool result = 1; |
18669 | inline bool SetReplicationResponseProto::has_result() const { |
18670 | return (_has_bits_[0] & 0x00000001u) != 0; |
18671 | } |
18672 | inline void SetReplicationResponseProto::set_has_result() { |
18673 | _has_bits_[0] |= 0x00000001u; |
18674 | } |
18675 | inline void SetReplicationResponseProto::clear_has_result() { |
18676 | _has_bits_[0] &= ~0x00000001u; |
18677 | } |
18678 | inline void SetReplicationResponseProto::clear_result() { |
18679 | result_ = false; |
18680 | clear_has_result(); |
18681 | } |
18682 | inline bool SetReplicationResponseProto::result() const { |
18683 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetReplicationResponseProto.result) |
18684 | return result_; |
18685 | } |
18686 | inline void SetReplicationResponseProto::set_result(bool value) { |
18687 | set_has_result(); |
18688 | result_ = value; |
18689 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetReplicationResponseProto.result) |
18690 | } |
18691 | |
18692 | // ------------------------------------------------------------------- |
18693 | |
18694 | // SetPermissionRequestProto |
18695 | |
18696 | // required string src = 1; |
18697 | inline bool SetPermissionRequestProto::has_src() const { |
18698 | return (_has_bits_[0] & 0x00000001u) != 0; |
18699 | } |
18700 | inline void SetPermissionRequestProto::set_has_src() { |
18701 | _has_bits_[0] |= 0x00000001u; |
18702 | } |
18703 | inline void SetPermissionRequestProto::clear_has_src() { |
18704 | _has_bits_[0] &= ~0x00000001u; |
18705 | } |
18706 | inline void SetPermissionRequestProto::clear_src() { |
18707 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18708 | clear_has_src(); |
18709 | } |
18710 | inline const ::std::string& SetPermissionRequestProto::src() const { |
18711 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetPermissionRequestProto.src) |
18712 | return src_.GetNoArena(); |
18713 | } |
18714 | inline void SetPermissionRequestProto::set_src(const ::std::string& value) { |
18715 | set_has_src(); |
18716 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18717 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetPermissionRequestProto.src) |
18718 | } |
18719 | #if LANG_CXX11 |
18720 | inline void SetPermissionRequestProto::set_src(::std::string&& value) { |
18721 | set_has_src(); |
18722 | src_.SetNoArena( |
18723 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18724 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetPermissionRequestProto.src) |
18725 | } |
18726 | #endif |
18727 | inline void SetPermissionRequestProto::set_src(const char* value) { |
18728 | GOOGLE_DCHECK(value != NULL); |
18729 | set_has_src(); |
18730 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18731 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetPermissionRequestProto.src) |
18732 | } |
18733 | inline void SetPermissionRequestProto::set_src(const char* value, size_t size) { |
18734 | set_has_src(); |
18735 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18736 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18737 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetPermissionRequestProto.src) |
18738 | } |
18739 | inline ::std::string* SetPermissionRequestProto::mutable_src() { |
18740 | set_has_src(); |
18741 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetPermissionRequestProto.src) |
18742 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18743 | } |
18744 | inline ::std::string* SetPermissionRequestProto::release_src() { |
18745 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetPermissionRequestProto.src) |
18746 | if (!has_src()) { |
18747 | return NULL; |
18748 | } |
18749 | clear_has_src(); |
18750 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18751 | } |
18752 | inline void SetPermissionRequestProto::set_allocated_src(::std::string* src) { |
18753 | if (src != NULL) { |
18754 | set_has_src(); |
18755 | } else { |
18756 | clear_has_src(); |
18757 | } |
18758 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
18759 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetPermissionRequestProto.src) |
18760 | } |
18761 | |
18762 | // required .Hdfs.Internal.FsPermissionProto permission = 2; |
18763 | inline bool SetPermissionRequestProto::has_permission() const { |
18764 | return (_has_bits_[0] & 0x00000002u) != 0; |
18765 | } |
18766 | inline void SetPermissionRequestProto::set_has_permission() { |
18767 | _has_bits_[0] |= 0x00000002u; |
18768 | } |
18769 | inline void SetPermissionRequestProto::clear_has_permission() { |
18770 | _has_bits_[0] &= ~0x00000002u; |
18771 | } |
18772 | inline const ::Hdfs::Internal::FsPermissionProto& SetPermissionRequestProto::_internal_permission() const { |
18773 | return *permission_; |
18774 | } |
18775 | inline const ::Hdfs::Internal::FsPermissionProto& SetPermissionRequestProto::permission() const { |
18776 | const ::Hdfs::Internal::FsPermissionProto* p = permission_; |
18777 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetPermissionRequestProto.permission) |
18778 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::FsPermissionProto*>( |
18779 | &::Hdfs::Internal::_FsPermissionProto_default_instance_); |
18780 | } |
18781 | inline ::Hdfs::Internal::FsPermissionProto* SetPermissionRequestProto::release_permission() { |
18782 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetPermissionRequestProto.permission) |
18783 | clear_has_permission(); |
18784 | ::Hdfs::Internal::FsPermissionProto* temp = permission_; |
18785 | permission_ = NULL; |
18786 | return temp; |
18787 | } |
18788 | inline ::Hdfs::Internal::FsPermissionProto* SetPermissionRequestProto::mutable_permission() { |
18789 | set_has_permission(); |
18790 | if (permission_ == NULL) { |
18791 | auto* p = CreateMaybeMessage<::Hdfs::Internal::FsPermissionProto>(GetArenaNoVirtual()); |
18792 | permission_ = p; |
18793 | } |
18794 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetPermissionRequestProto.permission) |
18795 | return permission_; |
18796 | } |
18797 | inline void SetPermissionRequestProto::set_allocated_permission(::Hdfs::Internal::FsPermissionProto* permission) { |
18798 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
18799 | if (message_arena == NULL) { |
18800 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(permission_); |
18801 | } |
18802 | if (permission) { |
18803 | ::google::protobuf::Arena* submessage_arena = NULL; |
18804 | if (message_arena != submessage_arena) { |
18805 | permission = ::google::protobuf::internal::GetOwnedMessage( |
18806 | message_arena, permission, submessage_arena); |
18807 | } |
18808 | set_has_permission(); |
18809 | } else { |
18810 | clear_has_permission(); |
18811 | } |
18812 | permission_ = permission; |
18813 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetPermissionRequestProto.permission) |
18814 | } |
18815 | |
18816 | // ------------------------------------------------------------------- |
18817 | |
18818 | // SetPermissionResponseProto |
18819 | |
18820 | // ------------------------------------------------------------------- |
18821 | |
18822 | // SetOwnerRequestProto |
18823 | |
18824 | // required string src = 1; |
18825 | inline bool SetOwnerRequestProto::has_src() const { |
18826 | return (_has_bits_[0] & 0x00000001u) != 0; |
18827 | } |
18828 | inline void SetOwnerRequestProto::set_has_src() { |
18829 | _has_bits_[0] |= 0x00000001u; |
18830 | } |
18831 | inline void SetOwnerRequestProto::clear_has_src() { |
18832 | _has_bits_[0] &= ~0x00000001u; |
18833 | } |
18834 | inline void SetOwnerRequestProto::clear_src() { |
18835 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18836 | clear_has_src(); |
18837 | } |
18838 | inline const ::std::string& SetOwnerRequestProto::src() const { |
18839 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetOwnerRequestProto.src) |
18840 | return src_.GetNoArena(); |
18841 | } |
18842 | inline void SetOwnerRequestProto::set_src(const ::std::string& value) { |
18843 | set_has_src(); |
18844 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18845 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetOwnerRequestProto.src) |
18846 | } |
18847 | #if LANG_CXX11 |
18848 | inline void SetOwnerRequestProto::set_src(::std::string&& value) { |
18849 | set_has_src(); |
18850 | src_.SetNoArena( |
18851 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18852 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetOwnerRequestProto.src) |
18853 | } |
18854 | #endif |
18855 | inline void SetOwnerRequestProto::set_src(const char* value) { |
18856 | GOOGLE_DCHECK(value != NULL); |
18857 | set_has_src(); |
18858 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18859 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetOwnerRequestProto.src) |
18860 | } |
18861 | inline void SetOwnerRequestProto::set_src(const char* value, size_t size) { |
18862 | set_has_src(); |
18863 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18864 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18865 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetOwnerRequestProto.src) |
18866 | } |
18867 | inline ::std::string* SetOwnerRequestProto::mutable_src() { |
18868 | set_has_src(); |
18869 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetOwnerRequestProto.src) |
18870 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18871 | } |
18872 | inline ::std::string* SetOwnerRequestProto::release_src() { |
18873 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetOwnerRequestProto.src) |
18874 | if (!has_src()) { |
18875 | return NULL; |
18876 | } |
18877 | clear_has_src(); |
18878 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18879 | } |
18880 | inline void SetOwnerRequestProto::set_allocated_src(::std::string* src) { |
18881 | if (src != NULL) { |
18882 | set_has_src(); |
18883 | } else { |
18884 | clear_has_src(); |
18885 | } |
18886 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
18887 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetOwnerRequestProto.src) |
18888 | } |
18889 | |
18890 | // optional string username = 2; |
18891 | inline bool SetOwnerRequestProto::has_username() const { |
18892 | return (_has_bits_[0] & 0x00000002u) != 0; |
18893 | } |
18894 | inline void SetOwnerRequestProto::set_has_username() { |
18895 | _has_bits_[0] |= 0x00000002u; |
18896 | } |
18897 | inline void SetOwnerRequestProto::clear_has_username() { |
18898 | _has_bits_[0] &= ~0x00000002u; |
18899 | } |
18900 | inline void SetOwnerRequestProto::clear_username() { |
18901 | username_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18902 | clear_has_username(); |
18903 | } |
18904 | inline const ::std::string& SetOwnerRequestProto::username() const { |
18905 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetOwnerRequestProto.username) |
18906 | return username_.GetNoArena(); |
18907 | } |
18908 | inline void SetOwnerRequestProto::set_username(const ::std::string& value) { |
18909 | set_has_username(); |
18910 | username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18911 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetOwnerRequestProto.username) |
18912 | } |
18913 | #if LANG_CXX11 |
18914 | inline void SetOwnerRequestProto::set_username(::std::string&& value) { |
18915 | set_has_username(); |
18916 | username_.SetNoArena( |
18917 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18918 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetOwnerRequestProto.username) |
18919 | } |
18920 | #endif |
18921 | inline void SetOwnerRequestProto::set_username(const char* value) { |
18922 | GOOGLE_DCHECK(value != NULL); |
18923 | set_has_username(); |
18924 | username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18925 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetOwnerRequestProto.username) |
18926 | } |
18927 | inline void SetOwnerRequestProto::set_username(const char* value, size_t size) { |
18928 | set_has_username(); |
18929 | username_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18930 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18931 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetOwnerRequestProto.username) |
18932 | } |
18933 | inline ::std::string* SetOwnerRequestProto::mutable_username() { |
18934 | set_has_username(); |
18935 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetOwnerRequestProto.username) |
18936 | return username_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18937 | } |
18938 | inline ::std::string* SetOwnerRequestProto::release_username() { |
18939 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetOwnerRequestProto.username) |
18940 | if (!has_username()) { |
18941 | return NULL; |
18942 | } |
18943 | clear_has_username(); |
18944 | return username_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18945 | } |
18946 | inline void SetOwnerRequestProto::set_allocated_username(::std::string* username) { |
18947 | if (username != NULL) { |
18948 | set_has_username(); |
18949 | } else { |
18950 | clear_has_username(); |
18951 | } |
18952 | username_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), username); |
18953 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetOwnerRequestProto.username) |
18954 | } |
18955 | |
18956 | // optional string groupname = 3; |
18957 | inline bool SetOwnerRequestProto::has_groupname() const { |
18958 | return (_has_bits_[0] & 0x00000004u) != 0; |
18959 | } |
18960 | inline void SetOwnerRequestProto::set_has_groupname() { |
18961 | _has_bits_[0] |= 0x00000004u; |
18962 | } |
18963 | inline void SetOwnerRequestProto::clear_has_groupname() { |
18964 | _has_bits_[0] &= ~0x00000004u; |
18965 | } |
18966 | inline void SetOwnerRequestProto::clear_groupname() { |
18967 | groupname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
18968 | clear_has_groupname(); |
18969 | } |
18970 | inline const ::std::string& SetOwnerRequestProto::groupname() const { |
18971 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetOwnerRequestProto.groupname) |
18972 | return groupname_.GetNoArena(); |
18973 | } |
18974 | inline void SetOwnerRequestProto::set_groupname(const ::std::string& value) { |
18975 | set_has_groupname(); |
18976 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
18977 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetOwnerRequestProto.groupname) |
18978 | } |
18979 | #if LANG_CXX11 |
18980 | inline void SetOwnerRequestProto::set_groupname(::std::string&& value) { |
18981 | set_has_groupname(); |
18982 | groupname_.SetNoArena( |
18983 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
18984 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetOwnerRequestProto.groupname) |
18985 | } |
18986 | #endif |
18987 | inline void SetOwnerRequestProto::set_groupname(const char* value) { |
18988 | GOOGLE_DCHECK(value != NULL); |
18989 | set_has_groupname(); |
18990 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
18991 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetOwnerRequestProto.groupname) |
18992 | } |
18993 | inline void SetOwnerRequestProto::set_groupname(const char* value, size_t size) { |
18994 | set_has_groupname(); |
18995 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
18996 | ::std::string(reinterpret_cast<const char*>(value), size)); |
18997 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetOwnerRequestProto.groupname) |
18998 | } |
18999 | inline ::std::string* SetOwnerRequestProto::mutable_groupname() { |
19000 | set_has_groupname(); |
19001 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetOwnerRequestProto.groupname) |
19002 | return groupname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19003 | } |
19004 | inline ::std::string* SetOwnerRequestProto::release_groupname() { |
19005 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetOwnerRequestProto.groupname) |
19006 | if (!has_groupname()) { |
19007 | return NULL; |
19008 | } |
19009 | clear_has_groupname(); |
19010 | return groupname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19011 | } |
19012 | inline void SetOwnerRequestProto::set_allocated_groupname(::std::string* groupname) { |
19013 | if (groupname != NULL) { |
19014 | set_has_groupname(); |
19015 | } else { |
19016 | clear_has_groupname(); |
19017 | } |
19018 | groupname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), groupname); |
19019 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetOwnerRequestProto.groupname) |
19020 | } |
19021 | |
19022 | // ------------------------------------------------------------------- |
19023 | |
19024 | // SetOwnerResponseProto |
19025 | |
19026 | // ------------------------------------------------------------------- |
19027 | |
19028 | // AbandonBlockRequestProto |
19029 | |
19030 | // required .Hdfs.Internal.ExtendedBlockProto b = 1; |
19031 | inline bool AbandonBlockRequestProto::has_b() const { |
19032 | return (_has_bits_[0] & 0x00000004u) != 0; |
19033 | } |
19034 | inline void AbandonBlockRequestProto::set_has_b() { |
19035 | _has_bits_[0] |= 0x00000004u; |
19036 | } |
19037 | inline void AbandonBlockRequestProto::clear_has_b() { |
19038 | _has_bits_[0] &= ~0x00000004u; |
19039 | } |
19040 | inline const ::Hdfs::Internal::ExtendedBlockProto& AbandonBlockRequestProto::_internal_b() const { |
19041 | return *b_; |
19042 | } |
19043 | inline const ::Hdfs::Internal::ExtendedBlockProto& AbandonBlockRequestProto::b() const { |
19044 | const ::Hdfs::Internal::ExtendedBlockProto* p = b_; |
19045 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AbandonBlockRequestProto.b) |
19046 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
19047 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
19048 | } |
19049 | inline ::Hdfs::Internal::ExtendedBlockProto* AbandonBlockRequestProto::release_b() { |
19050 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AbandonBlockRequestProto.b) |
19051 | clear_has_b(); |
19052 | ::Hdfs::Internal::ExtendedBlockProto* temp = b_; |
19053 | b_ = NULL; |
19054 | return temp; |
19055 | } |
19056 | inline ::Hdfs::Internal::ExtendedBlockProto* AbandonBlockRequestProto::mutable_b() { |
19057 | set_has_b(); |
19058 | if (b_ == NULL) { |
19059 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
19060 | b_ = p; |
19061 | } |
19062 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AbandonBlockRequestProto.b) |
19063 | return b_; |
19064 | } |
19065 | inline void AbandonBlockRequestProto::set_allocated_b(::Hdfs::Internal::ExtendedBlockProto* b) { |
19066 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
19067 | if (message_arena == NULL) { |
19068 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(b_); |
19069 | } |
19070 | if (b) { |
19071 | ::google::protobuf::Arena* submessage_arena = NULL; |
19072 | if (message_arena != submessage_arena) { |
19073 | b = ::google::protobuf::internal::GetOwnedMessage( |
19074 | message_arena, b, submessage_arena); |
19075 | } |
19076 | set_has_b(); |
19077 | } else { |
19078 | clear_has_b(); |
19079 | } |
19080 | b_ = b; |
19081 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AbandonBlockRequestProto.b) |
19082 | } |
19083 | |
19084 | // required string src = 2; |
19085 | inline bool AbandonBlockRequestProto::has_src() const { |
19086 | return (_has_bits_[0] & 0x00000001u) != 0; |
19087 | } |
19088 | inline void AbandonBlockRequestProto::set_has_src() { |
19089 | _has_bits_[0] |= 0x00000001u; |
19090 | } |
19091 | inline void AbandonBlockRequestProto::clear_has_src() { |
19092 | _has_bits_[0] &= ~0x00000001u; |
19093 | } |
19094 | inline void AbandonBlockRequestProto::clear_src() { |
19095 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19096 | clear_has_src(); |
19097 | } |
19098 | inline const ::std::string& AbandonBlockRequestProto::src() const { |
19099 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AbandonBlockRequestProto.src) |
19100 | return src_.GetNoArena(); |
19101 | } |
19102 | inline void AbandonBlockRequestProto::set_src(const ::std::string& value) { |
19103 | set_has_src(); |
19104 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19105 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AbandonBlockRequestProto.src) |
19106 | } |
19107 | #if LANG_CXX11 |
19108 | inline void AbandonBlockRequestProto::set_src(::std::string&& value) { |
19109 | set_has_src(); |
19110 | src_.SetNoArena( |
19111 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19112 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AbandonBlockRequestProto.src) |
19113 | } |
19114 | #endif |
19115 | inline void AbandonBlockRequestProto::set_src(const char* value) { |
19116 | GOOGLE_DCHECK(value != NULL); |
19117 | set_has_src(); |
19118 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19119 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AbandonBlockRequestProto.src) |
19120 | } |
19121 | inline void AbandonBlockRequestProto::set_src(const char* value, size_t size) { |
19122 | set_has_src(); |
19123 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19124 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19125 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AbandonBlockRequestProto.src) |
19126 | } |
19127 | inline ::std::string* AbandonBlockRequestProto::mutable_src() { |
19128 | set_has_src(); |
19129 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AbandonBlockRequestProto.src) |
19130 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19131 | } |
19132 | inline ::std::string* AbandonBlockRequestProto::release_src() { |
19133 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AbandonBlockRequestProto.src) |
19134 | if (!has_src()) { |
19135 | return NULL; |
19136 | } |
19137 | clear_has_src(); |
19138 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19139 | } |
19140 | inline void AbandonBlockRequestProto::set_allocated_src(::std::string* src) { |
19141 | if (src != NULL) { |
19142 | set_has_src(); |
19143 | } else { |
19144 | clear_has_src(); |
19145 | } |
19146 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
19147 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AbandonBlockRequestProto.src) |
19148 | } |
19149 | |
19150 | // required string holder = 3; |
19151 | inline bool AbandonBlockRequestProto::has_holder() const { |
19152 | return (_has_bits_[0] & 0x00000002u) != 0; |
19153 | } |
19154 | inline void AbandonBlockRequestProto::set_has_holder() { |
19155 | _has_bits_[0] |= 0x00000002u; |
19156 | } |
19157 | inline void AbandonBlockRequestProto::clear_has_holder() { |
19158 | _has_bits_[0] &= ~0x00000002u; |
19159 | } |
19160 | inline void AbandonBlockRequestProto::clear_holder() { |
19161 | holder_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19162 | clear_has_holder(); |
19163 | } |
19164 | inline const ::std::string& AbandonBlockRequestProto::holder() const { |
19165 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19166 | return holder_.GetNoArena(); |
19167 | } |
19168 | inline void AbandonBlockRequestProto::set_holder(const ::std::string& value) { |
19169 | set_has_holder(); |
19170 | holder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19171 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19172 | } |
19173 | #if LANG_CXX11 |
19174 | inline void AbandonBlockRequestProto::set_holder(::std::string&& value) { |
19175 | set_has_holder(); |
19176 | holder_.SetNoArena( |
19177 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19178 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19179 | } |
19180 | #endif |
19181 | inline void AbandonBlockRequestProto::set_holder(const char* value) { |
19182 | GOOGLE_DCHECK(value != NULL); |
19183 | set_has_holder(); |
19184 | holder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19185 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19186 | } |
19187 | inline void AbandonBlockRequestProto::set_holder(const char* value, size_t size) { |
19188 | set_has_holder(); |
19189 | holder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19190 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19191 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19192 | } |
19193 | inline ::std::string* AbandonBlockRequestProto::mutable_holder() { |
19194 | set_has_holder(); |
19195 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19196 | return holder_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19197 | } |
19198 | inline ::std::string* AbandonBlockRequestProto::release_holder() { |
19199 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19200 | if (!has_holder()) { |
19201 | return NULL; |
19202 | } |
19203 | clear_has_holder(); |
19204 | return holder_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19205 | } |
19206 | inline void AbandonBlockRequestProto::set_allocated_holder(::std::string* holder) { |
19207 | if (holder != NULL) { |
19208 | set_has_holder(); |
19209 | } else { |
19210 | clear_has_holder(); |
19211 | } |
19212 | holder_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), holder); |
19213 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AbandonBlockRequestProto.holder) |
19214 | } |
19215 | |
19216 | // ------------------------------------------------------------------- |
19217 | |
19218 | // AbandonBlockResponseProto |
19219 | |
19220 | // ------------------------------------------------------------------- |
19221 | |
19222 | // AddBlockRequestProto |
19223 | |
19224 | // required string src = 1; |
19225 | inline bool AddBlockRequestProto::has_src() const { |
19226 | return (_has_bits_[0] & 0x00000001u) != 0; |
19227 | } |
19228 | inline void AddBlockRequestProto::set_has_src() { |
19229 | _has_bits_[0] |= 0x00000001u; |
19230 | } |
19231 | inline void AddBlockRequestProto::clear_has_src() { |
19232 | _has_bits_[0] &= ~0x00000001u; |
19233 | } |
19234 | inline void AddBlockRequestProto::clear_src() { |
19235 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19236 | clear_has_src(); |
19237 | } |
19238 | inline const ::std::string& AddBlockRequestProto::src() const { |
19239 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.src) |
19240 | return src_.GetNoArena(); |
19241 | } |
19242 | inline void AddBlockRequestProto::set_src(const ::std::string& value) { |
19243 | set_has_src(); |
19244 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19245 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddBlockRequestProto.src) |
19246 | } |
19247 | #if LANG_CXX11 |
19248 | inline void AddBlockRequestProto::set_src(::std::string&& value) { |
19249 | set_has_src(); |
19250 | src_.SetNoArena( |
19251 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19252 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AddBlockRequestProto.src) |
19253 | } |
19254 | #endif |
19255 | inline void AddBlockRequestProto::set_src(const char* value) { |
19256 | GOOGLE_DCHECK(value != NULL); |
19257 | set_has_src(); |
19258 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19259 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AddBlockRequestProto.src) |
19260 | } |
19261 | inline void AddBlockRequestProto::set_src(const char* value, size_t size) { |
19262 | set_has_src(); |
19263 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19264 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19265 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AddBlockRequestProto.src) |
19266 | } |
19267 | inline ::std::string* AddBlockRequestProto::mutable_src() { |
19268 | set_has_src(); |
19269 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockRequestProto.src) |
19270 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19271 | } |
19272 | inline ::std::string* AddBlockRequestProto::release_src() { |
19273 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddBlockRequestProto.src) |
19274 | if (!has_src()) { |
19275 | return NULL; |
19276 | } |
19277 | clear_has_src(); |
19278 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19279 | } |
19280 | inline void AddBlockRequestProto::set_allocated_src(::std::string* src) { |
19281 | if (src != NULL) { |
19282 | set_has_src(); |
19283 | } else { |
19284 | clear_has_src(); |
19285 | } |
19286 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
19287 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddBlockRequestProto.src) |
19288 | } |
19289 | |
19290 | // required string clientName = 2; |
19291 | inline bool AddBlockRequestProto::has_clientname() const { |
19292 | return (_has_bits_[0] & 0x00000002u) != 0; |
19293 | } |
19294 | inline void AddBlockRequestProto::set_has_clientname() { |
19295 | _has_bits_[0] |= 0x00000002u; |
19296 | } |
19297 | inline void AddBlockRequestProto::clear_has_clientname() { |
19298 | _has_bits_[0] &= ~0x00000002u; |
19299 | } |
19300 | inline void AddBlockRequestProto::clear_clientname() { |
19301 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19302 | clear_has_clientname(); |
19303 | } |
19304 | inline const ::std::string& AddBlockRequestProto::clientname() const { |
19305 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.clientName) |
19306 | return clientname_.GetNoArena(); |
19307 | } |
19308 | inline void AddBlockRequestProto::set_clientname(const ::std::string& value) { |
19309 | set_has_clientname(); |
19310 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19311 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddBlockRequestProto.clientName) |
19312 | } |
19313 | #if LANG_CXX11 |
19314 | inline void AddBlockRequestProto::set_clientname(::std::string&& value) { |
19315 | set_has_clientname(); |
19316 | clientname_.SetNoArena( |
19317 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19318 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AddBlockRequestProto.clientName) |
19319 | } |
19320 | #endif |
19321 | inline void AddBlockRequestProto::set_clientname(const char* value) { |
19322 | GOOGLE_DCHECK(value != NULL); |
19323 | set_has_clientname(); |
19324 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19325 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AddBlockRequestProto.clientName) |
19326 | } |
19327 | inline void AddBlockRequestProto::set_clientname(const char* value, size_t size) { |
19328 | set_has_clientname(); |
19329 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19330 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19331 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AddBlockRequestProto.clientName) |
19332 | } |
19333 | inline ::std::string* AddBlockRequestProto::mutable_clientname() { |
19334 | set_has_clientname(); |
19335 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockRequestProto.clientName) |
19336 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19337 | } |
19338 | inline ::std::string* AddBlockRequestProto::release_clientname() { |
19339 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddBlockRequestProto.clientName) |
19340 | if (!has_clientname()) { |
19341 | return NULL; |
19342 | } |
19343 | clear_has_clientname(); |
19344 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19345 | } |
19346 | inline void AddBlockRequestProto::set_allocated_clientname(::std::string* clientname) { |
19347 | if (clientname != NULL) { |
19348 | set_has_clientname(); |
19349 | } else { |
19350 | clear_has_clientname(); |
19351 | } |
19352 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
19353 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddBlockRequestProto.clientName) |
19354 | } |
19355 | |
19356 | // optional .Hdfs.Internal.ExtendedBlockProto previous = 3; |
19357 | inline bool AddBlockRequestProto::has_previous() const { |
19358 | return (_has_bits_[0] & 0x00000004u) != 0; |
19359 | } |
19360 | inline void AddBlockRequestProto::set_has_previous() { |
19361 | _has_bits_[0] |= 0x00000004u; |
19362 | } |
19363 | inline void AddBlockRequestProto::clear_has_previous() { |
19364 | _has_bits_[0] &= ~0x00000004u; |
19365 | } |
19366 | inline const ::Hdfs::Internal::ExtendedBlockProto& AddBlockRequestProto::_internal_previous() const { |
19367 | return *previous_; |
19368 | } |
19369 | inline const ::Hdfs::Internal::ExtendedBlockProto& AddBlockRequestProto::previous() const { |
19370 | const ::Hdfs::Internal::ExtendedBlockProto* p = previous_; |
19371 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.previous) |
19372 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
19373 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
19374 | } |
19375 | inline ::Hdfs::Internal::ExtendedBlockProto* AddBlockRequestProto::release_previous() { |
19376 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddBlockRequestProto.previous) |
19377 | clear_has_previous(); |
19378 | ::Hdfs::Internal::ExtendedBlockProto* temp = previous_; |
19379 | previous_ = NULL; |
19380 | return temp; |
19381 | } |
19382 | inline ::Hdfs::Internal::ExtendedBlockProto* AddBlockRequestProto::mutable_previous() { |
19383 | set_has_previous(); |
19384 | if (previous_ == NULL) { |
19385 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
19386 | previous_ = p; |
19387 | } |
19388 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockRequestProto.previous) |
19389 | return previous_; |
19390 | } |
19391 | inline void AddBlockRequestProto::set_allocated_previous(::Hdfs::Internal::ExtendedBlockProto* previous) { |
19392 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
19393 | if (message_arena == NULL) { |
19394 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(previous_); |
19395 | } |
19396 | if (previous) { |
19397 | ::google::protobuf::Arena* submessage_arena = NULL; |
19398 | if (message_arena != submessage_arena) { |
19399 | previous = ::google::protobuf::internal::GetOwnedMessage( |
19400 | message_arena, previous, submessage_arena); |
19401 | } |
19402 | set_has_previous(); |
19403 | } else { |
19404 | clear_has_previous(); |
19405 | } |
19406 | previous_ = previous; |
19407 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddBlockRequestProto.previous) |
19408 | } |
19409 | |
19410 | // repeated .Hdfs.Internal.DatanodeInfoProto excludeNodes = 4; |
19411 | inline int AddBlockRequestProto::excludenodes_size() const { |
19412 | return excludenodes_.size(); |
19413 | } |
19414 | inline ::Hdfs::Internal::DatanodeInfoProto* AddBlockRequestProto::mutable_excludenodes(int index) { |
19415 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockRequestProto.excludeNodes) |
19416 | return excludenodes_.Mutable(index); |
19417 | } |
19418 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
19419 | AddBlockRequestProto::mutable_excludenodes() { |
19420 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.AddBlockRequestProto.excludeNodes) |
19421 | return &excludenodes_; |
19422 | } |
19423 | inline const ::Hdfs::Internal::DatanodeInfoProto& AddBlockRequestProto::excludenodes(int index) const { |
19424 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.excludeNodes) |
19425 | return excludenodes_.Get(index); |
19426 | } |
19427 | inline ::Hdfs::Internal::DatanodeInfoProto* AddBlockRequestProto::add_excludenodes() { |
19428 | // @@protoc_insertion_point(field_add:Hdfs.Internal.AddBlockRequestProto.excludeNodes) |
19429 | return excludenodes_.Add(); |
19430 | } |
19431 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
19432 | AddBlockRequestProto::excludenodes() const { |
19433 | // @@protoc_insertion_point(field_list:Hdfs.Internal.AddBlockRequestProto.excludeNodes) |
19434 | return excludenodes_; |
19435 | } |
19436 | |
19437 | // optional uint64 fileId = 5 [default = 0]; |
19438 | inline bool AddBlockRequestProto::has_fileid() const { |
19439 | return (_has_bits_[0] & 0x00000008u) != 0; |
19440 | } |
19441 | inline void AddBlockRequestProto::set_has_fileid() { |
19442 | _has_bits_[0] |= 0x00000008u; |
19443 | } |
19444 | inline void AddBlockRequestProto::clear_has_fileid() { |
19445 | _has_bits_[0] &= ~0x00000008u; |
19446 | } |
19447 | inline void AddBlockRequestProto::clear_fileid() { |
19448 | fileid_ = GOOGLE_ULONGLONG(0); |
19449 | clear_has_fileid(); |
19450 | } |
19451 | inline ::google::protobuf::uint64 AddBlockRequestProto::fileid() const { |
19452 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.fileId) |
19453 | return fileid_; |
19454 | } |
19455 | inline void AddBlockRequestProto::set_fileid(::google::protobuf::uint64 value) { |
19456 | set_has_fileid(); |
19457 | fileid_ = value; |
19458 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddBlockRequestProto.fileId) |
19459 | } |
19460 | |
19461 | // repeated string favoredNodes = 6; |
19462 | inline int AddBlockRequestProto::favorednodes_size() const { |
19463 | return favorednodes_.size(); |
19464 | } |
19465 | inline void AddBlockRequestProto::clear_favorednodes() { |
19466 | favorednodes_.Clear(); |
19467 | } |
19468 | inline const ::std::string& AddBlockRequestProto::favorednodes(int index) const { |
19469 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19470 | return favorednodes_.Get(index); |
19471 | } |
19472 | inline ::std::string* AddBlockRequestProto::mutable_favorednodes(int index) { |
19473 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19474 | return favorednodes_.Mutable(index); |
19475 | } |
19476 | inline void AddBlockRequestProto::set_favorednodes(int index, const ::std::string& value) { |
19477 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19478 | favorednodes_.Mutable(index)->assign(value); |
19479 | } |
19480 | #if LANG_CXX11 |
19481 | inline void AddBlockRequestProto::set_favorednodes(int index, ::std::string&& value) { |
19482 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19483 | favorednodes_.Mutable(index)->assign(std::move(value)); |
19484 | } |
19485 | #endif |
19486 | inline void AddBlockRequestProto::set_favorednodes(int index, const char* value) { |
19487 | GOOGLE_DCHECK(value != NULL); |
19488 | favorednodes_.Mutable(index)->assign(value); |
19489 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19490 | } |
19491 | inline void AddBlockRequestProto::set_favorednodes(int index, const char* value, size_t size) { |
19492 | favorednodes_.Mutable(index)->assign( |
19493 | reinterpret_cast<const char*>(value), size); |
19494 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19495 | } |
19496 | inline ::std::string* AddBlockRequestProto::add_favorednodes() { |
19497 | // @@protoc_insertion_point(field_add_mutable:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19498 | return favorednodes_.Add(); |
19499 | } |
19500 | inline void AddBlockRequestProto::add_favorednodes(const ::std::string& value) { |
19501 | favorednodes_.Add()->assign(value); |
19502 | // @@protoc_insertion_point(field_add:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19503 | } |
19504 | #if LANG_CXX11 |
19505 | inline void AddBlockRequestProto::add_favorednodes(::std::string&& value) { |
19506 | favorednodes_.Add(std::move(value)); |
19507 | // @@protoc_insertion_point(field_add:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19508 | } |
19509 | #endif |
19510 | inline void AddBlockRequestProto::add_favorednodes(const char* value) { |
19511 | GOOGLE_DCHECK(value != NULL); |
19512 | favorednodes_.Add()->assign(value); |
19513 | // @@protoc_insertion_point(field_add_char:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19514 | } |
19515 | inline void AddBlockRequestProto::add_favorednodes(const char* value, size_t size) { |
19516 | favorednodes_.Add()->assign(reinterpret_cast<const char*>(value), size); |
19517 | // @@protoc_insertion_point(field_add_pointer:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19518 | } |
19519 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
19520 | AddBlockRequestProto::favorednodes() const { |
19521 | // @@protoc_insertion_point(field_list:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19522 | return favorednodes_; |
19523 | } |
19524 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
19525 | AddBlockRequestProto::mutable_favorednodes() { |
19526 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.AddBlockRequestProto.favoredNodes) |
19527 | return &favorednodes_; |
19528 | } |
19529 | |
19530 | // ------------------------------------------------------------------- |
19531 | |
19532 | // AddBlockResponseProto |
19533 | |
19534 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
19535 | inline bool AddBlockResponseProto::has_block() const { |
19536 | return (_has_bits_[0] & 0x00000001u) != 0; |
19537 | } |
19538 | inline void AddBlockResponseProto::set_has_block() { |
19539 | _has_bits_[0] |= 0x00000001u; |
19540 | } |
19541 | inline void AddBlockResponseProto::clear_has_block() { |
19542 | _has_bits_[0] &= ~0x00000001u; |
19543 | } |
19544 | inline const ::Hdfs::Internal::LocatedBlockProto& AddBlockResponseProto::_internal_block() const { |
19545 | return *block_; |
19546 | } |
19547 | inline const ::Hdfs::Internal::LocatedBlockProto& AddBlockResponseProto::block() const { |
19548 | const ::Hdfs::Internal::LocatedBlockProto* p = block_; |
19549 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddBlockResponseProto.block) |
19550 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::LocatedBlockProto*>( |
19551 | &::Hdfs::Internal::_LocatedBlockProto_default_instance_); |
19552 | } |
19553 | inline ::Hdfs::Internal::LocatedBlockProto* AddBlockResponseProto::release_block() { |
19554 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddBlockResponseProto.block) |
19555 | clear_has_block(); |
19556 | ::Hdfs::Internal::LocatedBlockProto* temp = block_; |
19557 | block_ = NULL; |
19558 | return temp; |
19559 | } |
19560 | inline ::Hdfs::Internal::LocatedBlockProto* AddBlockResponseProto::mutable_block() { |
19561 | set_has_block(); |
19562 | if (block_ == NULL) { |
19563 | auto* p = CreateMaybeMessage<::Hdfs::Internal::LocatedBlockProto>(GetArenaNoVirtual()); |
19564 | block_ = p; |
19565 | } |
19566 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddBlockResponseProto.block) |
19567 | return block_; |
19568 | } |
19569 | inline void AddBlockResponseProto::set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block) { |
19570 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
19571 | if (message_arena == NULL) { |
19572 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(block_); |
19573 | } |
19574 | if (block) { |
19575 | ::google::protobuf::Arena* submessage_arena = NULL; |
19576 | if (message_arena != submessage_arena) { |
19577 | block = ::google::protobuf::internal::GetOwnedMessage( |
19578 | message_arena, block, submessage_arena); |
19579 | } |
19580 | set_has_block(); |
19581 | } else { |
19582 | clear_has_block(); |
19583 | } |
19584 | block_ = block; |
19585 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddBlockResponseProto.block) |
19586 | } |
19587 | |
19588 | // ------------------------------------------------------------------- |
19589 | |
19590 | // GetAdditionalDatanodeRequestProto |
19591 | |
19592 | // required string src = 1; |
19593 | inline bool GetAdditionalDatanodeRequestProto::has_src() const { |
19594 | return (_has_bits_[0] & 0x00000001u) != 0; |
19595 | } |
19596 | inline void GetAdditionalDatanodeRequestProto::set_has_src() { |
19597 | _has_bits_[0] |= 0x00000001u; |
19598 | } |
19599 | inline void GetAdditionalDatanodeRequestProto::clear_has_src() { |
19600 | _has_bits_[0] &= ~0x00000001u; |
19601 | } |
19602 | inline void GetAdditionalDatanodeRequestProto::clear_src() { |
19603 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19604 | clear_has_src(); |
19605 | } |
19606 | inline const ::std::string& GetAdditionalDatanodeRequestProto::src() const { |
19607 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19608 | return src_.GetNoArena(); |
19609 | } |
19610 | inline void GetAdditionalDatanodeRequestProto::set_src(const ::std::string& value) { |
19611 | set_has_src(); |
19612 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19613 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19614 | } |
19615 | #if LANG_CXX11 |
19616 | inline void GetAdditionalDatanodeRequestProto::set_src(::std::string&& value) { |
19617 | set_has_src(); |
19618 | src_.SetNoArena( |
19619 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19620 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19621 | } |
19622 | #endif |
19623 | inline void GetAdditionalDatanodeRequestProto::set_src(const char* value) { |
19624 | GOOGLE_DCHECK(value != NULL); |
19625 | set_has_src(); |
19626 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19627 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19628 | } |
19629 | inline void GetAdditionalDatanodeRequestProto::set_src(const char* value, size_t size) { |
19630 | set_has_src(); |
19631 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19632 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19633 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19634 | } |
19635 | inline ::std::string* GetAdditionalDatanodeRequestProto::mutable_src() { |
19636 | set_has_src(); |
19637 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19638 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19639 | } |
19640 | inline ::std::string* GetAdditionalDatanodeRequestProto::release_src() { |
19641 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19642 | if (!has_src()) { |
19643 | return NULL; |
19644 | } |
19645 | clear_has_src(); |
19646 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19647 | } |
19648 | inline void GetAdditionalDatanodeRequestProto::set_allocated_src(::std::string* src) { |
19649 | if (src != NULL) { |
19650 | set_has_src(); |
19651 | } else { |
19652 | clear_has_src(); |
19653 | } |
19654 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
19655 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetAdditionalDatanodeRequestProto.src) |
19656 | } |
19657 | |
19658 | // required .Hdfs.Internal.ExtendedBlockProto blk = 2; |
19659 | inline bool GetAdditionalDatanodeRequestProto::has_blk() const { |
19660 | return (_has_bits_[0] & 0x00000004u) != 0; |
19661 | } |
19662 | inline void GetAdditionalDatanodeRequestProto::set_has_blk() { |
19663 | _has_bits_[0] |= 0x00000004u; |
19664 | } |
19665 | inline void GetAdditionalDatanodeRequestProto::clear_has_blk() { |
19666 | _has_bits_[0] &= ~0x00000004u; |
19667 | } |
19668 | inline const ::Hdfs::Internal::ExtendedBlockProto& GetAdditionalDatanodeRequestProto::_internal_blk() const { |
19669 | return *blk_; |
19670 | } |
19671 | inline const ::Hdfs::Internal::ExtendedBlockProto& GetAdditionalDatanodeRequestProto::blk() const { |
19672 | const ::Hdfs::Internal::ExtendedBlockProto* p = blk_; |
19673 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.blk) |
19674 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
19675 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
19676 | } |
19677 | inline ::Hdfs::Internal::ExtendedBlockProto* GetAdditionalDatanodeRequestProto::release_blk() { |
19678 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetAdditionalDatanodeRequestProto.blk) |
19679 | clear_has_blk(); |
19680 | ::Hdfs::Internal::ExtendedBlockProto* temp = blk_; |
19681 | blk_ = NULL; |
19682 | return temp; |
19683 | } |
19684 | inline ::Hdfs::Internal::ExtendedBlockProto* GetAdditionalDatanodeRequestProto::mutable_blk() { |
19685 | set_has_blk(); |
19686 | if (blk_ == NULL) { |
19687 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
19688 | blk_ = p; |
19689 | } |
19690 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.blk) |
19691 | return blk_; |
19692 | } |
19693 | inline void GetAdditionalDatanodeRequestProto::set_allocated_blk(::Hdfs::Internal::ExtendedBlockProto* blk) { |
19694 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
19695 | if (message_arena == NULL) { |
19696 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(blk_); |
19697 | } |
19698 | if (blk) { |
19699 | ::google::protobuf::Arena* submessage_arena = NULL; |
19700 | if (message_arena != submessage_arena) { |
19701 | blk = ::google::protobuf::internal::GetOwnedMessage( |
19702 | message_arena, blk, submessage_arena); |
19703 | } |
19704 | set_has_blk(); |
19705 | } else { |
19706 | clear_has_blk(); |
19707 | } |
19708 | blk_ = blk; |
19709 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetAdditionalDatanodeRequestProto.blk) |
19710 | } |
19711 | |
19712 | // repeated .Hdfs.Internal.DatanodeInfoProto existings = 3; |
19713 | inline int GetAdditionalDatanodeRequestProto::existings_size() const { |
19714 | return existings_.size(); |
19715 | } |
19716 | inline ::Hdfs::Internal::DatanodeInfoProto* GetAdditionalDatanodeRequestProto::mutable_existings(int index) { |
19717 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existings) |
19718 | return existings_.Mutable(index); |
19719 | } |
19720 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
19721 | GetAdditionalDatanodeRequestProto::mutable_existings() { |
19722 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existings) |
19723 | return &existings_; |
19724 | } |
19725 | inline const ::Hdfs::Internal::DatanodeInfoProto& GetAdditionalDatanodeRequestProto::existings(int index) const { |
19726 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existings) |
19727 | return existings_.Get(index); |
19728 | } |
19729 | inline ::Hdfs::Internal::DatanodeInfoProto* GetAdditionalDatanodeRequestProto::add_existings() { |
19730 | // @@protoc_insertion_point(field_add:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existings) |
19731 | return existings_.Add(); |
19732 | } |
19733 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
19734 | GetAdditionalDatanodeRequestProto::existings() const { |
19735 | // @@protoc_insertion_point(field_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existings) |
19736 | return existings_; |
19737 | } |
19738 | |
19739 | // repeated .Hdfs.Internal.DatanodeInfoProto excludes = 4; |
19740 | inline int GetAdditionalDatanodeRequestProto::excludes_size() const { |
19741 | return excludes_.size(); |
19742 | } |
19743 | inline ::Hdfs::Internal::DatanodeInfoProto* GetAdditionalDatanodeRequestProto::mutable_excludes(int index) { |
19744 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.excludes) |
19745 | return excludes_.Mutable(index); |
19746 | } |
19747 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
19748 | GetAdditionalDatanodeRequestProto::mutable_excludes() { |
19749 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.excludes) |
19750 | return &excludes_; |
19751 | } |
19752 | inline const ::Hdfs::Internal::DatanodeInfoProto& GetAdditionalDatanodeRequestProto::excludes(int index) const { |
19753 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.excludes) |
19754 | return excludes_.Get(index); |
19755 | } |
19756 | inline ::Hdfs::Internal::DatanodeInfoProto* GetAdditionalDatanodeRequestProto::add_excludes() { |
19757 | // @@protoc_insertion_point(field_add:Hdfs.Internal.GetAdditionalDatanodeRequestProto.excludes) |
19758 | return excludes_.Add(); |
19759 | } |
19760 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
19761 | GetAdditionalDatanodeRequestProto::excludes() const { |
19762 | // @@protoc_insertion_point(field_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.excludes) |
19763 | return excludes_; |
19764 | } |
19765 | |
19766 | // required uint32 numAdditionalNodes = 5; |
19767 | inline bool GetAdditionalDatanodeRequestProto::has_numadditionalnodes() const { |
19768 | return (_has_bits_[0] & 0x00000008u) != 0; |
19769 | } |
19770 | inline void GetAdditionalDatanodeRequestProto::set_has_numadditionalnodes() { |
19771 | _has_bits_[0] |= 0x00000008u; |
19772 | } |
19773 | inline void GetAdditionalDatanodeRequestProto::clear_has_numadditionalnodes() { |
19774 | _has_bits_[0] &= ~0x00000008u; |
19775 | } |
19776 | inline void GetAdditionalDatanodeRequestProto::clear_numadditionalnodes() { |
19777 | numadditionalnodes_ = 0u; |
19778 | clear_has_numadditionalnodes(); |
19779 | } |
19780 | inline ::google::protobuf::uint32 GetAdditionalDatanodeRequestProto::numadditionalnodes() const { |
19781 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.numAdditionalNodes) |
19782 | return numadditionalnodes_; |
19783 | } |
19784 | inline void GetAdditionalDatanodeRequestProto::set_numadditionalnodes(::google::protobuf::uint32 value) { |
19785 | set_has_numadditionalnodes(); |
19786 | numadditionalnodes_ = value; |
19787 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetAdditionalDatanodeRequestProto.numAdditionalNodes) |
19788 | } |
19789 | |
19790 | // required string clientName = 6; |
19791 | inline bool GetAdditionalDatanodeRequestProto::has_clientname() const { |
19792 | return (_has_bits_[0] & 0x00000002u) != 0; |
19793 | } |
19794 | inline void GetAdditionalDatanodeRequestProto::set_has_clientname() { |
19795 | _has_bits_[0] |= 0x00000002u; |
19796 | } |
19797 | inline void GetAdditionalDatanodeRequestProto::clear_has_clientname() { |
19798 | _has_bits_[0] &= ~0x00000002u; |
19799 | } |
19800 | inline void GetAdditionalDatanodeRequestProto::clear_clientname() { |
19801 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19802 | clear_has_clientname(); |
19803 | } |
19804 | inline const ::std::string& GetAdditionalDatanodeRequestProto::clientname() const { |
19805 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19806 | return clientname_.GetNoArena(); |
19807 | } |
19808 | inline void GetAdditionalDatanodeRequestProto::set_clientname(const ::std::string& value) { |
19809 | set_has_clientname(); |
19810 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
19811 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19812 | } |
19813 | #if LANG_CXX11 |
19814 | inline void GetAdditionalDatanodeRequestProto::set_clientname(::std::string&& value) { |
19815 | set_has_clientname(); |
19816 | clientname_.SetNoArena( |
19817 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
19818 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19819 | } |
19820 | #endif |
19821 | inline void GetAdditionalDatanodeRequestProto::set_clientname(const char* value) { |
19822 | GOOGLE_DCHECK(value != NULL); |
19823 | set_has_clientname(); |
19824 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
19825 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19826 | } |
19827 | inline void GetAdditionalDatanodeRequestProto::set_clientname(const char* value, size_t size) { |
19828 | set_has_clientname(); |
19829 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
19830 | ::std::string(reinterpret_cast<const char*>(value), size)); |
19831 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19832 | } |
19833 | inline ::std::string* GetAdditionalDatanodeRequestProto::mutable_clientname() { |
19834 | set_has_clientname(); |
19835 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19836 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19837 | } |
19838 | inline ::std::string* GetAdditionalDatanodeRequestProto::release_clientname() { |
19839 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19840 | if (!has_clientname()) { |
19841 | return NULL; |
19842 | } |
19843 | clear_has_clientname(); |
19844 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19845 | } |
19846 | inline void GetAdditionalDatanodeRequestProto::set_allocated_clientname(::std::string* clientname) { |
19847 | if (clientname != NULL) { |
19848 | set_has_clientname(); |
19849 | } else { |
19850 | clear_has_clientname(); |
19851 | } |
19852 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
19853 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetAdditionalDatanodeRequestProto.clientName) |
19854 | } |
19855 | |
19856 | // repeated string existingStorageUuids = 7; |
19857 | inline int GetAdditionalDatanodeRequestProto::existingstorageuuids_size() const { |
19858 | return existingstorageuuids_.size(); |
19859 | } |
19860 | inline void GetAdditionalDatanodeRequestProto::clear_existingstorageuuids() { |
19861 | existingstorageuuids_.Clear(); |
19862 | } |
19863 | inline const ::std::string& GetAdditionalDatanodeRequestProto::existingstorageuuids(int index) const { |
19864 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19865 | return existingstorageuuids_.Get(index); |
19866 | } |
19867 | inline ::std::string* GetAdditionalDatanodeRequestProto::mutable_existingstorageuuids(int index) { |
19868 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19869 | return existingstorageuuids_.Mutable(index); |
19870 | } |
19871 | inline void GetAdditionalDatanodeRequestProto::set_existingstorageuuids(int index, const ::std::string& value) { |
19872 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19873 | existingstorageuuids_.Mutable(index)->assign(value); |
19874 | } |
19875 | #if LANG_CXX11 |
19876 | inline void GetAdditionalDatanodeRequestProto::set_existingstorageuuids(int index, ::std::string&& value) { |
19877 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19878 | existingstorageuuids_.Mutable(index)->assign(std::move(value)); |
19879 | } |
19880 | #endif |
19881 | inline void GetAdditionalDatanodeRequestProto::set_existingstorageuuids(int index, const char* value) { |
19882 | GOOGLE_DCHECK(value != NULL); |
19883 | existingstorageuuids_.Mutable(index)->assign(value); |
19884 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19885 | } |
19886 | inline void GetAdditionalDatanodeRequestProto::set_existingstorageuuids(int index, const char* value, size_t size) { |
19887 | existingstorageuuids_.Mutable(index)->assign( |
19888 | reinterpret_cast<const char*>(value), size); |
19889 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19890 | } |
19891 | inline ::std::string* GetAdditionalDatanodeRequestProto::add_existingstorageuuids() { |
19892 | // @@protoc_insertion_point(field_add_mutable:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19893 | return existingstorageuuids_.Add(); |
19894 | } |
19895 | inline void GetAdditionalDatanodeRequestProto::add_existingstorageuuids(const ::std::string& value) { |
19896 | existingstorageuuids_.Add()->assign(value); |
19897 | // @@protoc_insertion_point(field_add:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19898 | } |
19899 | #if LANG_CXX11 |
19900 | inline void GetAdditionalDatanodeRequestProto::add_existingstorageuuids(::std::string&& value) { |
19901 | existingstorageuuids_.Add(std::move(value)); |
19902 | // @@protoc_insertion_point(field_add:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19903 | } |
19904 | #endif |
19905 | inline void GetAdditionalDatanodeRequestProto::add_existingstorageuuids(const char* value) { |
19906 | GOOGLE_DCHECK(value != NULL); |
19907 | existingstorageuuids_.Add()->assign(value); |
19908 | // @@protoc_insertion_point(field_add_char:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19909 | } |
19910 | inline void GetAdditionalDatanodeRequestProto::add_existingstorageuuids(const char* value, size_t size) { |
19911 | existingstorageuuids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
19912 | // @@protoc_insertion_point(field_add_pointer:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19913 | } |
19914 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
19915 | GetAdditionalDatanodeRequestProto::existingstorageuuids() const { |
19916 | // @@protoc_insertion_point(field_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19917 | return existingstorageuuids_; |
19918 | } |
19919 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
19920 | GetAdditionalDatanodeRequestProto::mutable_existingstorageuuids() { |
19921 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.GetAdditionalDatanodeRequestProto.existingStorageUuids) |
19922 | return &existingstorageuuids_; |
19923 | } |
19924 | |
19925 | // ------------------------------------------------------------------- |
19926 | |
19927 | // GetAdditionalDatanodeResponseProto |
19928 | |
19929 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
19930 | inline bool GetAdditionalDatanodeResponseProto::has_block() const { |
19931 | return (_has_bits_[0] & 0x00000001u) != 0; |
19932 | } |
19933 | inline void GetAdditionalDatanodeResponseProto::set_has_block() { |
19934 | _has_bits_[0] |= 0x00000001u; |
19935 | } |
19936 | inline void GetAdditionalDatanodeResponseProto::clear_has_block() { |
19937 | _has_bits_[0] &= ~0x00000001u; |
19938 | } |
19939 | inline const ::Hdfs::Internal::LocatedBlockProto& GetAdditionalDatanodeResponseProto::_internal_block() const { |
19940 | return *block_; |
19941 | } |
19942 | inline const ::Hdfs::Internal::LocatedBlockProto& GetAdditionalDatanodeResponseProto::block() const { |
19943 | const ::Hdfs::Internal::LocatedBlockProto* p = block_; |
19944 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetAdditionalDatanodeResponseProto.block) |
19945 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::LocatedBlockProto*>( |
19946 | &::Hdfs::Internal::_LocatedBlockProto_default_instance_); |
19947 | } |
19948 | inline ::Hdfs::Internal::LocatedBlockProto* GetAdditionalDatanodeResponseProto::release_block() { |
19949 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetAdditionalDatanodeResponseProto.block) |
19950 | clear_has_block(); |
19951 | ::Hdfs::Internal::LocatedBlockProto* temp = block_; |
19952 | block_ = NULL; |
19953 | return temp; |
19954 | } |
19955 | inline ::Hdfs::Internal::LocatedBlockProto* GetAdditionalDatanodeResponseProto::mutable_block() { |
19956 | set_has_block(); |
19957 | if (block_ == NULL) { |
19958 | auto* p = CreateMaybeMessage<::Hdfs::Internal::LocatedBlockProto>(GetArenaNoVirtual()); |
19959 | block_ = p; |
19960 | } |
19961 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetAdditionalDatanodeResponseProto.block) |
19962 | return block_; |
19963 | } |
19964 | inline void GetAdditionalDatanodeResponseProto::set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block) { |
19965 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
19966 | if (message_arena == NULL) { |
19967 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(block_); |
19968 | } |
19969 | if (block) { |
19970 | ::google::protobuf::Arena* submessage_arena = NULL; |
19971 | if (message_arena != submessage_arena) { |
19972 | block = ::google::protobuf::internal::GetOwnedMessage( |
19973 | message_arena, block, submessage_arena); |
19974 | } |
19975 | set_has_block(); |
19976 | } else { |
19977 | clear_has_block(); |
19978 | } |
19979 | block_ = block; |
19980 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetAdditionalDatanodeResponseProto.block) |
19981 | } |
19982 | |
19983 | // ------------------------------------------------------------------- |
19984 | |
19985 | // CompleteRequestProto |
19986 | |
19987 | // required string src = 1; |
19988 | inline bool CompleteRequestProto::has_src() const { |
19989 | return (_has_bits_[0] & 0x00000001u) != 0; |
19990 | } |
19991 | inline void CompleteRequestProto::set_has_src() { |
19992 | _has_bits_[0] |= 0x00000001u; |
19993 | } |
19994 | inline void CompleteRequestProto::clear_has_src() { |
19995 | _has_bits_[0] &= ~0x00000001u; |
19996 | } |
19997 | inline void CompleteRequestProto::clear_src() { |
19998 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
19999 | clear_has_src(); |
20000 | } |
20001 | inline const ::std::string& CompleteRequestProto::src() const { |
20002 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CompleteRequestProto.src) |
20003 | return src_.GetNoArena(); |
20004 | } |
20005 | inline void CompleteRequestProto::set_src(const ::std::string& value) { |
20006 | set_has_src(); |
20007 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20008 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CompleteRequestProto.src) |
20009 | } |
20010 | #if LANG_CXX11 |
20011 | inline void CompleteRequestProto::set_src(::std::string&& value) { |
20012 | set_has_src(); |
20013 | src_.SetNoArena( |
20014 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20015 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CompleteRequestProto.src) |
20016 | } |
20017 | #endif |
20018 | inline void CompleteRequestProto::set_src(const char* value) { |
20019 | GOOGLE_DCHECK(value != NULL); |
20020 | set_has_src(); |
20021 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20022 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CompleteRequestProto.src) |
20023 | } |
20024 | inline void CompleteRequestProto::set_src(const char* value, size_t size) { |
20025 | set_has_src(); |
20026 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20027 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20028 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CompleteRequestProto.src) |
20029 | } |
20030 | inline ::std::string* CompleteRequestProto::mutable_src() { |
20031 | set_has_src(); |
20032 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CompleteRequestProto.src) |
20033 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20034 | } |
20035 | inline ::std::string* CompleteRequestProto::release_src() { |
20036 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CompleteRequestProto.src) |
20037 | if (!has_src()) { |
20038 | return NULL; |
20039 | } |
20040 | clear_has_src(); |
20041 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20042 | } |
20043 | inline void CompleteRequestProto::set_allocated_src(::std::string* src) { |
20044 | if (src != NULL) { |
20045 | set_has_src(); |
20046 | } else { |
20047 | clear_has_src(); |
20048 | } |
20049 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
20050 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CompleteRequestProto.src) |
20051 | } |
20052 | |
20053 | // required string clientName = 2; |
20054 | inline bool CompleteRequestProto::has_clientname() const { |
20055 | return (_has_bits_[0] & 0x00000002u) != 0; |
20056 | } |
20057 | inline void CompleteRequestProto::set_has_clientname() { |
20058 | _has_bits_[0] |= 0x00000002u; |
20059 | } |
20060 | inline void CompleteRequestProto::clear_has_clientname() { |
20061 | _has_bits_[0] &= ~0x00000002u; |
20062 | } |
20063 | inline void CompleteRequestProto::clear_clientname() { |
20064 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20065 | clear_has_clientname(); |
20066 | } |
20067 | inline const ::std::string& CompleteRequestProto::clientname() const { |
20068 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CompleteRequestProto.clientName) |
20069 | return clientname_.GetNoArena(); |
20070 | } |
20071 | inline void CompleteRequestProto::set_clientname(const ::std::string& value) { |
20072 | set_has_clientname(); |
20073 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20074 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CompleteRequestProto.clientName) |
20075 | } |
20076 | #if LANG_CXX11 |
20077 | inline void CompleteRequestProto::set_clientname(::std::string&& value) { |
20078 | set_has_clientname(); |
20079 | clientname_.SetNoArena( |
20080 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20081 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CompleteRequestProto.clientName) |
20082 | } |
20083 | #endif |
20084 | inline void CompleteRequestProto::set_clientname(const char* value) { |
20085 | GOOGLE_DCHECK(value != NULL); |
20086 | set_has_clientname(); |
20087 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20088 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CompleteRequestProto.clientName) |
20089 | } |
20090 | inline void CompleteRequestProto::set_clientname(const char* value, size_t size) { |
20091 | set_has_clientname(); |
20092 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20093 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20094 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CompleteRequestProto.clientName) |
20095 | } |
20096 | inline ::std::string* CompleteRequestProto::mutable_clientname() { |
20097 | set_has_clientname(); |
20098 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CompleteRequestProto.clientName) |
20099 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20100 | } |
20101 | inline ::std::string* CompleteRequestProto::release_clientname() { |
20102 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CompleteRequestProto.clientName) |
20103 | if (!has_clientname()) { |
20104 | return NULL; |
20105 | } |
20106 | clear_has_clientname(); |
20107 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20108 | } |
20109 | inline void CompleteRequestProto::set_allocated_clientname(::std::string* clientname) { |
20110 | if (clientname != NULL) { |
20111 | set_has_clientname(); |
20112 | } else { |
20113 | clear_has_clientname(); |
20114 | } |
20115 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
20116 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CompleteRequestProto.clientName) |
20117 | } |
20118 | |
20119 | // optional .Hdfs.Internal.ExtendedBlockProto last = 3; |
20120 | inline bool CompleteRequestProto::has_last() const { |
20121 | return (_has_bits_[0] & 0x00000004u) != 0; |
20122 | } |
20123 | inline void CompleteRequestProto::set_has_last() { |
20124 | _has_bits_[0] |= 0x00000004u; |
20125 | } |
20126 | inline void CompleteRequestProto::clear_has_last() { |
20127 | _has_bits_[0] &= ~0x00000004u; |
20128 | } |
20129 | inline const ::Hdfs::Internal::ExtendedBlockProto& CompleteRequestProto::_internal_last() const { |
20130 | return *last_; |
20131 | } |
20132 | inline const ::Hdfs::Internal::ExtendedBlockProto& CompleteRequestProto::last() const { |
20133 | const ::Hdfs::Internal::ExtendedBlockProto* p = last_; |
20134 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CompleteRequestProto.last) |
20135 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
20136 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
20137 | } |
20138 | inline ::Hdfs::Internal::ExtendedBlockProto* CompleteRequestProto::release_last() { |
20139 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CompleteRequestProto.last) |
20140 | clear_has_last(); |
20141 | ::Hdfs::Internal::ExtendedBlockProto* temp = last_; |
20142 | last_ = NULL; |
20143 | return temp; |
20144 | } |
20145 | inline ::Hdfs::Internal::ExtendedBlockProto* CompleteRequestProto::mutable_last() { |
20146 | set_has_last(); |
20147 | if (last_ == NULL) { |
20148 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
20149 | last_ = p; |
20150 | } |
20151 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CompleteRequestProto.last) |
20152 | return last_; |
20153 | } |
20154 | inline void CompleteRequestProto::set_allocated_last(::Hdfs::Internal::ExtendedBlockProto* last) { |
20155 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
20156 | if (message_arena == NULL) { |
20157 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(last_); |
20158 | } |
20159 | if (last) { |
20160 | ::google::protobuf::Arena* submessage_arena = NULL; |
20161 | if (message_arena != submessage_arena) { |
20162 | last = ::google::protobuf::internal::GetOwnedMessage( |
20163 | message_arena, last, submessage_arena); |
20164 | } |
20165 | set_has_last(); |
20166 | } else { |
20167 | clear_has_last(); |
20168 | } |
20169 | last_ = last; |
20170 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CompleteRequestProto.last) |
20171 | } |
20172 | |
20173 | // optional uint64 fileId = 4 [default = 0]; |
20174 | inline bool CompleteRequestProto::has_fileid() const { |
20175 | return (_has_bits_[0] & 0x00000008u) != 0; |
20176 | } |
20177 | inline void CompleteRequestProto::set_has_fileid() { |
20178 | _has_bits_[0] |= 0x00000008u; |
20179 | } |
20180 | inline void CompleteRequestProto::clear_has_fileid() { |
20181 | _has_bits_[0] &= ~0x00000008u; |
20182 | } |
20183 | inline void CompleteRequestProto::clear_fileid() { |
20184 | fileid_ = GOOGLE_ULONGLONG(0); |
20185 | clear_has_fileid(); |
20186 | } |
20187 | inline ::google::protobuf::uint64 CompleteRequestProto::fileid() const { |
20188 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CompleteRequestProto.fileId) |
20189 | return fileid_; |
20190 | } |
20191 | inline void CompleteRequestProto::set_fileid(::google::protobuf::uint64 value) { |
20192 | set_has_fileid(); |
20193 | fileid_ = value; |
20194 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CompleteRequestProto.fileId) |
20195 | } |
20196 | |
20197 | // ------------------------------------------------------------------- |
20198 | |
20199 | // CompleteResponseProto |
20200 | |
20201 | // required bool result = 1; |
20202 | inline bool CompleteResponseProto::has_result() const { |
20203 | return (_has_bits_[0] & 0x00000001u) != 0; |
20204 | } |
20205 | inline void CompleteResponseProto::set_has_result() { |
20206 | _has_bits_[0] |= 0x00000001u; |
20207 | } |
20208 | inline void CompleteResponseProto::clear_has_result() { |
20209 | _has_bits_[0] &= ~0x00000001u; |
20210 | } |
20211 | inline void CompleteResponseProto::clear_result() { |
20212 | result_ = false; |
20213 | clear_has_result(); |
20214 | } |
20215 | inline bool CompleteResponseProto::result() const { |
20216 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CompleteResponseProto.result) |
20217 | return result_; |
20218 | } |
20219 | inline void CompleteResponseProto::set_result(bool value) { |
20220 | set_has_result(); |
20221 | result_ = value; |
20222 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CompleteResponseProto.result) |
20223 | } |
20224 | |
20225 | // ------------------------------------------------------------------- |
20226 | |
20227 | // ReportBadBlocksRequestProto |
20228 | |
20229 | // repeated .Hdfs.Internal.LocatedBlockProto blocks = 1; |
20230 | inline int ReportBadBlocksRequestProto::blocks_size() const { |
20231 | return blocks_.size(); |
20232 | } |
20233 | inline ::Hdfs::Internal::LocatedBlockProto* ReportBadBlocksRequestProto::mutable_blocks(int index) { |
20234 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ReportBadBlocksRequestProto.blocks) |
20235 | return blocks_.Mutable(index); |
20236 | } |
20237 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::LocatedBlockProto >* |
20238 | ReportBadBlocksRequestProto::mutable_blocks() { |
20239 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.ReportBadBlocksRequestProto.blocks) |
20240 | return &blocks_; |
20241 | } |
20242 | inline const ::Hdfs::Internal::LocatedBlockProto& ReportBadBlocksRequestProto::blocks(int index) const { |
20243 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ReportBadBlocksRequestProto.blocks) |
20244 | return blocks_.Get(index); |
20245 | } |
20246 | inline ::Hdfs::Internal::LocatedBlockProto* ReportBadBlocksRequestProto::add_blocks() { |
20247 | // @@protoc_insertion_point(field_add:Hdfs.Internal.ReportBadBlocksRequestProto.blocks) |
20248 | return blocks_.Add(); |
20249 | } |
20250 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::LocatedBlockProto >& |
20251 | ReportBadBlocksRequestProto::blocks() const { |
20252 | // @@protoc_insertion_point(field_list:Hdfs.Internal.ReportBadBlocksRequestProto.blocks) |
20253 | return blocks_; |
20254 | } |
20255 | |
20256 | // ------------------------------------------------------------------- |
20257 | |
20258 | // ReportBadBlocksResponseProto |
20259 | |
20260 | // ------------------------------------------------------------------- |
20261 | |
20262 | // ConcatRequestProto |
20263 | |
20264 | // required string trg = 1; |
20265 | inline bool ConcatRequestProto::has_trg() const { |
20266 | return (_has_bits_[0] & 0x00000001u) != 0; |
20267 | } |
20268 | inline void ConcatRequestProto::set_has_trg() { |
20269 | _has_bits_[0] |= 0x00000001u; |
20270 | } |
20271 | inline void ConcatRequestProto::clear_has_trg() { |
20272 | _has_bits_[0] &= ~0x00000001u; |
20273 | } |
20274 | inline void ConcatRequestProto::clear_trg() { |
20275 | trg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20276 | clear_has_trg(); |
20277 | } |
20278 | inline const ::std::string& ConcatRequestProto::trg() const { |
20279 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ConcatRequestProto.trg) |
20280 | return trg_.GetNoArena(); |
20281 | } |
20282 | inline void ConcatRequestProto::set_trg(const ::std::string& value) { |
20283 | set_has_trg(); |
20284 | trg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20285 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ConcatRequestProto.trg) |
20286 | } |
20287 | #if LANG_CXX11 |
20288 | inline void ConcatRequestProto::set_trg(::std::string&& value) { |
20289 | set_has_trg(); |
20290 | trg_.SetNoArena( |
20291 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20292 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ConcatRequestProto.trg) |
20293 | } |
20294 | #endif |
20295 | inline void ConcatRequestProto::set_trg(const char* value) { |
20296 | GOOGLE_DCHECK(value != NULL); |
20297 | set_has_trg(); |
20298 | trg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20299 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ConcatRequestProto.trg) |
20300 | } |
20301 | inline void ConcatRequestProto::set_trg(const char* value, size_t size) { |
20302 | set_has_trg(); |
20303 | trg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20304 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20305 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ConcatRequestProto.trg) |
20306 | } |
20307 | inline ::std::string* ConcatRequestProto::mutable_trg() { |
20308 | set_has_trg(); |
20309 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ConcatRequestProto.trg) |
20310 | return trg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20311 | } |
20312 | inline ::std::string* ConcatRequestProto::release_trg() { |
20313 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ConcatRequestProto.trg) |
20314 | if (!has_trg()) { |
20315 | return NULL; |
20316 | } |
20317 | clear_has_trg(); |
20318 | return trg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20319 | } |
20320 | inline void ConcatRequestProto::set_allocated_trg(::std::string* trg) { |
20321 | if (trg != NULL) { |
20322 | set_has_trg(); |
20323 | } else { |
20324 | clear_has_trg(); |
20325 | } |
20326 | trg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), trg); |
20327 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ConcatRequestProto.trg) |
20328 | } |
20329 | |
20330 | // repeated string srcs = 2; |
20331 | inline int ConcatRequestProto::srcs_size() const { |
20332 | return srcs_.size(); |
20333 | } |
20334 | inline void ConcatRequestProto::clear_srcs() { |
20335 | srcs_.Clear(); |
20336 | } |
20337 | inline const ::std::string& ConcatRequestProto::srcs(int index) const { |
20338 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ConcatRequestProto.srcs) |
20339 | return srcs_.Get(index); |
20340 | } |
20341 | inline ::std::string* ConcatRequestProto::mutable_srcs(int index) { |
20342 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ConcatRequestProto.srcs) |
20343 | return srcs_.Mutable(index); |
20344 | } |
20345 | inline void ConcatRequestProto::set_srcs(int index, const ::std::string& value) { |
20346 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ConcatRequestProto.srcs) |
20347 | srcs_.Mutable(index)->assign(value); |
20348 | } |
20349 | #if LANG_CXX11 |
20350 | inline void ConcatRequestProto::set_srcs(int index, ::std::string&& value) { |
20351 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ConcatRequestProto.srcs) |
20352 | srcs_.Mutable(index)->assign(std::move(value)); |
20353 | } |
20354 | #endif |
20355 | inline void ConcatRequestProto::set_srcs(int index, const char* value) { |
20356 | GOOGLE_DCHECK(value != NULL); |
20357 | srcs_.Mutable(index)->assign(value); |
20358 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ConcatRequestProto.srcs) |
20359 | } |
20360 | inline void ConcatRequestProto::set_srcs(int index, const char* value, size_t size) { |
20361 | srcs_.Mutable(index)->assign( |
20362 | reinterpret_cast<const char*>(value), size); |
20363 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ConcatRequestProto.srcs) |
20364 | } |
20365 | inline ::std::string* ConcatRequestProto::add_srcs() { |
20366 | // @@protoc_insertion_point(field_add_mutable:Hdfs.Internal.ConcatRequestProto.srcs) |
20367 | return srcs_.Add(); |
20368 | } |
20369 | inline void ConcatRequestProto::add_srcs(const ::std::string& value) { |
20370 | srcs_.Add()->assign(value); |
20371 | // @@protoc_insertion_point(field_add:Hdfs.Internal.ConcatRequestProto.srcs) |
20372 | } |
20373 | #if LANG_CXX11 |
20374 | inline void ConcatRequestProto::add_srcs(::std::string&& value) { |
20375 | srcs_.Add(std::move(value)); |
20376 | // @@protoc_insertion_point(field_add:Hdfs.Internal.ConcatRequestProto.srcs) |
20377 | } |
20378 | #endif |
20379 | inline void ConcatRequestProto::add_srcs(const char* value) { |
20380 | GOOGLE_DCHECK(value != NULL); |
20381 | srcs_.Add()->assign(value); |
20382 | // @@protoc_insertion_point(field_add_char:Hdfs.Internal.ConcatRequestProto.srcs) |
20383 | } |
20384 | inline void ConcatRequestProto::add_srcs(const char* value, size_t size) { |
20385 | srcs_.Add()->assign(reinterpret_cast<const char*>(value), size); |
20386 | // @@protoc_insertion_point(field_add_pointer:Hdfs.Internal.ConcatRequestProto.srcs) |
20387 | } |
20388 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
20389 | ConcatRequestProto::srcs() const { |
20390 | // @@protoc_insertion_point(field_list:Hdfs.Internal.ConcatRequestProto.srcs) |
20391 | return srcs_; |
20392 | } |
20393 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
20394 | ConcatRequestProto::mutable_srcs() { |
20395 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.ConcatRequestProto.srcs) |
20396 | return &srcs_; |
20397 | } |
20398 | |
20399 | // ------------------------------------------------------------------- |
20400 | |
20401 | // ConcatResponseProto |
20402 | |
20403 | // ------------------------------------------------------------------- |
20404 | |
20405 | // TruncateRequestProto |
20406 | |
20407 | // required string src = 1; |
20408 | inline bool TruncateRequestProto::has_src() const { |
20409 | return (_has_bits_[0] & 0x00000001u) != 0; |
20410 | } |
20411 | inline void TruncateRequestProto::set_has_src() { |
20412 | _has_bits_[0] |= 0x00000001u; |
20413 | } |
20414 | inline void TruncateRequestProto::clear_has_src() { |
20415 | _has_bits_[0] &= ~0x00000001u; |
20416 | } |
20417 | inline void TruncateRequestProto::clear_src() { |
20418 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20419 | clear_has_src(); |
20420 | } |
20421 | inline const ::std::string& TruncateRequestProto::src() const { |
20422 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TruncateRequestProto.src) |
20423 | return src_.GetNoArena(); |
20424 | } |
20425 | inline void TruncateRequestProto::set_src(const ::std::string& value) { |
20426 | set_has_src(); |
20427 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20428 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TruncateRequestProto.src) |
20429 | } |
20430 | #if LANG_CXX11 |
20431 | inline void TruncateRequestProto::set_src(::std::string&& value) { |
20432 | set_has_src(); |
20433 | src_.SetNoArena( |
20434 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20435 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TruncateRequestProto.src) |
20436 | } |
20437 | #endif |
20438 | inline void TruncateRequestProto::set_src(const char* value) { |
20439 | GOOGLE_DCHECK(value != NULL); |
20440 | set_has_src(); |
20441 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20442 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TruncateRequestProto.src) |
20443 | } |
20444 | inline void TruncateRequestProto::set_src(const char* value, size_t size) { |
20445 | set_has_src(); |
20446 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20447 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20448 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TruncateRequestProto.src) |
20449 | } |
20450 | inline ::std::string* TruncateRequestProto::mutable_src() { |
20451 | set_has_src(); |
20452 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TruncateRequestProto.src) |
20453 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20454 | } |
20455 | inline ::std::string* TruncateRequestProto::release_src() { |
20456 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TruncateRequestProto.src) |
20457 | if (!has_src()) { |
20458 | return NULL; |
20459 | } |
20460 | clear_has_src(); |
20461 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20462 | } |
20463 | inline void TruncateRequestProto::set_allocated_src(::std::string* src) { |
20464 | if (src != NULL) { |
20465 | set_has_src(); |
20466 | } else { |
20467 | clear_has_src(); |
20468 | } |
20469 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
20470 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TruncateRequestProto.src) |
20471 | } |
20472 | |
20473 | // required uint64 newLength = 2; |
20474 | inline bool TruncateRequestProto::has_newlength() const { |
20475 | return (_has_bits_[0] & 0x00000004u) != 0; |
20476 | } |
20477 | inline void TruncateRequestProto::set_has_newlength() { |
20478 | _has_bits_[0] |= 0x00000004u; |
20479 | } |
20480 | inline void TruncateRequestProto::clear_has_newlength() { |
20481 | _has_bits_[0] &= ~0x00000004u; |
20482 | } |
20483 | inline void TruncateRequestProto::clear_newlength() { |
20484 | newlength_ = GOOGLE_ULONGLONG(0); |
20485 | clear_has_newlength(); |
20486 | } |
20487 | inline ::google::protobuf::uint64 TruncateRequestProto::newlength() const { |
20488 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TruncateRequestProto.newLength) |
20489 | return newlength_; |
20490 | } |
20491 | inline void TruncateRequestProto::set_newlength(::google::protobuf::uint64 value) { |
20492 | set_has_newlength(); |
20493 | newlength_ = value; |
20494 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TruncateRequestProto.newLength) |
20495 | } |
20496 | |
20497 | // required string clientName = 3; |
20498 | inline bool TruncateRequestProto::has_clientname() const { |
20499 | return (_has_bits_[0] & 0x00000002u) != 0; |
20500 | } |
20501 | inline void TruncateRequestProto::set_has_clientname() { |
20502 | _has_bits_[0] |= 0x00000002u; |
20503 | } |
20504 | inline void TruncateRequestProto::clear_has_clientname() { |
20505 | _has_bits_[0] &= ~0x00000002u; |
20506 | } |
20507 | inline void TruncateRequestProto::clear_clientname() { |
20508 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20509 | clear_has_clientname(); |
20510 | } |
20511 | inline const ::std::string& TruncateRequestProto::clientname() const { |
20512 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TruncateRequestProto.clientName) |
20513 | return clientname_.GetNoArena(); |
20514 | } |
20515 | inline void TruncateRequestProto::set_clientname(const ::std::string& value) { |
20516 | set_has_clientname(); |
20517 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20518 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TruncateRequestProto.clientName) |
20519 | } |
20520 | #if LANG_CXX11 |
20521 | inline void TruncateRequestProto::set_clientname(::std::string&& value) { |
20522 | set_has_clientname(); |
20523 | clientname_.SetNoArena( |
20524 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20525 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.TruncateRequestProto.clientName) |
20526 | } |
20527 | #endif |
20528 | inline void TruncateRequestProto::set_clientname(const char* value) { |
20529 | GOOGLE_DCHECK(value != NULL); |
20530 | set_has_clientname(); |
20531 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20532 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.TruncateRequestProto.clientName) |
20533 | } |
20534 | inline void TruncateRequestProto::set_clientname(const char* value, size_t size) { |
20535 | set_has_clientname(); |
20536 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20537 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20538 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.TruncateRequestProto.clientName) |
20539 | } |
20540 | inline ::std::string* TruncateRequestProto::mutable_clientname() { |
20541 | set_has_clientname(); |
20542 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.TruncateRequestProto.clientName) |
20543 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20544 | } |
20545 | inline ::std::string* TruncateRequestProto::release_clientname() { |
20546 | // @@protoc_insertion_point(field_release:Hdfs.Internal.TruncateRequestProto.clientName) |
20547 | if (!has_clientname()) { |
20548 | return NULL; |
20549 | } |
20550 | clear_has_clientname(); |
20551 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20552 | } |
20553 | inline void TruncateRequestProto::set_allocated_clientname(::std::string* clientname) { |
20554 | if (clientname != NULL) { |
20555 | set_has_clientname(); |
20556 | } else { |
20557 | clear_has_clientname(); |
20558 | } |
20559 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
20560 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.TruncateRequestProto.clientName) |
20561 | } |
20562 | |
20563 | // ------------------------------------------------------------------- |
20564 | |
20565 | // TruncateResponseProto |
20566 | |
20567 | // required bool result = 1; |
20568 | inline bool TruncateResponseProto::has_result() const { |
20569 | return (_has_bits_[0] & 0x00000001u) != 0; |
20570 | } |
20571 | inline void TruncateResponseProto::set_has_result() { |
20572 | _has_bits_[0] |= 0x00000001u; |
20573 | } |
20574 | inline void TruncateResponseProto::clear_has_result() { |
20575 | _has_bits_[0] &= ~0x00000001u; |
20576 | } |
20577 | inline void TruncateResponseProto::clear_result() { |
20578 | result_ = false; |
20579 | clear_has_result(); |
20580 | } |
20581 | inline bool TruncateResponseProto::result() const { |
20582 | // @@protoc_insertion_point(field_get:Hdfs.Internal.TruncateResponseProto.result) |
20583 | return result_; |
20584 | } |
20585 | inline void TruncateResponseProto::set_result(bool value) { |
20586 | set_has_result(); |
20587 | result_ = value; |
20588 | // @@protoc_insertion_point(field_set:Hdfs.Internal.TruncateResponseProto.result) |
20589 | } |
20590 | |
20591 | // ------------------------------------------------------------------- |
20592 | |
20593 | // GetLeaseRequestProto |
20594 | |
20595 | // required string src = 1; |
20596 | inline bool GetLeaseRequestProto::has_src() const { |
20597 | return (_has_bits_[0] & 0x00000001u) != 0; |
20598 | } |
20599 | inline void GetLeaseRequestProto::set_has_src() { |
20600 | _has_bits_[0] |= 0x00000001u; |
20601 | } |
20602 | inline void GetLeaseRequestProto::clear_has_src() { |
20603 | _has_bits_[0] &= ~0x00000001u; |
20604 | } |
20605 | inline void GetLeaseRequestProto::clear_src() { |
20606 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20607 | clear_has_src(); |
20608 | } |
20609 | inline const ::std::string& GetLeaseRequestProto::src() const { |
20610 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetLeaseRequestProto.src) |
20611 | return src_.GetNoArena(); |
20612 | } |
20613 | inline void GetLeaseRequestProto::set_src(const ::std::string& value) { |
20614 | set_has_src(); |
20615 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20616 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetLeaseRequestProto.src) |
20617 | } |
20618 | #if LANG_CXX11 |
20619 | inline void GetLeaseRequestProto::set_src(::std::string&& value) { |
20620 | set_has_src(); |
20621 | src_.SetNoArena( |
20622 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20623 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetLeaseRequestProto.src) |
20624 | } |
20625 | #endif |
20626 | inline void GetLeaseRequestProto::set_src(const char* value) { |
20627 | GOOGLE_DCHECK(value != NULL); |
20628 | set_has_src(); |
20629 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20630 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetLeaseRequestProto.src) |
20631 | } |
20632 | inline void GetLeaseRequestProto::set_src(const char* value, size_t size) { |
20633 | set_has_src(); |
20634 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20635 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20636 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetLeaseRequestProto.src) |
20637 | } |
20638 | inline ::std::string* GetLeaseRequestProto::mutable_src() { |
20639 | set_has_src(); |
20640 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetLeaseRequestProto.src) |
20641 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20642 | } |
20643 | inline ::std::string* GetLeaseRequestProto::release_src() { |
20644 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetLeaseRequestProto.src) |
20645 | if (!has_src()) { |
20646 | return NULL; |
20647 | } |
20648 | clear_has_src(); |
20649 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20650 | } |
20651 | inline void GetLeaseRequestProto::set_allocated_src(::std::string* src) { |
20652 | if (src != NULL) { |
20653 | set_has_src(); |
20654 | } else { |
20655 | clear_has_src(); |
20656 | } |
20657 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
20658 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetLeaseRequestProto.src) |
20659 | } |
20660 | |
20661 | // required string clientName = 2; |
20662 | inline bool GetLeaseRequestProto::has_clientname() const { |
20663 | return (_has_bits_[0] & 0x00000002u) != 0; |
20664 | } |
20665 | inline void GetLeaseRequestProto::set_has_clientname() { |
20666 | _has_bits_[0] |= 0x00000002u; |
20667 | } |
20668 | inline void GetLeaseRequestProto::clear_has_clientname() { |
20669 | _has_bits_[0] &= ~0x00000002u; |
20670 | } |
20671 | inline void GetLeaseRequestProto::clear_clientname() { |
20672 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20673 | clear_has_clientname(); |
20674 | } |
20675 | inline const ::std::string& GetLeaseRequestProto::clientname() const { |
20676 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20677 | return clientname_.GetNoArena(); |
20678 | } |
20679 | inline void GetLeaseRequestProto::set_clientname(const ::std::string& value) { |
20680 | set_has_clientname(); |
20681 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20682 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20683 | } |
20684 | #if LANG_CXX11 |
20685 | inline void GetLeaseRequestProto::set_clientname(::std::string&& value) { |
20686 | set_has_clientname(); |
20687 | clientname_.SetNoArena( |
20688 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20689 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20690 | } |
20691 | #endif |
20692 | inline void GetLeaseRequestProto::set_clientname(const char* value) { |
20693 | GOOGLE_DCHECK(value != NULL); |
20694 | set_has_clientname(); |
20695 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20696 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20697 | } |
20698 | inline void GetLeaseRequestProto::set_clientname(const char* value, size_t size) { |
20699 | set_has_clientname(); |
20700 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20701 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20702 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20703 | } |
20704 | inline ::std::string* GetLeaseRequestProto::mutable_clientname() { |
20705 | set_has_clientname(); |
20706 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20707 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20708 | } |
20709 | inline ::std::string* GetLeaseRequestProto::release_clientname() { |
20710 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20711 | if (!has_clientname()) { |
20712 | return NULL; |
20713 | } |
20714 | clear_has_clientname(); |
20715 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20716 | } |
20717 | inline void GetLeaseRequestProto::set_allocated_clientname(::std::string* clientname) { |
20718 | if (clientname != NULL) { |
20719 | set_has_clientname(); |
20720 | } else { |
20721 | clear_has_clientname(); |
20722 | } |
20723 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
20724 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetLeaseRequestProto.clientName) |
20725 | } |
20726 | |
20727 | // ------------------------------------------------------------------- |
20728 | |
20729 | // GetLeaseResponseProto |
20730 | |
20731 | // ------------------------------------------------------------------- |
20732 | |
20733 | // ReleaseLeaseRequestProto |
20734 | |
20735 | // required string src = 1; |
20736 | inline bool ReleaseLeaseRequestProto::has_src() const { |
20737 | return (_has_bits_[0] & 0x00000001u) != 0; |
20738 | } |
20739 | inline void ReleaseLeaseRequestProto::set_has_src() { |
20740 | _has_bits_[0] |= 0x00000001u; |
20741 | } |
20742 | inline void ReleaseLeaseRequestProto::clear_has_src() { |
20743 | _has_bits_[0] &= ~0x00000001u; |
20744 | } |
20745 | inline void ReleaseLeaseRequestProto::clear_src() { |
20746 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20747 | clear_has_src(); |
20748 | } |
20749 | inline const ::std::string& ReleaseLeaseRequestProto::src() const { |
20750 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20751 | return src_.GetNoArena(); |
20752 | } |
20753 | inline void ReleaseLeaseRequestProto::set_src(const ::std::string& value) { |
20754 | set_has_src(); |
20755 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20756 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20757 | } |
20758 | #if LANG_CXX11 |
20759 | inline void ReleaseLeaseRequestProto::set_src(::std::string&& value) { |
20760 | set_has_src(); |
20761 | src_.SetNoArena( |
20762 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20763 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20764 | } |
20765 | #endif |
20766 | inline void ReleaseLeaseRequestProto::set_src(const char* value) { |
20767 | GOOGLE_DCHECK(value != NULL); |
20768 | set_has_src(); |
20769 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20770 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20771 | } |
20772 | inline void ReleaseLeaseRequestProto::set_src(const char* value, size_t size) { |
20773 | set_has_src(); |
20774 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20775 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20776 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20777 | } |
20778 | inline ::std::string* ReleaseLeaseRequestProto::mutable_src() { |
20779 | set_has_src(); |
20780 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20781 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20782 | } |
20783 | inline ::std::string* ReleaseLeaseRequestProto::release_src() { |
20784 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20785 | if (!has_src()) { |
20786 | return NULL; |
20787 | } |
20788 | clear_has_src(); |
20789 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20790 | } |
20791 | inline void ReleaseLeaseRequestProto::set_allocated_src(::std::string* src) { |
20792 | if (src != NULL) { |
20793 | set_has_src(); |
20794 | } else { |
20795 | clear_has_src(); |
20796 | } |
20797 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
20798 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ReleaseLeaseRequestProto.src) |
20799 | } |
20800 | |
20801 | // required string clientName = 2; |
20802 | inline bool ReleaseLeaseRequestProto::has_clientname() const { |
20803 | return (_has_bits_[0] & 0x00000002u) != 0; |
20804 | } |
20805 | inline void ReleaseLeaseRequestProto::set_has_clientname() { |
20806 | _has_bits_[0] |= 0x00000002u; |
20807 | } |
20808 | inline void ReleaseLeaseRequestProto::clear_has_clientname() { |
20809 | _has_bits_[0] &= ~0x00000002u; |
20810 | } |
20811 | inline void ReleaseLeaseRequestProto::clear_clientname() { |
20812 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20813 | clear_has_clientname(); |
20814 | } |
20815 | inline const ::std::string& ReleaseLeaseRequestProto::clientname() const { |
20816 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20817 | return clientname_.GetNoArena(); |
20818 | } |
20819 | inline void ReleaseLeaseRequestProto::set_clientname(const ::std::string& value) { |
20820 | set_has_clientname(); |
20821 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20822 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20823 | } |
20824 | #if LANG_CXX11 |
20825 | inline void ReleaseLeaseRequestProto::set_clientname(::std::string&& value) { |
20826 | set_has_clientname(); |
20827 | clientname_.SetNoArena( |
20828 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20829 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20830 | } |
20831 | #endif |
20832 | inline void ReleaseLeaseRequestProto::set_clientname(const char* value) { |
20833 | GOOGLE_DCHECK(value != NULL); |
20834 | set_has_clientname(); |
20835 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20836 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20837 | } |
20838 | inline void ReleaseLeaseRequestProto::set_clientname(const char* value, size_t size) { |
20839 | set_has_clientname(); |
20840 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20841 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20842 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20843 | } |
20844 | inline ::std::string* ReleaseLeaseRequestProto::mutable_clientname() { |
20845 | set_has_clientname(); |
20846 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20847 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20848 | } |
20849 | inline ::std::string* ReleaseLeaseRequestProto::release_clientname() { |
20850 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20851 | if (!has_clientname()) { |
20852 | return NULL; |
20853 | } |
20854 | clear_has_clientname(); |
20855 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20856 | } |
20857 | inline void ReleaseLeaseRequestProto::set_allocated_clientname(::std::string* clientname) { |
20858 | if (clientname != NULL) { |
20859 | set_has_clientname(); |
20860 | } else { |
20861 | clear_has_clientname(); |
20862 | } |
20863 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
20864 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ReleaseLeaseRequestProto.clientName) |
20865 | } |
20866 | |
20867 | // ------------------------------------------------------------------- |
20868 | |
20869 | // ReleaseLeaseResponseProto |
20870 | |
20871 | // ------------------------------------------------------------------- |
20872 | |
20873 | // RenameRequestProto |
20874 | |
20875 | // required string src = 1; |
20876 | inline bool RenameRequestProto::has_src() const { |
20877 | return (_has_bits_[0] & 0x00000001u) != 0; |
20878 | } |
20879 | inline void RenameRequestProto::set_has_src() { |
20880 | _has_bits_[0] |= 0x00000001u; |
20881 | } |
20882 | inline void RenameRequestProto::clear_has_src() { |
20883 | _has_bits_[0] &= ~0x00000001u; |
20884 | } |
20885 | inline void RenameRequestProto::clear_src() { |
20886 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20887 | clear_has_src(); |
20888 | } |
20889 | inline const ::std::string& RenameRequestProto::src() const { |
20890 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameRequestProto.src) |
20891 | return src_.GetNoArena(); |
20892 | } |
20893 | inline void RenameRequestProto::set_src(const ::std::string& value) { |
20894 | set_has_src(); |
20895 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20896 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameRequestProto.src) |
20897 | } |
20898 | #if LANG_CXX11 |
20899 | inline void RenameRequestProto::set_src(::std::string&& value) { |
20900 | set_has_src(); |
20901 | src_.SetNoArena( |
20902 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20903 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenameRequestProto.src) |
20904 | } |
20905 | #endif |
20906 | inline void RenameRequestProto::set_src(const char* value) { |
20907 | GOOGLE_DCHECK(value != NULL); |
20908 | set_has_src(); |
20909 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20910 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenameRequestProto.src) |
20911 | } |
20912 | inline void RenameRequestProto::set_src(const char* value, size_t size) { |
20913 | set_has_src(); |
20914 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20915 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20916 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenameRequestProto.src) |
20917 | } |
20918 | inline ::std::string* RenameRequestProto::mutable_src() { |
20919 | set_has_src(); |
20920 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenameRequestProto.src) |
20921 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20922 | } |
20923 | inline ::std::string* RenameRequestProto::release_src() { |
20924 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenameRequestProto.src) |
20925 | if (!has_src()) { |
20926 | return NULL; |
20927 | } |
20928 | clear_has_src(); |
20929 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20930 | } |
20931 | inline void RenameRequestProto::set_allocated_src(::std::string* src) { |
20932 | if (src != NULL) { |
20933 | set_has_src(); |
20934 | } else { |
20935 | clear_has_src(); |
20936 | } |
20937 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
20938 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenameRequestProto.src) |
20939 | } |
20940 | |
20941 | // required string dst = 2; |
20942 | inline bool RenameRequestProto::has_dst() const { |
20943 | return (_has_bits_[0] & 0x00000002u) != 0; |
20944 | } |
20945 | inline void RenameRequestProto::set_has_dst() { |
20946 | _has_bits_[0] |= 0x00000002u; |
20947 | } |
20948 | inline void RenameRequestProto::clear_has_dst() { |
20949 | _has_bits_[0] &= ~0x00000002u; |
20950 | } |
20951 | inline void RenameRequestProto::clear_dst() { |
20952 | dst_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20953 | clear_has_dst(); |
20954 | } |
20955 | inline const ::std::string& RenameRequestProto::dst() const { |
20956 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameRequestProto.dst) |
20957 | return dst_.GetNoArena(); |
20958 | } |
20959 | inline void RenameRequestProto::set_dst(const ::std::string& value) { |
20960 | set_has_dst(); |
20961 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
20962 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameRequestProto.dst) |
20963 | } |
20964 | #if LANG_CXX11 |
20965 | inline void RenameRequestProto::set_dst(::std::string&& value) { |
20966 | set_has_dst(); |
20967 | dst_.SetNoArena( |
20968 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
20969 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenameRequestProto.dst) |
20970 | } |
20971 | #endif |
20972 | inline void RenameRequestProto::set_dst(const char* value) { |
20973 | GOOGLE_DCHECK(value != NULL); |
20974 | set_has_dst(); |
20975 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
20976 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenameRequestProto.dst) |
20977 | } |
20978 | inline void RenameRequestProto::set_dst(const char* value, size_t size) { |
20979 | set_has_dst(); |
20980 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
20981 | ::std::string(reinterpret_cast<const char*>(value), size)); |
20982 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenameRequestProto.dst) |
20983 | } |
20984 | inline ::std::string* RenameRequestProto::mutable_dst() { |
20985 | set_has_dst(); |
20986 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenameRequestProto.dst) |
20987 | return dst_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20988 | } |
20989 | inline ::std::string* RenameRequestProto::release_dst() { |
20990 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenameRequestProto.dst) |
20991 | if (!has_dst()) { |
20992 | return NULL; |
20993 | } |
20994 | clear_has_dst(); |
20995 | return dst_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
20996 | } |
20997 | inline void RenameRequestProto::set_allocated_dst(::std::string* dst) { |
20998 | if (dst != NULL) { |
20999 | set_has_dst(); |
21000 | } else { |
21001 | clear_has_dst(); |
21002 | } |
21003 | dst_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dst); |
21004 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenameRequestProto.dst) |
21005 | } |
21006 | |
21007 | // ------------------------------------------------------------------- |
21008 | |
21009 | // RenameResponseProto |
21010 | |
21011 | // required bool result = 1; |
21012 | inline bool RenameResponseProto::has_result() const { |
21013 | return (_has_bits_[0] & 0x00000001u) != 0; |
21014 | } |
21015 | inline void RenameResponseProto::set_has_result() { |
21016 | _has_bits_[0] |= 0x00000001u; |
21017 | } |
21018 | inline void RenameResponseProto::clear_has_result() { |
21019 | _has_bits_[0] &= ~0x00000001u; |
21020 | } |
21021 | inline void RenameResponseProto::clear_result() { |
21022 | result_ = false; |
21023 | clear_has_result(); |
21024 | } |
21025 | inline bool RenameResponseProto::result() const { |
21026 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameResponseProto.result) |
21027 | return result_; |
21028 | } |
21029 | inline void RenameResponseProto::set_result(bool value) { |
21030 | set_has_result(); |
21031 | result_ = value; |
21032 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameResponseProto.result) |
21033 | } |
21034 | |
21035 | // ------------------------------------------------------------------- |
21036 | |
21037 | // Rename2RequestProto |
21038 | |
21039 | // required string src = 1; |
21040 | inline bool Rename2RequestProto::has_src() const { |
21041 | return (_has_bits_[0] & 0x00000001u) != 0; |
21042 | } |
21043 | inline void Rename2RequestProto::set_has_src() { |
21044 | _has_bits_[0] |= 0x00000001u; |
21045 | } |
21046 | inline void Rename2RequestProto::clear_has_src() { |
21047 | _has_bits_[0] &= ~0x00000001u; |
21048 | } |
21049 | inline void Rename2RequestProto::clear_src() { |
21050 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21051 | clear_has_src(); |
21052 | } |
21053 | inline const ::std::string& Rename2RequestProto::src() const { |
21054 | // @@protoc_insertion_point(field_get:Hdfs.Internal.Rename2RequestProto.src) |
21055 | return src_.GetNoArena(); |
21056 | } |
21057 | inline void Rename2RequestProto::set_src(const ::std::string& value) { |
21058 | set_has_src(); |
21059 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21060 | // @@protoc_insertion_point(field_set:Hdfs.Internal.Rename2RequestProto.src) |
21061 | } |
21062 | #if LANG_CXX11 |
21063 | inline void Rename2RequestProto::set_src(::std::string&& value) { |
21064 | set_has_src(); |
21065 | src_.SetNoArena( |
21066 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21067 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.Rename2RequestProto.src) |
21068 | } |
21069 | #endif |
21070 | inline void Rename2RequestProto::set_src(const char* value) { |
21071 | GOOGLE_DCHECK(value != NULL); |
21072 | set_has_src(); |
21073 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21074 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.Rename2RequestProto.src) |
21075 | } |
21076 | inline void Rename2RequestProto::set_src(const char* value, size_t size) { |
21077 | set_has_src(); |
21078 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21079 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21080 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.Rename2RequestProto.src) |
21081 | } |
21082 | inline ::std::string* Rename2RequestProto::mutable_src() { |
21083 | set_has_src(); |
21084 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.Rename2RequestProto.src) |
21085 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21086 | } |
21087 | inline ::std::string* Rename2RequestProto::release_src() { |
21088 | // @@protoc_insertion_point(field_release:Hdfs.Internal.Rename2RequestProto.src) |
21089 | if (!has_src()) { |
21090 | return NULL; |
21091 | } |
21092 | clear_has_src(); |
21093 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21094 | } |
21095 | inline void Rename2RequestProto::set_allocated_src(::std::string* src) { |
21096 | if (src != NULL) { |
21097 | set_has_src(); |
21098 | } else { |
21099 | clear_has_src(); |
21100 | } |
21101 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
21102 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.Rename2RequestProto.src) |
21103 | } |
21104 | |
21105 | // required string dst = 2; |
21106 | inline bool Rename2RequestProto::has_dst() const { |
21107 | return (_has_bits_[0] & 0x00000002u) != 0; |
21108 | } |
21109 | inline void Rename2RequestProto::set_has_dst() { |
21110 | _has_bits_[0] |= 0x00000002u; |
21111 | } |
21112 | inline void Rename2RequestProto::clear_has_dst() { |
21113 | _has_bits_[0] &= ~0x00000002u; |
21114 | } |
21115 | inline void Rename2RequestProto::clear_dst() { |
21116 | dst_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21117 | clear_has_dst(); |
21118 | } |
21119 | inline const ::std::string& Rename2RequestProto::dst() const { |
21120 | // @@protoc_insertion_point(field_get:Hdfs.Internal.Rename2RequestProto.dst) |
21121 | return dst_.GetNoArena(); |
21122 | } |
21123 | inline void Rename2RequestProto::set_dst(const ::std::string& value) { |
21124 | set_has_dst(); |
21125 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21126 | // @@protoc_insertion_point(field_set:Hdfs.Internal.Rename2RequestProto.dst) |
21127 | } |
21128 | #if LANG_CXX11 |
21129 | inline void Rename2RequestProto::set_dst(::std::string&& value) { |
21130 | set_has_dst(); |
21131 | dst_.SetNoArena( |
21132 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21133 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.Rename2RequestProto.dst) |
21134 | } |
21135 | #endif |
21136 | inline void Rename2RequestProto::set_dst(const char* value) { |
21137 | GOOGLE_DCHECK(value != NULL); |
21138 | set_has_dst(); |
21139 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21140 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.Rename2RequestProto.dst) |
21141 | } |
21142 | inline void Rename2RequestProto::set_dst(const char* value, size_t size) { |
21143 | set_has_dst(); |
21144 | dst_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21145 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21146 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.Rename2RequestProto.dst) |
21147 | } |
21148 | inline ::std::string* Rename2RequestProto::mutable_dst() { |
21149 | set_has_dst(); |
21150 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.Rename2RequestProto.dst) |
21151 | return dst_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21152 | } |
21153 | inline ::std::string* Rename2RequestProto::release_dst() { |
21154 | // @@protoc_insertion_point(field_release:Hdfs.Internal.Rename2RequestProto.dst) |
21155 | if (!has_dst()) { |
21156 | return NULL; |
21157 | } |
21158 | clear_has_dst(); |
21159 | return dst_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21160 | } |
21161 | inline void Rename2RequestProto::set_allocated_dst(::std::string* dst) { |
21162 | if (dst != NULL) { |
21163 | set_has_dst(); |
21164 | } else { |
21165 | clear_has_dst(); |
21166 | } |
21167 | dst_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dst); |
21168 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.Rename2RequestProto.dst) |
21169 | } |
21170 | |
21171 | // required bool overwriteDest = 3; |
21172 | inline bool Rename2RequestProto::has_overwritedest() const { |
21173 | return (_has_bits_[0] & 0x00000004u) != 0; |
21174 | } |
21175 | inline void Rename2RequestProto::set_has_overwritedest() { |
21176 | _has_bits_[0] |= 0x00000004u; |
21177 | } |
21178 | inline void Rename2RequestProto::clear_has_overwritedest() { |
21179 | _has_bits_[0] &= ~0x00000004u; |
21180 | } |
21181 | inline void Rename2RequestProto::clear_overwritedest() { |
21182 | overwritedest_ = false; |
21183 | clear_has_overwritedest(); |
21184 | } |
21185 | inline bool Rename2RequestProto::overwritedest() const { |
21186 | // @@protoc_insertion_point(field_get:Hdfs.Internal.Rename2RequestProto.overwriteDest) |
21187 | return overwritedest_; |
21188 | } |
21189 | inline void Rename2RequestProto::set_overwritedest(bool value) { |
21190 | set_has_overwritedest(); |
21191 | overwritedest_ = value; |
21192 | // @@protoc_insertion_point(field_set:Hdfs.Internal.Rename2RequestProto.overwriteDest) |
21193 | } |
21194 | |
21195 | // ------------------------------------------------------------------- |
21196 | |
21197 | // Rename2ResponseProto |
21198 | |
21199 | // ------------------------------------------------------------------- |
21200 | |
21201 | // DeleteRequestProto |
21202 | |
21203 | // required string src = 1; |
21204 | inline bool DeleteRequestProto::has_src() const { |
21205 | return (_has_bits_[0] & 0x00000001u) != 0; |
21206 | } |
21207 | inline void DeleteRequestProto::set_has_src() { |
21208 | _has_bits_[0] |= 0x00000001u; |
21209 | } |
21210 | inline void DeleteRequestProto::clear_has_src() { |
21211 | _has_bits_[0] &= ~0x00000001u; |
21212 | } |
21213 | inline void DeleteRequestProto::clear_src() { |
21214 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21215 | clear_has_src(); |
21216 | } |
21217 | inline const ::std::string& DeleteRequestProto::src() const { |
21218 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DeleteRequestProto.src) |
21219 | return src_.GetNoArena(); |
21220 | } |
21221 | inline void DeleteRequestProto::set_src(const ::std::string& value) { |
21222 | set_has_src(); |
21223 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21224 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DeleteRequestProto.src) |
21225 | } |
21226 | #if LANG_CXX11 |
21227 | inline void DeleteRequestProto::set_src(::std::string&& value) { |
21228 | set_has_src(); |
21229 | src_.SetNoArena( |
21230 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21231 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.DeleteRequestProto.src) |
21232 | } |
21233 | #endif |
21234 | inline void DeleteRequestProto::set_src(const char* value) { |
21235 | GOOGLE_DCHECK(value != NULL); |
21236 | set_has_src(); |
21237 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21238 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.DeleteRequestProto.src) |
21239 | } |
21240 | inline void DeleteRequestProto::set_src(const char* value, size_t size) { |
21241 | set_has_src(); |
21242 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21243 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21244 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.DeleteRequestProto.src) |
21245 | } |
21246 | inline ::std::string* DeleteRequestProto::mutable_src() { |
21247 | set_has_src(); |
21248 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.DeleteRequestProto.src) |
21249 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21250 | } |
21251 | inline ::std::string* DeleteRequestProto::release_src() { |
21252 | // @@protoc_insertion_point(field_release:Hdfs.Internal.DeleteRequestProto.src) |
21253 | if (!has_src()) { |
21254 | return NULL; |
21255 | } |
21256 | clear_has_src(); |
21257 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21258 | } |
21259 | inline void DeleteRequestProto::set_allocated_src(::std::string* src) { |
21260 | if (src != NULL) { |
21261 | set_has_src(); |
21262 | } else { |
21263 | clear_has_src(); |
21264 | } |
21265 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
21266 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.DeleteRequestProto.src) |
21267 | } |
21268 | |
21269 | // required bool recursive = 2; |
21270 | inline bool DeleteRequestProto::has_recursive() const { |
21271 | return (_has_bits_[0] & 0x00000002u) != 0; |
21272 | } |
21273 | inline void DeleteRequestProto::set_has_recursive() { |
21274 | _has_bits_[0] |= 0x00000002u; |
21275 | } |
21276 | inline void DeleteRequestProto::clear_has_recursive() { |
21277 | _has_bits_[0] &= ~0x00000002u; |
21278 | } |
21279 | inline void DeleteRequestProto::clear_recursive() { |
21280 | recursive_ = false; |
21281 | clear_has_recursive(); |
21282 | } |
21283 | inline bool DeleteRequestProto::recursive() const { |
21284 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DeleteRequestProto.recursive) |
21285 | return recursive_; |
21286 | } |
21287 | inline void DeleteRequestProto::set_recursive(bool value) { |
21288 | set_has_recursive(); |
21289 | recursive_ = value; |
21290 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DeleteRequestProto.recursive) |
21291 | } |
21292 | |
21293 | // ------------------------------------------------------------------- |
21294 | |
21295 | // DeleteResponseProto |
21296 | |
21297 | // required bool result = 1; |
21298 | inline bool DeleteResponseProto::has_result() const { |
21299 | return (_has_bits_[0] & 0x00000001u) != 0; |
21300 | } |
21301 | inline void DeleteResponseProto::set_has_result() { |
21302 | _has_bits_[0] |= 0x00000001u; |
21303 | } |
21304 | inline void DeleteResponseProto::clear_has_result() { |
21305 | _has_bits_[0] &= ~0x00000001u; |
21306 | } |
21307 | inline void DeleteResponseProto::clear_result() { |
21308 | result_ = false; |
21309 | clear_has_result(); |
21310 | } |
21311 | inline bool DeleteResponseProto::result() const { |
21312 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DeleteResponseProto.result) |
21313 | return result_; |
21314 | } |
21315 | inline void DeleteResponseProto::set_result(bool value) { |
21316 | set_has_result(); |
21317 | result_ = value; |
21318 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DeleteResponseProto.result) |
21319 | } |
21320 | |
21321 | // ------------------------------------------------------------------- |
21322 | |
21323 | // MkdirsRequestProto |
21324 | |
21325 | // required string src = 1; |
21326 | inline bool MkdirsRequestProto::has_src() const { |
21327 | return (_has_bits_[0] & 0x00000001u) != 0; |
21328 | } |
21329 | inline void MkdirsRequestProto::set_has_src() { |
21330 | _has_bits_[0] |= 0x00000001u; |
21331 | } |
21332 | inline void MkdirsRequestProto::clear_has_src() { |
21333 | _has_bits_[0] &= ~0x00000001u; |
21334 | } |
21335 | inline void MkdirsRequestProto::clear_src() { |
21336 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21337 | clear_has_src(); |
21338 | } |
21339 | inline const ::std::string& MkdirsRequestProto::src() const { |
21340 | // @@protoc_insertion_point(field_get:Hdfs.Internal.MkdirsRequestProto.src) |
21341 | return src_.GetNoArena(); |
21342 | } |
21343 | inline void MkdirsRequestProto::set_src(const ::std::string& value) { |
21344 | set_has_src(); |
21345 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21346 | // @@protoc_insertion_point(field_set:Hdfs.Internal.MkdirsRequestProto.src) |
21347 | } |
21348 | #if LANG_CXX11 |
21349 | inline void MkdirsRequestProto::set_src(::std::string&& value) { |
21350 | set_has_src(); |
21351 | src_.SetNoArena( |
21352 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21353 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.MkdirsRequestProto.src) |
21354 | } |
21355 | #endif |
21356 | inline void MkdirsRequestProto::set_src(const char* value) { |
21357 | GOOGLE_DCHECK(value != NULL); |
21358 | set_has_src(); |
21359 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21360 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.MkdirsRequestProto.src) |
21361 | } |
21362 | inline void MkdirsRequestProto::set_src(const char* value, size_t size) { |
21363 | set_has_src(); |
21364 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21365 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21366 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.MkdirsRequestProto.src) |
21367 | } |
21368 | inline ::std::string* MkdirsRequestProto::mutable_src() { |
21369 | set_has_src(); |
21370 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.MkdirsRequestProto.src) |
21371 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21372 | } |
21373 | inline ::std::string* MkdirsRequestProto::release_src() { |
21374 | // @@protoc_insertion_point(field_release:Hdfs.Internal.MkdirsRequestProto.src) |
21375 | if (!has_src()) { |
21376 | return NULL; |
21377 | } |
21378 | clear_has_src(); |
21379 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21380 | } |
21381 | inline void MkdirsRequestProto::set_allocated_src(::std::string* src) { |
21382 | if (src != NULL) { |
21383 | set_has_src(); |
21384 | } else { |
21385 | clear_has_src(); |
21386 | } |
21387 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
21388 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.MkdirsRequestProto.src) |
21389 | } |
21390 | |
21391 | // required .Hdfs.Internal.FsPermissionProto masked = 2; |
21392 | inline bool MkdirsRequestProto::has_masked() const { |
21393 | return (_has_bits_[0] & 0x00000002u) != 0; |
21394 | } |
21395 | inline void MkdirsRequestProto::set_has_masked() { |
21396 | _has_bits_[0] |= 0x00000002u; |
21397 | } |
21398 | inline void MkdirsRequestProto::clear_has_masked() { |
21399 | _has_bits_[0] &= ~0x00000002u; |
21400 | } |
21401 | inline const ::Hdfs::Internal::FsPermissionProto& MkdirsRequestProto::_internal_masked() const { |
21402 | return *masked_; |
21403 | } |
21404 | inline const ::Hdfs::Internal::FsPermissionProto& MkdirsRequestProto::masked() const { |
21405 | const ::Hdfs::Internal::FsPermissionProto* p = masked_; |
21406 | // @@protoc_insertion_point(field_get:Hdfs.Internal.MkdirsRequestProto.masked) |
21407 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::FsPermissionProto*>( |
21408 | &::Hdfs::Internal::_FsPermissionProto_default_instance_); |
21409 | } |
21410 | inline ::Hdfs::Internal::FsPermissionProto* MkdirsRequestProto::release_masked() { |
21411 | // @@protoc_insertion_point(field_release:Hdfs.Internal.MkdirsRequestProto.masked) |
21412 | clear_has_masked(); |
21413 | ::Hdfs::Internal::FsPermissionProto* temp = masked_; |
21414 | masked_ = NULL; |
21415 | return temp; |
21416 | } |
21417 | inline ::Hdfs::Internal::FsPermissionProto* MkdirsRequestProto::mutable_masked() { |
21418 | set_has_masked(); |
21419 | if (masked_ == NULL) { |
21420 | auto* p = CreateMaybeMessage<::Hdfs::Internal::FsPermissionProto>(GetArenaNoVirtual()); |
21421 | masked_ = p; |
21422 | } |
21423 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.MkdirsRequestProto.masked) |
21424 | return masked_; |
21425 | } |
21426 | inline void MkdirsRequestProto::set_allocated_masked(::Hdfs::Internal::FsPermissionProto* masked) { |
21427 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
21428 | if (message_arena == NULL) { |
21429 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(masked_); |
21430 | } |
21431 | if (masked) { |
21432 | ::google::protobuf::Arena* submessage_arena = NULL; |
21433 | if (message_arena != submessage_arena) { |
21434 | masked = ::google::protobuf::internal::GetOwnedMessage( |
21435 | message_arena, masked, submessage_arena); |
21436 | } |
21437 | set_has_masked(); |
21438 | } else { |
21439 | clear_has_masked(); |
21440 | } |
21441 | masked_ = masked; |
21442 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.MkdirsRequestProto.masked) |
21443 | } |
21444 | |
21445 | // required bool createParent = 3; |
21446 | inline bool MkdirsRequestProto::has_createparent() const { |
21447 | return (_has_bits_[0] & 0x00000004u) != 0; |
21448 | } |
21449 | inline void MkdirsRequestProto::set_has_createparent() { |
21450 | _has_bits_[0] |= 0x00000004u; |
21451 | } |
21452 | inline void MkdirsRequestProto::clear_has_createparent() { |
21453 | _has_bits_[0] &= ~0x00000004u; |
21454 | } |
21455 | inline void MkdirsRequestProto::clear_createparent() { |
21456 | createparent_ = false; |
21457 | clear_has_createparent(); |
21458 | } |
21459 | inline bool MkdirsRequestProto::createparent() const { |
21460 | // @@protoc_insertion_point(field_get:Hdfs.Internal.MkdirsRequestProto.createParent) |
21461 | return createparent_; |
21462 | } |
21463 | inline void MkdirsRequestProto::set_createparent(bool value) { |
21464 | set_has_createparent(); |
21465 | createparent_ = value; |
21466 | // @@protoc_insertion_point(field_set:Hdfs.Internal.MkdirsRequestProto.createParent) |
21467 | } |
21468 | |
21469 | // ------------------------------------------------------------------- |
21470 | |
21471 | // MkdirsResponseProto |
21472 | |
21473 | // required bool result = 1; |
21474 | inline bool MkdirsResponseProto::has_result() const { |
21475 | return (_has_bits_[0] & 0x00000001u) != 0; |
21476 | } |
21477 | inline void MkdirsResponseProto::set_has_result() { |
21478 | _has_bits_[0] |= 0x00000001u; |
21479 | } |
21480 | inline void MkdirsResponseProto::clear_has_result() { |
21481 | _has_bits_[0] &= ~0x00000001u; |
21482 | } |
21483 | inline void MkdirsResponseProto::clear_result() { |
21484 | result_ = false; |
21485 | clear_has_result(); |
21486 | } |
21487 | inline bool MkdirsResponseProto::result() const { |
21488 | // @@protoc_insertion_point(field_get:Hdfs.Internal.MkdirsResponseProto.result) |
21489 | return result_; |
21490 | } |
21491 | inline void MkdirsResponseProto::set_result(bool value) { |
21492 | set_has_result(); |
21493 | result_ = value; |
21494 | // @@protoc_insertion_point(field_set:Hdfs.Internal.MkdirsResponseProto.result) |
21495 | } |
21496 | |
21497 | // ------------------------------------------------------------------- |
21498 | |
21499 | // GetListingRequestProto |
21500 | |
21501 | // required string src = 1; |
21502 | inline bool GetListingRequestProto::has_src() const { |
21503 | return (_has_bits_[0] & 0x00000001u) != 0; |
21504 | } |
21505 | inline void GetListingRequestProto::set_has_src() { |
21506 | _has_bits_[0] |= 0x00000001u; |
21507 | } |
21508 | inline void GetListingRequestProto::clear_has_src() { |
21509 | _has_bits_[0] &= ~0x00000001u; |
21510 | } |
21511 | inline void GetListingRequestProto::clear_src() { |
21512 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21513 | clear_has_src(); |
21514 | } |
21515 | inline const ::std::string& GetListingRequestProto::src() const { |
21516 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetListingRequestProto.src) |
21517 | return src_.GetNoArena(); |
21518 | } |
21519 | inline void GetListingRequestProto::set_src(const ::std::string& value) { |
21520 | set_has_src(); |
21521 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21522 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetListingRequestProto.src) |
21523 | } |
21524 | #if LANG_CXX11 |
21525 | inline void GetListingRequestProto::set_src(::std::string&& value) { |
21526 | set_has_src(); |
21527 | src_.SetNoArena( |
21528 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21529 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetListingRequestProto.src) |
21530 | } |
21531 | #endif |
21532 | inline void GetListingRequestProto::set_src(const char* value) { |
21533 | GOOGLE_DCHECK(value != NULL); |
21534 | set_has_src(); |
21535 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21536 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetListingRequestProto.src) |
21537 | } |
21538 | inline void GetListingRequestProto::set_src(const char* value, size_t size) { |
21539 | set_has_src(); |
21540 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21541 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21542 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetListingRequestProto.src) |
21543 | } |
21544 | inline ::std::string* GetListingRequestProto::mutable_src() { |
21545 | set_has_src(); |
21546 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetListingRequestProto.src) |
21547 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21548 | } |
21549 | inline ::std::string* GetListingRequestProto::release_src() { |
21550 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetListingRequestProto.src) |
21551 | if (!has_src()) { |
21552 | return NULL; |
21553 | } |
21554 | clear_has_src(); |
21555 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21556 | } |
21557 | inline void GetListingRequestProto::set_allocated_src(::std::string* src) { |
21558 | if (src != NULL) { |
21559 | set_has_src(); |
21560 | } else { |
21561 | clear_has_src(); |
21562 | } |
21563 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
21564 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetListingRequestProto.src) |
21565 | } |
21566 | |
21567 | // required bytes startAfter = 2; |
21568 | inline bool GetListingRequestProto::has_startafter() const { |
21569 | return (_has_bits_[0] & 0x00000002u) != 0; |
21570 | } |
21571 | inline void GetListingRequestProto::set_has_startafter() { |
21572 | _has_bits_[0] |= 0x00000002u; |
21573 | } |
21574 | inline void GetListingRequestProto::clear_has_startafter() { |
21575 | _has_bits_[0] &= ~0x00000002u; |
21576 | } |
21577 | inline void GetListingRequestProto::clear_startafter() { |
21578 | startafter_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21579 | clear_has_startafter(); |
21580 | } |
21581 | inline const ::std::string& GetListingRequestProto::startafter() const { |
21582 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetListingRequestProto.startAfter) |
21583 | return startafter_.GetNoArena(); |
21584 | } |
21585 | inline void GetListingRequestProto::set_startafter(const ::std::string& value) { |
21586 | set_has_startafter(); |
21587 | startafter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21588 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetListingRequestProto.startAfter) |
21589 | } |
21590 | #if LANG_CXX11 |
21591 | inline void GetListingRequestProto::set_startafter(::std::string&& value) { |
21592 | set_has_startafter(); |
21593 | startafter_.SetNoArena( |
21594 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21595 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetListingRequestProto.startAfter) |
21596 | } |
21597 | #endif |
21598 | inline void GetListingRequestProto::set_startafter(const char* value) { |
21599 | GOOGLE_DCHECK(value != NULL); |
21600 | set_has_startafter(); |
21601 | startafter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21602 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetListingRequestProto.startAfter) |
21603 | } |
21604 | inline void GetListingRequestProto::set_startafter(const void* value, size_t size) { |
21605 | set_has_startafter(); |
21606 | startafter_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21607 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21608 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetListingRequestProto.startAfter) |
21609 | } |
21610 | inline ::std::string* GetListingRequestProto::mutable_startafter() { |
21611 | set_has_startafter(); |
21612 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetListingRequestProto.startAfter) |
21613 | return startafter_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21614 | } |
21615 | inline ::std::string* GetListingRequestProto::release_startafter() { |
21616 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetListingRequestProto.startAfter) |
21617 | if (!has_startafter()) { |
21618 | return NULL; |
21619 | } |
21620 | clear_has_startafter(); |
21621 | return startafter_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21622 | } |
21623 | inline void GetListingRequestProto::set_allocated_startafter(::std::string* startafter) { |
21624 | if (startafter != NULL) { |
21625 | set_has_startafter(); |
21626 | } else { |
21627 | clear_has_startafter(); |
21628 | } |
21629 | startafter_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), startafter); |
21630 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetListingRequestProto.startAfter) |
21631 | } |
21632 | |
21633 | // required bool needLocation = 3; |
21634 | inline bool GetListingRequestProto::has_needlocation() const { |
21635 | return (_has_bits_[0] & 0x00000004u) != 0; |
21636 | } |
21637 | inline void GetListingRequestProto::set_has_needlocation() { |
21638 | _has_bits_[0] |= 0x00000004u; |
21639 | } |
21640 | inline void GetListingRequestProto::clear_has_needlocation() { |
21641 | _has_bits_[0] &= ~0x00000004u; |
21642 | } |
21643 | inline void GetListingRequestProto::clear_needlocation() { |
21644 | needlocation_ = false; |
21645 | clear_has_needlocation(); |
21646 | } |
21647 | inline bool GetListingRequestProto::needlocation() const { |
21648 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetListingRequestProto.needLocation) |
21649 | return needlocation_; |
21650 | } |
21651 | inline void GetListingRequestProto::set_needlocation(bool value) { |
21652 | set_has_needlocation(); |
21653 | needlocation_ = value; |
21654 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetListingRequestProto.needLocation) |
21655 | } |
21656 | |
21657 | // ------------------------------------------------------------------- |
21658 | |
21659 | // GetListingResponseProto |
21660 | |
21661 | // optional .Hdfs.Internal.DirectoryListingProto dirList = 1; |
21662 | inline bool GetListingResponseProto::has_dirlist() const { |
21663 | return (_has_bits_[0] & 0x00000001u) != 0; |
21664 | } |
21665 | inline void GetListingResponseProto::set_has_dirlist() { |
21666 | _has_bits_[0] |= 0x00000001u; |
21667 | } |
21668 | inline void GetListingResponseProto::clear_has_dirlist() { |
21669 | _has_bits_[0] &= ~0x00000001u; |
21670 | } |
21671 | inline const ::Hdfs::Internal::DirectoryListingProto& GetListingResponseProto::_internal_dirlist() const { |
21672 | return *dirlist_; |
21673 | } |
21674 | inline const ::Hdfs::Internal::DirectoryListingProto& GetListingResponseProto::dirlist() const { |
21675 | const ::Hdfs::Internal::DirectoryListingProto* p = dirlist_; |
21676 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetListingResponseProto.dirList) |
21677 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::DirectoryListingProto*>( |
21678 | &::Hdfs::Internal::_DirectoryListingProto_default_instance_); |
21679 | } |
21680 | inline ::Hdfs::Internal::DirectoryListingProto* GetListingResponseProto::release_dirlist() { |
21681 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetListingResponseProto.dirList) |
21682 | clear_has_dirlist(); |
21683 | ::Hdfs::Internal::DirectoryListingProto* temp = dirlist_; |
21684 | dirlist_ = NULL; |
21685 | return temp; |
21686 | } |
21687 | inline ::Hdfs::Internal::DirectoryListingProto* GetListingResponseProto::mutable_dirlist() { |
21688 | set_has_dirlist(); |
21689 | if (dirlist_ == NULL) { |
21690 | auto* p = CreateMaybeMessage<::Hdfs::Internal::DirectoryListingProto>(GetArenaNoVirtual()); |
21691 | dirlist_ = p; |
21692 | } |
21693 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetListingResponseProto.dirList) |
21694 | return dirlist_; |
21695 | } |
21696 | inline void GetListingResponseProto::set_allocated_dirlist(::Hdfs::Internal::DirectoryListingProto* dirlist) { |
21697 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
21698 | if (message_arena == NULL) { |
21699 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(dirlist_); |
21700 | } |
21701 | if (dirlist) { |
21702 | ::google::protobuf::Arena* submessage_arena = NULL; |
21703 | if (message_arena != submessage_arena) { |
21704 | dirlist = ::google::protobuf::internal::GetOwnedMessage( |
21705 | message_arena, dirlist, submessage_arena); |
21706 | } |
21707 | set_has_dirlist(); |
21708 | } else { |
21709 | clear_has_dirlist(); |
21710 | } |
21711 | dirlist_ = dirlist; |
21712 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetListingResponseProto.dirList) |
21713 | } |
21714 | |
21715 | // ------------------------------------------------------------------- |
21716 | |
21717 | // GetSnapshottableDirListingRequestProto |
21718 | |
21719 | // ------------------------------------------------------------------- |
21720 | |
21721 | // GetSnapshottableDirListingResponseProto |
21722 | |
21723 | // optional .Hdfs.Internal.SnapshottableDirectoryListingProto snapshottableDirList = 1; |
21724 | inline bool GetSnapshottableDirListingResponseProto::has_snapshottabledirlist() const { |
21725 | return (_has_bits_[0] & 0x00000001u) != 0; |
21726 | } |
21727 | inline void GetSnapshottableDirListingResponseProto::set_has_snapshottabledirlist() { |
21728 | _has_bits_[0] |= 0x00000001u; |
21729 | } |
21730 | inline void GetSnapshottableDirListingResponseProto::clear_has_snapshottabledirlist() { |
21731 | _has_bits_[0] &= ~0x00000001u; |
21732 | } |
21733 | inline const ::Hdfs::Internal::SnapshottableDirectoryListingProto& GetSnapshottableDirListingResponseProto::_internal_snapshottabledirlist() const { |
21734 | return *snapshottabledirlist_; |
21735 | } |
21736 | inline const ::Hdfs::Internal::SnapshottableDirectoryListingProto& GetSnapshottableDirListingResponseProto::snapshottabledirlist() const { |
21737 | const ::Hdfs::Internal::SnapshottableDirectoryListingProto* p = snapshottabledirlist_; |
21738 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetSnapshottableDirListingResponseProto.snapshottableDirList) |
21739 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::SnapshottableDirectoryListingProto*>( |
21740 | &::Hdfs::Internal::_SnapshottableDirectoryListingProto_default_instance_); |
21741 | } |
21742 | inline ::Hdfs::Internal::SnapshottableDirectoryListingProto* GetSnapshottableDirListingResponseProto::release_snapshottabledirlist() { |
21743 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetSnapshottableDirListingResponseProto.snapshottableDirList) |
21744 | clear_has_snapshottabledirlist(); |
21745 | ::Hdfs::Internal::SnapshottableDirectoryListingProto* temp = snapshottabledirlist_; |
21746 | snapshottabledirlist_ = NULL; |
21747 | return temp; |
21748 | } |
21749 | inline ::Hdfs::Internal::SnapshottableDirectoryListingProto* GetSnapshottableDirListingResponseProto::mutable_snapshottabledirlist() { |
21750 | set_has_snapshottabledirlist(); |
21751 | if (snapshottabledirlist_ == NULL) { |
21752 | auto* p = CreateMaybeMessage<::Hdfs::Internal::SnapshottableDirectoryListingProto>(GetArenaNoVirtual()); |
21753 | snapshottabledirlist_ = p; |
21754 | } |
21755 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetSnapshottableDirListingResponseProto.snapshottableDirList) |
21756 | return snapshottabledirlist_; |
21757 | } |
21758 | inline void GetSnapshottableDirListingResponseProto::set_allocated_snapshottabledirlist(::Hdfs::Internal::SnapshottableDirectoryListingProto* snapshottabledirlist) { |
21759 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
21760 | if (message_arena == NULL) { |
21761 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(snapshottabledirlist_); |
21762 | } |
21763 | if (snapshottabledirlist) { |
21764 | ::google::protobuf::Arena* submessage_arena = NULL; |
21765 | if (message_arena != submessage_arena) { |
21766 | snapshottabledirlist = ::google::protobuf::internal::GetOwnedMessage( |
21767 | message_arena, snapshottabledirlist, submessage_arena); |
21768 | } |
21769 | set_has_snapshottabledirlist(); |
21770 | } else { |
21771 | clear_has_snapshottabledirlist(); |
21772 | } |
21773 | snapshottabledirlist_ = snapshottabledirlist; |
21774 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetSnapshottableDirListingResponseProto.snapshottableDirList) |
21775 | } |
21776 | |
21777 | // ------------------------------------------------------------------- |
21778 | |
21779 | // GetSnapshotDiffReportRequestProto |
21780 | |
21781 | // required string snapshotRoot = 1; |
21782 | inline bool GetSnapshotDiffReportRequestProto::has_snapshotroot() const { |
21783 | return (_has_bits_[0] & 0x00000001u) != 0; |
21784 | } |
21785 | inline void GetSnapshotDiffReportRequestProto::set_has_snapshotroot() { |
21786 | _has_bits_[0] |= 0x00000001u; |
21787 | } |
21788 | inline void GetSnapshotDiffReportRequestProto::clear_has_snapshotroot() { |
21789 | _has_bits_[0] &= ~0x00000001u; |
21790 | } |
21791 | inline void GetSnapshotDiffReportRequestProto::clear_snapshotroot() { |
21792 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21793 | clear_has_snapshotroot(); |
21794 | } |
21795 | inline const ::std::string& GetSnapshotDiffReportRequestProto::snapshotroot() const { |
21796 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21797 | return snapshotroot_.GetNoArena(); |
21798 | } |
21799 | inline void GetSnapshotDiffReportRequestProto::set_snapshotroot(const ::std::string& value) { |
21800 | set_has_snapshotroot(); |
21801 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21802 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21803 | } |
21804 | #if LANG_CXX11 |
21805 | inline void GetSnapshotDiffReportRequestProto::set_snapshotroot(::std::string&& value) { |
21806 | set_has_snapshotroot(); |
21807 | snapshotroot_.SetNoArena( |
21808 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21809 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21810 | } |
21811 | #endif |
21812 | inline void GetSnapshotDiffReportRequestProto::set_snapshotroot(const char* value) { |
21813 | GOOGLE_DCHECK(value != NULL); |
21814 | set_has_snapshotroot(); |
21815 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21816 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21817 | } |
21818 | inline void GetSnapshotDiffReportRequestProto::set_snapshotroot(const char* value, size_t size) { |
21819 | set_has_snapshotroot(); |
21820 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21821 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21822 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21823 | } |
21824 | inline ::std::string* GetSnapshotDiffReportRequestProto::mutable_snapshotroot() { |
21825 | set_has_snapshotroot(); |
21826 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21827 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21828 | } |
21829 | inline ::std::string* GetSnapshotDiffReportRequestProto::release_snapshotroot() { |
21830 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21831 | if (!has_snapshotroot()) { |
21832 | return NULL; |
21833 | } |
21834 | clear_has_snapshotroot(); |
21835 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21836 | } |
21837 | inline void GetSnapshotDiffReportRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
21838 | if (snapshotroot != NULL) { |
21839 | set_has_snapshotroot(); |
21840 | } else { |
21841 | clear_has_snapshotroot(); |
21842 | } |
21843 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
21844 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetSnapshotDiffReportRequestProto.snapshotRoot) |
21845 | } |
21846 | |
21847 | // required string fromSnapshot = 2; |
21848 | inline bool GetSnapshotDiffReportRequestProto::has_fromsnapshot() const { |
21849 | return (_has_bits_[0] & 0x00000002u) != 0; |
21850 | } |
21851 | inline void GetSnapshotDiffReportRequestProto::set_has_fromsnapshot() { |
21852 | _has_bits_[0] |= 0x00000002u; |
21853 | } |
21854 | inline void GetSnapshotDiffReportRequestProto::clear_has_fromsnapshot() { |
21855 | _has_bits_[0] &= ~0x00000002u; |
21856 | } |
21857 | inline void GetSnapshotDiffReportRequestProto::clear_fromsnapshot() { |
21858 | fromsnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21859 | clear_has_fromsnapshot(); |
21860 | } |
21861 | inline const ::std::string& GetSnapshotDiffReportRequestProto::fromsnapshot() const { |
21862 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21863 | return fromsnapshot_.GetNoArena(); |
21864 | } |
21865 | inline void GetSnapshotDiffReportRequestProto::set_fromsnapshot(const ::std::string& value) { |
21866 | set_has_fromsnapshot(); |
21867 | fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21868 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21869 | } |
21870 | #if LANG_CXX11 |
21871 | inline void GetSnapshotDiffReportRequestProto::set_fromsnapshot(::std::string&& value) { |
21872 | set_has_fromsnapshot(); |
21873 | fromsnapshot_.SetNoArena( |
21874 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21875 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21876 | } |
21877 | #endif |
21878 | inline void GetSnapshotDiffReportRequestProto::set_fromsnapshot(const char* value) { |
21879 | GOOGLE_DCHECK(value != NULL); |
21880 | set_has_fromsnapshot(); |
21881 | fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21882 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21883 | } |
21884 | inline void GetSnapshotDiffReportRequestProto::set_fromsnapshot(const char* value, size_t size) { |
21885 | set_has_fromsnapshot(); |
21886 | fromsnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21887 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21888 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21889 | } |
21890 | inline ::std::string* GetSnapshotDiffReportRequestProto::mutable_fromsnapshot() { |
21891 | set_has_fromsnapshot(); |
21892 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21893 | return fromsnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21894 | } |
21895 | inline ::std::string* GetSnapshotDiffReportRequestProto::release_fromsnapshot() { |
21896 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21897 | if (!has_fromsnapshot()) { |
21898 | return NULL; |
21899 | } |
21900 | clear_has_fromsnapshot(); |
21901 | return fromsnapshot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21902 | } |
21903 | inline void GetSnapshotDiffReportRequestProto::set_allocated_fromsnapshot(::std::string* fromsnapshot) { |
21904 | if (fromsnapshot != NULL) { |
21905 | set_has_fromsnapshot(); |
21906 | } else { |
21907 | clear_has_fromsnapshot(); |
21908 | } |
21909 | fromsnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), fromsnapshot); |
21910 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetSnapshotDiffReportRequestProto.fromSnapshot) |
21911 | } |
21912 | |
21913 | // required string toSnapshot = 3; |
21914 | inline bool GetSnapshotDiffReportRequestProto::has_tosnapshot() const { |
21915 | return (_has_bits_[0] & 0x00000004u) != 0; |
21916 | } |
21917 | inline void GetSnapshotDiffReportRequestProto::set_has_tosnapshot() { |
21918 | _has_bits_[0] |= 0x00000004u; |
21919 | } |
21920 | inline void GetSnapshotDiffReportRequestProto::clear_has_tosnapshot() { |
21921 | _has_bits_[0] &= ~0x00000004u; |
21922 | } |
21923 | inline void GetSnapshotDiffReportRequestProto::clear_tosnapshot() { |
21924 | tosnapshot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21925 | clear_has_tosnapshot(); |
21926 | } |
21927 | inline const ::std::string& GetSnapshotDiffReportRequestProto::tosnapshot() const { |
21928 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21929 | return tosnapshot_.GetNoArena(); |
21930 | } |
21931 | inline void GetSnapshotDiffReportRequestProto::set_tosnapshot(const ::std::string& value) { |
21932 | set_has_tosnapshot(); |
21933 | tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
21934 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21935 | } |
21936 | #if LANG_CXX11 |
21937 | inline void GetSnapshotDiffReportRequestProto::set_tosnapshot(::std::string&& value) { |
21938 | set_has_tosnapshot(); |
21939 | tosnapshot_.SetNoArena( |
21940 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
21941 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21942 | } |
21943 | #endif |
21944 | inline void GetSnapshotDiffReportRequestProto::set_tosnapshot(const char* value) { |
21945 | GOOGLE_DCHECK(value != NULL); |
21946 | set_has_tosnapshot(); |
21947 | tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
21948 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21949 | } |
21950 | inline void GetSnapshotDiffReportRequestProto::set_tosnapshot(const char* value, size_t size) { |
21951 | set_has_tosnapshot(); |
21952 | tosnapshot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
21953 | ::std::string(reinterpret_cast<const char*>(value), size)); |
21954 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21955 | } |
21956 | inline ::std::string* GetSnapshotDiffReportRequestProto::mutable_tosnapshot() { |
21957 | set_has_tosnapshot(); |
21958 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21959 | return tosnapshot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21960 | } |
21961 | inline ::std::string* GetSnapshotDiffReportRequestProto::release_tosnapshot() { |
21962 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21963 | if (!has_tosnapshot()) { |
21964 | return NULL; |
21965 | } |
21966 | clear_has_tosnapshot(); |
21967 | return tosnapshot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
21968 | } |
21969 | inline void GetSnapshotDiffReportRequestProto::set_allocated_tosnapshot(::std::string* tosnapshot) { |
21970 | if (tosnapshot != NULL) { |
21971 | set_has_tosnapshot(); |
21972 | } else { |
21973 | clear_has_tosnapshot(); |
21974 | } |
21975 | tosnapshot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tosnapshot); |
21976 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetSnapshotDiffReportRequestProto.toSnapshot) |
21977 | } |
21978 | |
21979 | // ------------------------------------------------------------------- |
21980 | |
21981 | // GetSnapshotDiffReportResponseProto |
21982 | |
21983 | // required .Hdfs.Internal.SnapshotDiffReportProto diffReport = 1; |
21984 | inline bool GetSnapshotDiffReportResponseProto::has_diffreport() const { |
21985 | return (_has_bits_[0] & 0x00000001u) != 0; |
21986 | } |
21987 | inline void GetSnapshotDiffReportResponseProto::set_has_diffreport() { |
21988 | _has_bits_[0] |= 0x00000001u; |
21989 | } |
21990 | inline void GetSnapshotDiffReportResponseProto::clear_has_diffreport() { |
21991 | _has_bits_[0] &= ~0x00000001u; |
21992 | } |
21993 | inline const ::Hdfs::Internal::SnapshotDiffReportProto& GetSnapshotDiffReportResponseProto::_internal_diffreport() const { |
21994 | return *diffreport_; |
21995 | } |
21996 | inline const ::Hdfs::Internal::SnapshotDiffReportProto& GetSnapshotDiffReportResponseProto::diffreport() const { |
21997 | const ::Hdfs::Internal::SnapshotDiffReportProto* p = diffreport_; |
21998 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetSnapshotDiffReportResponseProto.diffReport) |
21999 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::SnapshotDiffReportProto*>( |
22000 | &::Hdfs::Internal::_SnapshotDiffReportProto_default_instance_); |
22001 | } |
22002 | inline ::Hdfs::Internal::SnapshotDiffReportProto* GetSnapshotDiffReportResponseProto::release_diffreport() { |
22003 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetSnapshotDiffReportResponseProto.diffReport) |
22004 | clear_has_diffreport(); |
22005 | ::Hdfs::Internal::SnapshotDiffReportProto* temp = diffreport_; |
22006 | diffreport_ = NULL; |
22007 | return temp; |
22008 | } |
22009 | inline ::Hdfs::Internal::SnapshotDiffReportProto* GetSnapshotDiffReportResponseProto::mutable_diffreport() { |
22010 | set_has_diffreport(); |
22011 | if (diffreport_ == NULL) { |
22012 | auto* p = CreateMaybeMessage<::Hdfs::Internal::SnapshotDiffReportProto>(GetArenaNoVirtual()); |
22013 | diffreport_ = p; |
22014 | } |
22015 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetSnapshotDiffReportResponseProto.diffReport) |
22016 | return diffreport_; |
22017 | } |
22018 | inline void GetSnapshotDiffReportResponseProto::set_allocated_diffreport(::Hdfs::Internal::SnapshotDiffReportProto* diffreport) { |
22019 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
22020 | if (message_arena == NULL) { |
22021 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(diffreport_); |
22022 | } |
22023 | if (diffreport) { |
22024 | ::google::protobuf::Arena* submessage_arena = NULL; |
22025 | if (message_arena != submessage_arena) { |
22026 | diffreport = ::google::protobuf::internal::GetOwnedMessage( |
22027 | message_arena, diffreport, submessage_arena); |
22028 | } |
22029 | set_has_diffreport(); |
22030 | } else { |
22031 | clear_has_diffreport(); |
22032 | } |
22033 | diffreport_ = diffreport; |
22034 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetSnapshotDiffReportResponseProto.diffReport) |
22035 | } |
22036 | |
22037 | // ------------------------------------------------------------------- |
22038 | |
22039 | // RenewLeaseRequestProto |
22040 | |
22041 | // required string clientName = 1; |
22042 | inline bool RenewLeaseRequestProto::has_clientname() const { |
22043 | return (_has_bits_[0] & 0x00000001u) != 0; |
22044 | } |
22045 | inline void RenewLeaseRequestProto::set_has_clientname() { |
22046 | _has_bits_[0] |= 0x00000001u; |
22047 | } |
22048 | inline void RenewLeaseRequestProto::clear_has_clientname() { |
22049 | _has_bits_[0] &= ~0x00000001u; |
22050 | } |
22051 | inline void RenewLeaseRequestProto::clear_clientname() { |
22052 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22053 | clear_has_clientname(); |
22054 | } |
22055 | inline const ::std::string& RenewLeaseRequestProto::clientname() const { |
22056 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22057 | return clientname_.GetNoArena(); |
22058 | } |
22059 | inline void RenewLeaseRequestProto::set_clientname(const ::std::string& value) { |
22060 | set_has_clientname(); |
22061 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22062 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22063 | } |
22064 | #if LANG_CXX11 |
22065 | inline void RenewLeaseRequestProto::set_clientname(::std::string&& value) { |
22066 | set_has_clientname(); |
22067 | clientname_.SetNoArena( |
22068 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22069 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22070 | } |
22071 | #endif |
22072 | inline void RenewLeaseRequestProto::set_clientname(const char* value) { |
22073 | GOOGLE_DCHECK(value != NULL); |
22074 | set_has_clientname(); |
22075 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22076 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22077 | } |
22078 | inline void RenewLeaseRequestProto::set_clientname(const char* value, size_t size) { |
22079 | set_has_clientname(); |
22080 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22081 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22082 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22083 | } |
22084 | inline ::std::string* RenewLeaseRequestProto::mutable_clientname() { |
22085 | set_has_clientname(); |
22086 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22087 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22088 | } |
22089 | inline ::std::string* RenewLeaseRequestProto::release_clientname() { |
22090 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22091 | if (!has_clientname()) { |
22092 | return NULL; |
22093 | } |
22094 | clear_has_clientname(); |
22095 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22096 | } |
22097 | inline void RenewLeaseRequestProto::set_allocated_clientname(::std::string* clientname) { |
22098 | if (clientname != NULL) { |
22099 | set_has_clientname(); |
22100 | } else { |
22101 | clear_has_clientname(); |
22102 | } |
22103 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
22104 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenewLeaseRequestProto.clientName) |
22105 | } |
22106 | |
22107 | // ------------------------------------------------------------------- |
22108 | |
22109 | // RenewLeaseResponseProto |
22110 | |
22111 | // ------------------------------------------------------------------- |
22112 | |
22113 | // RecoverLeaseRequestProto |
22114 | |
22115 | // required string src = 1; |
22116 | inline bool RecoverLeaseRequestProto::has_src() const { |
22117 | return (_has_bits_[0] & 0x00000001u) != 0; |
22118 | } |
22119 | inline void RecoverLeaseRequestProto::set_has_src() { |
22120 | _has_bits_[0] |= 0x00000001u; |
22121 | } |
22122 | inline void RecoverLeaseRequestProto::clear_has_src() { |
22123 | _has_bits_[0] &= ~0x00000001u; |
22124 | } |
22125 | inline void RecoverLeaseRequestProto::clear_src() { |
22126 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22127 | clear_has_src(); |
22128 | } |
22129 | inline const ::std::string& RecoverLeaseRequestProto::src() const { |
22130 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22131 | return src_.GetNoArena(); |
22132 | } |
22133 | inline void RecoverLeaseRequestProto::set_src(const ::std::string& value) { |
22134 | set_has_src(); |
22135 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22136 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22137 | } |
22138 | #if LANG_CXX11 |
22139 | inline void RecoverLeaseRequestProto::set_src(::std::string&& value) { |
22140 | set_has_src(); |
22141 | src_.SetNoArena( |
22142 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22143 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22144 | } |
22145 | #endif |
22146 | inline void RecoverLeaseRequestProto::set_src(const char* value) { |
22147 | GOOGLE_DCHECK(value != NULL); |
22148 | set_has_src(); |
22149 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22150 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22151 | } |
22152 | inline void RecoverLeaseRequestProto::set_src(const char* value, size_t size) { |
22153 | set_has_src(); |
22154 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22155 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22156 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22157 | } |
22158 | inline ::std::string* RecoverLeaseRequestProto::mutable_src() { |
22159 | set_has_src(); |
22160 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22161 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22162 | } |
22163 | inline ::std::string* RecoverLeaseRequestProto::release_src() { |
22164 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22165 | if (!has_src()) { |
22166 | return NULL; |
22167 | } |
22168 | clear_has_src(); |
22169 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22170 | } |
22171 | inline void RecoverLeaseRequestProto::set_allocated_src(::std::string* src) { |
22172 | if (src != NULL) { |
22173 | set_has_src(); |
22174 | } else { |
22175 | clear_has_src(); |
22176 | } |
22177 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
22178 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RecoverLeaseRequestProto.src) |
22179 | } |
22180 | |
22181 | // required string clientName = 2; |
22182 | inline bool RecoverLeaseRequestProto::has_clientname() const { |
22183 | return (_has_bits_[0] & 0x00000002u) != 0; |
22184 | } |
22185 | inline void RecoverLeaseRequestProto::set_has_clientname() { |
22186 | _has_bits_[0] |= 0x00000002u; |
22187 | } |
22188 | inline void RecoverLeaseRequestProto::clear_has_clientname() { |
22189 | _has_bits_[0] &= ~0x00000002u; |
22190 | } |
22191 | inline void RecoverLeaseRequestProto::clear_clientname() { |
22192 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22193 | clear_has_clientname(); |
22194 | } |
22195 | inline const ::std::string& RecoverLeaseRequestProto::clientname() const { |
22196 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22197 | return clientname_.GetNoArena(); |
22198 | } |
22199 | inline void RecoverLeaseRequestProto::set_clientname(const ::std::string& value) { |
22200 | set_has_clientname(); |
22201 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22202 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22203 | } |
22204 | #if LANG_CXX11 |
22205 | inline void RecoverLeaseRequestProto::set_clientname(::std::string&& value) { |
22206 | set_has_clientname(); |
22207 | clientname_.SetNoArena( |
22208 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22209 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22210 | } |
22211 | #endif |
22212 | inline void RecoverLeaseRequestProto::set_clientname(const char* value) { |
22213 | GOOGLE_DCHECK(value != NULL); |
22214 | set_has_clientname(); |
22215 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22216 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22217 | } |
22218 | inline void RecoverLeaseRequestProto::set_clientname(const char* value, size_t size) { |
22219 | set_has_clientname(); |
22220 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22221 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22222 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22223 | } |
22224 | inline ::std::string* RecoverLeaseRequestProto::mutable_clientname() { |
22225 | set_has_clientname(); |
22226 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22227 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22228 | } |
22229 | inline ::std::string* RecoverLeaseRequestProto::release_clientname() { |
22230 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22231 | if (!has_clientname()) { |
22232 | return NULL; |
22233 | } |
22234 | clear_has_clientname(); |
22235 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22236 | } |
22237 | inline void RecoverLeaseRequestProto::set_allocated_clientname(::std::string* clientname) { |
22238 | if (clientname != NULL) { |
22239 | set_has_clientname(); |
22240 | } else { |
22241 | clear_has_clientname(); |
22242 | } |
22243 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
22244 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RecoverLeaseRequestProto.clientName) |
22245 | } |
22246 | |
22247 | // ------------------------------------------------------------------- |
22248 | |
22249 | // RecoverLeaseResponseProto |
22250 | |
22251 | // required bool result = 1; |
22252 | inline bool RecoverLeaseResponseProto::has_result() const { |
22253 | return (_has_bits_[0] & 0x00000001u) != 0; |
22254 | } |
22255 | inline void RecoverLeaseResponseProto::set_has_result() { |
22256 | _has_bits_[0] |= 0x00000001u; |
22257 | } |
22258 | inline void RecoverLeaseResponseProto::clear_has_result() { |
22259 | _has_bits_[0] &= ~0x00000001u; |
22260 | } |
22261 | inline void RecoverLeaseResponseProto::clear_result() { |
22262 | result_ = false; |
22263 | clear_has_result(); |
22264 | } |
22265 | inline bool RecoverLeaseResponseProto::result() const { |
22266 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RecoverLeaseResponseProto.result) |
22267 | return result_; |
22268 | } |
22269 | inline void RecoverLeaseResponseProto::set_result(bool value) { |
22270 | set_has_result(); |
22271 | result_ = value; |
22272 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RecoverLeaseResponseProto.result) |
22273 | } |
22274 | |
22275 | // ------------------------------------------------------------------- |
22276 | |
22277 | // GetFsStatusRequestProto |
22278 | |
22279 | // ------------------------------------------------------------------- |
22280 | |
22281 | // GetFsStatsResponseProto |
22282 | |
22283 | // required uint64 capacity = 1; |
22284 | inline bool GetFsStatsResponseProto::has_capacity() const { |
22285 | return (_has_bits_[0] & 0x00000001u) != 0; |
22286 | } |
22287 | inline void GetFsStatsResponseProto::set_has_capacity() { |
22288 | _has_bits_[0] |= 0x00000001u; |
22289 | } |
22290 | inline void GetFsStatsResponseProto::clear_has_capacity() { |
22291 | _has_bits_[0] &= ~0x00000001u; |
22292 | } |
22293 | inline void GetFsStatsResponseProto::clear_capacity() { |
22294 | capacity_ = GOOGLE_ULONGLONG(0); |
22295 | clear_has_capacity(); |
22296 | } |
22297 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::capacity() const { |
22298 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.capacity) |
22299 | return capacity_; |
22300 | } |
22301 | inline void GetFsStatsResponseProto::set_capacity(::google::protobuf::uint64 value) { |
22302 | set_has_capacity(); |
22303 | capacity_ = value; |
22304 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.capacity) |
22305 | } |
22306 | |
22307 | // required uint64 used = 2; |
22308 | inline bool GetFsStatsResponseProto::has_used() const { |
22309 | return (_has_bits_[0] & 0x00000002u) != 0; |
22310 | } |
22311 | inline void GetFsStatsResponseProto::set_has_used() { |
22312 | _has_bits_[0] |= 0x00000002u; |
22313 | } |
22314 | inline void GetFsStatsResponseProto::clear_has_used() { |
22315 | _has_bits_[0] &= ~0x00000002u; |
22316 | } |
22317 | inline void GetFsStatsResponseProto::clear_used() { |
22318 | used_ = GOOGLE_ULONGLONG(0); |
22319 | clear_has_used(); |
22320 | } |
22321 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::used() const { |
22322 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.used) |
22323 | return used_; |
22324 | } |
22325 | inline void GetFsStatsResponseProto::set_used(::google::protobuf::uint64 value) { |
22326 | set_has_used(); |
22327 | used_ = value; |
22328 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.used) |
22329 | } |
22330 | |
22331 | // required uint64 remaining = 3; |
22332 | inline bool GetFsStatsResponseProto::has_remaining() const { |
22333 | return (_has_bits_[0] & 0x00000004u) != 0; |
22334 | } |
22335 | inline void GetFsStatsResponseProto::set_has_remaining() { |
22336 | _has_bits_[0] |= 0x00000004u; |
22337 | } |
22338 | inline void GetFsStatsResponseProto::clear_has_remaining() { |
22339 | _has_bits_[0] &= ~0x00000004u; |
22340 | } |
22341 | inline void GetFsStatsResponseProto::clear_remaining() { |
22342 | remaining_ = GOOGLE_ULONGLONG(0); |
22343 | clear_has_remaining(); |
22344 | } |
22345 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::remaining() const { |
22346 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.remaining) |
22347 | return remaining_; |
22348 | } |
22349 | inline void GetFsStatsResponseProto::set_remaining(::google::protobuf::uint64 value) { |
22350 | set_has_remaining(); |
22351 | remaining_ = value; |
22352 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.remaining) |
22353 | } |
22354 | |
22355 | // required uint64 under_replicated = 4; |
22356 | inline bool GetFsStatsResponseProto::has_under_replicated() const { |
22357 | return (_has_bits_[0] & 0x00000008u) != 0; |
22358 | } |
22359 | inline void GetFsStatsResponseProto::set_has_under_replicated() { |
22360 | _has_bits_[0] |= 0x00000008u; |
22361 | } |
22362 | inline void GetFsStatsResponseProto::clear_has_under_replicated() { |
22363 | _has_bits_[0] &= ~0x00000008u; |
22364 | } |
22365 | inline void GetFsStatsResponseProto::clear_under_replicated() { |
22366 | under_replicated_ = GOOGLE_ULONGLONG(0); |
22367 | clear_has_under_replicated(); |
22368 | } |
22369 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::under_replicated() const { |
22370 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.under_replicated) |
22371 | return under_replicated_; |
22372 | } |
22373 | inline void GetFsStatsResponseProto::set_under_replicated(::google::protobuf::uint64 value) { |
22374 | set_has_under_replicated(); |
22375 | under_replicated_ = value; |
22376 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.under_replicated) |
22377 | } |
22378 | |
22379 | // required uint64 corrupt_blocks = 5; |
22380 | inline bool GetFsStatsResponseProto::has_corrupt_blocks() const { |
22381 | return (_has_bits_[0] & 0x00000010u) != 0; |
22382 | } |
22383 | inline void GetFsStatsResponseProto::set_has_corrupt_blocks() { |
22384 | _has_bits_[0] |= 0x00000010u; |
22385 | } |
22386 | inline void GetFsStatsResponseProto::clear_has_corrupt_blocks() { |
22387 | _has_bits_[0] &= ~0x00000010u; |
22388 | } |
22389 | inline void GetFsStatsResponseProto::clear_corrupt_blocks() { |
22390 | corrupt_blocks_ = GOOGLE_ULONGLONG(0); |
22391 | clear_has_corrupt_blocks(); |
22392 | } |
22393 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::corrupt_blocks() const { |
22394 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.corrupt_blocks) |
22395 | return corrupt_blocks_; |
22396 | } |
22397 | inline void GetFsStatsResponseProto::set_corrupt_blocks(::google::protobuf::uint64 value) { |
22398 | set_has_corrupt_blocks(); |
22399 | corrupt_blocks_ = value; |
22400 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.corrupt_blocks) |
22401 | } |
22402 | |
22403 | // required uint64 missing_blocks = 6; |
22404 | inline bool GetFsStatsResponseProto::has_missing_blocks() const { |
22405 | return (_has_bits_[0] & 0x00000020u) != 0; |
22406 | } |
22407 | inline void GetFsStatsResponseProto::set_has_missing_blocks() { |
22408 | _has_bits_[0] |= 0x00000020u; |
22409 | } |
22410 | inline void GetFsStatsResponseProto::clear_has_missing_blocks() { |
22411 | _has_bits_[0] &= ~0x00000020u; |
22412 | } |
22413 | inline void GetFsStatsResponseProto::clear_missing_blocks() { |
22414 | missing_blocks_ = GOOGLE_ULONGLONG(0); |
22415 | clear_has_missing_blocks(); |
22416 | } |
22417 | inline ::google::protobuf::uint64 GetFsStatsResponseProto::missing_blocks() const { |
22418 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFsStatsResponseProto.missing_blocks) |
22419 | return missing_blocks_; |
22420 | } |
22421 | inline void GetFsStatsResponseProto::set_missing_blocks(::google::protobuf::uint64 value) { |
22422 | set_has_missing_blocks(); |
22423 | missing_blocks_ = value; |
22424 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFsStatsResponseProto.missing_blocks) |
22425 | } |
22426 | |
22427 | // ------------------------------------------------------------------- |
22428 | |
22429 | // GetDatanodeReportRequestProto |
22430 | |
22431 | // required .Hdfs.Internal.DatanodeReportTypeProto type = 1; |
22432 | inline bool GetDatanodeReportRequestProto::has_type() const { |
22433 | return (_has_bits_[0] & 0x00000001u) != 0; |
22434 | } |
22435 | inline void GetDatanodeReportRequestProto::set_has_type() { |
22436 | _has_bits_[0] |= 0x00000001u; |
22437 | } |
22438 | inline void GetDatanodeReportRequestProto::clear_has_type() { |
22439 | _has_bits_[0] &= ~0x00000001u; |
22440 | } |
22441 | inline void GetDatanodeReportRequestProto::clear_type() { |
22442 | type_ = 1; |
22443 | clear_has_type(); |
22444 | } |
22445 | inline ::Hdfs::Internal::DatanodeReportTypeProto GetDatanodeReportRequestProto::type() const { |
22446 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetDatanodeReportRequestProto.type) |
22447 | return static_cast< ::Hdfs::Internal::DatanodeReportTypeProto >(type_); |
22448 | } |
22449 | inline void GetDatanodeReportRequestProto::set_type(::Hdfs::Internal::DatanodeReportTypeProto value) { |
22450 | assert(::Hdfs::Internal::DatanodeReportTypeProto_IsValid(value)); |
22451 | set_has_type(); |
22452 | type_ = value; |
22453 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetDatanodeReportRequestProto.type) |
22454 | } |
22455 | |
22456 | // ------------------------------------------------------------------- |
22457 | |
22458 | // GetDatanodeReportResponseProto |
22459 | |
22460 | // repeated .Hdfs.Internal.DatanodeInfoProto di = 1; |
22461 | inline int GetDatanodeReportResponseProto::di_size() const { |
22462 | return di_.size(); |
22463 | } |
22464 | inline ::Hdfs::Internal::DatanodeInfoProto* GetDatanodeReportResponseProto::mutable_di(int index) { |
22465 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetDatanodeReportResponseProto.di) |
22466 | return di_.Mutable(index); |
22467 | } |
22468 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >* |
22469 | GetDatanodeReportResponseProto::mutable_di() { |
22470 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.GetDatanodeReportResponseProto.di) |
22471 | return &di_; |
22472 | } |
22473 | inline const ::Hdfs::Internal::DatanodeInfoProto& GetDatanodeReportResponseProto::di(int index) const { |
22474 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetDatanodeReportResponseProto.di) |
22475 | return di_.Get(index); |
22476 | } |
22477 | inline ::Hdfs::Internal::DatanodeInfoProto* GetDatanodeReportResponseProto::add_di() { |
22478 | // @@protoc_insertion_point(field_add:Hdfs.Internal.GetDatanodeReportResponseProto.di) |
22479 | return di_.Add(); |
22480 | } |
22481 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeInfoProto >& |
22482 | GetDatanodeReportResponseProto::di() const { |
22483 | // @@protoc_insertion_point(field_list:Hdfs.Internal.GetDatanodeReportResponseProto.di) |
22484 | return di_; |
22485 | } |
22486 | |
22487 | // ------------------------------------------------------------------- |
22488 | |
22489 | // GetPreferredBlockSizeRequestProto |
22490 | |
22491 | // required string filename = 1; |
22492 | inline bool GetPreferredBlockSizeRequestProto::has_filename() const { |
22493 | return (_has_bits_[0] & 0x00000001u) != 0; |
22494 | } |
22495 | inline void GetPreferredBlockSizeRequestProto::set_has_filename() { |
22496 | _has_bits_[0] |= 0x00000001u; |
22497 | } |
22498 | inline void GetPreferredBlockSizeRequestProto::clear_has_filename() { |
22499 | _has_bits_[0] &= ~0x00000001u; |
22500 | } |
22501 | inline void GetPreferredBlockSizeRequestProto::clear_filename() { |
22502 | filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22503 | clear_has_filename(); |
22504 | } |
22505 | inline const ::std::string& GetPreferredBlockSizeRequestProto::filename() const { |
22506 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22507 | return filename_.GetNoArena(); |
22508 | } |
22509 | inline void GetPreferredBlockSizeRequestProto::set_filename(const ::std::string& value) { |
22510 | set_has_filename(); |
22511 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22512 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22513 | } |
22514 | #if LANG_CXX11 |
22515 | inline void GetPreferredBlockSizeRequestProto::set_filename(::std::string&& value) { |
22516 | set_has_filename(); |
22517 | filename_.SetNoArena( |
22518 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22519 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22520 | } |
22521 | #endif |
22522 | inline void GetPreferredBlockSizeRequestProto::set_filename(const char* value) { |
22523 | GOOGLE_DCHECK(value != NULL); |
22524 | set_has_filename(); |
22525 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22526 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22527 | } |
22528 | inline void GetPreferredBlockSizeRequestProto::set_filename(const char* value, size_t size) { |
22529 | set_has_filename(); |
22530 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22531 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22532 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22533 | } |
22534 | inline ::std::string* GetPreferredBlockSizeRequestProto::mutable_filename() { |
22535 | set_has_filename(); |
22536 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22537 | return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22538 | } |
22539 | inline ::std::string* GetPreferredBlockSizeRequestProto::release_filename() { |
22540 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22541 | if (!has_filename()) { |
22542 | return NULL; |
22543 | } |
22544 | clear_has_filename(); |
22545 | return filename_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22546 | } |
22547 | inline void GetPreferredBlockSizeRequestProto::set_allocated_filename(::std::string* filename) { |
22548 | if (filename != NULL) { |
22549 | set_has_filename(); |
22550 | } else { |
22551 | clear_has_filename(); |
22552 | } |
22553 | filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename); |
22554 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetPreferredBlockSizeRequestProto.filename) |
22555 | } |
22556 | |
22557 | // ------------------------------------------------------------------- |
22558 | |
22559 | // GetPreferredBlockSizeResponseProto |
22560 | |
22561 | // required uint64 bsize = 1; |
22562 | inline bool GetPreferredBlockSizeResponseProto::has_bsize() const { |
22563 | return (_has_bits_[0] & 0x00000001u) != 0; |
22564 | } |
22565 | inline void GetPreferredBlockSizeResponseProto::set_has_bsize() { |
22566 | _has_bits_[0] |= 0x00000001u; |
22567 | } |
22568 | inline void GetPreferredBlockSizeResponseProto::clear_has_bsize() { |
22569 | _has_bits_[0] &= ~0x00000001u; |
22570 | } |
22571 | inline void GetPreferredBlockSizeResponseProto::clear_bsize() { |
22572 | bsize_ = GOOGLE_ULONGLONG(0); |
22573 | clear_has_bsize(); |
22574 | } |
22575 | inline ::google::protobuf::uint64 GetPreferredBlockSizeResponseProto::bsize() const { |
22576 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetPreferredBlockSizeResponseProto.bsize) |
22577 | return bsize_; |
22578 | } |
22579 | inline void GetPreferredBlockSizeResponseProto::set_bsize(::google::protobuf::uint64 value) { |
22580 | set_has_bsize(); |
22581 | bsize_ = value; |
22582 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetPreferredBlockSizeResponseProto.bsize) |
22583 | } |
22584 | |
22585 | // ------------------------------------------------------------------- |
22586 | |
22587 | // SetSafeModeRequestProto |
22588 | |
22589 | // required .Hdfs.Internal.SafeModeActionProto action = 1; |
22590 | inline bool SetSafeModeRequestProto::has_action() const { |
22591 | return (_has_bits_[0] & 0x00000002u) != 0; |
22592 | } |
22593 | inline void SetSafeModeRequestProto::set_has_action() { |
22594 | _has_bits_[0] |= 0x00000002u; |
22595 | } |
22596 | inline void SetSafeModeRequestProto::clear_has_action() { |
22597 | _has_bits_[0] &= ~0x00000002u; |
22598 | } |
22599 | inline void SetSafeModeRequestProto::clear_action() { |
22600 | action_ = 1; |
22601 | clear_has_action(); |
22602 | } |
22603 | inline ::Hdfs::Internal::SafeModeActionProto SetSafeModeRequestProto::action() const { |
22604 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetSafeModeRequestProto.action) |
22605 | return static_cast< ::Hdfs::Internal::SafeModeActionProto >(action_); |
22606 | } |
22607 | inline void SetSafeModeRequestProto::set_action(::Hdfs::Internal::SafeModeActionProto value) { |
22608 | assert(::Hdfs::Internal::SafeModeActionProto_IsValid(value)); |
22609 | set_has_action(); |
22610 | action_ = value; |
22611 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetSafeModeRequestProto.action) |
22612 | } |
22613 | |
22614 | // optional bool checked = 2 [default = false]; |
22615 | inline bool SetSafeModeRequestProto::has_checked() const { |
22616 | return (_has_bits_[0] & 0x00000001u) != 0; |
22617 | } |
22618 | inline void SetSafeModeRequestProto::set_has_checked() { |
22619 | _has_bits_[0] |= 0x00000001u; |
22620 | } |
22621 | inline void SetSafeModeRequestProto::clear_has_checked() { |
22622 | _has_bits_[0] &= ~0x00000001u; |
22623 | } |
22624 | inline void SetSafeModeRequestProto::clear_checked() { |
22625 | checked_ = false; |
22626 | clear_has_checked(); |
22627 | } |
22628 | inline bool SetSafeModeRequestProto::checked() const { |
22629 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetSafeModeRequestProto.checked) |
22630 | return checked_; |
22631 | } |
22632 | inline void SetSafeModeRequestProto::set_checked(bool value) { |
22633 | set_has_checked(); |
22634 | checked_ = value; |
22635 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetSafeModeRequestProto.checked) |
22636 | } |
22637 | |
22638 | // ------------------------------------------------------------------- |
22639 | |
22640 | // SetSafeModeResponseProto |
22641 | |
22642 | // required bool result = 1; |
22643 | inline bool SetSafeModeResponseProto::has_result() const { |
22644 | return (_has_bits_[0] & 0x00000001u) != 0; |
22645 | } |
22646 | inline void SetSafeModeResponseProto::set_has_result() { |
22647 | _has_bits_[0] |= 0x00000001u; |
22648 | } |
22649 | inline void SetSafeModeResponseProto::clear_has_result() { |
22650 | _has_bits_[0] &= ~0x00000001u; |
22651 | } |
22652 | inline void SetSafeModeResponseProto::clear_result() { |
22653 | result_ = false; |
22654 | clear_has_result(); |
22655 | } |
22656 | inline bool SetSafeModeResponseProto::result() const { |
22657 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetSafeModeResponseProto.result) |
22658 | return result_; |
22659 | } |
22660 | inline void SetSafeModeResponseProto::set_result(bool value) { |
22661 | set_has_result(); |
22662 | result_ = value; |
22663 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetSafeModeResponseProto.result) |
22664 | } |
22665 | |
22666 | // ------------------------------------------------------------------- |
22667 | |
22668 | // SaveNamespaceRequestProto |
22669 | |
22670 | // ------------------------------------------------------------------- |
22671 | |
22672 | // SaveNamespaceResponseProto |
22673 | |
22674 | // ------------------------------------------------------------------- |
22675 | |
22676 | // RollEditsRequestProto |
22677 | |
22678 | // ------------------------------------------------------------------- |
22679 | |
22680 | // RollEditsResponseProto |
22681 | |
22682 | // required uint64 newSegmentTxId = 1; |
22683 | inline bool RollEditsResponseProto::has_newsegmenttxid() const { |
22684 | return (_has_bits_[0] & 0x00000001u) != 0; |
22685 | } |
22686 | inline void RollEditsResponseProto::set_has_newsegmenttxid() { |
22687 | _has_bits_[0] |= 0x00000001u; |
22688 | } |
22689 | inline void RollEditsResponseProto::clear_has_newsegmenttxid() { |
22690 | _has_bits_[0] &= ~0x00000001u; |
22691 | } |
22692 | inline void RollEditsResponseProto::clear_newsegmenttxid() { |
22693 | newsegmenttxid_ = GOOGLE_ULONGLONG(0); |
22694 | clear_has_newsegmenttxid(); |
22695 | } |
22696 | inline ::google::protobuf::uint64 RollEditsResponseProto::newsegmenttxid() const { |
22697 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RollEditsResponseProto.newSegmentTxId) |
22698 | return newsegmenttxid_; |
22699 | } |
22700 | inline void RollEditsResponseProto::set_newsegmenttxid(::google::protobuf::uint64 value) { |
22701 | set_has_newsegmenttxid(); |
22702 | newsegmenttxid_ = value; |
22703 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RollEditsResponseProto.newSegmentTxId) |
22704 | } |
22705 | |
22706 | // ------------------------------------------------------------------- |
22707 | |
22708 | // RestoreFailedStorageRequestProto |
22709 | |
22710 | // required string arg = 1; |
22711 | inline bool RestoreFailedStorageRequestProto::has_arg() const { |
22712 | return (_has_bits_[0] & 0x00000001u) != 0; |
22713 | } |
22714 | inline void RestoreFailedStorageRequestProto::set_has_arg() { |
22715 | _has_bits_[0] |= 0x00000001u; |
22716 | } |
22717 | inline void RestoreFailedStorageRequestProto::clear_has_arg() { |
22718 | _has_bits_[0] &= ~0x00000001u; |
22719 | } |
22720 | inline void RestoreFailedStorageRequestProto::clear_arg() { |
22721 | arg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22722 | clear_has_arg(); |
22723 | } |
22724 | inline const ::std::string& RestoreFailedStorageRequestProto::arg() const { |
22725 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22726 | return arg_.GetNoArena(); |
22727 | } |
22728 | inline void RestoreFailedStorageRequestProto::set_arg(const ::std::string& value) { |
22729 | set_has_arg(); |
22730 | arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22731 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22732 | } |
22733 | #if LANG_CXX11 |
22734 | inline void RestoreFailedStorageRequestProto::set_arg(::std::string&& value) { |
22735 | set_has_arg(); |
22736 | arg_.SetNoArena( |
22737 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22738 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22739 | } |
22740 | #endif |
22741 | inline void RestoreFailedStorageRequestProto::set_arg(const char* value) { |
22742 | GOOGLE_DCHECK(value != NULL); |
22743 | set_has_arg(); |
22744 | arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22745 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22746 | } |
22747 | inline void RestoreFailedStorageRequestProto::set_arg(const char* value, size_t size) { |
22748 | set_has_arg(); |
22749 | arg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22750 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22751 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22752 | } |
22753 | inline ::std::string* RestoreFailedStorageRequestProto::mutable_arg() { |
22754 | set_has_arg(); |
22755 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22756 | return arg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22757 | } |
22758 | inline ::std::string* RestoreFailedStorageRequestProto::release_arg() { |
22759 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22760 | if (!has_arg()) { |
22761 | return NULL; |
22762 | } |
22763 | clear_has_arg(); |
22764 | return arg_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22765 | } |
22766 | inline void RestoreFailedStorageRequestProto::set_allocated_arg(::std::string* arg) { |
22767 | if (arg != NULL) { |
22768 | set_has_arg(); |
22769 | } else { |
22770 | clear_has_arg(); |
22771 | } |
22772 | arg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), arg); |
22773 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RestoreFailedStorageRequestProto.arg) |
22774 | } |
22775 | |
22776 | // ------------------------------------------------------------------- |
22777 | |
22778 | // RestoreFailedStorageResponseProto |
22779 | |
22780 | // required bool result = 1; |
22781 | inline bool RestoreFailedStorageResponseProto::has_result() const { |
22782 | return (_has_bits_[0] & 0x00000001u) != 0; |
22783 | } |
22784 | inline void RestoreFailedStorageResponseProto::set_has_result() { |
22785 | _has_bits_[0] |= 0x00000001u; |
22786 | } |
22787 | inline void RestoreFailedStorageResponseProto::clear_has_result() { |
22788 | _has_bits_[0] &= ~0x00000001u; |
22789 | } |
22790 | inline void RestoreFailedStorageResponseProto::clear_result() { |
22791 | result_ = false; |
22792 | clear_has_result(); |
22793 | } |
22794 | inline bool RestoreFailedStorageResponseProto::result() const { |
22795 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RestoreFailedStorageResponseProto.result) |
22796 | return result_; |
22797 | } |
22798 | inline void RestoreFailedStorageResponseProto::set_result(bool value) { |
22799 | set_has_result(); |
22800 | result_ = value; |
22801 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RestoreFailedStorageResponseProto.result) |
22802 | } |
22803 | |
22804 | // ------------------------------------------------------------------- |
22805 | |
22806 | // RefreshNodesRequestProto |
22807 | |
22808 | // ------------------------------------------------------------------- |
22809 | |
22810 | // RefreshNodesResponseProto |
22811 | |
22812 | // ------------------------------------------------------------------- |
22813 | |
22814 | // FinalizeUpgradeRequestProto |
22815 | |
22816 | // ------------------------------------------------------------------- |
22817 | |
22818 | // FinalizeUpgradeResponseProto |
22819 | |
22820 | // ------------------------------------------------------------------- |
22821 | |
22822 | // ListCorruptFileBlocksRequestProto |
22823 | |
22824 | // required string path = 1; |
22825 | inline bool ListCorruptFileBlocksRequestProto::has_path() const { |
22826 | return (_has_bits_[0] & 0x00000001u) != 0; |
22827 | } |
22828 | inline void ListCorruptFileBlocksRequestProto::set_has_path() { |
22829 | _has_bits_[0] |= 0x00000001u; |
22830 | } |
22831 | inline void ListCorruptFileBlocksRequestProto::clear_has_path() { |
22832 | _has_bits_[0] &= ~0x00000001u; |
22833 | } |
22834 | inline void ListCorruptFileBlocksRequestProto::clear_path() { |
22835 | path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22836 | clear_has_path(); |
22837 | } |
22838 | inline const ::std::string& ListCorruptFileBlocksRequestProto::path() const { |
22839 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22840 | return path_.GetNoArena(); |
22841 | } |
22842 | inline void ListCorruptFileBlocksRequestProto::set_path(const ::std::string& value) { |
22843 | set_has_path(); |
22844 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22845 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22846 | } |
22847 | #if LANG_CXX11 |
22848 | inline void ListCorruptFileBlocksRequestProto::set_path(::std::string&& value) { |
22849 | set_has_path(); |
22850 | path_.SetNoArena( |
22851 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22852 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22853 | } |
22854 | #endif |
22855 | inline void ListCorruptFileBlocksRequestProto::set_path(const char* value) { |
22856 | GOOGLE_DCHECK(value != NULL); |
22857 | set_has_path(); |
22858 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22859 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22860 | } |
22861 | inline void ListCorruptFileBlocksRequestProto::set_path(const char* value, size_t size) { |
22862 | set_has_path(); |
22863 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22864 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22865 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22866 | } |
22867 | inline ::std::string* ListCorruptFileBlocksRequestProto::mutable_path() { |
22868 | set_has_path(); |
22869 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22870 | return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22871 | } |
22872 | inline ::std::string* ListCorruptFileBlocksRequestProto::release_path() { |
22873 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22874 | if (!has_path()) { |
22875 | return NULL; |
22876 | } |
22877 | clear_has_path(); |
22878 | return path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22879 | } |
22880 | inline void ListCorruptFileBlocksRequestProto::set_allocated_path(::std::string* path) { |
22881 | if (path != NULL) { |
22882 | set_has_path(); |
22883 | } else { |
22884 | clear_has_path(); |
22885 | } |
22886 | path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); |
22887 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ListCorruptFileBlocksRequestProto.path) |
22888 | } |
22889 | |
22890 | // optional string cookie = 2; |
22891 | inline bool ListCorruptFileBlocksRequestProto::has_cookie() const { |
22892 | return (_has_bits_[0] & 0x00000002u) != 0; |
22893 | } |
22894 | inline void ListCorruptFileBlocksRequestProto::set_has_cookie() { |
22895 | _has_bits_[0] |= 0x00000002u; |
22896 | } |
22897 | inline void ListCorruptFileBlocksRequestProto::clear_has_cookie() { |
22898 | _has_bits_[0] &= ~0x00000002u; |
22899 | } |
22900 | inline void ListCorruptFileBlocksRequestProto::clear_cookie() { |
22901 | cookie_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22902 | clear_has_cookie(); |
22903 | } |
22904 | inline const ::std::string& ListCorruptFileBlocksRequestProto::cookie() const { |
22905 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22906 | return cookie_.GetNoArena(); |
22907 | } |
22908 | inline void ListCorruptFileBlocksRequestProto::set_cookie(const ::std::string& value) { |
22909 | set_has_cookie(); |
22910 | cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
22911 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22912 | } |
22913 | #if LANG_CXX11 |
22914 | inline void ListCorruptFileBlocksRequestProto::set_cookie(::std::string&& value) { |
22915 | set_has_cookie(); |
22916 | cookie_.SetNoArena( |
22917 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
22918 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22919 | } |
22920 | #endif |
22921 | inline void ListCorruptFileBlocksRequestProto::set_cookie(const char* value) { |
22922 | GOOGLE_DCHECK(value != NULL); |
22923 | set_has_cookie(); |
22924 | cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
22925 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22926 | } |
22927 | inline void ListCorruptFileBlocksRequestProto::set_cookie(const char* value, size_t size) { |
22928 | set_has_cookie(); |
22929 | cookie_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
22930 | ::std::string(reinterpret_cast<const char*>(value), size)); |
22931 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22932 | } |
22933 | inline ::std::string* ListCorruptFileBlocksRequestProto::mutable_cookie() { |
22934 | set_has_cookie(); |
22935 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22936 | return cookie_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22937 | } |
22938 | inline ::std::string* ListCorruptFileBlocksRequestProto::release_cookie() { |
22939 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22940 | if (!has_cookie()) { |
22941 | return NULL; |
22942 | } |
22943 | clear_has_cookie(); |
22944 | return cookie_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
22945 | } |
22946 | inline void ListCorruptFileBlocksRequestProto::set_allocated_cookie(::std::string* cookie) { |
22947 | if (cookie != NULL) { |
22948 | set_has_cookie(); |
22949 | } else { |
22950 | clear_has_cookie(); |
22951 | } |
22952 | cookie_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), cookie); |
22953 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ListCorruptFileBlocksRequestProto.cookie) |
22954 | } |
22955 | |
22956 | // ------------------------------------------------------------------- |
22957 | |
22958 | // ListCorruptFileBlocksResponseProto |
22959 | |
22960 | // required .Hdfs.Internal.CorruptFileBlocksProto corrupt = 1; |
22961 | inline bool ListCorruptFileBlocksResponseProto::has_corrupt() const { |
22962 | return (_has_bits_[0] & 0x00000001u) != 0; |
22963 | } |
22964 | inline void ListCorruptFileBlocksResponseProto::set_has_corrupt() { |
22965 | _has_bits_[0] |= 0x00000001u; |
22966 | } |
22967 | inline void ListCorruptFileBlocksResponseProto::clear_has_corrupt() { |
22968 | _has_bits_[0] &= ~0x00000001u; |
22969 | } |
22970 | inline const ::Hdfs::Internal::CorruptFileBlocksProto& ListCorruptFileBlocksResponseProto::_internal_corrupt() const { |
22971 | return *corrupt_; |
22972 | } |
22973 | inline const ::Hdfs::Internal::CorruptFileBlocksProto& ListCorruptFileBlocksResponseProto::corrupt() const { |
22974 | const ::Hdfs::Internal::CorruptFileBlocksProto* p = corrupt_; |
22975 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCorruptFileBlocksResponseProto.corrupt) |
22976 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CorruptFileBlocksProto*>( |
22977 | &::Hdfs::Internal::_CorruptFileBlocksProto_default_instance_); |
22978 | } |
22979 | inline ::Hdfs::Internal::CorruptFileBlocksProto* ListCorruptFileBlocksResponseProto::release_corrupt() { |
22980 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ListCorruptFileBlocksResponseProto.corrupt) |
22981 | clear_has_corrupt(); |
22982 | ::Hdfs::Internal::CorruptFileBlocksProto* temp = corrupt_; |
22983 | corrupt_ = NULL; |
22984 | return temp; |
22985 | } |
22986 | inline ::Hdfs::Internal::CorruptFileBlocksProto* ListCorruptFileBlocksResponseProto::mutable_corrupt() { |
22987 | set_has_corrupt(); |
22988 | if (corrupt_ == NULL) { |
22989 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CorruptFileBlocksProto>(GetArenaNoVirtual()); |
22990 | corrupt_ = p; |
22991 | } |
22992 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCorruptFileBlocksResponseProto.corrupt) |
22993 | return corrupt_; |
22994 | } |
22995 | inline void ListCorruptFileBlocksResponseProto::set_allocated_corrupt(::Hdfs::Internal::CorruptFileBlocksProto* corrupt) { |
22996 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
22997 | if (message_arena == NULL) { |
22998 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(corrupt_); |
22999 | } |
23000 | if (corrupt) { |
23001 | ::google::protobuf::Arena* submessage_arena = NULL; |
23002 | if (message_arena != submessage_arena) { |
23003 | corrupt = ::google::protobuf::internal::GetOwnedMessage( |
23004 | message_arena, corrupt, submessage_arena); |
23005 | } |
23006 | set_has_corrupt(); |
23007 | } else { |
23008 | clear_has_corrupt(); |
23009 | } |
23010 | corrupt_ = corrupt; |
23011 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ListCorruptFileBlocksResponseProto.corrupt) |
23012 | } |
23013 | |
23014 | // ------------------------------------------------------------------- |
23015 | |
23016 | // MetaSaveRequestProto |
23017 | |
23018 | // required string filename = 1; |
23019 | inline bool MetaSaveRequestProto::has_filename() const { |
23020 | return (_has_bits_[0] & 0x00000001u) != 0; |
23021 | } |
23022 | inline void MetaSaveRequestProto::set_has_filename() { |
23023 | _has_bits_[0] |= 0x00000001u; |
23024 | } |
23025 | inline void MetaSaveRequestProto::clear_has_filename() { |
23026 | _has_bits_[0] &= ~0x00000001u; |
23027 | } |
23028 | inline void MetaSaveRequestProto::clear_filename() { |
23029 | filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23030 | clear_has_filename(); |
23031 | } |
23032 | inline const ::std::string& MetaSaveRequestProto::filename() const { |
23033 | // @@protoc_insertion_point(field_get:Hdfs.Internal.MetaSaveRequestProto.filename) |
23034 | return filename_.GetNoArena(); |
23035 | } |
23036 | inline void MetaSaveRequestProto::set_filename(const ::std::string& value) { |
23037 | set_has_filename(); |
23038 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
23039 | // @@protoc_insertion_point(field_set:Hdfs.Internal.MetaSaveRequestProto.filename) |
23040 | } |
23041 | #if LANG_CXX11 |
23042 | inline void MetaSaveRequestProto::set_filename(::std::string&& value) { |
23043 | set_has_filename(); |
23044 | filename_.SetNoArena( |
23045 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
23046 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.MetaSaveRequestProto.filename) |
23047 | } |
23048 | #endif |
23049 | inline void MetaSaveRequestProto::set_filename(const char* value) { |
23050 | GOOGLE_DCHECK(value != NULL); |
23051 | set_has_filename(); |
23052 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
23053 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.MetaSaveRequestProto.filename) |
23054 | } |
23055 | inline void MetaSaveRequestProto::set_filename(const char* value, size_t size) { |
23056 | set_has_filename(); |
23057 | filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
23058 | ::std::string(reinterpret_cast<const char*>(value), size)); |
23059 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.MetaSaveRequestProto.filename) |
23060 | } |
23061 | inline ::std::string* MetaSaveRequestProto::mutable_filename() { |
23062 | set_has_filename(); |
23063 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.MetaSaveRequestProto.filename) |
23064 | return filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23065 | } |
23066 | inline ::std::string* MetaSaveRequestProto::release_filename() { |
23067 | // @@protoc_insertion_point(field_release:Hdfs.Internal.MetaSaveRequestProto.filename) |
23068 | if (!has_filename()) { |
23069 | return NULL; |
23070 | } |
23071 | clear_has_filename(); |
23072 | return filename_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23073 | } |
23074 | inline void MetaSaveRequestProto::set_allocated_filename(::std::string* filename) { |
23075 | if (filename != NULL) { |
23076 | set_has_filename(); |
23077 | } else { |
23078 | clear_has_filename(); |
23079 | } |
23080 | filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), filename); |
23081 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.MetaSaveRequestProto.filename) |
23082 | } |
23083 | |
23084 | // ------------------------------------------------------------------- |
23085 | |
23086 | // MetaSaveResponseProto |
23087 | |
23088 | // ------------------------------------------------------------------- |
23089 | |
23090 | // GetFileInfoRequestProto |
23091 | |
23092 | // required string src = 1; |
23093 | inline bool GetFileInfoRequestProto::has_src() const { |
23094 | return (_has_bits_[0] & 0x00000001u) != 0; |
23095 | } |
23096 | inline void GetFileInfoRequestProto::set_has_src() { |
23097 | _has_bits_[0] |= 0x00000001u; |
23098 | } |
23099 | inline void GetFileInfoRequestProto::clear_has_src() { |
23100 | _has_bits_[0] &= ~0x00000001u; |
23101 | } |
23102 | inline void GetFileInfoRequestProto::clear_src() { |
23103 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23104 | clear_has_src(); |
23105 | } |
23106 | inline const ::std::string& GetFileInfoRequestProto::src() const { |
23107 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFileInfoRequestProto.src) |
23108 | return src_.GetNoArena(); |
23109 | } |
23110 | inline void GetFileInfoRequestProto::set_src(const ::std::string& value) { |
23111 | set_has_src(); |
23112 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
23113 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFileInfoRequestProto.src) |
23114 | } |
23115 | #if LANG_CXX11 |
23116 | inline void GetFileInfoRequestProto::set_src(::std::string&& value) { |
23117 | set_has_src(); |
23118 | src_.SetNoArena( |
23119 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
23120 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetFileInfoRequestProto.src) |
23121 | } |
23122 | #endif |
23123 | inline void GetFileInfoRequestProto::set_src(const char* value) { |
23124 | GOOGLE_DCHECK(value != NULL); |
23125 | set_has_src(); |
23126 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
23127 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetFileInfoRequestProto.src) |
23128 | } |
23129 | inline void GetFileInfoRequestProto::set_src(const char* value, size_t size) { |
23130 | set_has_src(); |
23131 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
23132 | ::std::string(reinterpret_cast<const char*>(value), size)); |
23133 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetFileInfoRequestProto.src) |
23134 | } |
23135 | inline ::std::string* GetFileInfoRequestProto::mutable_src() { |
23136 | set_has_src(); |
23137 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetFileInfoRequestProto.src) |
23138 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23139 | } |
23140 | inline ::std::string* GetFileInfoRequestProto::release_src() { |
23141 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetFileInfoRequestProto.src) |
23142 | if (!has_src()) { |
23143 | return NULL; |
23144 | } |
23145 | clear_has_src(); |
23146 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23147 | } |
23148 | inline void GetFileInfoRequestProto::set_allocated_src(::std::string* src) { |
23149 | if (src != NULL) { |
23150 | set_has_src(); |
23151 | } else { |
23152 | clear_has_src(); |
23153 | } |
23154 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
23155 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetFileInfoRequestProto.src) |
23156 | } |
23157 | |
23158 | // ------------------------------------------------------------------- |
23159 | |
23160 | // GetFileInfoResponseProto |
23161 | |
23162 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
23163 | inline bool GetFileInfoResponseProto::has_fs() const { |
23164 | return (_has_bits_[0] & 0x00000001u) != 0; |
23165 | } |
23166 | inline void GetFileInfoResponseProto::set_has_fs() { |
23167 | _has_bits_[0] |= 0x00000001u; |
23168 | } |
23169 | inline void GetFileInfoResponseProto::clear_has_fs() { |
23170 | _has_bits_[0] &= ~0x00000001u; |
23171 | } |
23172 | inline const ::Hdfs::Internal::HdfsFileStatusProto& GetFileInfoResponseProto::_internal_fs() const { |
23173 | return *fs_; |
23174 | } |
23175 | inline const ::Hdfs::Internal::HdfsFileStatusProto& GetFileInfoResponseProto::fs() const { |
23176 | const ::Hdfs::Internal::HdfsFileStatusProto* p = fs_; |
23177 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFileInfoResponseProto.fs) |
23178 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::HdfsFileStatusProto*>( |
23179 | &::Hdfs::Internal::_HdfsFileStatusProto_default_instance_); |
23180 | } |
23181 | inline ::Hdfs::Internal::HdfsFileStatusProto* GetFileInfoResponseProto::release_fs() { |
23182 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetFileInfoResponseProto.fs) |
23183 | clear_has_fs(); |
23184 | ::Hdfs::Internal::HdfsFileStatusProto* temp = fs_; |
23185 | fs_ = NULL; |
23186 | return temp; |
23187 | } |
23188 | inline ::Hdfs::Internal::HdfsFileStatusProto* GetFileInfoResponseProto::mutable_fs() { |
23189 | set_has_fs(); |
23190 | if (fs_ == NULL) { |
23191 | auto* p = CreateMaybeMessage<::Hdfs::Internal::HdfsFileStatusProto>(GetArenaNoVirtual()); |
23192 | fs_ = p; |
23193 | } |
23194 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetFileInfoResponseProto.fs) |
23195 | return fs_; |
23196 | } |
23197 | inline void GetFileInfoResponseProto::set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs) { |
23198 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
23199 | if (message_arena == NULL) { |
23200 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(fs_); |
23201 | } |
23202 | if (fs) { |
23203 | ::google::protobuf::Arena* submessage_arena = NULL; |
23204 | if (message_arena != submessage_arena) { |
23205 | fs = ::google::protobuf::internal::GetOwnedMessage( |
23206 | message_arena, fs, submessage_arena); |
23207 | } |
23208 | set_has_fs(); |
23209 | } else { |
23210 | clear_has_fs(); |
23211 | } |
23212 | fs_ = fs; |
23213 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetFileInfoResponseProto.fs) |
23214 | } |
23215 | |
23216 | // ------------------------------------------------------------------- |
23217 | |
23218 | // IsFileClosedRequestProto |
23219 | |
23220 | // required string src = 1; |
23221 | inline bool IsFileClosedRequestProto::has_src() const { |
23222 | return (_has_bits_[0] & 0x00000001u) != 0; |
23223 | } |
23224 | inline void IsFileClosedRequestProto::set_has_src() { |
23225 | _has_bits_[0] |= 0x00000001u; |
23226 | } |
23227 | inline void IsFileClosedRequestProto::clear_has_src() { |
23228 | _has_bits_[0] &= ~0x00000001u; |
23229 | } |
23230 | inline void IsFileClosedRequestProto::clear_src() { |
23231 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23232 | clear_has_src(); |
23233 | } |
23234 | inline const ::std::string& IsFileClosedRequestProto::src() const { |
23235 | // @@protoc_insertion_point(field_get:Hdfs.Internal.IsFileClosedRequestProto.src) |
23236 | return src_.GetNoArena(); |
23237 | } |
23238 | inline void IsFileClosedRequestProto::set_src(const ::std::string& value) { |
23239 | set_has_src(); |
23240 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
23241 | // @@protoc_insertion_point(field_set:Hdfs.Internal.IsFileClosedRequestProto.src) |
23242 | } |
23243 | #if LANG_CXX11 |
23244 | inline void IsFileClosedRequestProto::set_src(::std::string&& value) { |
23245 | set_has_src(); |
23246 | src_.SetNoArena( |
23247 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
23248 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.IsFileClosedRequestProto.src) |
23249 | } |
23250 | #endif |
23251 | inline void IsFileClosedRequestProto::set_src(const char* value) { |
23252 | GOOGLE_DCHECK(value != NULL); |
23253 | set_has_src(); |
23254 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
23255 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.IsFileClosedRequestProto.src) |
23256 | } |
23257 | inline void IsFileClosedRequestProto::set_src(const char* value, size_t size) { |
23258 | set_has_src(); |
23259 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
23260 | ::std::string(reinterpret_cast<const char*>(value), size)); |
23261 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.IsFileClosedRequestProto.src) |
23262 | } |
23263 | inline ::std::string* IsFileClosedRequestProto::mutable_src() { |
23264 | set_has_src(); |
23265 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.IsFileClosedRequestProto.src) |
23266 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23267 | } |
23268 | inline ::std::string* IsFileClosedRequestProto::release_src() { |
23269 | // @@protoc_insertion_point(field_release:Hdfs.Internal.IsFileClosedRequestProto.src) |
23270 | if (!has_src()) { |
23271 | return NULL; |
23272 | } |
23273 | clear_has_src(); |
23274 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23275 | } |
23276 | inline void IsFileClosedRequestProto::set_allocated_src(::std::string* src) { |
23277 | if (src != NULL) { |
23278 | set_has_src(); |
23279 | } else { |
23280 | clear_has_src(); |
23281 | } |
23282 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
23283 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.IsFileClosedRequestProto.src) |
23284 | } |
23285 | |
23286 | // ------------------------------------------------------------------- |
23287 | |
23288 | // IsFileClosedResponseProto |
23289 | |
23290 | // required bool result = 1; |
23291 | inline bool IsFileClosedResponseProto::has_result() const { |
23292 | return (_has_bits_[0] & 0x00000001u) != 0; |
23293 | } |
23294 | inline void IsFileClosedResponseProto::set_has_result() { |
23295 | _has_bits_[0] |= 0x00000001u; |
23296 | } |
23297 | inline void IsFileClosedResponseProto::clear_has_result() { |
23298 | _has_bits_[0] &= ~0x00000001u; |
23299 | } |
23300 | inline void IsFileClosedResponseProto::clear_result() { |
23301 | result_ = false; |
23302 | clear_has_result(); |
23303 | } |
23304 | inline bool IsFileClosedResponseProto::result() const { |
23305 | // @@protoc_insertion_point(field_get:Hdfs.Internal.IsFileClosedResponseProto.result) |
23306 | return result_; |
23307 | } |
23308 | inline void IsFileClosedResponseProto::set_result(bool value) { |
23309 | set_has_result(); |
23310 | result_ = value; |
23311 | // @@protoc_insertion_point(field_set:Hdfs.Internal.IsFileClosedResponseProto.result) |
23312 | } |
23313 | |
23314 | // ------------------------------------------------------------------- |
23315 | |
23316 | // CacheDirectiveInfoProto |
23317 | |
23318 | // optional int64 id = 1; |
23319 | inline bool CacheDirectiveInfoProto::has_id() const { |
23320 | return (_has_bits_[0] & 0x00000008u) != 0; |
23321 | } |
23322 | inline void CacheDirectiveInfoProto::set_has_id() { |
23323 | _has_bits_[0] |= 0x00000008u; |
23324 | } |
23325 | inline void CacheDirectiveInfoProto::clear_has_id() { |
23326 | _has_bits_[0] &= ~0x00000008u; |
23327 | } |
23328 | inline void CacheDirectiveInfoProto::clear_id() { |
23329 | id_ = GOOGLE_LONGLONG(0); |
23330 | clear_has_id(); |
23331 | } |
23332 | inline ::google::protobuf::int64 CacheDirectiveInfoProto::id() const { |
23333 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoProto.id) |
23334 | return id_; |
23335 | } |
23336 | inline void CacheDirectiveInfoProto::set_id(::google::protobuf::int64 value) { |
23337 | set_has_id(); |
23338 | id_ = value; |
23339 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoProto.id) |
23340 | } |
23341 | |
23342 | // optional string path = 2; |
23343 | inline bool CacheDirectiveInfoProto::has_path() const { |
23344 | return (_has_bits_[0] & 0x00000001u) != 0; |
23345 | } |
23346 | inline void CacheDirectiveInfoProto::set_has_path() { |
23347 | _has_bits_[0] |= 0x00000001u; |
23348 | } |
23349 | inline void CacheDirectiveInfoProto::clear_has_path() { |
23350 | _has_bits_[0] &= ~0x00000001u; |
23351 | } |
23352 | inline void CacheDirectiveInfoProto::clear_path() { |
23353 | path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23354 | clear_has_path(); |
23355 | } |
23356 | inline const ::std::string& CacheDirectiveInfoProto::path() const { |
23357 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23358 | return path_.GetNoArena(); |
23359 | } |
23360 | inline void CacheDirectiveInfoProto::set_path(const ::std::string& value) { |
23361 | set_has_path(); |
23362 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
23363 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23364 | } |
23365 | #if LANG_CXX11 |
23366 | inline void CacheDirectiveInfoProto::set_path(::std::string&& value) { |
23367 | set_has_path(); |
23368 | path_.SetNoArena( |
23369 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
23370 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23371 | } |
23372 | #endif |
23373 | inline void CacheDirectiveInfoProto::set_path(const char* value) { |
23374 | GOOGLE_DCHECK(value != NULL); |
23375 | set_has_path(); |
23376 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
23377 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23378 | } |
23379 | inline void CacheDirectiveInfoProto::set_path(const char* value, size_t size) { |
23380 | set_has_path(); |
23381 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
23382 | ::std::string(reinterpret_cast<const char*>(value), size)); |
23383 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23384 | } |
23385 | inline ::std::string* CacheDirectiveInfoProto::mutable_path() { |
23386 | set_has_path(); |
23387 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23388 | return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23389 | } |
23390 | inline ::std::string* CacheDirectiveInfoProto::release_path() { |
23391 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23392 | if (!has_path()) { |
23393 | return NULL; |
23394 | } |
23395 | clear_has_path(); |
23396 | return path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23397 | } |
23398 | inline void CacheDirectiveInfoProto::set_allocated_path(::std::string* path) { |
23399 | if (path != NULL) { |
23400 | set_has_path(); |
23401 | } else { |
23402 | clear_has_path(); |
23403 | } |
23404 | path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); |
23405 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CacheDirectiveInfoProto.path) |
23406 | } |
23407 | |
23408 | // optional uint32 replication = 3; |
23409 | inline bool CacheDirectiveInfoProto::has_replication() const { |
23410 | return (_has_bits_[0] & 0x00000010u) != 0; |
23411 | } |
23412 | inline void CacheDirectiveInfoProto::set_has_replication() { |
23413 | _has_bits_[0] |= 0x00000010u; |
23414 | } |
23415 | inline void CacheDirectiveInfoProto::clear_has_replication() { |
23416 | _has_bits_[0] &= ~0x00000010u; |
23417 | } |
23418 | inline void CacheDirectiveInfoProto::clear_replication() { |
23419 | replication_ = 0u; |
23420 | clear_has_replication(); |
23421 | } |
23422 | inline ::google::protobuf::uint32 CacheDirectiveInfoProto::replication() const { |
23423 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoProto.replication) |
23424 | return replication_; |
23425 | } |
23426 | inline void CacheDirectiveInfoProto::set_replication(::google::protobuf::uint32 value) { |
23427 | set_has_replication(); |
23428 | replication_ = value; |
23429 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoProto.replication) |
23430 | } |
23431 | |
23432 | // optional string pool = 4; |
23433 | inline bool CacheDirectiveInfoProto::has_pool() const { |
23434 | return (_has_bits_[0] & 0x00000002u) != 0; |
23435 | } |
23436 | inline void CacheDirectiveInfoProto::set_has_pool() { |
23437 | _has_bits_[0] |= 0x00000002u; |
23438 | } |
23439 | inline void CacheDirectiveInfoProto::clear_has_pool() { |
23440 | _has_bits_[0] &= ~0x00000002u; |
23441 | } |
23442 | inline void CacheDirectiveInfoProto::clear_pool() { |
23443 | pool_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23444 | clear_has_pool(); |
23445 | } |
23446 | inline const ::std::string& CacheDirectiveInfoProto::pool() const { |
23447 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23448 | return pool_.GetNoArena(); |
23449 | } |
23450 | inline void CacheDirectiveInfoProto::set_pool(const ::std::string& value) { |
23451 | set_has_pool(); |
23452 | pool_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
23453 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23454 | } |
23455 | #if LANG_CXX11 |
23456 | inline void CacheDirectiveInfoProto::set_pool(::std::string&& value) { |
23457 | set_has_pool(); |
23458 | pool_.SetNoArena( |
23459 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
23460 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23461 | } |
23462 | #endif |
23463 | inline void CacheDirectiveInfoProto::set_pool(const char* value) { |
23464 | GOOGLE_DCHECK(value != NULL); |
23465 | set_has_pool(); |
23466 | pool_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
23467 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23468 | } |
23469 | inline void CacheDirectiveInfoProto::set_pool(const char* value, size_t size) { |
23470 | set_has_pool(); |
23471 | pool_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
23472 | ::std::string(reinterpret_cast<const char*>(value), size)); |
23473 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23474 | } |
23475 | inline ::std::string* CacheDirectiveInfoProto::mutable_pool() { |
23476 | set_has_pool(); |
23477 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23478 | return pool_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23479 | } |
23480 | inline ::std::string* CacheDirectiveInfoProto::release_pool() { |
23481 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23482 | if (!has_pool()) { |
23483 | return NULL; |
23484 | } |
23485 | clear_has_pool(); |
23486 | return pool_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
23487 | } |
23488 | inline void CacheDirectiveInfoProto::set_allocated_pool(::std::string* pool) { |
23489 | if (pool != NULL) { |
23490 | set_has_pool(); |
23491 | } else { |
23492 | clear_has_pool(); |
23493 | } |
23494 | pool_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pool); |
23495 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CacheDirectiveInfoProto.pool) |
23496 | } |
23497 | |
23498 | // optional .Hdfs.Internal.CacheDirectiveInfoExpirationProto expiration = 5; |
23499 | inline bool CacheDirectiveInfoProto::has_expiration() const { |
23500 | return (_has_bits_[0] & 0x00000004u) != 0; |
23501 | } |
23502 | inline void CacheDirectiveInfoProto::set_has_expiration() { |
23503 | _has_bits_[0] |= 0x00000004u; |
23504 | } |
23505 | inline void CacheDirectiveInfoProto::clear_has_expiration() { |
23506 | _has_bits_[0] &= ~0x00000004u; |
23507 | } |
23508 | inline void CacheDirectiveInfoProto::clear_expiration() { |
23509 | if (expiration_ != NULL) expiration_->Clear(); |
23510 | clear_has_expiration(); |
23511 | } |
23512 | inline const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto& CacheDirectiveInfoProto::_internal_expiration() const { |
23513 | return *expiration_; |
23514 | } |
23515 | inline const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto& CacheDirectiveInfoProto::expiration() const { |
23516 | const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* p = expiration_; |
23517 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoProto.expiration) |
23518 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveInfoExpirationProto*>( |
23519 | &::Hdfs::Internal::_CacheDirectiveInfoExpirationProto_default_instance_); |
23520 | } |
23521 | inline ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* CacheDirectiveInfoProto::release_expiration() { |
23522 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CacheDirectiveInfoProto.expiration) |
23523 | clear_has_expiration(); |
23524 | ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* temp = expiration_; |
23525 | expiration_ = NULL; |
23526 | return temp; |
23527 | } |
23528 | inline ::Hdfs::Internal::CacheDirectiveInfoExpirationProto* CacheDirectiveInfoProto::mutable_expiration() { |
23529 | set_has_expiration(); |
23530 | if (expiration_ == NULL) { |
23531 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoExpirationProto>(GetArenaNoVirtual()); |
23532 | expiration_ = p; |
23533 | } |
23534 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CacheDirectiveInfoProto.expiration) |
23535 | return expiration_; |
23536 | } |
23537 | inline void CacheDirectiveInfoProto::set_allocated_expiration(::Hdfs::Internal::CacheDirectiveInfoExpirationProto* expiration) { |
23538 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
23539 | if (message_arena == NULL) { |
23540 | delete expiration_; |
23541 | } |
23542 | if (expiration) { |
23543 | ::google::protobuf::Arena* submessage_arena = NULL; |
23544 | if (message_arena != submessage_arena) { |
23545 | expiration = ::google::protobuf::internal::GetOwnedMessage( |
23546 | message_arena, expiration, submessage_arena); |
23547 | } |
23548 | set_has_expiration(); |
23549 | } else { |
23550 | clear_has_expiration(); |
23551 | } |
23552 | expiration_ = expiration; |
23553 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CacheDirectiveInfoProto.expiration) |
23554 | } |
23555 | |
23556 | // ------------------------------------------------------------------- |
23557 | |
23558 | // CacheDirectiveInfoExpirationProto |
23559 | |
23560 | // required int64 millis = 1; |
23561 | inline bool CacheDirectiveInfoExpirationProto::has_millis() const { |
23562 | return (_has_bits_[0] & 0x00000001u) != 0; |
23563 | } |
23564 | inline void CacheDirectiveInfoExpirationProto::set_has_millis() { |
23565 | _has_bits_[0] |= 0x00000001u; |
23566 | } |
23567 | inline void CacheDirectiveInfoExpirationProto::clear_has_millis() { |
23568 | _has_bits_[0] &= ~0x00000001u; |
23569 | } |
23570 | inline void CacheDirectiveInfoExpirationProto::clear_millis() { |
23571 | millis_ = GOOGLE_LONGLONG(0); |
23572 | clear_has_millis(); |
23573 | } |
23574 | inline ::google::protobuf::int64 CacheDirectiveInfoExpirationProto::millis() const { |
23575 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoExpirationProto.millis) |
23576 | return millis_; |
23577 | } |
23578 | inline void CacheDirectiveInfoExpirationProto::set_millis(::google::protobuf::int64 value) { |
23579 | set_has_millis(); |
23580 | millis_ = value; |
23581 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoExpirationProto.millis) |
23582 | } |
23583 | |
23584 | // required bool isRelative = 2; |
23585 | inline bool CacheDirectiveInfoExpirationProto::has_isrelative() const { |
23586 | return (_has_bits_[0] & 0x00000002u) != 0; |
23587 | } |
23588 | inline void CacheDirectiveInfoExpirationProto::set_has_isrelative() { |
23589 | _has_bits_[0] |= 0x00000002u; |
23590 | } |
23591 | inline void CacheDirectiveInfoExpirationProto::clear_has_isrelative() { |
23592 | _has_bits_[0] &= ~0x00000002u; |
23593 | } |
23594 | inline void CacheDirectiveInfoExpirationProto::clear_isrelative() { |
23595 | isrelative_ = false; |
23596 | clear_has_isrelative(); |
23597 | } |
23598 | inline bool CacheDirectiveInfoExpirationProto::isrelative() const { |
23599 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveInfoExpirationProto.isRelative) |
23600 | return isrelative_; |
23601 | } |
23602 | inline void CacheDirectiveInfoExpirationProto::set_isrelative(bool value) { |
23603 | set_has_isrelative(); |
23604 | isrelative_ = value; |
23605 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveInfoExpirationProto.isRelative) |
23606 | } |
23607 | |
23608 | // ------------------------------------------------------------------- |
23609 | |
23610 | // CacheDirectiveStatsProto |
23611 | |
23612 | // required int64 bytesNeeded = 1; |
23613 | inline bool CacheDirectiveStatsProto::has_bytesneeded() const { |
23614 | return (_has_bits_[0] & 0x00000001u) != 0; |
23615 | } |
23616 | inline void CacheDirectiveStatsProto::set_has_bytesneeded() { |
23617 | _has_bits_[0] |= 0x00000001u; |
23618 | } |
23619 | inline void CacheDirectiveStatsProto::clear_has_bytesneeded() { |
23620 | _has_bits_[0] &= ~0x00000001u; |
23621 | } |
23622 | inline void CacheDirectiveStatsProto::clear_bytesneeded() { |
23623 | bytesneeded_ = GOOGLE_LONGLONG(0); |
23624 | clear_has_bytesneeded(); |
23625 | } |
23626 | inline ::google::protobuf::int64 CacheDirectiveStatsProto::bytesneeded() const { |
23627 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveStatsProto.bytesNeeded) |
23628 | return bytesneeded_; |
23629 | } |
23630 | inline void CacheDirectiveStatsProto::set_bytesneeded(::google::protobuf::int64 value) { |
23631 | set_has_bytesneeded(); |
23632 | bytesneeded_ = value; |
23633 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveStatsProto.bytesNeeded) |
23634 | } |
23635 | |
23636 | // required int64 bytesCached = 2; |
23637 | inline bool CacheDirectiveStatsProto::has_bytescached() const { |
23638 | return (_has_bits_[0] & 0x00000002u) != 0; |
23639 | } |
23640 | inline void CacheDirectiveStatsProto::set_has_bytescached() { |
23641 | _has_bits_[0] |= 0x00000002u; |
23642 | } |
23643 | inline void CacheDirectiveStatsProto::clear_has_bytescached() { |
23644 | _has_bits_[0] &= ~0x00000002u; |
23645 | } |
23646 | inline void CacheDirectiveStatsProto::clear_bytescached() { |
23647 | bytescached_ = GOOGLE_LONGLONG(0); |
23648 | clear_has_bytescached(); |
23649 | } |
23650 | inline ::google::protobuf::int64 CacheDirectiveStatsProto::bytescached() const { |
23651 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveStatsProto.bytesCached) |
23652 | return bytescached_; |
23653 | } |
23654 | inline void CacheDirectiveStatsProto::set_bytescached(::google::protobuf::int64 value) { |
23655 | set_has_bytescached(); |
23656 | bytescached_ = value; |
23657 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveStatsProto.bytesCached) |
23658 | } |
23659 | |
23660 | // required int64 filesNeeded = 3; |
23661 | inline bool CacheDirectiveStatsProto::has_filesneeded() const { |
23662 | return (_has_bits_[0] & 0x00000004u) != 0; |
23663 | } |
23664 | inline void CacheDirectiveStatsProto::set_has_filesneeded() { |
23665 | _has_bits_[0] |= 0x00000004u; |
23666 | } |
23667 | inline void CacheDirectiveStatsProto::clear_has_filesneeded() { |
23668 | _has_bits_[0] &= ~0x00000004u; |
23669 | } |
23670 | inline void CacheDirectiveStatsProto::clear_filesneeded() { |
23671 | filesneeded_ = GOOGLE_LONGLONG(0); |
23672 | clear_has_filesneeded(); |
23673 | } |
23674 | inline ::google::protobuf::int64 CacheDirectiveStatsProto::filesneeded() const { |
23675 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveStatsProto.filesNeeded) |
23676 | return filesneeded_; |
23677 | } |
23678 | inline void CacheDirectiveStatsProto::set_filesneeded(::google::protobuf::int64 value) { |
23679 | set_has_filesneeded(); |
23680 | filesneeded_ = value; |
23681 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveStatsProto.filesNeeded) |
23682 | } |
23683 | |
23684 | // required int64 filesCached = 4; |
23685 | inline bool CacheDirectiveStatsProto::has_filescached() const { |
23686 | return (_has_bits_[0] & 0x00000008u) != 0; |
23687 | } |
23688 | inline void CacheDirectiveStatsProto::set_has_filescached() { |
23689 | _has_bits_[0] |= 0x00000008u; |
23690 | } |
23691 | inline void CacheDirectiveStatsProto::clear_has_filescached() { |
23692 | _has_bits_[0] &= ~0x00000008u; |
23693 | } |
23694 | inline void CacheDirectiveStatsProto::clear_filescached() { |
23695 | filescached_ = GOOGLE_LONGLONG(0); |
23696 | clear_has_filescached(); |
23697 | } |
23698 | inline ::google::protobuf::int64 CacheDirectiveStatsProto::filescached() const { |
23699 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveStatsProto.filesCached) |
23700 | return filescached_; |
23701 | } |
23702 | inline void CacheDirectiveStatsProto::set_filescached(::google::protobuf::int64 value) { |
23703 | set_has_filescached(); |
23704 | filescached_ = value; |
23705 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveStatsProto.filesCached) |
23706 | } |
23707 | |
23708 | // required bool hasExpired = 5; |
23709 | inline bool CacheDirectiveStatsProto::has_hasexpired() const { |
23710 | return (_has_bits_[0] & 0x00000010u) != 0; |
23711 | } |
23712 | inline void CacheDirectiveStatsProto::set_has_hasexpired() { |
23713 | _has_bits_[0] |= 0x00000010u; |
23714 | } |
23715 | inline void CacheDirectiveStatsProto::clear_has_hasexpired() { |
23716 | _has_bits_[0] &= ~0x00000010u; |
23717 | } |
23718 | inline void CacheDirectiveStatsProto::clear_hasexpired() { |
23719 | hasexpired_ = false; |
23720 | clear_has_hasexpired(); |
23721 | } |
23722 | inline bool CacheDirectiveStatsProto::hasexpired() const { |
23723 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveStatsProto.hasExpired) |
23724 | return hasexpired_; |
23725 | } |
23726 | inline void CacheDirectiveStatsProto::set_hasexpired(bool value) { |
23727 | set_has_hasexpired(); |
23728 | hasexpired_ = value; |
23729 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CacheDirectiveStatsProto.hasExpired) |
23730 | } |
23731 | |
23732 | // ------------------------------------------------------------------- |
23733 | |
23734 | // AddCacheDirectiveRequestProto |
23735 | |
23736 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
23737 | inline bool AddCacheDirectiveRequestProto::has_info() const { |
23738 | return (_has_bits_[0] & 0x00000001u) != 0; |
23739 | } |
23740 | inline void AddCacheDirectiveRequestProto::set_has_info() { |
23741 | _has_bits_[0] |= 0x00000001u; |
23742 | } |
23743 | inline void AddCacheDirectiveRequestProto::clear_has_info() { |
23744 | _has_bits_[0] &= ~0x00000001u; |
23745 | } |
23746 | inline void AddCacheDirectiveRequestProto::clear_info() { |
23747 | if (info_ != NULL) info_->Clear(); |
23748 | clear_has_info(); |
23749 | } |
23750 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& AddCacheDirectiveRequestProto::_internal_info() const { |
23751 | return *info_; |
23752 | } |
23753 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& AddCacheDirectiveRequestProto::info() const { |
23754 | const ::Hdfs::Internal::CacheDirectiveInfoProto* p = info_; |
23755 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddCacheDirectiveRequestProto.info) |
23756 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveInfoProto*>( |
23757 | &::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_); |
23758 | } |
23759 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* AddCacheDirectiveRequestProto::release_info() { |
23760 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddCacheDirectiveRequestProto.info) |
23761 | clear_has_info(); |
23762 | ::Hdfs::Internal::CacheDirectiveInfoProto* temp = info_; |
23763 | info_ = NULL; |
23764 | return temp; |
23765 | } |
23766 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* AddCacheDirectiveRequestProto::mutable_info() { |
23767 | set_has_info(); |
23768 | if (info_ == NULL) { |
23769 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoProto>(GetArenaNoVirtual()); |
23770 | info_ = p; |
23771 | } |
23772 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddCacheDirectiveRequestProto.info) |
23773 | return info_; |
23774 | } |
23775 | inline void AddCacheDirectiveRequestProto::set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info) { |
23776 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
23777 | if (message_arena == NULL) { |
23778 | delete info_; |
23779 | } |
23780 | if (info) { |
23781 | ::google::protobuf::Arena* submessage_arena = NULL; |
23782 | if (message_arena != submessage_arena) { |
23783 | info = ::google::protobuf::internal::GetOwnedMessage( |
23784 | message_arena, info, submessage_arena); |
23785 | } |
23786 | set_has_info(); |
23787 | } else { |
23788 | clear_has_info(); |
23789 | } |
23790 | info_ = info; |
23791 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddCacheDirectiveRequestProto.info) |
23792 | } |
23793 | |
23794 | // optional uint32 cacheFlags = 2; |
23795 | inline bool AddCacheDirectiveRequestProto::has_cacheflags() const { |
23796 | return (_has_bits_[0] & 0x00000002u) != 0; |
23797 | } |
23798 | inline void AddCacheDirectiveRequestProto::set_has_cacheflags() { |
23799 | _has_bits_[0] |= 0x00000002u; |
23800 | } |
23801 | inline void AddCacheDirectiveRequestProto::clear_has_cacheflags() { |
23802 | _has_bits_[0] &= ~0x00000002u; |
23803 | } |
23804 | inline void AddCacheDirectiveRequestProto::clear_cacheflags() { |
23805 | cacheflags_ = 0u; |
23806 | clear_has_cacheflags(); |
23807 | } |
23808 | inline ::google::protobuf::uint32 AddCacheDirectiveRequestProto::cacheflags() const { |
23809 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddCacheDirectiveRequestProto.cacheFlags) |
23810 | return cacheflags_; |
23811 | } |
23812 | inline void AddCacheDirectiveRequestProto::set_cacheflags(::google::protobuf::uint32 value) { |
23813 | set_has_cacheflags(); |
23814 | cacheflags_ = value; |
23815 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddCacheDirectiveRequestProto.cacheFlags) |
23816 | } |
23817 | |
23818 | // ------------------------------------------------------------------- |
23819 | |
23820 | // AddCacheDirectiveResponseProto |
23821 | |
23822 | // required int64 id = 1; |
23823 | inline bool AddCacheDirectiveResponseProto::has_id() const { |
23824 | return (_has_bits_[0] & 0x00000001u) != 0; |
23825 | } |
23826 | inline void AddCacheDirectiveResponseProto::set_has_id() { |
23827 | _has_bits_[0] |= 0x00000001u; |
23828 | } |
23829 | inline void AddCacheDirectiveResponseProto::clear_has_id() { |
23830 | _has_bits_[0] &= ~0x00000001u; |
23831 | } |
23832 | inline void AddCacheDirectiveResponseProto::clear_id() { |
23833 | id_ = GOOGLE_LONGLONG(0); |
23834 | clear_has_id(); |
23835 | } |
23836 | inline ::google::protobuf::int64 AddCacheDirectiveResponseProto::id() const { |
23837 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddCacheDirectiveResponseProto.id) |
23838 | return id_; |
23839 | } |
23840 | inline void AddCacheDirectiveResponseProto::set_id(::google::protobuf::int64 value) { |
23841 | set_has_id(); |
23842 | id_ = value; |
23843 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AddCacheDirectiveResponseProto.id) |
23844 | } |
23845 | |
23846 | // ------------------------------------------------------------------- |
23847 | |
23848 | // ModifyCacheDirectiveRequestProto |
23849 | |
23850 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
23851 | inline bool ModifyCacheDirectiveRequestProto::has_info() const { |
23852 | return (_has_bits_[0] & 0x00000001u) != 0; |
23853 | } |
23854 | inline void ModifyCacheDirectiveRequestProto::set_has_info() { |
23855 | _has_bits_[0] |= 0x00000001u; |
23856 | } |
23857 | inline void ModifyCacheDirectiveRequestProto::clear_has_info() { |
23858 | _has_bits_[0] &= ~0x00000001u; |
23859 | } |
23860 | inline void ModifyCacheDirectiveRequestProto::clear_info() { |
23861 | if (info_ != NULL) info_->Clear(); |
23862 | clear_has_info(); |
23863 | } |
23864 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& ModifyCacheDirectiveRequestProto::_internal_info() const { |
23865 | return *info_; |
23866 | } |
23867 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& ModifyCacheDirectiveRequestProto::info() const { |
23868 | const ::Hdfs::Internal::CacheDirectiveInfoProto* p = info_; |
23869 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ModifyCacheDirectiveRequestProto.info) |
23870 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveInfoProto*>( |
23871 | &::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_); |
23872 | } |
23873 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* ModifyCacheDirectiveRequestProto::release_info() { |
23874 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ModifyCacheDirectiveRequestProto.info) |
23875 | clear_has_info(); |
23876 | ::Hdfs::Internal::CacheDirectiveInfoProto* temp = info_; |
23877 | info_ = NULL; |
23878 | return temp; |
23879 | } |
23880 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* ModifyCacheDirectiveRequestProto::mutable_info() { |
23881 | set_has_info(); |
23882 | if (info_ == NULL) { |
23883 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoProto>(GetArenaNoVirtual()); |
23884 | info_ = p; |
23885 | } |
23886 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ModifyCacheDirectiveRequestProto.info) |
23887 | return info_; |
23888 | } |
23889 | inline void ModifyCacheDirectiveRequestProto::set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info) { |
23890 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
23891 | if (message_arena == NULL) { |
23892 | delete info_; |
23893 | } |
23894 | if (info) { |
23895 | ::google::protobuf::Arena* submessage_arena = NULL; |
23896 | if (message_arena != submessage_arena) { |
23897 | info = ::google::protobuf::internal::GetOwnedMessage( |
23898 | message_arena, info, submessage_arena); |
23899 | } |
23900 | set_has_info(); |
23901 | } else { |
23902 | clear_has_info(); |
23903 | } |
23904 | info_ = info; |
23905 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ModifyCacheDirectiveRequestProto.info) |
23906 | } |
23907 | |
23908 | // optional uint32 cacheFlags = 2; |
23909 | inline bool ModifyCacheDirectiveRequestProto::has_cacheflags() const { |
23910 | return (_has_bits_[0] & 0x00000002u) != 0; |
23911 | } |
23912 | inline void ModifyCacheDirectiveRequestProto::set_has_cacheflags() { |
23913 | _has_bits_[0] |= 0x00000002u; |
23914 | } |
23915 | inline void ModifyCacheDirectiveRequestProto::clear_has_cacheflags() { |
23916 | _has_bits_[0] &= ~0x00000002u; |
23917 | } |
23918 | inline void ModifyCacheDirectiveRequestProto::clear_cacheflags() { |
23919 | cacheflags_ = 0u; |
23920 | clear_has_cacheflags(); |
23921 | } |
23922 | inline ::google::protobuf::uint32 ModifyCacheDirectiveRequestProto::cacheflags() const { |
23923 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ModifyCacheDirectiveRequestProto.cacheFlags) |
23924 | return cacheflags_; |
23925 | } |
23926 | inline void ModifyCacheDirectiveRequestProto::set_cacheflags(::google::protobuf::uint32 value) { |
23927 | set_has_cacheflags(); |
23928 | cacheflags_ = value; |
23929 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ModifyCacheDirectiveRequestProto.cacheFlags) |
23930 | } |
23931 | |
23932 | // ------------------------------------------------------------------- |
23933 | |
23934 | // ModifyCacheDirectiveResponseProto |
23935 | |
23936 | // ------------------------------------------------------------------- |
23937 | |
23938 | // RemoveCacheDirectiveRequestProto |
23939 | |
23940 | // required int64 id = 1; |
23941 | inline bool RemoveCacheDirectiveRequestProto::has_id() const { |
23942 | return (_has_bits_[0] & 0x00000001u) != 0; |
23943 | } |
23944 | inline void RemoveCacheDirectiveRequestProto::set_has_id() { |
23945 | _has_bits_[0] |= 0x00000001u; |
23946 | } |
23947 | inline void RemoveCacheDirectiveRequestProto::clear_has_id() { |
23948 | _has_bits_[0] &= ~0x00000001u; |
23949 | } |
23950 | inline void RemoveCacheDirectiveRequestProto::clear_id() { |
23951 | id_ = GOOGLE_LONGLONG(0); |
23952 | clear_has_id(); |
23953 | } |
23954 | inline ::google::protobuf::int64 RemoveCacheDirectiveRequestProto::id() const { |
23955 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RemoveCacheDirectiveRequestProto.id) |
23956 | return id_; |
23957 | } |
23958 | inline void RemoveCacheDirectiveRequestProto::set_id(::google::protobuf::int64 value) { |
23959 | set_has_id(); |
23960 | id_ = value; |
23961 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RemoveCacheDirectiveRequestProto.id) |
23962 | } |
23963 | |
23964 | // ------------------------------------------------------------------- |
23965 | |
23966 | // RemoveCacheDirectiveResponseProto |
23967 | |
23968 | // ------------------------------------------------------------------- |
23969 | |
23970 | // ListCacheDirectivesRequestProto |
23971 | |
23972 | // required int64 prevId = 1; |
23973 | inline bool ListCacheDirectivesRequestProto::has_previd() const { |
23974 | return (_has_bits_[0] & 0x00000002u) != 0; |
23975 | } |
23976 | inline void ListCacheDirectivesRequestProto::set_has_previd() { |
23977 | _has_bits_[0] |= 0x00000002u; |
23978 | } |
23979 | inline void ListCacheDirectivesRequestProto::clear_has_previd() { |
23980 | _has_bits_[0] &= ~0x00000002u; |
23981 | } |
23982 | inline void ListCacheDirectivesRequestProto::clear_previd() { |
23983 | previd_ = GOOGLE_LONGLONG(0); |
23984 | clear_has_previd(); |
23985 | } |
23986 | inline ::google::protobuf::int64 ListCacheDirectivesRequestProto::previd() const { |
23987 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCacheDirectivesRequestProto.prevId) |
23988 | return previd_; |
23989 | } |
23990 | inline void ListCacheDirectivesRequestProto::set_previd(::google::protobuf::int64 value) { |
23991 | set_has_previd(); |
23992 | previd_ = value; |
23993 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCacheDirectivesRequestProto.prevId) |
23994 | } |
23995 | |
23996 | // required .Hdfs.Internal.CacheDirectiveInfoProto filter = 2; |
23997 | inline bool ListCacheDirectivesRequestProto::has_filter() const { |
23998 | return (_has_bits_[0] & 0x00000001u) != 0; |
23999 | } |
24000 | inline void ListCacheDirectivesRequestProto::set_has_filter() { |
24001 | _has_bits_[0] |= 0x00000001u; |
24002 | } |
24003 | inline void ListCacheDirectivesRequestProto::clear_has_filter() { |
24004 | _has_bits_[0] &= ~0x00000001u; |
24005 | } |
24006 | inline void ListCacheDirectivesRequestProto::clear_filter() { |
24007 | if (filter_ != NULL) filter_->Clear(); |
24008 | clear_has_filter(); |
24009 | } |
24010 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& ListCacheDirectivesRequestProto::_internal_filter() const { |
24011 | return *filter_; |
24012 | } |
24013 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& ListCacheDirectivesRequestProto::filter() const { |
24014 | const ::Hdfs::Internal::CacheDirectiveInfoProto* p = filter_; |
24015 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCacheDirectivesRequestProto.filter) |
24016 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveInfoProto*>( |
24017 | &::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_); |
24018 | } |
24019 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* ListCacheDirectivesRequestProto::release_filter() { |
24020 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ListCacheDirectivesRequestProto.filter) |
24021 | clear_has_filter(); |
24022 | ::Hdfs::Internal::CacheDirectiveInfoProto* temp = filter_; |
24023 | filter_ = NULL; |
24024 | return temp; |
24025 | } |
24026 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* ListCacheDirectivesRequestProto::mutable_filter() { |
24027 | set_has_filter(); |
24028 | if (filter_ == NULL) { |
24029 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoProto>(GetArenaNoVirtual()); |
24030 | filter_ = p; |
24031 | } |
24032 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCacheDirectivesRequestProto.filter) |
24033 | return filter_; |
24034 | } |
24035 | inline void ListCacheDirectivesRequestProto::set_allocated_filter(::Hdfs::Internal::CacheDirectiveInfoProto* filter) { |
24036 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
24037 | if (message_arena == NULL) { |
24038 | delete filter_; |
24039 | } |
24040 | if (filter) { |
24041 | ::google::protobuf::Arena* submessage_arena = NULL; |
24042 | if (message_arena != submessage_arena) { |
24043 | filter = ::google::protobuf::internal::GetOwnedMessage( |
24044 | message_arena, filter, submessage_arena); |
24045 | } |
24046 | set_has_filter(); |
24047 | } else { |
24048 | clear_has_filter(); |
24049 | } |
24050 | filter_ = filter; |
24051 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ListCacheDirectivesRequestProto.filter) |
24052 | } |
24053 | |
24054 | // ------------------------------------------------------------------- |
24055 | |
24056 | // CacheDirectiveEntryProto |
24057 | |
24058 | // required .Hdfs.Internal.CacheDirectiveInfoProto info = 1; |
24059 | inline bool CacheDirectiveEntryProto::has_info() const { |
24060 | return (_has_bits_[0] & 0x00000001u) != 0; |
24061 | } |
24062 | inline void CacheDirectiveEntryProto::set_has_info() { |
24063 | _has_bits_[0] |= 0x00000001u; |
24064 | } |
24065 | inline void CacheDirectiveEntryProto::clear_has_info() { |
24066 | _has_bits_[0] &= ~0x00000001u; |
24067 | } |
24068 | inline void CacheDirectiveEntryProto::clear_info() { |
24069 | if (info_ != NULL) info_->Clear(); |
24070 | clear_has_info(); |
24071 | } |
24072 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& CacheDirectiveEntryProto::_internal_info() const { |
24073 | return *info_; |
24074 | } |
24075 | inline const ::Hdfs::Internal::CacheDirectiveInfoProto& CacheDirectiveEntryProto::info() const { |
24076 | const ::Hdfs::Internal::CacheDirectiveInfoProto* p = info_; |
24077 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveEntryProto.info) |
24078 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveInfoProto*>( |
24079 | &::Hdfs::Internal::_CacheDirectiveInfoProto_default_instance_); |
24080 | } |
24081 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* CacheDirectiveEntryProto::release_info() { |
24082 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CacheDirectiveEntryProto.info) |
24083 | clear_has_info(); |
24084 | ::Hdfs::Internal::CacheDirectiveInfoProto* temp = info_; |
24085 | info_ = NULL; |
24086 | return temp; |
24087 | } |
24088 | inline ::Hdfs::Internal::CacheDirectiveInfoProto* CacheDirectiveEntryProto::mutable_info() { |
24089 | set_has_info(); |
24090 | if (info_ == NULL) { |
24091 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveInfoProto>(GetArenaNoVirtual()); |
24092 | info_ = p; |
24093 | } |
24094 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CacheDirectiveEntryProto.info) |
24095 | return info_; |
24096 | } |
24097 | inline void CacheDirectiveEntryProto::set_allocated_info(::Hdfs::Internal::CacheDirectiveInfoProto* info) { |
24098 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
24099 | if (message_arena == NULL) { |
24100 | delete info_; |
24101 | } |
24102 | if (info) { |
24103 | ::google::protobuf::Arena* submessage_arena = NULL; |
24104 | if (message_arena != submessage_arena) { |
24105 | info = ::google::protobuf::internal::GetOwnedMessage( |
24106 | message_arena, info, submessage_arena); |
24107 | } |
24108 | set_has_info(); |
24109 | } else { |
24110 | clear_has_info(); |
24111 | } |
24112 | info_ = info; |
24113 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CacheDirectiveEntryProto.info) |
24114 | } |
24115 | |
24116 | // required .Hdfs.Internal.CacheDirectiveStatsProto stats = 2; |
24117 | inline bool CacheDirectiveEntryProto::has_stats() const { |
24118 | return (_has_bits_[0] & 0x00000002u) != 0; |
24119 | } |
24120 | inline void CacheDirectiveEntryProto::set_has_stats() { |
24121 | _has_bits_[0] |= 0x00000002u; |
24122 | } |
24123 | inline void CacheDirectiveEntryProto::clear_has_stats() { |
24124 | _has_bits_[0] &= ~0x00000002u; |
24125 | } |
24126 | inline void CacheDirectiveEntryProto::clear_stats() { |
24127 | if (stats_ != NULL) stats_->Clear(); |
24128 | clear_has_stats(); |
24129 | } |
24130 | inline const ::Hdfs::Internal::CacheDirectiveStatsProto& CacheDirectiveEntryProto::_internal_stats() const { |
24131 | return *stats_; |
24132 | } |
24133 | inline const ::Hdfs::Internal::CacheDirectiveStatsProto& CacheDirectiveEntryProto::stats() const { |
24134 | const ::Hdfs::Internal::CacheDirectiveStatsProto* p = stats_; |
24135 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CacheDirectiveEntryProto.stats) |
24136 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CacheDirectiveStatsProto*>( |
24137 | &::Hdfs::Internal::_CacheDirectiveStatsProto_default_instance_); |
24138 | } |
24139 | inline ::Hdfs::Internal::CacheDirectiveStatsProto* CacheDirectiveEntryProto::release_stats() { |
24140 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CacheDirectiveEntryProto.stats) |
24141 | clear_has_stats(); |
24142 | ::Hdfs::Internal::CacheDirectiveStatsProto* temp = stats_; |
24143 | stats_ = NULL; |
24144 | return temp; |
24145 | } |
24146 | inline ::Hdfs::Internal::CacheDirectiveStatsProto* CacheDirectiveEntryProto::mutable_stats() { |
24147 | set_has_stats(); |
24148 | if (stats_ == NULL) { |
24149 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CacheDirectiveStatsProto>(GetArenaNoVirtual()); |
24150 | stats_ = p; |
24151 | } |
24152 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CacheDirectiveEntryProto.stats) |
24153 | return stats_; |
24154 | } |
24155 | inline void CacheDirectiveEntryProto::set_allocated_stats(::Hdfs::Internal::CacheDirectiveStatsProto* stats) { |
24156 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
24157 | if (message_arena == NULL) { |
24158 | delete stats_; |
24159 | } |
24160 | if (stats) { |
24161 | ::google::protobuf::Arena* submessage_arena = NULL; |
24162 | if (message_arena != submessage_arena) { |
24163 | stats = ::google::protobuf::internal::GetOwnedMessage( |
24164 | message_arena, stats, submessage_arena); |
24165 | } |
24166 | set_has_stats(); |
24167 | } else { |
24168 | clear_has_stats(); |
24169 | } |
24170 | stats_ = stats; |
24171 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CacheDirectiveEntryProto.stats) |
24172 | } |
24173 | |
24174 | // ------------------------------------------------------------------- |
24175 | |
24176 | // ListCacheDirectivesResponseProto |
24177 | |
24178 | // repeated .Hdfs.Internal.CacheDirectiveEntryProto elements = 1; |
24179 | inline int ListCacheDirectivesResponseProto::elements_size() const { |
24180 | return elements_.size(); |
24181 | } |
24182 | inline void ListCacheDirectivesResponseProto::clear_elements() { |
24183 | elements_.Clear(); |
24184 | } |
24185 | inline ::Hdfs::Internal::CacheDirectiveEntryProto* ListCacheDirectivesResponseProto::mutable_elements(int index) { |
24186 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCacheDirectivesResponseProto.elements) |
24187 | return elements_.Mutable(index); |
24188 | } |
24189 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CacheDirectiveEntryProto >* |
24190 | ListCacheDirectivesResponseProto::mutable_elements() { |
24191 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.ListCacheDirectivesResponseProto.elements) |
24192 | return &elements_; |
24193 | } |
24194 | inline const ::Hdfs::Internal::CacheDirectiveEntryProto& ListCacheDirectivesResponseProto::elements(int index) const { |
24195 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCacheDirectivesResponseProto.elements) |
24196 | return elements_.Get(index); |
24197 | } |
24198 | inline ::Hdfs::Internal::CacheDirectiveEntryProto* ListCacheDirectivesResponseProto::add_elements() { |
24199 | // @@protoc_insertion_point(field_add:Hdfs.Internal.ListCacheDirectivesResponseProto.elements) |
24200 | return elements_.Add(); |
24201 | } |
24202 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CacheDirectiveEntryProto >& |
24203 | ListCacheDirectivesResponseProto::elements() const { |
24204 | // @@protoc_insertion_point(field_list:Hdfs.Internal.ListCacheDirectivesResponseProto.elements) |
24205 | return elements_; |
24206 | } |
24207 | |
24208 | // required bool hasMore = 2; |
24209 | inline bool ListCacheDirectivesResponseProto::has_hasmore() const { |
24210 | return (_has_bits_[0] & 0x00000001u) != 0; |
24211 | } |
24212 | inline void ListCacheDirectivesResponseProto::set_has_hasmore() { |
24213 | _has_bits_[0] |= 0x00000001u; |
24214 | } |
24215 | inline void ListCacheDirectivesResponseProto::clear_has_hasmore() { |
24216 | _has_bits_[0] &= ~0x00000001u; |
24217 | } |
24218 | inline void ListCacheDirectivesResponseProto::clear_hasmore() { |
24219 | hasmore_ = false; |
24220 | clear_has_hasmore(); |
24221 | } |
24222 | inline bool ListCacheDirectivesResponseProto::hasmore() const { |
24223 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCacheDirectivesResponseProto.hasMore) |
24224 | return hasmore_; |
24225 | } |
24226 | inline void ListCacheDirectivesResponseProto::set_hasmore(bool value) { |
24227 | set_has_hasmore(); |
24228 | hasmore_ = value; |
24229 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCacheDirectivesResponseProto.hasMore) |
24230 | } |
24231 | |
24232 | // ------------------------------------------------------------------- |
24233 | |
24234 | // CachePoolInfoProto |
24235 | |
24236 | // optional string poolName = 1; |
24237 | inline bool CachePoolInfoProto::has_poolname() const { |
24238 | return (_has_bits_[0] & 0x00000001u) != 0; |
24239 | } |
24240 | inline void CachePoolInfoProto::set_has_poolname() { |
24241 | _has_bits_[0] |= 0x00000001u; |
24242 | } |
24243 | inline void CachePoolInfoProto::clear_has_poolname() { |
24244 | _has_bits_[0] &= ~0x00000001u; |
24245 | } |
24246 | inline void CachePoolInfoProto::clear_poolname() { |
24247 | poolname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24248 | clear_has_poolname(); |
24249 | } |
24250 | inline const ::std::string& CachePoolInfoProto::poolname() const { |
24251 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.poolName) |
24252 | return poolname_.GetNoArena(); |
24253 | } |
24254 | inline void CachePoolInfoProto::set_poolname(const ::std::string& value) { |
24255 | set_has_poolname(); |
24256 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
24257 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.poolName) |
24258 | } |
24259 | #if LANG_CXX11 |
24260 | inline void CachePoolInfoProto::set_poolname(::std::string&& value) { |
24261 | set_has_poolname(); |
24262 | poolname_.SetNoArena( |
24263 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
24264 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CachePoolInfoProto.poolName) |
24265 | } |
24266 | #endif |
24267 | inline void CachePoolInfoProto::set_poolname(const char* value) { |
24268 | GOOGLE_DCHECK(value != NULL); |
24269 | set_has_poolname(); |
24270 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
24271 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CachePoolInfoProto.poolName) |
24272 | } |
24273 | inline void CachePoolInfoProto::set_poolname(const char* value, size_t size) { |
24274 | set_has_poolname(); |
24275 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
24276 | ::std::string(reinterpret_cast<const char*>(value), size)); |
24277 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CachePoolInfoProto.poolName) |
24278 | } |
24279 | inline ::std::string* CachePoolInfoProto::mutable_poolname() { |
24280 | set_has_poolname(); |
24281 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CachePoolInfoProto.poolName) |
24282 | return poolname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24283 | } |
24284 | inline ::std::string* CachePoolInfoProto::release_poolname() { |
24285 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CachePoolInfoProto.poolName) |
24286 | if (!has_poolname()) { |
24287 | return NULL; |
24288 | } |
24289 | clear_has_poolname(); |
24290 | return poolname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24291 | } |
24292 | inline void CachePoolInfoProto::set_allocated_poolname(::std::string* poolname) { |
24293 | if (poolname != NULL) { |
24294 | set_has_poolname(); |
24295 | } else { |
24296 | clear_has_poolname(); |
24297 | } |
24298 | poolname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), poolname); |
24299 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CachePoolInfoProto.poolName) |
24300 | } |
24301 | |
24302 | // optional string ownerName = 2; |
24303 | inline bool CachePoolInfoProto::has_ownername() const { |
24304 | return (_has_bits_[0] & 0x00000002u) != 0; |
24305 | } |
24306 | inline void CachePoolInfoProto::set_has_ownername() { |
24307 | _has_bits_[0] |= 0x00000002u; |
24308 | } |
24309 | inline void CachePoolInfoProto::clear_has_ownername() { |
24310 | _has_bits_[0] &= ~0x00000002u; |
24311 | } |
24312 | inline void CachePoolInfoProto::clear_ownername() { |
24313 | ownername_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24314 | clear_has_ownername(); |
24315 | } |
24316 | inline const ::std::string& CachePoolInfoProto::ownername() const { |
24317 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24318 | return ownername_.GetNoArena(); |
24319 | } |
24320 | inline void CachePoolInfoProto::set_ownername(const ::std::string& value) { |
24321 | set_has_ownername(); |
24322 | ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
24323 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24324 | } |
24325 | #if LANG_CXX11 |
24326 | inline void CachePoolInfoProto::set_ownername(::std::string&& value) { |
24327 | set_has_ownername(); |
24328 | ownername_.SetNoArena( |
24329 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
24330 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24331 | } |
24332 | #endif |
24333 | inline void CachePoolInfoProto::set_ownername(const char* value) { |
24334 | GOOGLE_DCHECK(value != NULL); |
24335 | set_has_ownername(); |
24336 | ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
24337 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24338 | } |
24339 | inline void CachePoolInfoProto::set_ownername(const char* value, size_t size) { |
24340 | set_has_ownername(); |
24341 | ownername_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
24342 | ::std::string(reinterpret_cast<const char*>(value), size)); |
24343 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24344 | } |
24345 | inline ::std::string* CachePoolInfoProto::mutable_ownername() { |
24346 | set_has_ownername(); |
24347 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24348 | return ownername_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24349 | } |
24350 | inline ::std::string* CachePoolInfoProto::release_ownername() { |
24351 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24352 | if (!has_ownername()) { |
24353 | return NULL; |
24354 | } |
24355 | clear_has_ownername(); |
24356 | return ownername_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24357 | } |
24358 | inline void CachePoolInfoProto::set_allocated_ownername(::std::string* ownername) { |
24359 | if (ownername != NULL) { |
24360 | set_has_ownername(); |
24361 | } else { |
24362 | clear_has_ownername(); |
24363 | } |
24364 | ownername_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ownername); |
24365 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CachePoolInfoProto.ownerName) |
24366 | } |
24367 | |
24368 | // optional string groupName = 3; |
24369 | inline bool CachePoolInfoProto::has_groupname() const { |
24370 | return (_has_bits_[0] & 0x00000004u) != 0; |
24371 | } |
24372 | inline void CachePoolInfoProto::set_has_groupname() { |
24373 | _has_bits_[0] |= 0x00000004u; |
24374 | } |
24375 | inline void CachePoolInfoProto::clear_has_groupname() { |
24376 | _has_bits_[0] &= ~0x00000004u; |
24377 | } |
24378 | inline void CachePoolInfoProto::clear_groupname() { |
24379 | groupname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24380 | clear_has_groupname(); |
24381 | } |
24382 | inline const ::std::string& CachePoolInfoProto::groupname() const { |
24383 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.groupName) |
24384 | return groupname_.GetNoArena(); |
24385 | } |
24386 | inline void CachePoolInfoProto::set_groupname(const ::std::string& value) { |
24387 | set_has_groupname(); |
24388 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
24389 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.groupName) |
24390 | } |
24391 | #if LANG_CXX11 |
24392 | inline void CachePoolInfoProto::set_groupname(::std::string&& value) { |
24393 | set_has_groupname(); |
24394 | groupname_.SetNoArena( |
24395 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
24396 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CachePoolInfoProto.groupName) |
24397 | } |
24398 | #endif |
24399 | inline void CachePoolInfoProto::set_groupname(const char* value) { |
24400 | GOOGLE_DCHECK(value != NULL); |
24401 | set_has_groupname(); |
24402 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
24403 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CachePoolInfoProto.groupName) |
24404 | } |
24405 | inline void CachePoolInfoProto::set_groupname(const char* value, size_t size) { |
24406 | set_has_groupname(); |
24407 | groupname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
24408 | ::std::string(reinterpret_cast<const char*>(value), size)); |
24409 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CachePoolInfoProto.groupName) |
24410 | } |
24411 | inline ::std::string* CachePoolInfoProto::mutable_groupname() { |
24412 | set_has_groupname(); |
24413 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CachePoolInfoProto.groupName) |
24414 | return groupname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24415 | } |
24416 | inline ::std::string* CachePoolInfoProto::release_groupname() { |
24417 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CachePoolInfoProto.groupName) |
24418 | if (!has_groupname()) { |
24419 | return NULL; |
24420 | } |
24421 | clear_has_groupname(); |
24422 | return groupname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24423 | } |
24424 | inline void CachePoolInfoProto::set_allocated_groupname(::std::string* groupname) { |
24425 | if (groupname != NULL) { |
24426 | set_has_groupname(); |
24427 | } else { |
24428 | clear_has_groupname(); |
24429 | } |
24430 | groupname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), groupname); |
24431 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CachePoolInfoProto.groupName) |
24432 | } |
24433 | |
24434 | // optional int32 mode = 4; |
24435 | inline bool CachePoolInfoProto::has_mode() const { |
24436 | return (_has_bits_[0] & 0x00000020u) != 0; |
24437 | } |
24438 | inline void CachePoolInfoProto::set_has_mode() { |
24439 | _has_bits_[0] |= 0x00000020u; |
24440 | } |
24441 | inline void CachePoolInfoProto::clear_has_mode() { |
24442 | _has_bits_[0] &= ~0x00000020u; |
24443 | } |
24444 | inline void CachePoolInfoProto::clear_mode() { |
24445 | mode_ = 0; |
24446 | clear_has_mode(); |
24447 | } |
24448 | inline ::google::protobuf::int32 CachePoolInfoProto::mode() const { |
24449 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.mode) |
24450 | return mode_; |
24451 | } |
24452 | inline void CachePoolInfoProto::set_mode(::google::protobuf::int32 value) { |
24453 | set_has_mode(); |
24454 | mode_ = value; |
24455 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.mode) |
24456 | } |
24457 | |
24458 | // optional int64 limit = 5; |
24459 | inline bool CachePoolInfoProto::has_limit() const { |
24460 | return (_has_bits_[0] & 0x00000008u) != 0; |
24461 | } |
24462 | inline void CachePoolInfoProto::set_has_limit() { |
24463 | _has_bits_[0] |= 0x00000008u; |
24464 | } |
24465 | inline void CachePoolInfoProto::clear_has_limit() { |
24466 | _has_bits_[0] &= ~0x00000008u; |
24467 | } |
24468 | inline void CachePoolInfoProto::clear_limit() { |
24469 | limit_ = GOOGLE_LONGLONG(0); |
24470 | clear_has_limit(); |
24471 | } |
24472 | inline ::google::protobuf::int64 CachePoolInfoProto::limit() const { |
24473 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.limit) |
24474 | return limit_; |
24475 | } |
24476 | inline void CachePoolInfoProto::set_limit(::google::protobuf::int64 value) { |
24477 | set_has_limit(); |
24478 | limit_ = value; |
24479 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.limit) |
24480 | } |
24481 | |
24482 | // optional int64 maxRelativeExpiry = 6; |
24483 | inline bool CachePoolInfoProto::has_maxrelativeexpiry() const { |
24484 | return (_has_bits_[0] & 0x00000010u) != 0; |
24485 | } |
24486 | inline void CachePoolInfoProto::set_has_maxrelativeexpiry() { |
24487 | _has_bits_[0] |= 0x00000010u; |
24488 | } |
24489 | inline void CachePoolInfoProto::clear_has_maxrelativeexpiry() { |
24490 | _has_bits_[0] &= ~0x00000010u; |
24491 | } |
24492 | inline void CachePoolInfoProto::clear_maxrelativeexpiry() { |
24493 | maxrelativeexpiry_ = GOOGLE_LONGLONG(0); |
24494 | clear_has_maxrelativeexpiry(); |
24495 | } |
24496 | inline ::google::protobuf::int64 CachePoolInfoProto::maxrelativeexpiry() const { |
24497 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolInfoProto.maxRelativeExpiry) |
24498 | return maxrelativeexpiry_; |
24499 | } |
24500 | inline void CachePoolInfoProto::set_maxrelativeexpiry(::google::protobuf::int64 value) { |
24501 | set_has_maxrelativeexpiry(); |
24502 | maxrelativeexpiry_ = value; |
24503 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolInfoProto.maxRelativeExpiry) |
24504 | } |
24505 | |
24506 | // ------------------------------------------------------------------- |
24507 | |
24508 | // CachePoolStatsProto |
24509 | |
24510 | // required int64 bytesNeeded = 1; |
24511 | inline bool CachePoolStatsProto::has_bytesneeded() const { |
24512 | return (_has_bits_[0] & 0x00000001u) != 0; |
24513 | } |
24514 | inline void CachePoolStatsProto::set_has_bytesneeded() { |
24515 | _has_bits_[0] |= 0x00000001u; |
24516 | } |
24517 | inline void CachePoolStatsProto::clear_has_bytesneeded() { |
24518 | _has_bits_[0] &= ~0x00000001u; |
24519 | } |
24520 | inline void CachePoolStatsProto::clear_bytesneeded() { |
24521 | bytesneeded_ = GOOGLE_LONGLONG(0); |
24522 | clear_has_bytesneeded(); |
24523 | } |
24524 | inline ::google::protobuf::int64 CachePoolStatsProto::bytesneeded() const { |
24525 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolStatsProto.bytesNeeded) |
24526 | return bytesneeded_; |
24527 | } |
24528 | inline void CachePoolStatsProto::set_bytesneeded(::google::protobuf::int64 value) { |
24529 | set_has_bytesneeded(); |
24530 | bytesneeded_ = value; |
24531 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolStatsProto.bytesNeeded) |
24532 | } |
24533 | |
24534 | // required int64 bytesCached = 2; |
24535 | inline bool CachePoolStatsProto::has_bytescached() const { |
24536 | return (_has_bits_[0] & 0x00000002u) != 0; |
24537 | } |
24538 | inline void CachePoolStatsProto::set_has_bytescached() { |
24539 | _has_bits_[0] |= 0x00000002u; |
24540 | } |
24541 | inline void CachePoolStatsProto::clear_has_bytescached() { |
24542 | _has_bits_[0] &= ~0x00000002u; |
24543 | } |
24544 | inline void CachePoolStatsProto::clear_bytescached() { |
24545 | bytescached_ = GOOGLE_LONGLONG(0); |
24546 | clear_has_bytescached(); |
24547 | } |
24548 | inline ::google::protobuf::int64 CachePoolStatsProto::bytescached() const { |
24549 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolStatsProto.bytesCached) |
24550 | return bytescached_; |
24551 | } |
24552 | inline void CachePoolStatsProto::set_bytescached(::google::protobuf::int64 value) { |
24553 | set_has_bytescached(); |
24554 | bytescached_ = value; |
24555 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolStatsProto.bytesCached) |
24556 | } |
24557 | |
24558 | // required int64 bytesOverlimit = 3; |
24559 | inline bool CachePoolStatsProto::has_bytesoverlimit() const { |
24560 | return (_has_bits_[0] & 0x00000004u) != 0; |
24561 | } |
24562 | inline void CachePoolStatsProto::set_has_bytesoverlimit() { |
24563 | _has_bits_[0] |= 0x00000004u; |
24564 | } |
24565 | inline void CachePoolStatsProto::clear_has_bytesoverlimit() { |
24566 | _has_bits_[0] &= ~0x00000004u; |
24567 | } |
24568 | inline void CachePoolStatsProto::clear_bytesoverlimit() { |
24569 | bytesoverlimit_ = GOOGLE_LONGLONG(0); |
24570 | clear_has_bytesoverlimit(); |
24571 | } |
24572 | inline ::google::protobuf::int64 CachePoolStatsProto::bytesoverlimit() const { |
24573 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolStatsProto.bytesOverlimit) |
24574 | return bytesoverlimit_; |
24575 | } |
24576 | inline void CachePoolStatsProto::set_bytesoverlimit(::google::protobuf::int64 value) { |
24577 | set_has_bytesoverlimit(); |
24578 | bytesoverlimit_ = value; |
24579 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolStatsProto.bytesOverlimit) |
24580 | } |
24581 | |
24582 | // required int64 filesNeeded = 4; |
24583 | inline bool CachePoolStatsProto::has_filesneeded() const { |
24584 | return (_has_bits_[0] & 0x00000008u) != 0; |
24585 | } |
24586 | inline void CachePoolStatsProto::set_has_filesneeded() { |
24587 | _has_bits_[0] |= 0x00000008u; |
24588 | } |
24589 | inline void CachePoolStatsProto::clear_has_filesneeded() { |
24590 | _has_bits_[0] &= ~0x00000008u; |
24591 | } |
24592 | inline void CachePoolStatsProto::clear_filesneeded() { |
24593 | filesneeded_ = GOOGLE_LONGLONG(0); |
24594 | clear_has_filesneeded(); |
24595 | } |
24596 | inline ::google::protobuf::int64 CachePoolStatsProto::filesneeded() const { |
24597 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolStatsProto.filesNeeded) |
24598 | return filesneeded_; |
24599 | } |
24600 | inline void CachePoolStatsProto::set_filesneeded(::google::protobuf::int64 value) { |
24601 | set_has_filesneeded(); |
24602 | filesneeded_ = value; |
24603 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolStatsProto.filesNeeded) |
24604 | } |
24605 | |
24606 | // required int64 filesCached = 5; |
24607 | inline bool CachePoolStatsProto::has_filescached() const { |
24608 | return (_has_bits_[0] & 0x00000010u) != 0; |
24609 | } |
24610 | inline void CachePoolStatsProto::set_has_filescached() { |
24611 | _has_bits_[0] |= 0x00000010u; |
24612 | } |
24613 | inline void CachePoolStatsProto::clear_has_filescached() { |
24614 | _has_bits_[0] &= ~0x00000010u; |
24615 | } |
24616 | inline void CachePoolStatsProto::clear_filescached() { |
24617 | filescached_ = GOOGLE_LONGLONG(0); |
24618 | clear_has_filescached(); |
24619 | } |
24620 | inline ::google::protobuf::int64 CachePoolStatsProto::filescached() const { |
24621 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolStatsProto.filesCached) |
24622 | return filescached_; |
24623 | } |
24624 | inline void CachePoolStatsProto::set_filescached(::google::protobuf::int64 value) { |
24625 | set_has_filescached(); |
24626 | filescached_ = value; |
24627 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CachePoolStatsProto.filesCached) |
24628 | } |
24629 | |
24630 | // ------------------------------------------------------------------- |
24631 | |
24632 | // AddCachePoolRequestProto |
24633 | |
24634 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
24635 | inline bool AddCachePoolRequestProto::has_info() const { |
24636 | return (_has_bits_[0] & 0x00000001u) != 0; |
24637 | } |
24638 | inline void AddCachePoolRequestProto::set_has_info() { |
24639 | _has_bits_[0] |= 0x00000001u; |
24640 | } |
24641 | inline void AddCachePoolRequestProto::clear_has_info() { |
24642 | _has_bits_[0] &= ~0x00000001u; |
24643 | } |
24644 | inline void AddCachePoolRequestProto::clear_info() { |
24645 | if (info_ != NULL) info_->Clear(); |
24646 | clear_has_info(); |
24647 | } |
24648 | inline const ::Hdfs::Internal::CachePoolInfoProto& AddCachePoolRequestProto::_internal_info() const { |
24649 | return *info_; |
24650 | } |
24651 | inline const ::Hdfs::Internal::CachePoolInfoProto& AddCachePoolRequestProto::info() const { |
24652 | const ::Hdfs::Internal::CachePoolInfoProto* p = info_; |
24653 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AddCachePoolRequestProto.info) |
24654 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CachePoolInfoProto*>( |
24655 | &::Hdfs::Internal::_CachePoolInfoProto_default_instance_); |
24656 | } |
24657 | inline ::Hdfs::Internal::CachePoolInfoProto* AddCachePoolRequestProto::release_info() { |
24658 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AddCachePoolRequestProto.info) |
24659 | clear_has_info(); |
24660 | ::Hdfs::Internal::CachePoolInfoProto* temp = info_; |
24661 | info_ = NULL; |
24662 | return temp; |
24663 | } |
24664 | inline ::Hdfs::Internal::CachePoolInfoProto* AddCachePoolRequestProto::mutable_info() { |
24665 | set_has_info(); |
24666 | if (info_ == NULL) { |
24667 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CachePoolInfoProto>(GetArenaNoVirtual()); |
24668 | info_ = p; |
24669 | } |
24670 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AddCachePoolRequestProto.info) |
24671 | return info_; |
24672 | } |
24673 | inline void AddCachePoolRequestProto::set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info) { |
24674 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
24675 | if (message_arena == NULL) { |
24676 | delete info_; |
24677 | } |
24678 | if (info) { |
24679 | ::google::protobuf::Arena* submessage_arena = NULL; |
24680 | if (message_arena != submessage_arena) { |
24681 | info = ::google::protobuf::internal::GetOwnedMessage( |
24682 | message_arena, info, submessage_arena); |
24683 | } |
24684 | set_has_info(); |
24685 | } else { |
24686 | clear_has_info(); |
24687 | } |
24688 | info_ = info; |
24689 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AddCachePoolRequestProto.info) |
24690 | } |
24691 | |
24692 | // ------------------------------------------------------------------- |
24693 | |
24694 | // AddCachePoolResponseProto |
24695 | |
24696 | // ------------------------------------------------------------------- |
24697 | |
24698 | // ModifyCachePoolRequestProto |
24699 | |
24700 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
24701 | inline bool ModifyCachePoolRequestProto::has_info() const { |
24702 | return (_has_bits_[0] & 0x00000001u) != 0; |
24703 | } |
24704 | inline void ModifyCachePoolRequestProto::set_has_info() { |
24705 | _has_bits_[0] |= 0x00000001u; |
24706 | } |
24707 | inline void ModifyCachePoolRequestProto::clear_has_info() { |
24708 | _has_bits_[0] &= ~0x00000001u; |
24709 | } |
24710 | inline void ModifyCachePoolRequestProto::clear_info() { |
24711 | if (info_ != NULL) info_->Clear(); |
24712 | clear_has_info(); |
24713 | } |
24714 | inline const ::Hdfs::Internal::CachePoolInfoProto& ModifyCachePoolRequestProto::_internal_info() const { |
24715 | return *info_; |
24716 | } |
24717 | inline const ::Hdfs::Internal::CachePoolInfoProto& ModifyCachePoolRequestProto::info() const { |
24718 | const ::Hdfs::Internal::CachePoolInfoProto* p = info_; |
24719 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ModifyCachePoolRequestProto.info) |
24720 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CachePoolInfoProto*>( |
24721 | &::Hdfs::Internal::_CachePoolInfoProto_default_instance_); |
24722 | } |
24723 | inline ::Hdfs::Internal::CachePoolInfoProto* ModifyCachePoolRequestProto::release_info() { |
24724 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ModifyCachePoolRequestProto.info) |
24725 | clear_has_info(); |
24726 | ::Hdfs::Internal::CachePoolInfoProto* temp = info_; |
24727 | info_ = NULL; |
24728 | return temp; |
24729 | } |
24730 | inline ::Hdfs::Internal::CachePoolInfoProto* ModifyCachePoolRequestProto::mutable_info() { |
24731 | set_has_info(); |
24732 | if (info_ == NULL) { |
24733 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CachePoolInfoProto>(GetArenaNoVirtual()); |
24734 | info_ = p; |
24735 | } |
24736 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ModifyCachePoolRequestProto.info) |
24737 | return info_; |
24738 | } |
24739 | inline void ModifyCachePoolRequestProto::set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info) { |
24740 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
24741 | if (message_arena == NULL) { |
24742 | delete info_; |
24743 | } |
24744 | if (info) { |
24745 | ::google::protobuf::Arena* submessage_arena = NULL; |
24746 | if (message_arena != submessage_arena) { |
24747 | info = ::google::protobuf::internal::GetOwnedMessage( |
24748 | message_arena, info, submessage_arena); |
24749 | } |
24750 | set_has_info(); |
24751 | } else { |
24752 | clear_has_info(); |
24753 | } |
24754 | info_ = info; |
24755 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ModifyCachePoolRequestProto.info) |
24756 | } |
24757 | |
24758 | // ------------------------------------------------------------------- |
24759 | |
24760 | // ModifyCachePoolResponseProto |
24761 | |
24762 | // ------------------------------------------------------------------- |
24763 | |
24764 | // RemoveCachePoolRequestProto |
24765 | |
24766 | // required string poolName = 1; |
24767 | inline bool RemoveCachePoolRequestProto::has_poolname() const { |
24768 | return (_has_bits_[0] & 0x00000001u) != 0; |
24769 | } |
24770 | inline void RemoveCachePoolRequestProto::set_has_poolname() { |
24771 | _has_bits_[0] |= 0x00000001u; |
24772 | } |
24773 | inline void RemoveCachePoolRequestProto::clear_has_poolname() { |
24774 | _has_bits_[0] &= ~0x00000001u; |
24775 | } |
24776 | inline void RemoveCachePoolRequestProto::clear_poolname() { |
24777 | poolname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24778 | clear_has_poolname(); |
24779 | } |
24780 | inline const ::std::string& RemoveCachePoolRequestProto::poolname() const { |
24781 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24782 | return poolname_.GetNoArena(); |
24783 | } |
24784 | inline void RemoveCachePoolRequestProto::set_poolname(const ::std::string& value) { |
24785 | set_has_poolname(); |
24786 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
24787 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24788 | } |
24789 | #if LANG_CXX11 |
24790 | inline void RemoveCachePoolRequestProto::set_poolname(::std::string&& value) { |
24791 | set_has_poolname(); |
24792 | poolname_.SetNoArena( |
24793 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
24794 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24795 | } |
24796 | #endif |
24797 | inline void RemoveCachePoolRequestProto::set_poolname(const char* value) { |
24798 | GOOGLE_DCHECK(value != NULL); |
24799 | set_has_poolname(); |
24800 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
24801 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24802 | } |
24803 | inline void RemoveCachePoolRequestProto::set_poolname(const char* value, size_t size) { |
24804 | set_has_poolname(); |
24805 | poolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
24806 | ::std::string(reinterpret_cast<const char*>(value), size)); |
24807 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24808 | } |
24809 | inline ::std::string* RemoveCachePoolRequestProto::mutable_poolname() { |
24810 | set_has_poolname(); |
24811 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24812 | return poolname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24813 | } |
24814 | inline ::std::string* RemoveCachePoolRequestProto::release_poolname() { |
24815 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24816 | if (!has_poolname()) { |
24817 | return NULL; |
24818 | } |
24819 | clear_has_poolname(); |
24820 | return poolname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24821 | } |
24822 | inline void RemoveCachePoolRequestProto::set_allocated_poolname(::std::string* poolname) { |
24823 | if (poolname != NULL) { |
24824 | set_has_poolname(); |
24825 | } else { |
24826 | clear_has_poolname(); |
24827 | } |
24828 | poolname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), poolname); |
24829 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RemoveCachePoolRequestProto.poolName) |
24830 | } |
24831 | |
24832 | // ------------------------------------------------------------------- |
24833 | |
24834 | // RemoveCachePoolResponseProto |
24835 | |
24836 | // ------------------------------------------------------------------- |
24837 | |
24838 | // ListCachePoolsRequestProto |
24839 | |
24840 | // required string prevPoolName = 1; |
24841 | inline bool ListCachePoolsRequestProto::has_prevpoolname() const { |
24842 | return (_has_bits_[0] & 0x00000001u) != 0; |
24843 | } |
24844 | inline void ListCachePoolsRequestProto::set_has_prevpoolname() { |
24845 | _has_bits_[0] |= 0x00000001u; |
24846 | } |
24847 | inline void ListCachePoolsRequestProto::clear_has_prevpoolname() { |
24848 | _has_bits_[0] &= ~0x00000001u; |
24849 | } |
24850 | inline void ListCachePoolsRequestProto::clear_prevpoolname() { |
24851 | prevpoolname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24852 | clear_has_prevpoolname(); |
24853 | } |
24854 | inline const ::std::string& ListCachePoolsRequestProto::prevpoolname() const { |
24855 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24856 | return prevpoolname_.GetNoArena(); |
24857 | } |
24858 | inline void ListCachePoolsRequestProto::set_prevpoolname(const ::std::string& value) { |
24859 | set_has_prevpoolname(); |
24860 | prevpoolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
24861 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24862 | } |
24863 | #if LANG_CXX11 |
24864 | inline void ListCachePoolsRequestProto::set_prevpoolname(::std::string&& value) { |
24865 | set_has_prevpoolname(); |
24866 | prevpoolname_.SetNoArena( |
24867 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
24868 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24869 | } |
24870 | #endif |
24871 | inline void ListCachePoolsRequestProto::set_prevpoolname(const char* value) { |
24872 | GOOGLE_DCHECK(value != NULL); |
24873 | set_has_prevpoolname(); |
24874 | prevpoolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
24875 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24876 | } |
24877 | inline void ListCachePoolsRequestProto::set_prevpoolname(const char* value, size_t size) { |
24878 | set_has_prevpoolname(); |
24879 | prevpoolname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
24880 | ::std::string(reinterpret_cast<const char*>(value), size)); |
24881 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24882 | } |
24883 | inline ::std::string* ListCachePoolsRequestProto::mutable_prevpoolname() { |
24884 | set_has_prevpoolname(); |
24885 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24886 | return prevpoolname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24887 | } |
24888 | inline ::std::string* ListCachePoolsRequestProto::release_prevpoolname() { |
24889 | // @@protoc_insertion_point(field_release:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24890 | if (!has_prevpoolname()) { |
24891 | return NULL; |
24892 | } |
24893 | clear_has_prevpoolname(); |
24894 | return prevpoolname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
24895 | } |
24896 | inline void ListCachePoolsRequestProto::set_allocated_prevpoolname(::std::string* prevpoolname) { |
24897 | if (prevpoolname != NULL) { |
24898 | set_has_prevpoolname(); |
24899 | } else { |
24900 | clear_has_prevpoolname(); |
24901 | } |
24902 | prevpoolname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prevpoolname); |
24903 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.ListCachePoolsRequestProto.prevPoolName) |
24904 | } |
24905 | |
24906 | // ------------------------------------------------------------------- |
24907 | |
24908 | // ListCachePoolsResponseProto |
24909 | |
24910 | // repeated .Hdfs.Internal.CachePoolEntryProto entries = 1; |
24911 | inline int ListCachePoolsResponseProto::entries_size() const { |
24912 | return entries_.size(); |
24913 | } |
24914 | inline void ListCachePoolsResponseProto::clear_entries() { |
24915 | entries_.Clear(); |
24916 | } |
24917 | inline ::Hdfs::Internal::CachePoolEntryProto* ListCachePoolsResponseProto::mutable_entries(int index) { |
24918 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.ListCachePoolsResponseProto.entries) |
24919 | return entries_.Mutable(index); |
24920 | } |
24921 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CachePoolEntryProto >* |
24922 | ListCachePoolsResponseProto::mutable_entries() { |
24923 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.ListCachePoolsResponseProto.entries) |
24924 | return &entries_; |
24925 | } |
24926 | inline const ::Hdfs::Internal::CachePoolEntryProto& ListCachePoolsResponseProto::entries(int index) const { |
24927 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCachePoolsResponseProto.entries) |
24928 | return entries_.Get(index); |
24929 | } |
24930 | inline ::Hdfs::Internal::CachePoolEntryProto* ListCachePoolsResponseProto::add_entries() { |
24931 | // @@protoc_insertion_point(field_add:Hdfs.Internal.ListCachePoolsResponseProto.entries) |
24932 | return entries_.Add(); |
24933 | } |
24934 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::CachePoolEntryProto >& |
24935 | ListCachePoolsResponseProto::entries() const { |
24936 | // @@protoc_insertion_point(field_list:Hdfs.Internal.ListCachePoolsResponseProto.entries) |
24937 | return entries_; |
24938 | } |
24939 | |
24940 | // required bool hasMore = 2; |
24941 | inline bool ListCachePoolsResponseProto::has_hasmore() const { |
24942 | return (_has_bits_[0] & 0x00000001u) != 0; |
24943 | } |
24944 | inline void ListCachePoolsResponseProto::set_has_hasmore() { |
24945 | _has_bits_[0] |= 0x00000001u; |
24946 | } |
24947 | inline void ListCachePoolsResponseProto::clear_has_hasmore() { |
24948 | _has_bits_[0] &= ~0x00000001u; |
24949 | } |
24950 | inline void ListCachePoolsResponseProto::clear_hasmore() { |
24951 | hasmore_ = false; |
24952 | clear_has_hasmore(); |
24953 | } |
24954 | inline bool ListCachePoolsResponseProto::hasmore() const { |
24955 | // @@protoc_insertion_point(field_get:Hdfs.Internal.ListCachePoolsResponseProto.hasMore) |
24956 | return hasmore_; |
24957 | } |
24958 | inline void ListCachePoolsResponseProto::set_hasmore(bool value) { |
24959 | set_has_hasmore(); |
24960 | hasmore_ = value; |
24961 | // @@protoc_insertion_point(field_set:Hdfs.Internal.ListCachePoolsResponseProto.hasMore) |
24962 | } |
24963 | |
24964 | // ------------------------------------------------------------------- |
24965 | |
24966 | // CachePoolEntryProto |
24967 | |
24968 | // required .Hdfs.Internal.CachePoolInfoProto info = 1; |
24969 | inline bool CachePoolEntryProto::has_info() const { |
24970 | return (_has_bits_[0] & 0x00000001u) != 0; |
24971 | } |
24972 | inline void CachePoolEntryProto::set_has_info() { |
24973 | _has_bits_[0] |= 0x00000001u; |
24974 | } |
24975 | inline void CachePoolEntryProto::clear_has_info() { |
24976 | _has_bits_[0] &= ~0x00000001u; |
24977 | } |
24978 | inline void CachePoolEntryProto::clear_info() { |
24979 | if (info_ != NULL) info_->Clear(); |
24980 | clear_has_info(); |
24981 | } |
24982 | inline const ::Hdfs::Internal::CachePoolInfoProto& CachePoolEntryProto::_internal_info() const { |
24983 | return *info_; |
24984 | } |
24985 | inline const ::Hdfs::Internal::CachePoolInfoProto& CachePoolEntryProto::info() const { |
24986 | const ::Hdfs::Internal::CachePoolInfoProto* p = info_; |
24987 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolEntryProto.info) |
24988 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CachePoolInfoProto*>( |
24989 | &::Hdfs::Internal::_CachePoolInfoProto_default_instance_); |
24990 | } |
24991 | inline ::Hdfs::Internal::CachePoolInfoProto* CachePoolEntryProto::release_info() { |
24992 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CachePoolEntryProto.info) |
24993 | clear_has_info(); |
24994 | ::Hdfs::Internal::CachePoolInfoProto* temp = info_; |
24995 | info_ = NULL; |
24996 | return temp; |
24997 | } |
24998 | inline ::Hdfs::Internal::CachePoolInfoProto* CachePoolEntryProto::mutable_info() { |
24999 | set_has_info(); |
25000 | if (info_ == NULL) { |
25001 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CachePoolInfoProto>(GetArenaNoVirtual()); |
25002 | info_ = p; |
25003 | } |
25004 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CachePoolEntryProto.info) |
25005 | return info_; |
25006 | } |
25007 | inline void CachePoolEntryProto::set_allocated_info(::Hdfs::Internal::CachePoolInfoProto* info) { |
25008 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
25009 | if (message_arena == NULL) { |
25010 | delete info_; |
25011 | } |
25012 | if (info) { |
25013 | ::google::protobuf::Arena* submessage_arena = NULL; |
25014 | if (message_arena != submessage_arena) { |
25015 | info = ::google::protobuf::internal::GetOwnedMessage( |
25016 | message_arena, info, submessage_arena); |
25017 | } |
25018 | set_has_info(); |
25019 | } else { |
25020 | clear_has_info(); |
25021 | } |
25022 | info_ = info; |
25023 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CachePoolEntryProto.info) |
25024 | } |
25025 | |
25026 | // required .Hdfs.Internal.CachePoolStatsProto stats = 2; |
25027 | inline bool CachePoolEntryProto::has_stats() const { |
25028 | return (_has_bits_[0] & 0x00000002u) != 0; |
25029 | } |
25030 | inline void CachePoolEntryProto::set_has_stats() { |
25031 | _has_bits_[0] |= 0x00000002u; |
25032 | } |
25033 | inline void CachePoolEntryProto::clear_has_stats() { |
25034 | _has_bits_[0] &= ~0x00000002u; |
25035 | } |
25036 | inline void CachePoolEntryProto::clear_stats() { |
25037 | if (stats_ != NULL) stats_->Clear(); |
25038 | clear_has_stats(); |
25039 | } |
25040 | inline const ::Hdfs::Internal::CachePoolStatsProto& CachePoolEntryProto::_internal_stats() const { |
25041 | return *stats_; |
25042 | } |
25043 | inline const ::Hdfs::Internal::CachePoolStatsProto& CachePoolEntryProto::stats() const { |
25044 | const ::Hdfs::Internal::CachePoolStatsProto* p = stats_; |
25045 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CachePoolEntryProto.stats) |
25046 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::CachePoolStatsProto*>( |
25047 | &::Hdfs::Internal::_CachePoolStatsProto_default_instance_); |
25048 | } |
25049 | inline ::Hdfs::Internal::CachePoolStatsProto* CachePoolEntryProto::release_stats() { |
25050 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CachePoolEntryProto.stats) |
25051 | clear_has_stats(); |
25052 | ::Hdfs::Internal::CachePoolStatsProto* temp = stats_; |
25053 | stats_ = NULL; |
25054 | return temp; |
25055 | } |
25056 | inline ::Hdfs::Internal::CachePoolStatsProto* CachePoolEntryProto::mutable_stats() { |
25057 | set_has_stats(); |
25058 | if (stats_ == NULL) { |
25059 | auto* p = CreateMaybeMessage<::Hdfs::Internal::CachePoolStatsProto>(GetArenaNoVirtual()); |
25060 | stats_ = p; |
25061 | } |
25062 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CachePoolEntryProto.stats) |
25063 | return stats_; |
25064 | } |
25065 | inline void CachePoolEntryProto::set_allocated_stats(::Hdfs::Internal::CachePoolStatsProto* stats) { |
25066 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
25067 | if (message_arena == NULL) { |
25068 | delete stats_; |
25069 | } |
25070 | if (stats) { |
25071 | ::google::protobuf::Arena* submessage_arena = NULL; |
25072 | if (message_arena != submessage_arena) { |
25073 | stats = ::google::protobuf::internal::GetOwnedMessage( |
25074 | message_arena, stats, submessage_arena); |
25075 | } |
25076 | set_has_stats(); |
25077 | } else { |
25078 | clear_has_stats(); |
25079 | } |
25080 | stats_ = stats; |
25081 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CachePoolEntryProto.stats) |
25082 | } |
25083 | |
25084 | // ------------------------------------------------------------------- |
25085 | |
25086 | // GetFileLinkInfoRequestProto |
25087 | |
25088 | // required string src = 1; |
25089 | inline bool GetFileLinkInfoRequestProto::has_src() const { |
25090 | return (_has_bits_[0] & 0x00000001u) != 0; |
25091 | } |
25092 | inline void GetFileLinkInfoRequestProto::set_has_src() { |
25093 | _has_bits_[0] |= 0x00000001u; |
25094 | } |
25095 | inline void GetFileLinkInfoRequestProto::clear_has_src() { |
25096 | _has_bits_[0] &= ~0x00000001u; |
25097 | } |
25098 | inline void GetFileLinkInfoRequestProto::clear_src() { |
25099 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25100 | clear_has_src(); |
25101 | } |
25102 | inline const ::std::string& GetFileLinkInfoRequestProto::src() const { |
25103 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25104 | return src_.GetNoArena(); |
25105 | } |
25106 | inline void GetFileLinkInfoRequestProto::set_src(const ::std::string& value) { |
25107 | set_has_src(); |
25108 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25109 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25110 | } |
25111 | #if LANG_CXX11 |
25112 | inline void GetFileLinkInfoRequestProto::set_src(::std::string&& value) { |
25113 | set_has_src(); |
25114 | src_.SetNoArena( |
25115 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25116 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25117 | } |
25118 | #endif |
25119 | inline void GetFileLinkInfoRequestProto::set_src(const char* value) { |
25120 | GOOGLE_DCHECK(value != NULL); |
25121 | set_has_src(); |
25122 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25123 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25124 | } |
25125 | inline void GetFileLinkInfoRequestProto::set_src(const char* value, size_t size) { |
25126 | set_has_src(); |
25127 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25128 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25129 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25130 | } |
25131 | inline ::std::string* GetFileLinkInfoRequestProto::mutable_src() { |
25132 | set_has_src(); |
25133 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25134 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25135 | } |
25136 | inline ::std::string* GetFileLinkInfoRequestProto::release_src() { |
25137 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25138 | if (!has_src()) { |
25139 | return NULL; |
25140 | } |
25141 | clear_has_src(); |
25142 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25143 | } |
25144 | inline void GetFileLinkInfoRequestProto::set_allocated_src(::std::string* src) { |
25145 | if (src != NULL) { |
25146 | set_has_src(); |
25147 | } else { |
25148 | clear_has_src(); |
25149 | } |
25150 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
25151 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetFileLinkInfoRequestProto.src) |
25152 | } |
25153 | |
25154 | // ------------------------------------------------------------------- |
25155 | |
25156 | // GetFileLinkInfoResponseProto |
25157 | |
25158 | // optional .Hdfs.Internal.HdfsFileStatusProto fs = 1; |
25159 | inline bool GetFileLinkInfoResponseProto::has_fs() const { |
25160 | return (_has_bits_[0] & 0x00000001u) != 0; |
25161 | } |
25162 | inline void GetFileLinkInfoResponseProto::set_has_fs() { |
25163 | _has_bits_[0] |= 0x00000001u; |
25164 | } |
25165 | inline void GetFileLinkInfoResponseProto::clear_has_fs() { |
25166 | _has_bits_[0] &= ~0x00000001u; |
25167 | } |
25168 | inline const ::Hdfs::Internal::HdfsFileStatusProto& GetFileLinkInfoResponseProto::_internal_fs() const { |
25169 | return *fs_; |
25170 | } |
25171 | inline const ::Hdfs::Internal::HdfsFileStatusProto& GetFileLinkInfoResponseProto::fs() const { |
25172 | const ::Hdfs::Internal::HdfsFileStatusProto* p = fs_; |
25173 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetFileLinkInfoResponseProto.fs) |
25174 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::HdfsFileStatusProto*>( |
25175 | &::Hdfs::Internal::_HdfsFileStatusProto_default_instance_); |
25176 | } |
25177 | inline ::Hdfs::Internal::HdfsFileStatusProto* GetFileLinkInfoResponseProto::release_fs() { |
25178 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetFileLinkInfoResponseProto.fs) |
25179 | clear_has_fs(); |
25180 | ::Hdfs::Internal::HdfsFileStatusProto* temp = fs_; |
25181 | fs_ = NULL; |
25182 | return temp; |
25183 | } |
25184 | inline ::Hdfs::Internal::HdfsFileStatusProto* GetFileLinkInfoResponseProto::mutable_fs() { |
25185 | set_has_fs(); |
25186 | if (fs_ == NULL) { |
25187 | auto* p = CreateMaybeMessage<::Hdfs::Internal::HdfsFileStatusProto>(GetArenaNoVirtual()); |
25188 | fs_ = p; |
25189 | } |
25190 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetFileLinkInfoResponseProto.fs) |
25191 | return fs_; |
25192 | } |
25193 | inline void GetFileLinkInfoResponseProto::set_allocated_fs(::Hdfs::Internal::HdfsFileStatusProto* fs) { |
25194 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
25195 | if (message_arena == NULL) { |
25196 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(fs_); |
25197 | } |
25198 | if (fs) { |
25199 | ::google::protobuf::Arena* submessage_arena = NULL; |
25200 | if (message_arena != submessage_arena) { |
25201 | fs = ::google::protobuf::internal::GetOwnedMessage( |
25202 | message_arena, fs, submessage_arena); |
25203 | } |
25204 | set_has_fs(); |
25205 | } else { |
25206 | clear_has_fs(); |
25207 | } |
25208 | fs_ = fs; |
25209 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetFileLinkInfoResponseProto.fs) |
25210 | } |
25211 | |
25212 | // ------------------------------------------------------------------- |
25213 | |
25214 | // GetContentSummaryRequestProto |
25215 | |
25216 | // required string path = 1; |
25217 | inline bool GetContentSummaryRequestProto::has_path() const { |
25218 | return (_has_bits_[0] & 0x00000001u) != 0; |
25219 | } |
25220 | inline void GetContentSummaryRequestProto::set_has_path() { |
25221 | _has_bits_[0] |= 0x00000001u; |
25222 | } |
25223 | inline void GetContentSummaryRequestProto::clear_has_path() { |
25224 | _has_bits_[0] &= ~0x00000001u; |
25225 | } |
25226 | inline void GetContentSummaryRequestProto::clear_path() { |
25227 | path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25228 | clear_has_path(); |
25229 | } |
25230 | inline const ::std::string& GetContentSummaryRequestProto::path() const { |
25231 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25232 | return path_.GetNoArena(); |
25233 | } |
25234 | inline void GetContentSummaryRequestProto::set_path(const ::std::string& value) { |
25235 | set_has_path(); |
25236 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25237 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25238 | } |
25239 | #if LANG_CXX11 |
25240 | inline void GetContentSummaryRequestProto::set_path(::std::string&& value) { |
25241 | set_has_path(); |
25242 | path_.SetNoArena( |
25243 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25244 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25245 | } |
25246 | #endif |
25247 | inline void GetContentSummaryRequestProto::set_path(const char* value) { |
25248 | GOOGLE_DCHECK(value != NULL); |
25249 | set_has_path(); |
25250 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25251 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25252 | } |
25253 | inline void GetContentSummaryRequestProto::set_path(const char* value, size_t size) { |
25254 | set_has_path(); |
25255 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25256 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25257 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25258 | } |
25259 | inline ::std::string* GetContentSummaryRequestProto::mutable_path() { |
25260 | set_has_path(); |
25261 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25262 | return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25263 | } |
25264 | inline ::std::string* GetContentSummaryRequestProto::release_path() { |
25265 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25266 | if (!has_path()) { |
25267 | return NULL; |
25268 | } |
25269 | clear_has_path(); |
25270 | return path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25271 | } |
25272 | inline void GetContentSummaryRequestProto::set_allocated_path(::std::string* path) { |
25273 | if (path != NULL) { |
25274 | set_has_path(); |
25275 | } else { |
25276 | clear_has_path(); |
25277 | } |
25278 | path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); |
25279 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetContentSummaryRequestProto.path) |
25280 | } |
25281 | |
25282 | // ------------------------------------------------------------------- |
25283 | |
25284 | // GetContentSummaryResponseProto |
25285 | |
25286 | // required .Hdfs.Internal.ContentSummaryProto summary = 1; |
25287 | inline bool GetContentSummaryResponseProto::has_summary() const { |
25288 | return (_has_bits_[0] & 0x00000001u) != 0; |
25289 | } |
25290 | inline void GetContentSummaryResponseProto::set_has_summary() { |
25291 | _has_bits_[0] |= 0x00000001u; |
25292 | } |
25293 | inline void GetContentSummaryResponseProto::clear_has_summary() { |
25294 | _has_bits_[0] &= ~0x00000001u; |
25295 | } |
25296 | inline const ::Hdfs::Internal::ContentSummaryProto& GetContentSummaryResponseProto::_internal_summary() const { |
25297 | return *summary_; |
25298 | } |
25299 | inline const ::Hdfs::Internal::ContentSummaryProto& GetContentSummaryResponseProto::summary() const { |
25300 | const ::Hdfs::Internal::ContentSummaryProto* p = summary_; |
25301 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetContentSummaryResponseProto.summary) |
25302 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ContentSummaryProto*>( |
25303 | &::Hdfs::Internal::_ContentSummaryProto_default_instance_); |
25304 | } |
25305 | inline ::Hdfs::Internal::ContentSummaryProto* GetContentSummaryResponseProto::release_summary() { |
25306 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetContentSummaryResponseProto.summary) |
25307 | clear_has_summary(); |
25308 | ::Hdfs::Internal::ContentSummaryProto* temp = summary_; |
25309 | summary_ = NULL; |
25310 | return temp; |
25311 | } |
25312 | inline ::Hdfs::Internal::ContentSummaryProto* GetContentSummaryResponseProto::mutable_summary() { |
25313 | set_has_summary(); |
25314 | if (summary_ == NULL) { |
25315 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ContentSummaryProto>(GetArenaNoVirtual()); |
25316 | summary_ = p; |
25317 | } |
25318 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetContentSummaryResponseProto.summary) |
25319 | return summary_; |
25320 | } |
25321 | inline void GetContentSummaryResponseProto::set_allocated_summary(::Hdfs::Internal::ContentSummaryProto* summary) { |
25322 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
25323 | if (message_arena == NULL) { |
25324 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(summary_); |
25325 | } |
25326 | if (summary) { |
25327 | ::google::protobuf::Arena* submessage_arena = NULL; |
25328 | if (message_arena != submessage_arena) { |
25329 | summary = ::google::protobuf::internal::GetOwnedMessage( |
25330 | message_arena, summary, submessage_arena); |
25331 | } |
25332 | set_has_summary(); |
25333 | } else { |
25334 | clear_has_summary(); |
25335 | } |
25336 | summary_ = summary; |
25337 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetContentSummaryResponseProto.summary) |
25338 | } |
25339 | |
25340 | // ------------------------------------------------------------------- |
25341 | |
25342 | // SetQuotaRequestProto |
25343 | |
25344 | // required string path = 1; |
25345 | inline bool SetQuotaRequestProto::has_path() const { |
25346 | return (_has_bits_[0] & 0x00000001u) != 0; |
25347 | } |
25348 | inline void SetQuotaRequestProto::set_has_path() { |
25349 | _has_bits_[0] |= 0x00000001u; |
25350 | } |
25351 | inline void SetQuotaRequestProto::clear_has_path() { |
25352 | _has_bits_[0] &= ~0x00000001u; |
25353 | } |
25354 | inline void SetQuotaRequestProto::clear_path() { |
25355 | path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25356 | clear_has_path(); |
25357 | } |
25358 | inline const ::std::string& SetQuotaRequestProto::path() const { |
25359 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetQuotaRequestProto.path) |
25360 | return path_.GetNoArena(); |
25361 | } |
25362 | inline void SetQuotaRequestProto::set_path(const ::std::string& value) { |
25363 | set_has_path(); |
25364 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25365 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetQuotaRequestProto.path) |
25366 | } |
25367 | #if LANG_CXX11 |
25368 | inline void SetQuotaRequestProto::set_path(::std::string&& value) { |
25369 | set_has_path(); |
25370 | path_.SetNoArena( |
25371 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25372 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetQuotaRequestProto.path) |
25373 | } |
25374 | #endif |
25375 | inline void SetQuotaRequestProto::set_path(const char* value) { |
25376 | GOOGLE_DCHECK(value != NULL); |
25377 | set_has_path(); |
25378 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25379 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetQuotaRequestProto.path) |
25380 | } |
25381 | inline void SetQuotaRequestProto::set_path(const char* value, size_t size) { |
25382 | set_has_path(); |
25383 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25384 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25385 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetQuotaRequestProto.path) |
25386 | } |
25387 | inline ::std::string* SetQuotaRequestProto::mutable_path() { |
25388 | set_has_path(); |
25389 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetQuotaRequestProto.path) |
25390 | return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25391 | } |
25392 | inline ::std::string* SetQuotaRequestProto::release_path() { |
25393 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetQuotaRequestProto.path) |
25394 | if (!has_path()) { |
25395 | return NULL; |
25396 | } |
25397 | clear_has_path(); |
25398 | return path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25399 | } |
25400 | inline void SetQuotaRequestProto::set_allocated_path(::std::string* path) { |
25401 | if (path != NULL) { |
25402 | set_has_path(); |
25403 | } else { |
25404 | clear_has_path(); |
25405 | } |
25406 | path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); |
25407 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetQuotaRequestProto.path) |
25408 | } |
25409 | |
25410 | // required uint64 namespaceQuota = 2; |
25411 | inline bool SetQuotaRequestProto::has_namespacequota() const { |
25412 | return (_has_bits_[0] & 0x00000002u) != 0; |
25413 | } |
25414 | inline void SetQuotaRequestProto::set_has_namespacequota() { |
25415 | _has_bits_[0] |= 0x00000002u; |
25416 | } |
25417 | inline void SetQuotaRequestProto::clear_has_namespacequota() { |
25418 | _has_bits_[0] &= ~0x00000002u; |
25419 | } |
25420 | inline void SetQuotaRequestProto::clear_namespacequota() { |
25421 | namespacequota_ = GOOGLE_ULONGLONG(0); |
25422 | clear_has_namespacequota(); |
25423 | } |
25424 | inline ::google::protobuf::uint64 SetQuotaRequestProto::namespacequota() const { |
25425 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetQuotaRequestProto.namespaceQuota) |
25426 | return namespacequota_; |
25427 | } |
25428 | inline void SetQuotaRequestProto::set_namespacequota(::google::protobuf::uint64 value) { |
25429 | set_has_namespacequota(); |
25430 | namespacequota_ = value; |
25431 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetQuotaRequestProto.namespaceQuota) |
25432 | } |
25433 | |
25434 | // required uint64 diskspaceQuota = 3; |
25435 | inline bool SetQuotaRequestProto::has_diskspacequota() const { |
25436 | return (_has_bits_[0] & 0x00000004u) != 0; |
25437 | } |
25438 | inline void SetQuotaRequestProto::set_has_diskspacequota() { |
25439 | _has_bits_[0] |= 0x00000004u; |
25440 | } |
25441 | inline void SetQuotaRequestProto::clear_has_diskspacequota() { |
25442 | _has_bits_[0] &= ~0x00000004u; |
25443 | } |
25444 | inline void SetQuotaRequestProto::clear_diskspacequota() { |
25445 | diskspacequota_ = GOOGLE_ULONGLONG(0); |
25446 | clear_has_diskspacequota(); |
25447 | } |
25448 | inline ::google::protobuf::uint64 SetQuotaRequestProto::diskspacequota() const { |
25449 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetQuotaRequestProto.diskspaceQuota) |
25450 | return diskspacequota_; |
25451 | } |
25452 | inline void SetQuotaRequestProto::set_diskspacequota(::google::protobuf::uint64 value) { |
25453 | set_has_diskspacequota(); |
25454 | diskspacequota_ = value; |
25455 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetQuotaRequestProto.diskspaceQuota) |
25456 | } |
25457 | |
25458 | // ------------------------------------------------------------------- |
25459 | |
25460 | // SetQuotaResponseProto |
25461 | |
25462 | // ------------------------------------------------------------------- |
25463 | |
25464 | // FsyncRequestProto |
25465 | |
25466 | // required string src = 1; |
25467 | inline bool FsyncRequestProto::has_src() const { |
25468 | return (_has_bits_[0] & 0x00000001u) != 0; |
25469 | } |
25470 | inline void FsyncRequestProto::set_has_src() { |
25471 | _has_bits_[0] |= 0x00000001u; |
25472 | } |
25473 | inline void FsyncRequestProto::clear_has_src() { |
25474 | _has_bits_[0] &= ~0x00000001u; |
25475 | } |
25476 | inline void FsyncRequestProto::clear_src() { |
25477 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25478 | clear_has_src(); |
25479 | } |
25480 | inline const ::std::string& FsyncRequestProto::src() const { |
25481 | // @@protoc_insertion_point(field_get:Hdfs.Internal.FsyncRequestProto.src) |
25482 | return src_.GetNoArena(); |
25483 | } |
25484 | inline void FsyncRequestProto::set_src(const ::std::string& value) { |
25485 | set_has_src(); |
25486 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25487 | // @@protoc_insertion_point(field_set:Hdfs.Internal.FsyncRequestProto.src) |
25488 | } |
25489 | #if LANG_CXX11 |
25490 | inline void FsyncRequestProto::set_src(::std::string&& value) { |
25491 | set_has_src(); |
25492 | src_.SetNoArena( |
25493 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25494 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.FsyncRequestProto.src) |
25495 | } |
25496 | #endif |
25497 | inline void FsyncRequestProto::set_src(const char* value) { |
25498 | GOOGLE_DCHECK(value != NULL); |
25499 | set_has_src(); |
25500 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25501 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.FsyncRequestProto.src) |
25502 | } |
25503 | inline void FsyncRequestProto::set_src(const char* value, size_t size) { |
25504 | set_has_src(); |
25505 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25506 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25507 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.FsyncRequestProto.src) |
25508 | } |
25509 | inline ::std::string* FsyncRequestProto::mutable_src() { |
25510 | set_has_src(); |
25511 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.FsyncRequestProto.src) |
25512 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25513 | } |
25514 | inline ::std::string* FsyncRequestProto::release_src() { |
25515 | // @@protoc_insertion_point(field_release:Hdfs.Internal.FsyncRequestProto.src) |
25516 | if (!has_src()) { |
25517 | return NULL; |
25518 | } |
25519 | clear_has_src(); |
25520 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25521 | } |
25522 | inline void FsyncRequestProto::set_allocated_src(::std::string* src) { |
25523 | if (src != NULL) { |
25524 | set_has_src(); |
25525 | } else { |
25526 | clear_has_src(); |
25527 | } |
25528 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
25529 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.FsyncRequestProto.src) |
25530 | } |
25531 | |
25532 | // required string client = 2; |
25533 | inline bool FsyncRequestProto::has_client() const { |
25534 | return (_has_bits_[0] & 0x00000002u) != 0; |
25535 | } |
25536 | inline void FsyncRequestProto::set_has_client() { |
25537 | _has_bits_[0] |= 0x00000002u; |
25538 | } |
25539 | inline void FsyncRequestProto::clear_has_client() { |
25540 | _has_bits_[0] &= ~0x00000002u; |
25541 | } |
25542 | inline void FsyncRequestProto::clear_client() { |
25543 | client_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25544 | clear_has_client(); |
25545 | } |
25546 | inline const ::std::string& FsyncRequestProto::client() const { |
25547 | // @@protoc_insertion_point(field_get:Hdfs.Internal.FsyncRequestProto.client) |
25548 | return client_.GetNoArena(); |
25549 | } |
25550 | inline void FsyncRequestProto::set_client(const ::std::string& value) { |
25551 | set_has_client(); |
25552 | client_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25553 | // @@protoc_insertion_point(field_set:Hdfs.Internal.FsyncRequestProto.client) |
25554 | } |
25555 | #if LANG_CXX11 |
25556 | inline void FsyncRequestProto::set_client(::std::string&& value) { |
25557 | set_has_client(); |
25558 | client_.SetNoArena( |
25559 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25560 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.FsyncRequestProto.client) |
25561 | } |
25562 | #endif |
25563 | inline void FsyncRequestProto::set_client(const char* value) { |
25564 | GOOGLE_DCHECK(value != NULL); |
25565 | set_has_client(); |
25566 | client_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25567 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.FsyncRequestProto.client) |
25568 | } |
25569 | inline void FsyncRequestProto::set_client(const char* value, size_t size) { |
25570 | set_has_client(); |
25571 | client_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25572 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25573 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.FsyncRequestProto.client) |
25574 | } |
25575 | inline ::std::string* FsyncRequestProto::mutable_client() { |
25576 | set_has_client(); |
25577 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.FsyncRequestProto.client) |
25578 | return client_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25579 | } |
25580 | inline ::std::string* FsyncRequestProto::release_client() { |
25581 | // @@protoc_insertion_point(field_release:Hdfs.Internal.FsyncRequestProto.client) |
25582 | if (!has_client()) { |
25583 | return NULL; |
25584 | } |
25585 | clear_has_client(); |
25586 | return client_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25587 | } |
25588 | inline void FsyncRequestProto::set_allocated_client(::std::string* client) { |
25589 | if (client != NULL) { |
25590 | set_has_client(); |
25591 | } else { |
25592 | clear_has_client(); |
25593 | } |
25594 | client_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client); |
25595 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.FsyncRequestProto.client) |
25596 | } |
25597 | |
25598 | // optional sint64 lastBlockLength = 3 [default = -1]; |
25599 | inline bool FsyncRequestProto::has_lastblocklength() const { |
25600 | return (_has_bits_[0] & 0x00000004u) != 0; |
25601 | } |
25602 | inline void FsyncRequestProto::set_has_lastblocklength() { |
25603 | _has_bits_[0] |= 0x00000004u; |
25604 | } |
25605 | inline void FsyncRequestProto::clear_has_lastblocklength() { |
25606 | _has_bits_[0] &= ~0x00000004u; |
25607 | } |
25608 | inline void FsyncRequestProto::clear_lastblocklength() { |
25609 | lastblocklength_ = GOOGLE_LONGLONG(-1); |
25610 | clear_has_lastblocklength(); |
25611 | } |
25612 | inline ::google::protobuf::int64 FsyncRequestProto::lastblocklength() const { |
25613 | // @@protoc_insertion_point(field_get:Hdfs.Internal.FsyncRequestProto.lastBlockLength) |
25614 | return lastblocklength_; |
25615 | } |
25616 | inline void FsyncRequestProto::set_lastblocklength(::google::protobuf::int64 value) { |
25617 | set_has_lastblocklength(); |
25618 | lastblocklength_ = value; |
25619 | // @@protoc_insertion_point(field_set:Hdfs.Internal.FsyncRequestProto.lastBlockLength) |
25620 | } |
25621 | |
25622 | // ------------------------------------------------------------------- |
25623 | |
25624 | // FsyncResponseProto |
25625 | |
25626 | // ------------------------------------------------------------------- |
25627 | |
25628 | // SetTimesRequestProto |
25629 | |
25630 | // required string src = 1; |
25631 | inline bool SetTimesRequestProto::has_src() const { |
25632 | return (_has_bits_[0] & 0x00000001u) != 0; |
25633 | } |
25634 | inline void SetTimesRequestProto::set_has_src() { |
25635 | _has_bits_[0] |= 0x00000001u; |
25636 | } |
25637 | inline void SetTimesRequestProto::clear_has_src() { |
25638 | _has_bits_[0] &= ~0x00000001u; |
25639 | } |
25640 | inline void SetTimesRequestProto::clear_src() { |
25641 | src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25642 | clear_has_src(); |
25643 | } |
25644 | inline const ::std::string& SetTimesRequestProto::src() const { |
25645 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetTimesRequestProto.src) |
25646 | return src_.GetNoArena(); |
25647 | } |
25648 | inline void SetTimesRequestProto::set_src(const ::std::string& value) { |
25649 | set_has_src(); |
25650 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25651 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetTimesRequestProto.src) |
25652 | } |
25653 | #if LANG_CXX11 |
25654 | inline void SetTimesRequestProto::set_src(::std::string&& value) { |
25655 | set_has_src(); |
25656 | src_.SetNoArena( |
25657 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25658 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.SetTimesRequestProto.src) |
25659 | } |
25660 | #endif |
25661 | inline void SetTimesRequestProto::set_src(const char* value) { |
25662 | GOOGLE_DCHECK(value != NULL); |
25663 | set_has_src(); |
25664 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25665 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.SetTimesRequestProto.src) |
25666 | } |
25667 | inline void SetTimesRequestProto::set_src(const char* value, size_t size) { |
25668 | set_has_src(); |
25669 | src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25670 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25671 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.SetTimesRequestProto.src) |
25672 | } |
25673 | inline ::std::string* SetTimesRequestProto::mutable_src() { |
25674 | set_has_src(); |
25675 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.SetTimesRequestProto.src) |
25676 | return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25677 | } |
25678 | inline ::std::string* SetTimesRequestProto::release_src() { |
25679 | // @@protoc_insertion_point(field_release:Hdfs.Internal.SetTimesRequestProto.src) |
25680 | if (!has_src()) { |
25681 | return NULL; |
25682 | } |
25683 | clear_has_src(); |
25684 | return src_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25685 | } |
25686 | inline void SetTimesRequestProto::set_allocated_src(::std::string* src) { |
25687 | if (src != NULL) { |
25688 | set_has_src(); |
25689 | } else { |
25690 | clear_has_src(); |
25691 | } |
25692 | src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src); |
25693 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.SetTimesRequestProto.src) |
25694 | } |
25695 | |
25696 | // required uint64 mtime = 2; |
25697 | inline bool SetTimesRequestProto::has_mtime() const { |
25698 | return (_has_bits_[0] & 0x00000002u) != 0; |
25699 | } |
25700 | inline void SetTimesRequestProto::set_has_mtime() { |
25701 | _has_bits_[0] |= 0x00000002u; |
25702 | } |
25703 | inline void SetTimesRequestProto::clear_has_mtime() { |
25704 | _has_bits_[0] &= ~0x00000002u; |
25705 | } |
25706 | inline void SetTimesRequestProto::clear_mtime() { |
25707 | mtime_ = GOOGLE_ULONGLONG(0); |
25708 | clear_has_mtime(); |
25709 | } |
25710 | inline ::google::protobuf::uint64 SetTimesRequestProto::mtime() const { |
25711 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetTimesRequestProto.mtime) |
25712 | return mtime_; |
25713 | } |
25714 | inline void SetTimesRequestProto::set_mtime(::google::protobuf::uint64 value) { |
25715 | set_has_mtime(); |
25716 | mtime_ = value; |
25717 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetTimesRequestProto.mtime) |
25718 | } |
25719 | |
25720 | // required uint64 atime = 3; |
25721 | inline bool SetTimesRequestProto::has_atime() const { |
25722 | return (_has_bits_[0] & 0x00000004u) != 0; |
25723 | } |
25724 | inline void SetTimesRequestProto::set_has_atime() { |
25725 | _has_bits_[0] |= 0x00000004u; |
25726 | } |
25727 | inline void SetTimesRequestProto::clear_has_atime() { |
25728 | _has_bits_[0] &= ~0x00000004u; |
25729 | } |
25730 | inline void SetTimesRequestProto::clear_atime() { |
25731 | atime_ = GOOGLE_ULONGLONG(0); |
25732 | clear_has_atime(); |
25733 | } |
25734 | inline ::google::protobuf::uint64 SetTimesRequestProto::atime() const { |
25735 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetTimesRequestProto.atime) |
25736 | return atime_; |
25737 | } |
25738 | inline void SetTimesRequestProto::set_atime(::google::protobuf::uint64 value) { |
25739 | set_has_atime(); |
25740 | atime_ = value; |
25741 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetTimesRequestProto.atime) |
25742 | } |
25743 | |
25744 | // ------------------------------------------------------------------- |
25745 | |
25746 | // SetTimesResponseProto |
25747 | |
25748 | // ------------------------------------------------------------------- |
25749 | |
25750 | // CreateSymlinkRequestProto |
25751 | |
25752 | // required string target = 1; |
25753 | inline bool CreateSymlinkRequestProto::has_target() const { |
25754 | return (_has_bits_[0] & 0x00000001u) != 0; |
25755 | } |
25756 | inline void CreateSymlinkRequestProto::set_has_target() { |
25757 | _has_bits_[0] |= 0x00000001u; |
25758 | } |
25759 | inline void CreateSymlinkRequestProto::clear_has_target() { |
25760 | _has_bits_[0] &= ~0x00000001u; |
25761 | } |
25762 | inline void CreateSymlinkRequestProto::clear_target() { |
25763 | target_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25764 | clear_has_target(); |
25765 | } |
25766 | inline const ::std::string& CreateSymlinkRequestProto::target() const { |
25767 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25768 | return target_.GetNoArena(); |
25769 | } |
25770 | inline void CreateSymlinkRequestProto::set_target(const ::std::string& value) { |
25771 | set_has_target(); |
25772 | target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25773 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25774 | } |
25775 | #if LANG_CXX11 |
25776 | inline void CreateSymlinkRequestProto::set_target(::std::string&& value) { |
25777 | set_has_target(); |
25778 | target_.SetNoArena( |
25779 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25780 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25781 | } |
25782 | #endif |
25783 | inline void CreateSymlinkRequestProto::set_target(const char* value) { |
25784 | GOOGLE_DCHECK(value != NULL); |
25785 | set_has_target(); |
25786 | target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25787 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25788 | } |
25789 | inline void CreateSymlinkRequestProto::set_target(const char* value, size_t size) { |
25790 | set_has_target(); |
25791 | target_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25792 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25793 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25794 | } |
25795 | inline ::std::string* CreateSymlinkRequestProto::mutable_target() { |
25796 | set_has_target(); |
25797 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25798 | return target_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25799 | } |
25800 | inline ::std::string* CreateSymlinkRequestProto::release_target() { |
25801 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25802 | if (!has_target()) { |
25803 | return NULL; |
25804 | } |
25805 | clear_has_target(); |
25806 | return target_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25807 | } |
25808 | inline void CreateSymlinkRequestProto::set_allocated_target(::std::string* target) { |
25809 | if (target != NULL) { |
25810 | set_has_target(); |
25811 | } else { |
25812 | clear_has_target(); |
25813 | } |
25814 | target_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), target); |
25815 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSymlinkRequestProto.target) |
25816 | } |
25817 | |
25818 | // required string link = 2; |
25819 | inline bool CreateSymlinkRequestProto::has_link() const { |
25820 | return (_has_bits_[0] & 0x00000002u) != 0; |
25821 | } |
25822 | inline void CreateSymlinkRequestProto::set_has_link() { |
25823 | _has_bits_[0] |= 0x00000002u; |
25824 | } |
25825 | inline void CreateSymlinkRequestProto::clear_has_link() { |
25826 | _has_bits_[0] &= ~0x00000002u; |
25827 | } |
25828 | inline void CreateSymlinkRequestProto::clear_link() { |
25829 | link_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25830 | clear_has_link(); |
25831 | } |
25832 | inline const ::std::string& CreateSymlinkRequestProto::link() const { |
25833 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25834 | return link_.GetNoArena(); |
25835 | } |
25836 | inline void CreateSymlinkRequestProto::set_link(const ::std::string& value) { |
25837 | set_has_link(); |
25838 | link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25839 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25840 | } |
25841 | #if LANG_CXX11 |
25842 | inline void CreateSymlinkRequestProto::set_link(::std::string&& value) { |
25843 | set_has_link(); |
25844 | link_.SetNoArena( |
25845 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25846 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25847 | } |
25848 | #endif |
25849 | inline void CreateSymlinkRequestProto::set_link(const char* value) { |
25850 | GOOGLE_DCHECK(value != NULL); |
25851 | set_has_link(); |
25852 | link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
25853 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25854 | } |
25855 | inline void CreateSymlinkRequestProto::set_link(const char* value, size_t size) { |
25856 | set_has_link(); |
25857 | link_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
25858 | ::std::string(reinterpret_cast<const char*>(value), size)); |
25859 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25860 | } |
25861 | inline ::std::string* CreateSymlinkRequestProto::mutable_link() { |
25862 | set_has_link(); |
25863 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25864 | return link_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25865 | } |
25866 | inline ::std::string* CreateSymlinkRequestProto::release_link() { |
25867 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25868 | if (!has_link()) { |
25869 | return NULL; |
25870 | } |
25871 | clear_has_link(); |
25872 | return link_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25873 | } |
25874 | inline void CreateSymlinkRequestProto::set_allocated_link(::std::string* link) { |
25875 | if (link != NULL) { |
25876 | set_has_link(); |
25877 | } else { |
25878 | clear_has_link(); |
25879 | } |
25880 | link_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), link); |
25881 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSymlinkRequestProto.link) |
25882 | } |
25883 | |
25884 | // required .Hdfs.Internal.FsPermissionProto dirPerm = 3; |
25885 | inline bool CreateSymlinkRequestProto::has_dirperm() const { |
25886 | return (_has_bits_[0] & 0x00000004u) != 0; |
25887 | } |
25888 | inline void CreateSymlinkRequestProto::set_has_dirperm() { |
25889 | _has_bits_[0] |= 0x00000004u; |
25890 | } |
25891 | inline void CreateSymlinkRequestProto::clear_has_dirperm() { |
25892 | _has_bits_[0] &= ~0x00000004u; |
25893 | } |
25894 | inline const ::Hdfs::Internal::FsPermissionProto& CreateSymlinkRequestProto::_internal_dirperm() const { |
25895 | return *dirperm_; |
25896 | } |
25897 | inline const ::Hdfs::Internal::FsPermissionProto& CreateSymlinkRequestProto::dirperm() const { |
25898 | const ::Hdfs::Internal::FsPermissionProto* p = dirperm_; |
25899 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSymlinkRequestProto.dirPerm) |
25900 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::FsPermissionProto*>( |
25901 | &::Hdfs::Internal::_FsPermissionProto_default_instance_); |
25902 | } |
25903 | inline ::Hdfs::Internal::FsPermissionProto* CreateSymlinkRequestProto::release_dirperm() { |
25904 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSymlinkRequestProto.dirPerm) |
25905 | clear_has_dirperm(); |
25906 | ::Hdfs::Internal::FsPermissionProto* temp = dirperm_; |
25907 | dirperm_ = NULL; |
25908 | return temp; |
25909 | } |
25910 | inline ::Hdfs::Internal::FsPermissionProto* CreateSymlinkRequestProto::mutable_dirperm() { |
25911 | set_has_dirperm(); |
25912 | if (dirperm_ == NULL) { |
25913 | auto* p = CreateMaybeMessage<::Hdfs::Internal::FsPermissionProto>(GetArenaNoVirtual()); |
25914 | dirperm_ = p; |
25915 | } |
25916 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSymlinkRequestProto.dirPerm) |
25917 | return dirperm_; |
25918 | } |
25919 | inline void CreateSymlinkRequestProto::set_allocated_dirperm(::Hdfs::Internal::FsPermissionProto* dirperm) { |
25920 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
25921 | if (message_arena == NULL) { |
25922 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(dirperm_); |
25923 | } |
25924 | if (dirperm) { |
25925 | ::google::protobuf::Arena* submessage_arena = NULL; |
25926 | if (message_arena != submessage_arena) { |
25927 | dirperm = ::google::protobuf::internal::GetOwnedMessage( |
25928 | message_arena, dirperm, submessage_arena); |
25929 | } |
25930 | set_has_dirperm(); |
25931 | } else { |
25932 | clear_has_dirperm(); |
25933 | } |
25934 | dirperm_ = dirperm; |
25935 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSymlinkRequestProto.dirPerm) |
25936 | } |
25937 | |
25938 | // required bool createParent = 4; |
25939 | inline bool CreateSymlinkRequestProto::has_createparent() const { |
25940 | return (_has_bits_[0] & 0x00000008u) != 0; |
25941 | } |
25942 | inline void CreateSymlinkRequestProto::set_has_createparent() { |
25943 | _has_bits_[0] |= 0x00000008u; |
25944 | } |
25945 | inline void CreateSymlinkRequestProto::clear_has_createparent() { |
25946 | _has_bits_[0] &= ~0x00000008u; |
25947 | } |
25948 | inline void CreateSymlinkRequestProto::clear_createparent() { |
25949 | createparent_ = false; |
25950 | clear_has_createparent(); |
25951 | } |
25952 | inline bool CreateSymlinkRequestProto::createparent() const { |
25953 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSymlinkRequestProto.createParent) |
25954 | return createparent_; |
25955 | } |
25956 | inline void CreateSymlinkRequestProto::set_createparent(bool value) { |
25957 | set_has_createparent(); |
25958 | createparent_ = value; |
25959 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSymlinkRequestProto.createParent) |
25960 | } |
25961 | |
25962 | // ------------------------------------------------------------------- |
25963 | |
25964 | // CreateSymlinkResponseProto |
25965 | |
25966 | // ------------------------------------------------------------------- |
25967 | |
25968 | // GetLinkTargetRequestProto |
25969 | |
25970 | // required string path = 1; |
25971 | inline bool GetLinkTargetRequestProto::has_path() const { |
25972 | return (_has_bits_[0] & 0x00000001u) != 0; |
25973 | } |
25974 | inline void GetLinkTargetRequestProto::set_has_path() { |
25975 | _has_bits_[0] |= 0x00000001u; |
25976 | } |
25977 | inline void GetLinkTargetRequestProto::clear_has_path() { |
25978 | _has_bits_[0] &= ~0x00000001u; |
25979 | } |
25980 | inline void GetLinkTargetRequestProto::clear_path() { |
25981 | path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
25982 | clear_has_path(); |
25983 | } |
25984 | inline const ::std::string& GetLinkTargetRequestProto::path() const { |
25985 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetLinkTargetRequestProto.path) |
25986 | return path_.GetNoArena(); |
25987 | } |
25988 | inline void GetLinkTargetRequestProto::set_path(const ::std::string& value) { |
25989 | set_has_path(); |
25990 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
25991 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetLinkTargetRequestProto.path) |
25992 | } |
25993 | #if LANG_CXX11 |
25994 | inline void GetLinkTargetRequestProto::set_path(::std::string&& value) { |
25995 | set_has_path(); |
25996 | path_.SetNoArena( |
25997 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
25998 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetLinkTargetRequestProto.path) |
25999 | } |
26000 | #endif |
26001 | inline void GetLinkTargetRequestProto::set_path(const char* value) { |
26002 | GOOGLE_DCHECK(value != NULL); |
26003 | set_has_path(); |
26004 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26005 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetLinkTargetRequestProto.path) |
26006 | } |
26007 | inline void GetLinkTargetRequestProto::set_path(const char* value, size_t size) { |
26008 | set_has_path(); |
26009 | path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26010 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26011 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetLinkTargetRequestProto.path) |
26012 | } |
26013 | inline ::std::string* GetLinkTargetRequestProto::mutable_path() { |
26014 | set_has_path(); |
26015 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetLinkTargetRequestProto.path) |
26016 | return path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26017 | } |
26018 | inline ::std::string* GetLinkTargetRequestProto::release_path() { |
26019 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetLinkTargetRequestProto.path) |
26020 | if (!has_path()) { |
26021 | return NULL; |
26022 | } |
26023 | clear_has_path(); |
26024 | return path_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26025 | } |
26026 | inline void GetLinkTargetRequestProto::set_allocated_path(::std::string* path) { |
26027 | if (path != NULL) { |
26028 | set_has_path(); |
26029 | } else { |
26030 | clear_has_path(); |
26031 | } |
26032 | path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), path); |
26033 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetLinkTargetRequestProto.path) |
26034 | } |
26035 | |
26036 | // ------------------------------------------------------------------- |
26037 | |
26038 | // GetLinkTargetResponseProto |
26039 | |
26040 | // optional string targetPath = 1; |
26041 | inline bool GetLinkTargetResponseProto::has_targetpath() const { |
26042 | return (_has_bits_[0] & 0x00000001u) != 0; |
26043 | } |
26044 | inline void GetLinkTargetResponseProto::set_has_targetpath() { |
26045 | _has_bits_[0] |= 0x00000001u; |
26046 | } |
26047 | inline void GetLinkTargetResponseProto::clear_has_targetpath() { |
26048 | _has_bits_[0] &= ~0x00000001u; |
26049 | } |
26050 | inline void GetLinkTargetResponseProto::clear_targetpath() { |
26051 | targetpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26052 | clear_has_targetpath(); |
26053 | } |
26054 | inline const ::std::string& GetLinkTargetResponseProto::targetpath() const { |
26055 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26056 | return targetpath_.GetNoArena(); |
26057 | } |
26058 | inline void GetLinkTargetResponseProto::set_targetpath(const ::std::string& value) { |
26059 | set_has_targetpath(); |
26060 | targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26061 | // @@protoc_insertion_point(field_set:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26062 | } |
26063 | #if LANG_CXX11 |
26064 | inline void GetLinkTargetResponseProto::set_targetpath(::std::string&& value) { |
26065 | set_has_targetpath(); |
26066 | targetpath_.SetNoArena( |
26067 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26068 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26069 | } |
26070 | #endif |
26071 | inline void GetLinkTargetResponseProto::set_targetpath(const char* value) { |
26072 | GOOGLE_DCHECK(value != NULL); |
26073 | set_has_targetpath(); |
26074 | targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26075 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26076 | } |
26077 | inline void GetLinkTargetResponseProto::set_targetpath(const char* value, size_t size) { |
26078 | set_has_targetpath(); |
26079 | targetpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26080 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26081 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26082 | } |
26083 | inline ::std::string* GetLinkTargetResponseProto::mutable_targetpath() { |
26084 | set_has_targetpath(); |
26085 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26086 | return targetpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26087 | } |
26088 | inline ::std::string* GetLinkTargetResponseProto::release_targetpath() { |
26089 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26090 | if (!has_targetpath()) { |
26091 | return NULL; |
26092 | } |
26093 | clear_has_targetpath(); |
26094 | return targetpath_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26095 | } |
26096 | inline void GetLinkTargetResponseProto::set_allocated_targetpath(::std::string* targetpath) { |
26097 | if (targetpath != NULL) { |
26098 | set_has_targetpath(); |
26099 | } else { |
26100 | clear_has_targetpath(); |
26101 | } |
26102 | targetpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), targetpath); |
26103 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetLinkTargetResponseProto.targetPath) |
26104 | } |
26105 | |
26106 | // ------------------------------------------------------------------- |
26107 | |
26108 | // UpdateBlockForPipelineRequestProto |
26109 | |
26110 | // required .Hdfs.Internal.ExtendedBlockProto block = 1; |
26111 | inline bool UpdateBlockForPipelineRequestProto::has_block() const { |
26112 | return (_has_bits_[0] & 0x00000002u) != 0; |
26113 | } |
26114 | inline void UpdateBlockForPipelineRequestProto::set_has_block() { |
26115 | _has_bits_[0] |= 0x00000002u; |
26116 | } |
26117 | inline void UpdateBlockForPipelineRequestProto::clear_has_block() { |
26118 | _has_bits_[0] &= ~0x00000002u; |
26119 | } |
26120 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdateBlockForPipelineRequestProto::_internal_block() const { |
26121 | return *block_; |
26122 | } |
26123 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdateBlockForPipelineRequestProto::block() const { |
26124 | const ::Hdfs::Internal::ExtendedBlockProto* p = block_; |
26125 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdateBlockForPipelineRequestProto.block) |
26126 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
26127 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
26128 | } |
26129 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdateBlockForPipelineRequestProto::release_block() { |
26130 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdateBlockForPipelineRequestProto.block) |
26131 | clear_has_block(); |
26132 | ::Hdfs::Internal::ExtendedBlockProto* temp = block_; |
26133 | block_ = NULL; |
26134 | return temp; |
26135 | } |
26136 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdateBlockForPipelineRequestProto::mutable_block() { |
26137 | set_has_block(); |
26138 | if (block_ == NULL) { |
26139 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
26140 | block_ = p; |
26141 | } |
26142 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdateBlockForPipelineRequestProto.block) |
26143 | return block_; |
26144 | } |
26145 | inline void UpdateBlockForPipelineRequestProto::set_allocated_block(::Hdfs::Internal::ExtendedBlockProto* block) { |
26146 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
26147 | if (message_arena == NULL) { |
26148 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(block_); |
26149 | } |
26150 | if (block) { |
26151 | ::google::protobuf::Arena* submessage_arena = NULL; |
26152 | if (message_arena != submessage_arena) { |
26153 | block = ::google::protobuf::internal::GetOwnedMessage( |
26154 | message_arena, block, submessage_arena); |
26155 | } |
26156 | set_has_block(); |
26157 | } else { |
26158 | clear_has_block(); |
26159 | } |
26160 | block_ = block; |
26161 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdateBlockForPipelineRequestProto.block) |
26162 | } |
26163 | |
26164 | // required string clientName = 2; |
26165 | inline bool UpdateBlockForPipelineRequestProto::has_clientname() const { |
26166 | return (_has_bits_[0] & 0x00000001u) != 0; |
26167 | } |
26168 | inline void UpdateBlockForPipelineRequestProto::set_has_clientname() { |
26169 | _has_bits_[0] |= 0x00000001u; |
26170 | } |
26171 | inline void UpdateBlockForPipelineRequestProto::clear_has_clientname() { |
26172 | _has_bits_[0] &= ~0x00000001u; |
26173 | } |
26174 | inline void UpdateBlockForPipelineRequestProto::clear_clientname() { |
26175 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26176 | clear_has_clientname(); |
26177 | } |
26178 | inline const ::std::string& UpdateBlockForPipelineRequestProto::clientname() const { |
26179 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26180 | return clientname_.GetNoArena(); |
26181 | } |
26182 | inline void UpdateBlockForPipelineRequestProto::set_clientname(const ::std::string& value) { |
26183 | set_has_clientname(); |
26184 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26185 | // @@protoc_insertion_point(field_set:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26186 | } |
26187 | #if LANG_CXX11 |
26188 | inline void UpdateBlockForPipelineRequestProto::set_clientname(::std::string&& value) { |
26189 | set_has_clientname(); |
26190 | clientname_.SetNoArena( |
26191 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26192 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26193 | } |
26194 | #endif |
26195 | inline void UpdateBlockForPipelineRequestProto::set_clientname(const char* value) { |
26196 | GOOGLE_DCHECK(value != NULL); |
26197 | set_has_clientname(); |
26198 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26199 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26200 | } |
26201 | inline void UpdateBlockForPipelineRequestProto::set_clientname(const char* value, size_t size) { |
26202 | set_has_clientname(); |
26203 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26204 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26205 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26206 | } |
26207 | inline ::std::string* UpdateBlockForPipelineRequestProto::mutable_clientname() { |
26208 | set_has_clientname(); |
26209 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26210 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26211 | } |
26212 | inline ::std::string* UpdateBlockForPipelineRequestProto::release_clientname() { |
26213 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26214 | if (!has_clientname()) { |
26215 | return NULL; |
26216 | } |
26217 | clear_has_clientname(); |
26218 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26219 | } |
26220 | inline void UpdateBlockForPipelineRequestProto::set_allocated_clientname(::std::string* clientname) { |
26221 | if (clientname != NULL) { |
26222 | set_has_clientname(); |
26223 | } else { |
26224 | clear_has_clientname(); |
26225 | } |
26226 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
26227 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdateBlockForPipelineRequestProto.clientName) |
26228 | } |
26229 | |
26230 | // ------------------------------------------------------------------- |
26231 | |
26232 | // UpdateBlockForPipelineResponseProto |
26233 | |
26234 | // required .Hdfs.Internal.LocatedBlockProto block = 1; |
26235 | inline bool UpdateBlockForPipelineResponseProto::has_block() const { |
26236 | return (_has_bits_[0] & 0x00000001u) != 0; |
26237 | } |
26238 | inline void UpdateBlockForPipelineResponseProto::set_has_block() { |
26239 | _has_bits_[0] |= 0x00000001u; |
26240 | } |
26241 | inline void UpdateBlockForPipelineResponseProto::clear_has_block() { |
26242 | _has_bits_[0] &= ~0x00000001u; |
26243 | } |
26244 | inline const ::Hdfs::Internal::LocatedBlockProto& UpdateBlockForPipelineResponseProto::_internal_block() const { |
26245 | return *block_; |
26246 | } |
26247 | inline const ::Hdfs::Internal::LocatedBlockProto& UpdateBlockForPipelineResponseProto::block() const { |
26248 | const ::Hdfs::Internal::LocatedBlockProto* p = block_; |
26249 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdateBlockForPipelineResponseProto.block) |
26250 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::LocatedBlockProto*>( |
26251 | &::Hdfs::Internal::_LocatedBlockProto_default_instance_); |
26252 | } |
26253 | inline ::Hdfs::Internal::LocatedBlockProto* UpdateBlockForPipelineResponseProto::release_block() { |
26254 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdateBlockForPipelineResponseProto.block) |
26255 | clear_has_block(); |
26256 | ::Hdfs::Internal::LocatedBlockProto* temp = block_; |
26257 | block_ = NULL; |
26258 | return temp; |
26259 | } |
26260 | inline ::Hdfs::Internal::LocatedBlockProto* UpdateBlockForPipelineResponseProto::mutable_block() { |
26261 | set_has_block(); |
26262 | if (block_ == NULL) { |
26263 | auto* p = CreateMaybeMessage<::Hdfs::Internal::LocatedBlockProto>(GetArenaNoVirtual()); |
26264 | block_ = p; |
26265 | } |
26266 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdateBlockForPipelineResponseProto.block) |
26267 | return block_; |
26268 | } |
26269 | inline void UpdateBlockForPipelineResponseProto::set_allocated_block(::Hdfs::Internal::LocatedBlockProto* block) { |
26270 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
26271 | if (message_arena == NULL) { |
26272 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(block_); |
26273 | } |
26274 | if (block) { |
26275 | ::google::protobuf::Arena* submessage_arena = NULL; |
26276 | if (message_arena != submessage_arena) { |
26277 | block = ::google::protobuf::internal::GetOwnedMessage( |
26278 | message_arena, block, submessage_arena); |
26279 | } |
26280 | set_has_block(); |
26281 | } else { |
26282 | clear_has_block(); |
26283 | } |
26284 | block_ = block; |
26285 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdateBlockForPipelineResponseProto.block) |
26286 | } |
26287 | |
26288 | // ------------------------------------------------------------------- |
26289 | |
26290 | // UpdatePipelineRequestProto |
26291 | |
26292 | // required string clientName = 1; |
26293 | inline bool UpdatePipelineRequestProto::has_clientname() const { |
26294 | return (_has_bits_[0] & 0x00000001u) != 0; |
26295 | } |
26296 | inline void UpdatePipelineRequestProto::set_has_clientname() { |
26297 | _has_bits_[0] |= 0x00000001u; |
26298 | } |
26299 | inline void UpdatePipelineRequestProto::clear_has_clientname() { |
26300 | _has_bits_[0] &= ~0x00000001u; |
26301 | } |
26302 | inline void UpdatePipelineRequestProto::clear_clientname() { |
26303 | clientname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26304 | clear_has_clientname(); |
26305 | } |
26306 | inline const ::std::string& UpdatePipelineRequestProto::clientname() const { |
26307 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26308 | return clientname_.GetNoArena(); |
26309 | } |
26310 | inline void UpdatePipelineRequestProto::set_clientname(const ::std::string& value) { |
26311 | set_has_clientname(); |
26312 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26313 | // @@protoc_insertion_point(field_set:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26314 | } |
26315 | #if LANG_CXX11 |
26316 | inline void UpdatePipelineRequestProto::set_clientname(::std::string&& value) { |
26317 | set_has_clientname(); |
26318 | clientname_.SetNoArena( |
26319 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26320 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26321 | } |
26322 | #endif |
26323 | inline void UpdatePipelineRequestProto::set_clientname(const char* value) { |
26324 | GOOGLE_DCHECK(value != NULL); |
26325 | set_has_clientname(); |
26326 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26327 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26328 | } |
26329 | inline void UpdatePipelineRequestProto::set_clientname(const char* value, size_t size) { |
26330 | set_has_clientname(); |
26331 | clientname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26332 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26333 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26334 | } |
26335 | inline ::std::string* UpdatePipelineRequestProto::mutable_clientname() { |
26336 | set_has_clientname(); |
26337 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26338 | return clientname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26339 | } |
26340 | inline ::std::string* UpdatePipelineRequestProto::release_clientname() { |
26341 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26342 | if (!has_clientname()) { |
26343 | return NULL; |
26344 | } |
26345 | clear_has_clientname(); |
26346 | return clientname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26347 | } |
26348 | inline void UpdatePipelineRequestProto::set_allocated_clientname(::std::string* clientname) { |
26349 | if (clientname != NULL) { |
26350 | set_has_clientname(); |
26351 | } else { |
26352 | clear_has_clientname(); |
26353 | } |
26354 | clientname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), clientname); |
26355 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdatePipelineRequestProto.clientName) |
26356 | } |
26357 | |
26358 | // required .Hdfs.Internal.ExtendedBlockProto oldBlock = 2; |
26359 | inline bool UpdatePipelineRequestProto::has_oldblock() const { |
26360 | return (_has_bits_[0] & 0x00000002u) != 0; |
26361 | } |
26362 | inline void UpdatePipelineRequestProto::set_has_oldblock() { |
26363 | _has_bits_[0] |= 0x00000002u; |
26364 | } |
26365 | inline void UpdatePipelineRequestProto::clear_has_oldblock() { |
26366 | _has_bits_[0] &= ~0x00000002u; |
26367 | } |
26368 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdatePipelineRequestProto::_internal_oldblock() const { |
26369 | return *oldblock_; |
26370 | } |
26371 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdatePipelineRequestProto::oldblock() const { |
26372 | const ::Hdfs::Internal::ExtendedBlockProto* p = oldblock_; |
26373 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdatePipelineRequestProto.oldBlock) |
26374 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
26375 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
26376 | } |
26377 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdatePipelineRequestProto::release_oldblock() { |
26378 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdatePipelineRequestProto.oldBlock) |
26379 | clear_has_oldblock(); |
26380 | ::Hdfs::Internal::ExtendedBlockProto* temp = oldblock_; |
26381 | oldblock_ = NULL; |
26382 | return temp; |
26383 | } |
26384 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdatePipelineRequestProto::mutable_oldblock() { |
26385 | set_has_oldblock(); |
26386 | if (oldblock_ == NULL) { |
26387 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
26388 | oldblock_ = p; |
26389 | } |
26390 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdatePipelineRequestProto.oldBlock) |
26391 | return oldblock_; |
26392 | } |
26393 | inline void UpdatePipelineRequestProto::set_allocated_oldblock(::Hdfs::Internal::ExtendedBlockProto* oldblock) { |
26394 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
26395 | if (message_arena == NULL) { |
26396 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(oldblock_); |
26397 | } |
26398 | if (oldblock) { |
26399 | ::google::protobuf::Arena* submessage_arena = NULL; |
26400 | if (message_arena != submessage_arena) { |
26401 | oldblock = ::google::protobuf::internal::GetOwnedMessage( |
26402 | message_arena, oldblock, submessage_arena); |
26403 | } |
26404 | set_has_oldblock(); |
26405 | } else { |
26406 | clear_has_oldblock(); |
26407 | } |
26408 | oldblock_ = oldblock; |
26409 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdatePipelineRequestProto.oldBlock) |
26410 | } |
26411 | |
26412 | // required .Hdfs.Internal.ExtendedBlockProto newBlock = 3; |
26413 | inline bool UpdatePipelineRequestProto::has_newblock() const { |
26414 | return (_has_bits_[0] & 0x00000004u) != 0; |
26415 | } |
26416 | inline void UpdatePipelineRequestProto::set_has_newblock() { |
26417 | _has_bits_[0] |= 0x00000004u; |
26418 | } |
26419 | inline void UpdatePipelineRequestProto::clear_has_newblock() { |
26420 | _has_bits_[0] &= ~0x00000004u; |
26421 | } |
26422 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdatePipelineRequestProto::_internal_newblock() const { |
26423 | return *newblock_; |
26424 | } |
26425 | inline const ::Hdfs::Internal::ExtendedBlockProto& UpdatePipelineRequestProto::newblock() const { |
26426 | const ::Hdfs::Internal::ExtendedBlockProto* p = newblock_; |
26427 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdatePipelineRequestProto.newBlock) |
26428 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::ExtendedBlockProto*>( |
26429 | &::Hdfs::Internal::_ExtendedBlockProto_default_instance_); |
26430 | } |
26431 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdatePipelineRequestProto::release_newblock() { |
26432 | // @@protoc_insertion_point(field_release:Hdfs.Internal.UpdatePipelineRequestProto.newBlock) |
26433 | clear_has_newblock(); |
26434 | ::Hdfs::Internal::ExtendedBlockProto* temp = newblock_; |
26435 | newblock_ = NULL; |
26436 | return temp; |
26437 | } |
26438 | inline ::Hdfs::Internal::ExtendedBlockProto* UpdatePipelineRequestProto::mutable_newblock() { |
26439 | set_has_newblock(); |
26440 | if (newblock_ == NULL) { |
26441 | auto* p = CreateMaybeMessage<::Hdfs::Internal::ExtendedBlockProto>(GetArenaNoVirtual()); |
26442 | newblock_ = p; |
26443 | } |
26444 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdatePipelineRequestProto.newBlock) |
26445 | return newblock_; |
26446 | } |
26447 | inline void UpdatePipelineRequestProto::set_allocated_newblock(::Hdfs::Internal::ExtendedBlockProto* newblock) { |
26448 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
26449 | if (message_arena == NULL) { |
26450 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(newblock_); |
26451 | } |
26452 | if (newblock) { |
26453 | ::google::protobuf::Arena* submessage_arena = NULL; |
26454 | if (message_arena != submessage_arena) { |
26455 | newblock = ::google::protobuf::internal::GetOwnedMessage( |
26456 | message_arena, newblock, submessage_arena); |
26457 | } |
26458 | set_has_newblock(); |
26459 | } else { |
26460 | clear_has_newblock(); |
26461 | } |
26462 | newblock_ = newblock; |
26463 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.UpdatePipelineRequestProto.newBlock) |
26464 | } |
26465 | |
26466 | // repeated .Hdfs.Internal.DatanodeIDProto newNodes = 4; |
26467 | inline int UpdatePipelineRequestProto::newnodes_size() const { |
26468 | return newnodes_.size(); |
26469 | } |
26470 | inline ::Hdfs::Internal::DatanodeIDProto* UpdatePipelineRequestProto::mutable_newnodes(int index) { |
26471 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdatePipelineRequestProto.newNodes) |
26472 | return newnodes_.Mutable(index); |
26473 | } |
26474 | inline ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeIDProto >* |
26475 | UpdatePipelineRequestProto::mutable_newnodes() { |
26476 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.UpdatePipelineRequestProto.newNodes) |
26477 | return &newnodes_; |
26478 | } |
26479 | inline const ::Hdfs::Internal::DatanodeIDProto& UpdatePipelineRequestProto::newnodes(int index) const { |
26480 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdatePipelineRequestProto.newNodes) |
26481 | return newnodes_.Get(index); |
26482 | } |
26483 | inline ::Hdfs::Internal::DatanodeIDProto* UpdatePipelineRequestProto::add_newnodes() { |
26484 | // @@protoc_insertion_point(field_add:Hdfs.Internal.UpdatePipelineRequestProto.newNodes) |
26485 | return newnodes_.Add(); |
26486 | } |
26487 | inline const ::google::protobuf::RepeatedPtrField< ::Hdfs::Internal::DatanodeIDProto >& |
26488 | UpdatePipelineRequestProto::newnodes() const { |
26489 | // @@protoc_insertion_point(field_list:Hdfs.Internal.UpdatePipelineRequestProto.newNodes) |
26490 | return newnodes_; |
26491 | } |
26492 | |
26493 | // repeated string storageIDs = 5; |
26494 | inline int UpdatePipelineRequestProto::storageids_size() const { |
26495 | return storageids_.size(); |
26496 | } |
26497 | inline void UpdatePipelineRequestProto::clear_storageids() { |
26498 | storageids_.Clear(); |
26499 | } |
26500 | inline const ::std::string& UpdatePipelineRequestProto::storageids(int index) const { |
26501 | // @@protoc_insertion_point(field_get:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26502 | return storageids_.Get(index); |
26503 | } |
26504 | inline ::std::string* UpdatePipelineRequestProto::mutable_storageids(int index) { |
26505 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26506 | return storageids_.Mutable(index); |
26507 | } |
26508 | inline void UpdatePipelineRequestProto::set_storageids(int index, const ::std::string& value) { |
26509 | // @@protoc_insertion_point(field_set:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26510 | storageids_.Mutable(index)->assign(value); |
26511 | } |
26512 | #if LANG_CXX11 |
26513 | inline void UpdatePipelineRequestProto::set_storageids(int index, ::std::string&& value) { |
26514 | // @@protoc_insertion_point(field_set:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26515 | storageids_.Mutable(index)->assign(std::move(value)); |
26516 | } |
26517 | #endif |
26518 | inline void UpdatePipelineRequestProto::set_storageids(int index, const char* value) { |
26519 | GOOGLE_DCHECK(value != NULL); |
26520 | storageids_.Mutable(index)->assign(value); |
26521 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26522 | } |
26523 | inline void UpdatePipelineRequestProto::set_storageids(int index, const char* value, size_t size) { |
26524 | storageids_.Mutable(index)->assign( |
26525 | reinterpret_cast<const char*>(value), size); |
26526 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26527 | } |
26528 | inline ::std::string* UpdatePipelineRequestProto::add_storageids() { |
26529 | // @@protoc_insertion_point(field_add_mutable:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26530 | return storageids_.Add(); |
26531 | } |
26532 | inline void UpdatePipelineRequestProto::add_storageids(const ::std::string& value) { |
26533 | storageids_.Add()->assign(value); |
26534 | // @@protoc_insertion_point(field_add:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26535 | } |
26536 | #if LANG_CXX11 |
26537 | inline void UpdatePipelineRequestProto::add_storageids(::std::string&& value) { |
26538 | storageids_.Add(std::move(value)); |
26539 | // @@protoc_insertion_point(field_add:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26540 | } |
26541 | #endif |
26542 | inline void UpdatePipelineRequestProto::add_storageids(const char* value) { |
26543 | GOOGLE_DCHECK(value != NULL); |
26544 | storageids_.Add()->assign(value); |
26545 | // @@protoc_insertion_point(field_add_char:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26546 | } |
26547 | inline void UpdatePipelineRequestProto::add_storageids(const char* value, size_t size) { |
26548 | storageids_.Add()->assign(reinterpret_cast<const char*>(value), size); |
26549 | // @@protoc_insertion_point(field_add_pointer:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26550 | } |
26551 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
26552 | UpdatePipelineRequestProto::storageids() const { |
26553 | // @@protoc_insertion_point(field_list:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26554 | return storageids_; |
26555 | } |
26556 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
26557 | UpdatePipelineRequestProto::mutable_storageids() { |
26558 | // @@protoc_insertion_point(field_mutable_list:Hdfs.Internal.UpdatePipelineRequestProto.storageIDs) |
26559 | return &storageids_; |
26560 | } |
26561 | |
26562 | // ------------------------------------------------------------------- |
26563 | |
26564 | // UpdatePipelineResponseProto |
26565 | |
26566 | // ------------------------------------------------------------------- |
26567 | |
26568 | // SetBalancerBandwidthRequestProto |
26569 | |
26570 | // required int64 bandwidth = 1; |
26571 | inline bool SetBalancerBandwidthRequestProto::has_bandwidth() const { |
26572 | return (_has_bits_[0] & 0x00000001u) != 0; |
26573 | } |
26574 | inline void SetBalancerBandwidthRequestProto::set_has_bandwidth() { |
26575 | _has_bits_[0] |= 0x00000001u; |
26576 | } |
26577 | inline void SetBalancerBandwidthRequestProto::clear_has_bandwidth() { |
26578 | _has_bits_[0] &= ~0x00000001u; |
26579 | } |
26580 | inline void SetBalancerBandwidthRequestProto::clear_bandwidth() { |
26581 | bandwidth_ = GOOGLE_LONGLONG(0); |
26582 | clear_has_bandwidth(); |
26583 | } |
26584 | inline ::google::protobuf::int64 SetBalancerBandwidthRequestProto::bandwidth() const { |
26585 | // @@protoc_insertion_point(field_get:Hdfs.Internal.SetBalancerBandwidthRequestProto.bandwidth) |
26586 | return bandwidth_; |
26587 | } |
26588 | inline void SetBalancerBandwidthRequestProto::set_bandwidth(::google::protobuf::int64 value) { |
26589 | set_has_bandwidth(); |
26590 | bandwidth_ = value; |
26591 | // @@protoc_insertion_point(field_set:Hdfs.Internal.SetBalancerBandwidthRequestProto.bandwidth) |
26592 | } |
26593 | |
26594 | // ------------------------------------------------------------------- |
26595 | |
26596 | // SetBalancerBandwidthResponseProto |
26597 | |
26598 | // ------------------------------------------------------------------- |
26599 | |
26600 | // GetDataEncryptionKeyRequestProto |
26601 | |
26602 | // ------------------------------------------------------------------- |
26603 | |
26604 | // GetDataEncryptionKeyResponseProto |
26605 | |
26606 | // optional .Hdfs.Internal.DataEncryptionKeyProto dataEncryptionKey = 1; |
26607 | inline bool GetDataEncryptionKeyResponseProto::has_dataencryptionkey() const { |
26608 | return (_has_bits_[0] & 0x00000001u) != 0; |
26609 | } |
26610 | inline void GetDataEncryptionKeyResponseProto::set_has_dataencryptionkey() { |
26611 | _has_bits_[0] |= 0x00000001u; |
26612 | } |
26613 | inline void GetDataEncryptionKeyResponseProto::clear_has_dataencryptionkey() { |
26614 | _has_bits_[0] &= ~0x00000001u; |
26615 | } |
26616 | inline const ::Hdfs::Internal::DataEncryptionKeyProto& GetDataEncryptionKeyResponseProto::_internal_dataencryptionkey() const { |
26617 | return *dataencryptionkey_; |
26618 | } |
26619 | inline const ::Hdfs::Internal::DataEncryptionKeyProto& GetDataEncryptionKeyResponseProto::dataencryptionkey() const { |
26620 | const ::Hdfs::Internal::DataEncryptionKeyProto* p = dataencryptionkey_; |
26621 | // @@protoc_insertion_point(field_get:Hdfs.Internal.GetDataEncryptionKeyResponseProto.dataEncryptionKey) |
26622 | return p != NULL ? *p : *reinterpret_cast<const ::Hdfs::Internal::DataEncryptionKeyProto*>( |
26623 | &::Hdfs::Internal::_DataEncryptionKeyProto_default_instance_); |
26624 | } |
26625 | inline ::Hdfs::Internal::DataEncryptionKeyProto* GetDataEncryptionKeyResponseProto::release_dataencryptionkey() { |
26626 | // @@protoc_insertion_point(field_release:Hdfs.Internal.GetDataEncryptionKeyResponseProto.dataEncryptionKey) |
26627 | clear_has_dataencryptionkey(); |
26628 | ::Hdfs::Internal::DataEncryptionKeyProto* temp = dataencryptionkey_; |
26629 | dataencryptionkey_ = NULL; |
26630 | return temp; |
26631 | } |
26632 | inline ::Hdfs::Internal::DataEncryptionKeyProto* GetDataEncryptionKeyResponseProto::mutable_dataencryptionkey() { |
26633 | set_has_dataencryptionkey(); |
26634 | if (dataencryptionkey_ == NULL) { |
26635 | auto* p = CreateMaybeMessage<::Hdfs::Internal::DataEncryptionKeyProto>(GetArenaNoVirtual()); |
26636 | dataencryptionkey_ = p; |
26637 | } |
26638 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.GetDataEncryptionKeyResponseProto.dataEncryptionKey) |
26639 | return dataencryptionkey_; |
26640 | } |
26641 | inline void GetDataEncryptionKeyResponseProto::set_allocated_dataencryptionkey(::Hdfs::Internal::DataEncryptionKeyProto* dataencryptionkey) { |
26642 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
26643 | if (message_arena == NULL) { |
26644 | delete reinterpret_cast< ::google::protobuf::MessageLite*>(dataencryptionkey_); |
26645 | } |
26646 | if (dataencryptionkey) { |
26647 | ::google::protobuf::Arena* submessage_arena = NULL; |
26648 | if (message_arena != submessage_arena) { |
26649 | dataencryptionkey = ::google::protobuf::internal::GetOwnedMessage( |
26650 | message_arena, dataencryptionkey, submessage_arena); |
26651 | } |
26652 | set_has_dataencryptionkey(); |
26653 | } else { |
26654 | clear_has_dataencryptionkey(); |
26655 | } |
26656 | dataencryptionkey_ = dataencryptionkey; |
26657 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.GetDataEncryptionKeyResponseProto.dataEncryptionKey) |
26658 | } |
26659 | |
26660 | // ------------------------------------------------------------------- |
26661 | |
26662 | // CreateSnapshotRequestProto |
26663 | |
26664 | // required string snapshotRoot = 1; |
26665 | inline bool CreateSnapshotRequestProto::has_snapshotroot() const { |
26666 | return (_has_bits_[0] & 0x00000001u) != 0; |
26667 | } |
26668 | inline void CreateSnapshotRequestProto::set_has_snapshotroot() { |
26669 | _has_bits_[0] |= 0x00000001u; |
26670 | } |
26671 | inline void CreateSnapshotRequestProto::clear_has_snapshotroot() { |
26672 | _has_bits_[0] &= ~0x00000001u; |
26673 | } |
26674 | inline void CreateSnapshotRequestProto::clear_snapshotroot() { |
26675 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26676 | clear_has_snapshotroot(); |
26677 | } |
26678 | inline const ::std::string& CreateSnapshotRequestProto::snapshotroot() const { |
26679 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26680 | return snapshotroot_.GetNoArena(); |
26681 | } |
26682 | inline void CreateSnapshotRequestProto::set_snapshotroot(const ::std::string& value) { |
26683 | set_has_snapshotroot(); |
26684 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26685 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26686 | } |
26687 | #if LANG_CXX11 |
26688 | inline void CreateSnapshotRequestProto::set_snapshotroot(::std::string&& value) { |
26689 | set_has_snapshotroot(); |
26690 | snapshotroot_.SetNoArena( |
26691 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26692 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26693 | } |
26694 | #endif |
26695 | inline void CreateSnapshotRequestProto::set_snapshotroot(const char* value) { |
26696 | GOOGLE_DCHECK(value != NULL); |
26697 | set_has_snapshotroot(); |
26698 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26699 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26700 | } |
26701 | inline void CreateSnapshotRequestProto::set_snapshotroot(const char* value, size_t size) { |
26702 | set_has_snapshotroot(); |
26703 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26704 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26705 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26706 | } |
26707 | inline ::std::string* CreateSnapshotRequestProto::mutable_snapshotroot() { |
26708 | set_has_snapshotroot(); |
26709 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26710 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26711 | } |
26712 | inline ::std::string* CreateSnapshotRequestProto::release_snapshotroot() { |
26713 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26714 | if (!has_snapshotroot()) { |
26715 | return NULL; |
26716 | } |
26717 | clear_has_snapshotroot(); |
26718 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26719 | } |
26720 | inline void CreateSnapshotRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
26721 | if (snapshotroot != NULL) { |
26722 | set_has_snapshotroot(); |
26723 | } else { |
26724 | clear_has_snapshotroot(); |
26725 | } |
26726 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
26727 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSnapshotRequestProto.snapshotRoot) |
26728 | } |
26729 | |
26730 | // optional string snapshotName = 2; |
26731 | inline bool CreateSnapshotRequestProto::has_snapshotname() const { |
26732 | return (_has_bits_[0] & 0x00000002u) != 0; |
26733 | } |
26734 | inline void CreateSnapshotRequestProto::set_has_snapshotname() { |
26735 | _has_bits_[0] |= 0x00000002u; |
26736 | } |
26737 | inline void CreateSnapshotRequestProto::clear_has_snapshotname() { |
26738 | _has_bits_[0] &= ~0x00000002u; |
26739 | } |
26740 | inline void CreateSnapshotRequestProto::clear_snapshotname() { |
26741 | snapshotname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26742 | clear_has_snapshotname(); |
26743 | } |
26744 | inline const ::std::string& CreateSnapshotRequestProto::snapshotname() const { |
26745 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26746 | return snapshotname_.GetNoArena(); |
26747 | } |
26748 | inline void CreateSnapshotRequestProto::set_snapshotname(const ::std::string& value) { |
26749 | set_has_snapshotname(); |
26750 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26751 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26752 | } |
26753 | #if LANG_CXX11 |
26754 | inline void CreateSnapshotRequestProto::set_snapshotname(::std::string&& value) { |
26755 | set_has_snapshotname(); |
26756 | snapshotname_.SetNoArena( |
26757 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26758 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26759 | } |
26760 | #endif |
26761 | inline void CreateSnapshotRequestProto::set_snapshotname(const char* value) { |
26762 | GOOGLE_DCHECK(value != NULL); |
26763 | set_has_snapshotname(); |
26764 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26765 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26766 | } |
26767 | inline void CreateSnapshotRequestProto::set_snapshotname(const char* value, size_t size) { |
26768 | set_has_snapshotname(); |
26769 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26770 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26771 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26772 | } |
26773 | inline ::std::string* CreateSnapshotRequestProto::mutable_snapshotname() { |
26774 | set_has_snapshotname(); |
26775 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26776 | return snapshotname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26777 | } |
26778 | inline ::std::string* CreateSnapshotRequestProto::release_snapshotname() { |
26779 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26780 | if (!has_snapshotname()) { |
26781 | return NULL; |
26782 | } |
26783 | clear_has_snapshotname(); |
26784 | return snapshotname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26785 | } |
26786 | inline void CreateSnapshotRequestProto::set_allocated_snapshotname(::std::string* snapshotname) { |
26787 | if (snapshotname != NULL) { |
26788 | set_has_snapshotname(); |
26789 | } else { |
26790 | clear_has_snapshotname(); |
26791 | } |
26792 | snapshotname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotname); |
26793 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSnapshotRequestProto.snapshotName) |
26794 | } |
26795 | |
26796 | // ------------------------------------------------------------------- |
26797 | |
26798 | // CreateSnapshotResponseProto |
26799 | |
26800 | // required string snapshotPath = 1; |
26801 | inline bool CreateSnapshotResponseProto::has_snapshotpath() const { |
26802 | return (_has_bits_[0] & 0x00000001u) != 0; |
26803 | } |
26804 | inline void CreateSnapshotResponseProto::set_has_snapshotpath() { |
26805 | _has_bits_[0] |= 0x00000001u; |
26806 | } |
26807 | inline void CreateSnapshotResponseProto::clear_has_snapshotpath() { |
26808 | _has_bits_[0] &= ~0x00000001u; |
26809 | } |
26810 | inline void CreateSnapshotResponseProto::clear_snapshotpath() { |
26811 | snapshotpath_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26812 | clear_has_snapshotpath(); |
26813 | } |
26814 | inline const ::std::string& CreateSnapshotResponseProto::snapshotpath() const { |
26815 | // @@protoc_insertion_point(field_get:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26816 | return snapshotpath_.GetNoArena(); |
26817 | } |
26818 | inline void CreateSnapshotResponseProto::set_snapshotpath(const ::std::string& value) { |
26819 | set_has_snapshotpath(); |
26820 | snapshotpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26821 | // @@protoc_insertion_point(field_set:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26822 | } |
26823 | #if LANG_CXX11 |
26824 | inline void CreateSnapshotResponseProto::set_snapshotpath(::std::string&& value) { |
26825 | set_has_snapshotpath(); |
26826 | snapshotpath_.SetNoArena( |
26827 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26828 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26829 | } |
26830 | #endif |
26831 | inline void CreateSnapshotResponseProto::set_snapshotpath(const char* value) { |
26832 | GOOGLE_DCHECK(value != NULL); |
26833 | set_has_snapshotpath(); |
26834 | snapshotpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26835 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26836 | } |
26837 | inline void CreateSnapshotResponseProto::set_snapshotpath(const char* value, size_t size) { |
26838 | set_has_snapshotpath(); |
26839 | snapshotpath_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26840 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26841 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26842 | } |
26843 | inline ::std::string* CreateSnapshotResponseProto::mutable_snapshotpath() { |
26844 | set_has_snapshotpath(); |
26845 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26846 | return snapshotpath_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26847 | } |
26848 | inline ::std::string* CreateSnapshotResponseProto::release_snapshotpath() { |
26849 | // @@protoc_insertion_point(field_release:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26850 | if (!has_snapshotpath()) { |
26851 | return NULL; |
26852 | } |
26853 | clear_has_snapshotpath(); |
26854 | return snapshotpath_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26855 | } |
26856 | inline void CreateSnapshotResponseProto::set_allocated_snapshotpath(::std::string* snapshotpath) { |
26857 | if (snapshotpath != NULL) { |
26858 | set_has_snapshotpath(); |
26859 | } else { |
26860 | clear_has_snapshotpath(); |
26861 | } |
26862 | snapshotpath_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotpath); |
26863 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.CreateSnapshotResponseProto.snapshotPath) |
26864 | } |
26865 | |
26866 | // ------------------------------------------------------------------- |
26867 | |
26868 | // RenameSnapshotRequestProto |
26869 | |
26870 | // required string snapshotRoot = 1; |
26871 | inline bool RenameSnapshotRequestProto::has_snapshotroot() const { |
26872 | return (_has_bits_[0] & 0x00000001u) != 0; |
26873 | } |
26874 | inline void RenameSnapshotRequestProto::set_has_snapshotroot() { |
26875 | _has_bits_[0] |= 0x00000001u; |
26876 | } |
26877 | inline void RenameSnapshotRequestProto::clear_has_snapshotroot() { |
26878 | _has_bits_[0] &= ~0x00000001u; |
26879 | } |
26880 | inline void RenameSnapshotRequestProto::clear_snapshotroot() { |
26881 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26882 | clear_has_snapshotroot(); |
26883 | } |
26884 | inline const ::std::string& RenameSnapshotRequestProto::snapshotroot() const { |
26885 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26886 | return snapshotroot_.GetNoArena(); |
26887 | } |
26888 | inline void RenameSnapshotRequestProto::set_snapshotroot(const ::std::string& value) { |
26889 | set_has_snapshotroot(); |
26890 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26891 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26892 | } |
26893 | #if LANG_CXX11 |
26894 | inline void RenameSnapshotRequestProto::set_snapshotroot(::std::string&& value) { |
26895 | set_has_snapshotroot(); |
26896 | snapshotroot_.SetNoArena( |
26897 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26898 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26899 | } |
26900 | #endif |
26901 | inline void RenameSnapshotRequestProto::set_snapshotroot(const char* value) { |
26902 | GOOGLE_DCHECK(value != NULL); |
26903 | set_has_snapshotroot(); |
26904 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26905 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26906 | } |
26907 | inline void RenameSnapshotRequestProto::set_snapshotroot(const char* value, size_t size) { |
26908 | set_has_snapshotroot(); |
26909 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26910 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26911 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26912 | } |
26913 | inline ::std::string* RenameSnapshotRequestProto::mutable_snapshotroot() { |
26914 | set_has_snapshotroot(); |
26915 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26916 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26917 | } |
26918 | inline ::std::string* RenameSnapshotRequestProto::release_snapshotroot() { |
26919 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26920 | if (!has_snapshotroot()) { |
26921 | return NULL; |
26922 | } |
26923 | clear_has_snapshotroot(); |
26924 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26925 | } |
26926 | inline void RenameSnapshotRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
26927 | if (snapshotroot != NULL) { |
26928 | set_has_snapshotroot(); |
26929 | } else { |
26930 | clear_has_snapshotroot(); |
26931 | } |
26932 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
26933 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenameSnapshotRequestProto.snapshotRoot) |
26934 | } |
26935 | |
26936 | // required string snapshotOldName = 2; |
26937 | inline bool RenameSnapshotRequestProto::has_snapshotoldname() const { |
26938 | return (_has_bits_[0] & 0x00000002u) != 0; |
26939 | } |
26940 | inline void RenameSnapshotRequestProto::set_has_snapshotoldname() { |
26941 | _has_bits_[0] |= 0x00000002u; |
26942 | } |
26943 | inline void RenameSnapshotRequestProto::clear_has_snapshotoldname() { |
26944 | _has_bits_[0] &= ~0x00000002u; |
26945 | } |
26946 | inline void RenameSnapshotRequestProto::clear_snapshotoldname() { |
26947 | snapshotoldname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26948 | clear_has_snapshotoldname(); |
26949 | } |
26950 | inline const ::std::string& RenameSnapshotRequestProto::snapshotoldname() const { |
26951 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26952 | return snapshotoldname_.GetNoArena(); |
26953 | } |
26954 | inline void RenameSnapshotRequestProto::set_snapshotoldname(const ::std::string& value) { |
26955 | set_has_snapshotoldname(); |
26956 | snapshotoldname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
26957 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26958 | } |
26959 | #if LANG_CXX11 |
26960 | inline void RenameSnapshotRequestProto::set_snapshotoldname(::std::string&& value) { |
26961 | set_has_snapshotoldname(); |
26962 | snapshotoldname_.SetNoArena( |
26963 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
26964 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26965 | } |
26966 | #endif |
26967 | inline void RenameSnapshotRequestProto::set_snapshotoldname(const char* value) { |
26968 | GOOGLE_DCHECK(value != NULL); |
26969 | set_has_snapshotoldname(); |
26970 | snapshotoldname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
26971 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26972 | } |
26973 | inline void RenameSnapshotRequestProto::set_snapshotoldname(const char* value, size_t size) { |
26974 | set_has_snapshotoldname(); |
26975 | snapshotoldname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
26976 | ::std::string(reinterpret_cast<const char*>(value), size)); |
26977 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26978 | } |
26979 | inline ::std::string* RenameSnapshotRequestProto::mutable_snapshotoldname() { |
26980 | set_has_snapshotoldname(); |
26981 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26982 | return snapshotoldname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26983 | } |
26984 | inline ::std::string* RenameSnapshotRequestProto::release_snapshotoldname() { |
26985 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
26986 | if (!has_snapshotoldname()) { |
26987 | return NULL; |
26988 | } |
26989 | clear_has_snapshotoldname(); |
26990 | return snapshotoldname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
26991 | } |
26992 | inline void RenameSnapshotRequestProto::set_allocated_snapshotoldname(::std::string* snapshotoldname) { |
26993 | if (snapshotoldname != NULL) { |
26994 | set_has_snapshotoldname(); |
26995 | } else { |
26996 | clear_has_snapshotoldname(); |
26997 | } |
26998 | snapshotoldname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotoldname); |
26999 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenameSnapshotRequestProto.snapshotOldName) |
27000 | } |
27001 | |
27002 | // required string snapshotNewName = 3; |
27003 | inline bool RenameSnapshotRequestProto::has_snapshotnewname() const { |
27004 | return (_has_bits_[0] & 0x00000004u) != 0; |
27005 | } |
27006 | inline void RenameSnapshotRequestProto::set_has_snapshotnewname() { |
27007 | _has_bits_[0] |= 0x00000004u; |
27008 | } |
27009 | inline void RenameSnapshotRequestProto::clear_has_snapshotnewname() { |
27010 | _has_bits_[0] &= ~0x00000004u; |
27011 | } |
27012 | inline void RenameSnapshotRequestProto::clear_snapshotnewname() { |
27013 | snapshotnewname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27014 | clear_has_snapshotnewname(); |
27015 | } |
27016 | inline const ::std::string& RenameSnapshotRequestProto::snapshotnewname() const { |
27017 | // @@protoc_insertion_point(field_get:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27018 | return snapshotnewname_.GetNoArena(); |
27019 | } |
27020 | inline void RenameSnapshotRequestProto::set_snapshotnewname(const ::std::string& value) { |
27021 | set_has_snapshotnewname(); |
27022 | snapshotnewname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
27023 | // @@protoc_insertion_point(field_set:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27024 | } |
27025 | #if LANG_CXX11 |
27026 | inline void RenameSnapshotRequestProto::set_snapshotnewname(::std::string&& value) { |
27027 | set_has_snapshotnewname(); |
27028 | snapshotnewname_.SetNoArena( |
27029 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
27030 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27031 | } |
27032 | #endif |
27033 | inline void RenameSnapshotRequestProto::set_snapshotnewname(const char* value) { |
27034 | GOOGLE_DCHECK(value != NULL); |
27035 | set_has_snapshotnewname(); |
27036 | snapshotnewname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
27037 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27038 | } |
27039 | inline void RenameSnapshotRequestProto::set_snapshotnewname(const char* value, size_t size) { |
27040 | set_has_snapshotnewname(); |
27041 | snapshotnewname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
27042 | ::std::string(reinterpret_cast<const char*>(value), size)); |
27043 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27044 | } |
27045 | inline ::std::string* RenameSnapshotRequestProto::mutable_snapshotnewname() { |
27046 | set_has_snapshotnewname(); |
27047 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27048 | return snapshotnewname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27049 | } |
27050 | inline ::std::string* RenameSnapshotRequestProto::release_snapshotnewname() { |
27051 | // @@protoc_insertion_point(field_release:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27052 | if (!has_snapshotnewname()) { |
27053 | return NULL; |
27054 | } |
27055 | clear_has_snapshotnewname(); |
27056 | return snapshotnewname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27057 | } |
27058 | inline void RenameSnapshotRequestProto::set_allocated_snapshotnewname(::std::string* snapshotnewname) { |
27059 | if (snapshotnewname != NULL) { |
27060 | set_has_snapshotnewname(); |
27061 | } else { |
27062 | clear_has_snapshotnewname(); |
27063 | } |
27064 | snapshotnewname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotnewname); |
27065 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.RenameSnapshotRequestProto.snapshotNewName) |
27066 | } |
27067 | |
27068 | // ------------------------------------------------------------------- |
27069 | |
27070 | // RenameSnapshotResponseProto |
27071 | |
27072 | // ------------------------------------------------------------------- |
27073 | |
27074 | // AllowSnapshotRequestProto |
27075 | |
27076 | // required string snapshotRoot = 1; |
27077 | inline bool AllowSnapshotRequestProto::has_snapshotroot() const { |
27078 | return (_has_bits_[0] & 0x00000001u) != 0; |
27079 | } |
27080 | inline void AllowSnapshotRequestProto::set_has_snapshotroot() { |
27081 | _has_bits_[0] |= 0x00000001u; |
27082 | } |
27083 | inline void AllowSnapshotRequestProto::clear_has_snapshotroot() { |
27084 | _has_bits_[0] &= ~0x00000001u; |
27085 | } |
27086 | inline void AllowSnapshotRequestProto::clear_snapshotroot() { |
27087 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27088 | clear_has_snapshotroot(); |
27089 | } |
27090 | inline const ::std::string& AllowSnapshotRequestProto::snapshotroot() const { |
27091 | // @@protoc_insertion_point(field_get:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27092 | return snapshotroot_.GetNoArena(); |
27093 | } |
27094 | inline void AllowSnapshotRequestProto::set_snapshotroot(const ::std::string& value) { |
27095 | set_has_snapshotroot(); |
27096 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
27097 | // @@protoc_insertion_point(field_set:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27098 | } |
27099 | #if LANG_CXX11 |
27100 | inline void AllowSnapshotRequestProto::set_snapshotroot(::std::string&& value) { |
27101 | set_has_snapshotroot(); |
27102 | snapshotroot_.SetNoArena( |
27103 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
27104 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27105 | } |
27106 | #endif |
27107 | inline void AllowSnapshotRequestProto::set_snapshotroot(const char* value) { |
27108 | GOOGLE_DCHECK(value != NULL); |
27109 | set_has_snapshotroot(); |
27110 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
27111 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27112 | } |
27113 | inline void AllowSnapshotRequestProto::set_snapshotroot(const char* value, size_t size) { |
27114 | set_has_snapshotroot(); |
27115 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
27116 | ::std::string(reinterpret_cast<const char*>(value), size)); |
27117 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27118 | } |
27119 | inline ::std::string* AllowSnapshotRequestProto::mutable_snapshotroot() { |
27120 | set_has_snapshotroot(); |
27121 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27122 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27123 | } |
27124 | inline ::std::string* AllowSnapshotRequestProto::release_snapshotroot() { |
27125 | // @@protoc_insertion_point(field_release:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27126 | if (!has_snapshotroot()) { |
27127 | return NULL; |
27128 | } |
27129 | clear_has_snapshotroot(); |
27130 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27131 | } |
27132 | inline void AllowSnapshotRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
27133 | if (snapshotroot != NULL) { |
27134 | set_has_snapshotroot(); |
27135 | } else { |
27136 | clear_has_snapshotroot(); |
27137 | } |
27138 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
27139 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.AllowSnapshotRequestProto.snapshotRoot) |
27140 | } |
27141 | |
27142 | // ------------------------------------------------------------------- |
27143 | |
27144 | // AllowSnapshotResponseProto |
27145 | |
27146 | // ------------------------------------------------------------------- |
27147 | |
27148 | // DisallowSnapshotRequestProto |
27149 | |
27150 | // required string snapshotRoot = 1; |
27151 | inline bool DisallowSnapshotRequestProto::has_snapshotroot() const { |
27152 | return (_has_bits_[0] & 0x00000001u) != 0; |
27153 | } |
27154 | inline void DisallowSnapshotRequestProto::set_has_snapshotroot() { |
27155 | _has_bits_[0] |= 0x00000001u; |
27156 | } |
27157 | inline void DisallowSnapshotRequestProto::clear_has_snapshotroot() { |
27158 | _has_bits_[0] &= ~0x00000001u; |
27159 | } |
27160 | inline void DisallowSnapshotRequestProto::clear_snapshotroot() { |
27161 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27162 | clear_has_snapshotroot(); |
27163 | } |
27164 | inline const ::std::string& DisallowSnapshotRequestProto::snapshotroot() const { |
27165 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27166 | return snapshotroot_.GetNoArena(); |
27167 | } |
27168 | inline void DisallowSnapshotRequestProto::set_snapshotroot(const ::std::string& value) { |
27169 | set_has_snapshotroot(); |
27170 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
27171 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27172 | } |
27173 | #if LANG_CXX11 |
27174 | inline void DisallowSnapshotRequestProto::set_snapshotroot(::std::string&& value) { |
27175 | set_has_snapshotroot(); |
27176 | snapshotroot_.SetNoArena( |
27177 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
27178 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27179 | } |
27180 | #endif |
27181 | inline void DisallowSnapshotRequestProto::set_snapshotroot(const char* value) { |
27182 | GOOGLE_DCHECK(value != NULL); |
27183 | set_has_snapshotroot(); |
27184 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
27185 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27186 | } |
27187 | inline void DisallowSnapshotRequestProto::set_snapshotroot(const char* value, size_t size) { |
27188 | set_has_snapshotroot(); |
27189 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
27190 | ::std::string(reinterpret_cast<const char*>(value), size)); |
27191 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27192 | } |
27193 | inline ::std::string* DisallowSnapshotRequestProto::mutable_snapshotroot() { |
27194 | set_has_snapshotroot(); |
27195 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27196 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27197 | } |
27198 | inline ::std::string* DisallowSnapshotRequestProto::release_snapshotroot() { |
27199 | // @@protoc_insertion_point(field_release:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27200 | if (!has_snapshotroot()) { |
27201 | return NULL; |
27202 | } |
27203 | clear_has_snapshotroot(); |
27204 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27205 | } |
27206 | inline void DisallowSnapshotRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
27207 | if (snapshotroot != NULL) { |
27208 | set_has_snapshotroot(); |
27209 | } else { |
27210 | clear_has_snapshotroot(); |
27211 | } |
27212 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
27213 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.DisallowSnapshotRequestProto.snapshotRoot) |
27214 | } |
27215 | |
27216 | // ------------------------------------------------------------------- |
27217 | |
27218 | // DisallowSnapshotResponseProto |
27219 | |
27220 | // ------------------------------------------------------------------- |
27221 | |
27222 | // DeleteSnapshotRequestProto |
27223 | |
27224 | // required string snapshotRoot = 1; |
27225 | inline bool DeleteSnapshotRequestProto::has_snapshotroot() const { |
27226 | return (_has_bits_[0] & 0x00000001u) != 0; |
27227 | } |
27228 | inline void DeleteSnapshotRequestProto::set_has_snapshotroot() { |
27229 | _has_bits_[0] |= 0x00000001u; |
27230 | } |
27231 | inline void DeleteSnapshotRequestProto::clear_has_snapshotroot() { |
27232 | _has_bits_[0] &= ~0x00000001u; |
27233 | } |
27234 | inline void DeleteSnapshotRequestProto::clear_snapshotroot() { |
27235 | snapshotroot_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27236 | clear_has_snapshotroot(); |
27237 | } |
27238 | inline const ::std::string& DeleteSnapshotRequestProto::snapshotroot() const { |
27239 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27240 | return snapshotroot_.GetNoArena(); |
27241 | } |
27242 | inline void DeleteSnapshotRequestProto::set_snapshotroot(const ::std::string& value) { |
27243 | set_has_snapshotroot(); |
27244 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
27245 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27246 | } |
27247 | #if LANG_CXX11 |
27248 | inline void DeleteSnapshotRequestProto::set_snapshotroot(::std::string&& value) { |
27249 | set_has_snapshotroot(); |
27250 | snapshotroot_.SetNoArena( |
27251 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
27252 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27253 | } |
27254 | #endif |
27255 | inline void DeleteSnapshotRequestProto::set_snapshotroot(const char* value) { |
27256 | GOOGLE_DCHECK(value != NULL); |
27257 | set_has_snapshotroot(); |
27258 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
27259 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27260 | } |
27261 | inline void DeleteSnapshotRequestProto::set_snapshotroot(const char* value, size_t size) { |
27262 | set_has_snapshotroot(); |
27263 | snapshotroot_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
27264 | ::std::string(reinterpret_cast<const char*>(value), size)); |
27265 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27266 | } |
27267 | inline ::std::string* DeleteSnapshotRequestProto::mutable_snapshotroot() { |
27268 | set_has_snapshotroot(); |
27269 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27270 | return snapshotroot_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27271 | } |
27272 | inline ::std::string* DeleteSnapshotRequestProto::release_snapshotroot() { |
27273 | // @@protoc_insertion_point(field_release:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27274 | if (!has_snapshotroot()) { |
27275 | return NULL; |
27276 | } |
27277 | clear_has_snapshotroot(); |
27278 | return snapshotroot_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27279 | } |
27280 | inline void DeleteSnapshotRequestProto::set_allocated_snapshotroot(::std::string* snapshotroot) { |
27281 | if (snapshotroot != NULL) { |
27282 | set_has_snapshotroot(); |
27283 | } else { |
27284 | clear_has_snapshotroot(); |
27285 | } |
27286 | snapshotroot_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotroot); |
27287 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotRoot) |
27288 | } |
27289 | |
27290 | // required string snapshotName = 2; |
27291 | inline bool DeleteSnapshotRequestProto::has_snapshotname() const { |
27292 | return (_has_bits_[0] & 0x00000002u) != 0; |
27293 | } |
27294 | inline void DeleteSnapshotRequestProto::set_has_snapshotname() { |
27295 | _has_bits_[0] |= 0x00000002u; |
27296 | } |
27297 | inline void DeleteSnapshotRequestProto::clear_has_snapshotname() { |
27298 | _has_bits_[0] &= ~0x00000002u; |
27299 | } |
27300 | inline void DeleteSnapshotRequestProto::clear_snapshotname() { |
27301 | snapshotname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27302 | clear_has_snapshotname(); |
27303 | } |
27304 | inline const ::std::string& DeleteSnapshotRequestProto::snapshotname() const { |
27305 | // @@protoc_insertion_point(field_get:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27306 | return snapshotname_.GetNoArena(); |
27307 | } |
27308 | inline void DeleteSnapshotRequestProto::set_snapshotname(const ::std::string& value) { |
27309 | set_has_snapshotname(); |
27310 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
27311 | // @@protoc_insertion_point(field_set:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27312 | } |
27313 | #if LANG_CXX11 |
27314 | inline void DeleteSnapshotRequestProto::set_snapshotname(::std::string&& value) { |
27315 | set_has_snapshotname(); |
27316 | snapshotname_.SetNoArena( |
27317 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
27318 | // @@protoc_insertion_point(field_set_rvalue:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27319 | } |
27320 | #endif |
27321 | inline void DeleteSnapshotRequestProto::set_snapshotname(const char* value) { |
27322 | GOOGLE_DCHECK(value != NULL); |
27323 | set_has_snapshotname(); |
27324 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
27325 | // @@protoc_insertion_point(field_set_char:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27326 | } |
27327 | inline void DeleteSnapshotRequestProto::set_snapshotname(const char* value, size_t size) { |
27328 | set_has_snapshotname(); |
27329 | snapshotname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
27330 | ::std::string(reinterpret_cast<const char*>(value), size)); |
27331 | // @@protoc_insertion_point(field_set_pointer:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27332 | } |
27333 | inline ::std::string* DeleteSnapshotRequestProto::mutable_snapshotname() { |
27334 | set_has_snapshotname(); |
27335 | // @@protoc_insertion_point(field_mutable:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27336 | return snapshotname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27337 | } |
27338 | inline ::std::string* DeleteSnapshotRequestProto::release_snapshotname() { |
27339 | // @@protoc_insertion_point(field_release:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27340 | if (!has_snapshotname()) { |
27341 | return NULL; |
27342 | } |
27343 | clear_has_snapshotname(); |
27344 | return snapshotname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
27345 | } |
27346 | inline void DeleteSnapshotRequestProto::set_allocated_snapshotname(::std::string* snapshotname) { |
27347 | if (snapshotname != NULL) { |
27348 | set_has_snapshotname(); |
27349 | } else { |
27350 | clear_has_snapshotname(); |
27351 | } |
27352 | snapshotname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshotname); |
27353 | // @@protoc_insertion_point(field_set_allocated:Hdfs.Internal.DeleteSnapshotRequestProto.snapshotName) |
27354 | } |
27355 | |
27356 | // ------------------------------------------------------------------- |
27357 | |
27358 | // DeleteSnapshotResponseProto |
27359 | |
27360 | #ifdef __GNUC__ |
27361 | #pragma GCC diagnostic pop |
27362 | #endif // __GNUC__ |
27363 | // ------------------------------------------------------------------- |
27364 | |
27365 | // ------------------------------------------------------------------- |
27366 | |
27367 | // ------------------------------------------------------------------- |
27368 | |
27369 | // ------------------------------------------------------------------- |
27370 | |
27371 | // ------------------------------------------------------------------- |
27372 | |
27373 | // ------------------------------------------------------------------- |
27374 | |
27375 | // ------------------------------------------------------------------- |
27376 | |
27377 | // ------------------------------------------------------------------- |
27378 | |
27379 | // ------------------------------------------------------------------- |
27380 | |
27381 | // ------------------------------------------------------------------- |
27382 | |
27383 | // ------------------------------------------------------------------- |
27384 | |
27385 | // ------------------------------------------------------------------- |
27386 | |
27387 | // ------------------------------------------------------------------- |
27388 | |
27389 | // ------------------------------------------------------------------- |
27390 | |
27391 | // ------------------------------------------------------------------- |
27392 | |
27393 | // ------------------------------------------------------------------- |
27394 | |
27395 | // ------------------------------------------------------------------- |
27396 | |
27397 | // ------------------------------------------------------------------- |
27398 | |
27399 | // ------------------------------------------------------------------- |
27400 | |
27401 | // ------------------------------------------------------------------- |
27402 | |
27403 | // ------------------------------------------------------------------- |
27404 | |
27405 | // ------------------------------------------------------------------- |
27406 | |
27407 | // ------------------------------------------------------------------- |
27408 | |
27409 | // ------------------------------------------------------------------- |
27410 | |
27411 | // ------------------------------------------------------------------- |
27412 | |
27413 | // ------------------------------------------------------------------- |
27414 | |
27415 | // ------------------------------------------------------------------- |
27416 | |
27417 | // ------------------------------------------------------------------- |
27418 | |
27419 | // ------------------------------------------------------------------- |
27420 | |
27421 | // ------------------------------------------------------------------- |
27422 | |
27423 | // ------------------------------------------------------------------- |
27424 | |
27425 | // ------------------------------------------------------------------- |
27426 | |
27427 | // ------------------------------------------------------------------- |
27428 | |
27429 | // ------------------------------------------------------------------- |
27430 | |
27431 | // ------------------------------------------------------------------- |
27432 | |
27433 | // ------------------------------------------------------------------- |
27434 | |
27435 | // ------------------------------------------------------------------- |
27436 | |
27437 | // ------------------------------------------------------------------- |
27438 | |
27439 | // ------------------------------------------------------------------- |
27440 | |
27441 | // ------------------------------------------------------------------- |
27442 | |
27443 | // ------------------------------------------------------------------- |
27444 | |
27445 | // ------------------------------------------------------------------- |
27446 | |
27447 | // ------------------------------------------------------------------- |
27448 | |
27449 | // ------------------------------------------------------------------- |
27450 | |
27451 | // ------------------------------------------------------------------- |
27452 | |
27453 | // ------------------------------------------------------------------- |
27454 | |
27455 | // ------------------------------------------------------------------- |
27456 | |
27457 | // ------------------------------------------------------------------- |
27458 | |
27459 | // ------------------------------------------------------------------- |
27460 | |
27461 | // ------------------------------------------------------------------- |
27462 | |
27463 | // ------------------------------------------------------------------- |
27464 | |
27465 | // ------------------------------------------------------------------- |
27466 | |
27467 | // ------------------------------------------------------------------- |
27468 | |
27469 | // ------------------------------------------------------------------- |
27470 | |
27471 | // ------------------------------------------------------------------- |
27472 | |
27473 | // ------------------------------------------------------------------- |
27474 | |
27475 | // ------------------------------------------------------------------- |
27476 | |
27477 | // ------------------------------------------------------------------- |
27478 | |
27479 | // ------------------------------------------------------------------- |
27480 | |
27481 | // ------------------------------------------------------------------- |
27482 | |
27483 | // ------------------------------------------------------------------- |
27484 | |
27485 | // ------------------------------------------------------------------- |
27486 | |
27487 | // ------------------------------------------------------------------- |
27488 | |
27489 | // ------------------------------------------------------------------- |
27490 | |
27491 | // ------------------------------------------------------------------- |
27492 | |
27493 | // ------------------------------------------------------------------- |
27494 | |
27495 | // ------------------------------------------------------------------- |
27496 | |
27497 | // ------------------------------------------------------------------- |
27498 | |
27499 | // ------------------------------------------------------------------- |
27500 | |
27501 | // ------------------------------------------------------------------- |
27502 | |
27503 | // ------------------------------------------------------------------- |
27504 | |
27505 | // ------------------------------------------------------------------- |
27506 | |
27507 | // ------------------------------------------------------------------- |
27508 | |
27509 | // ------------------------------------------------------------------- |
27510 | |
27511 | // ------------------------------------------------------------------- |
27512 | |
27513 | // ------------------------------------------------------------------- |
27514 | |
27515 | // ------------------------------------------------------------------- |
27516 | |
27517 | // ------------------------------------------------------------------- |
27518 | |
27519 | // ------------------------------------------------------------------- |
27520 | |
27521 | // ------------------------------------------------------------------- |
27522 | |
27523 | // ------------------------------------------------------------------- |
27524 | |
27525 | // ------------------------------------------------------------------- |
27526 | |
27527 | // ------------------------------------------------------------------- |
27528 | |
27529 | // ------------------------------------------------------------------- |
27530 | |
27531 | // ------------------------------------------------------------------- |
27532 | |
27533 | // ------------------------------------------------------------------- |
27534 | |
27535 | // ------------------------------------------------------------------- |
27536 | |
27537 | // ------------------------------------------------------------------- |
27538 | |
27539 | // ------------------------------------------------------------------- |
27540 | |
27541 | // ------------------------------------------------------------------- |
27542 | |
27543 | // ------------------------------------------------------------------- |
27544 | |
27545 | // ------------------------------------------------------------------- |
27546 | |
27547 | // ------------------------------------------------------------------- |
27548 | |
27549 | // ------------------------------------------------------------------- |
27550 | |
27551 | // ------------------------------------------------------------------- |
27552 | |
27553 | // ------------------------------------------------------------------- |
27554 | |
27555 | // ------------------------------------------------------------------- |
27556 | |
27557 | // ------------------------------------------------------------------- |
27558 | |
27559 | // ------------------------------------------------------------------- |
27560 | |
27561 | // ------------------------------------------------------------------- |
27562 | |
27563 | // ------------------------------------------------------------------- |
27564 | |
27565 | // ------------------------------------------------------------------- |
27566 | |
27567 | // ------------------------------------------------------------------- |
27568 | |
27569 | // ------------------------------------------------------------------- |
27570 | |
27571 | // ------------------------------------------------------------------- |
27572 | |
27573 | // ------------------------------------------------------------------- |
27574 | |
27575 | // ------------------------------------------------------------------- |
27576 | |
27577 | // ------------------------------------------------------------------- |
27578 | |
27579 | // ------------------------------------------------------------------- |
27580 | |
27581 | // ------------------------------------------------------------------- |
27582 | |
27583 | // ------------------------------------------------------------------- |
27584 | |
27585 | // ------------------------------------------------------------------- |
27586 | |
27587 | // ------------------------------------------------------------------- |
27588 | |
27589 | // ------------------------------------------------------------------- |
27590 | |
27591 | // ------------------------------------------------------------------- |
27592 | |
27593 | // ------------------------------------------------------------------- |
27594 | |
27595 | // ------------------------------------------------------------------- |
27596 | |
27597 | // ------------------------------------------------------------------- |
27598 | |
27599 | // ------------------------------------------------------------------- |
27600 | |
27601 | // ------------------------------------------------------------------- |
27602 | |
27603 | // ------------------------------------------------------------------- |
27604 | |
27605 | // ------------------------------------------------------------------- |
27606 | |
27607 | // ------------------------------------------------------------------- |
27608 | |
27609 | // ------------------------------------------------------------------- |
27610 | |
27611 | // ------------------------------------------------------------------- |
27612 | |
27613 | // ------------------------------------------------------------------- |
27614 | |
27615 | // ------------------------------------------------------------------- |
27616 | |
27617 | // ------------------------------------------------------------------- |
27618 | |
27619 | // ------------------------------------------------------------------- |
27620 | |
27621 | // ------------------------------------------------------------------- |
27622 | |
27623 | |
27624 | // @@protoc_insertion_point(namespace_scope) |
27625 | |
27626 | } // namespace Internal |
27627 | } // namespace Hdfs |
27628 | |
27629 | namespace google { |
27630 | namespace protobuf { |
27631 | |
27632 | template <> struct is_proto_enum< ::Hdfs::Internal::CreateFlagProto> : ::std::true_type {}; |
27633 | template <> |
27634 | inline const EnumDescriptor* GetEnumDescriptor< ::Hdfs::Internal::CreateFlagProto>() { |
27635 | return ::Hdfs::Internal::CreateFlagProto_descriptor(); |
27636 | } |
27637 | template <> struct is_proto_enum< ::Hdfs::Internal::DatanodeReportTypeProto> : ::std::true_type {}; |
27638 | template <> |
27639 | inline const EnumDescriptor* GetEnumDescriptor< ::Hdfs::Internal::DatanodeReportTypeProto>() { |
27640 | return ::Hdfs::Internal::DatanodeReportTypeProto_descriptor(); |
27641 | } |
27642 | template <> struct is_proto_enum< ::Hdfs::Internal::SafeModeActionProto> : ::std::true_type {}; |
27643 | template <> |
27644 | inline const EnumDescriptor* GetEnumDescriptor< ::Hdfs::Internal::SafeModeActionProto>() { |
27645 | return ::Hdfs::Internal::SafeModeActionProto_descriptor(); |
27646 | } |
27647 | template <> struct is_proto_enum< ::Hdfs::Internal::CacheFlagProto> : ::std::true_type {}; |
27648 | template <> |
27649 | inline const EnumDescriptor* GetEnumDescriptor< ::Hdfs::Internal::CacheFlagProto>() { |
27650 | return ::Hdfs::Internal::CacheFlagProto_descriptor(); |
27651 | } |
27652 | |
27653 | } // namespace protobuf |
27654 | } // namespace google |
27655 | |
27656 | // @@protoc_insertion_point(global_scope) |
27657 | |
27658 | #endif // PROTOBUF_INCLUDED_ClientNamenodeProtocol_2eproto |
27659 | |