RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
erasurecoding.pb.h
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: erasurecoding.proto
3 
4 #ifndef PROTOBUF_erasurecoding_2eproto__INCLUDED
5 #define PROTOBUF_erasurecoding_2eproto__INCLUDED
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3000000
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 3000000 < 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/arena.h>
23 #include <google/protobuf/arenastring.h>
24 #include <google/protobuf/generated_message_util.h>
25 #include <google/protobuf/metadata.h>
26 #include <google/protobuf/message.h>
27 #include <google/protobuf/repeated_field.h>
28 #include <google/protobuf/extension_set.h>
29 #include <google/protobuf/unknown_field_set.h>
30 #include "hdfs.pb.h"
31 // @@protoc_insertion_point(includes)
32 
33 namespace hadoop {
34 namespace hdfs {
35 
36 // Internal implementation detail -- do not call these.
37 void protobuf_AddDesc_erasurecoding_2eproto();
38 void protobuf_AssignDesc_erasurecoding_2eproto();
39 void protobuf_ShutdownFile_erasurecoding_2eproto();
40 
41 class CodecProto;
42 class GetErasureCodingCodecsRequestProto;
43 class GetErasureCodingCodecsResponseProto;
44 class GetErasureCodingPoliciesRequestProto;
45 class GetErasureCodingPoliciesResponseProto;
46 class GetErasureCodingPolicyRequestProto;
47 class GetErasureCodingPolicyResponseProto;
48 class SetErasureCodingPolicyRequestProto;
49 class SetErasureCodingPolicyResponseProto;
50 
51 // ===================================================================
52 
53 class SetErasureCodingPolicyRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SetErasureCodingPolicyRequestProto) */ {
54  public:
57 
59 
61  CopyFrom(from);
62  return *this;
63  }
64 
65  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
66  return _internal_metadata_.unknown_fields();
67  }
68 
69  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
70  return _internal_metadata_.mutable_unknown_fields();
71  }
72 
73  static const ::google::protobuf::Descriptor* descriptor();
74  static const SetErasureCodingPolicyRequestProto& default_instance();
75 
76  void Swap(SetErasureCodingPolicyRequestProto* other);
77 
78  // implements Message ----------------------------------------------
79 
80  inline SetErasureCodingPolicyRequestProto* New() const { return New(NULL); }
81 
82  SetErasureCodingPolicyRequestProto* New(::google::protobuf::Arena* arena) const;
83  void CopyFrom(const ::google::protobuf::Message& from);
84  void MergeFrom(const ::google::protobuf::Message& from);
85  void CopyFrom(const SetErasureCodingPolicyRequestProto& from);
86  void MergeFrom(const SetErasureCodingPolicyRequestProto& from);
87  void Clear();
88  bool IsInitialized() const;
89 
90  int ByteSize() const;
91  bool MergePartialFromCodedStream(
92  ::google::protobuf::io::CodedInputStream* input);
93  void SerializeWithCachedSizes(
94  ::google::protobuf::io::CodedOutputStream* output) const;
95  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
96  bool deterministic, ::google::protobuf::uint8* output) const;
97  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
98  return InternalSerializeWithCachedSizesToArray(false, output);
99  }
100  int GetCachedSize() const { return _cached_size_; }
101  private:
102  void SharedCtor();
103  void SharedDtor();
104  void SetCachedSize(int size) const;
105  void InternalSwap(SetErasureCodingPolicyRequestProto* other);
106  private:
107  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
108  return _internal_metadata_.arena();
109  }
110  inline void* MaybeArenaPtr() const {
111  return _internal_metadata_.raw_arena_ptr();
112  }
113  public:
114 
115  ::google::protobuf::Metadata GetMetadata() const;
116 
117  // nested types ----------------------------------------------------
118 
119  // accessors -------------------------------------------------------
120 
121  // required string src = 1;
122  bool has_src() const;
123  void clear_src();
124  static const int kSrcFieldNumber = 1;
125  const ::std::string& src() const;
126  void set_src(const ::std::string& value);
127  void set_src(const char* value);
128  void set_src(const char* value, size_t size);
129  ::std::string* mutable_src();
130  ::std::string* release_src();
131  void set_allocated_src(::std::string* src);
132 
133  // optional string ecPolicyName = 2;
134  bool has_ecpolicyname() const;
135  void clear_ecpolicyname();
136  static const int kEcPolicyNameFieldNumber = 2;
137  const ::std::string& ecpolicyname() const;
138  void set_ecpolicyname(const ::std::string& value);
139  void set_ecpolicyname(const char* value);
140  void set_ecpolicyname(const char* value, size_t size);
141  ::std::string* mutable_ecpolicyname();
142  ::std::string* release_ecpolicyname();
143  void set_allocated_ecpolicyname(::std::string* ecpolicyname);
144 
145  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SetErasureCodingPolicyRequestProto)
146  private:
147  inline void set_has_src();
148  inline void clear_has_src();
149  inline void set_has_ecpolicyname();
150  inline void clear_has_ecpolicyname();
151 
152  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
153  ::google::protobuf::uint32 _has_bits_[1];
154  mutable int _cached_size_;
155  ::google::protobuf::internal::ArenaStringPtr src_;
156  ::google::protobuf::internal::ArenaStringPtr ecpolicyname_;
157  friend void protobuf_AddDesc_erasurecoding_2eproto();
158  friend void protobuf_AssignDesc_erasurecoding_2eproto();
159  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
160 
161  void InitAsDefaultInstance();
162  static SetErasureCodingPolicyRequestProto* default_instance_;
163 };
164 // -------------------------------------------------------------------
165 
166 class SetErasureCodingPolicyResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.SetErasureCodingPolicyResponseProto) */ {
167  public:
170 
172 
174  CopyFrom(from);
175  return *this;
176  }
177 
178  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
179  return _internal_metadata_.unknown_fields();
180  }
181 
182  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
183  return _internal_metadata_.mutable_unknown_fields();
184  }
185 
186  static const ::google::protobuf::Descriptor* descriptor();
187  static const SetErasureCodingPolicyResponseProto& default_instance();
188 
189  void Swap(SetErasureCodingPolicyResponseProto* other);
190 
191  // implements Message ----------------------------------------------
192 
193  inline SetErasureCodingPolicyResponseProto* New() const { return New(NULL); }
194 
195  SetErasureCodingPolicyResponseProto* New(::google::protobuf::Arena* arena) const;
196  void CopyFrom(const ::google::protobuf::Message& from);
197  void MergeFrom(const ::google::protobuf::Message& from);
198  void CopyFrom(const SetErasureCodingPolicyResponseProto& from);
199  void MergeFrom(const SetErasureCodingPolicyResponseProto& from);
200  void Clear();
201  bool IsInitialized() const;
202 
203  int ByteSize() const;
204  bool MergePartialFromCodedStream(
205  ::google::protobuf::io::CodedInputStream* input);
206  void SerializeWithCachedSizes(
207  ::google::protobuf::io::CodedOutputStream* output) const;
208  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
209  bool deterministic, ::google::protobuf::uint8* output) const;
210  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
211  return InternalSerializeWithCachedSizesToArray(false, output);
212  }
213  int GetCachedSize() const { return _cached_size_; }
214  private:
215  void SharedCtor();
216  void SharedDtor();
217  void SetCachedSize(int size) const;
218  void InternalSwap(SetErasureCodingPolicyResponseProto* other);
219  private:
220  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
221  return _internal_metadata_.arena();
222  }
223  inline void* MaybeArenaPtr() const {
224  return _internal_metadata_.raw_arena_ptr();
225  }
226  public:
227 
228  ::google::protobuf::Metadata GetMetadata() const;
229 
230  // nested types ----------------------------------------------------
231 
232  // accessors -------------------------------------------------------
233 
234  // @@protoc_insertion_point(class_scope:hadoop.hdfs.SetErasureCodingPolicyResponseProto)
235  private:
236 
237  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
238  ::google::protobuf::uint32 _has_bits_[1];
239  mutable int _cached_size_;
240  friend void protobuf_AddDesc_erasurecoding_2eproto();
241  friend void protobuf_AssignDesc_erasurecoding_2eproto();
242  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
243 
244  void InitAsDefaultInstance();
245  static SetErasureCodingPolicyResponseProto* default_instance_;
246 };
247 // -------------------------------------------------------------------
248 
249 class GetErasureCodingPoliciesRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingPoliciesRequestProto) */ {
250  public:
253 
255 
257  CopyFrom(from);
258  return *this;
259  }
260 
261  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
262  return _internal_metadata_.unknown_fields();
263  }
264 
265  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
266  return _internal_metadata_.mutable_unknown_fields();
267  }
268 
269  static const ::google::protobuf::Descriptor* descriptor();
270  static const GetErasureCodingPoliciesRequestProto& default_instance();
271 
272  void Swap(GetErasureCodingPoliciesRequestProto* other);
273 
274  // implements Message ----------------------------------------------
275 
276  inline GetErasureCodingPoliciesRequestProto* New() const { return New(NULL); }
277 
278  GetErasureCodingPoliciesRequestProto* New(::google::protobuf::Arena* arena) const;
279  void CopyFrom(const ::google::protobuf::Message& from);
280  void MergeFrom(const ::google::protobuf::Message& from);
281  void CopyFrom(const GetErasureCodingPoliciesRequestProto& from);
282  void MergeFrom(const GetErasureCodingPoliciesRequestProto& from);
283  void Clear();
284  bool IsInitialized() const;
285 
286  int ByteSize() const;
287  bool MergePartialFromCodedStream(
288  ::google::protobuf::io::CodedInputStream* input);
289  void SerializeWithCachedSizes(
290  ::google::protobuf::io::CodedOutputStream* output) const;
291  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
292  bool deterministic, ::google::protobuf::uint8* output) const;
293  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
294  return InternalSerializeWithCachedSizesToArray(false, output);
295  }
296  int GetCachedSize() const { return _cached_size_; }
297  private:
298  void SharedCtor();
299  void SharedDtor();
300  void SetCachedSize(int size) const;
301  void InternalSwap(GetErasureCodingPoliciesRequestProto* other);
302  private:
303  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
304  return _internal_metadata_.arena();
305  }
306  inline void* MaybeArenaPtr() const {
307  return _internal_metadata_.raw_arena_ptr();
308  }
309  public:
310 
311  ::google::protobuf::Metadata GetMetadata() const;
312 
313  // nested types ----------------------------------------------------
314 
315  // accessors -------------------------------------------------------
316 
317  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPoliciesRequestProto)
318  private:
319 
320  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
321  ::google::protobuf::uint32 _has_bits_[1];
322  mutable int _cached_size_;
323  friend void protobuf_AddDesc_erasurecoding_2eproto();
324  friend void protobuf_AssignDesc_erasurecoding_2eproto();
325  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
326 
327  void InitAsDefaultInstance();
328  static GetErasureCodingPoliciesRequestProto* default_instance_;
329 };
330 // -------------------------------------------------------------------
331 
332 class GetErasureCodingPoliciesResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingPoliciesResponseProto) */ {
333  public:
336 
338 
340  CopyFrom(from);
341  return *this;
342  }
343 
344  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
345  return _internal_metadata_.unknown_fields();
346  }
347 
348  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
349  return _internal_metadata_.mutable_unknown_fields();
350  }
351 
352  static const ::google::protobuf::Descriptor* descriptor();
353  static const GetErasureCodingPoliciesResponseProto& default_instance();
354 
355  void Swap(GetErasureCodingPoliciesResponseProto* other);
356 
357  // implements Message ----------------------------------------------
358 
359  inline GetErasureCodingPoliciesResponseProto* New() const { return New(NULL); }
360 
361  GetErasureCodingPoliciesResponseProto* New(::google::protobuf::Arena* arena) const;
362  void CopyFrom(const ::google::protobuf::Message& from);
363  void MergeFrom(const ::google::protobuf::Message& from);
364  void CopyFrom(const GetErasureCodingPoliciesResponseProto& from);
365  void MergeFrom(const GetErasureCodingPoliciesResponseProto& from);
366  void Clear();
367  bool IsInitialized() const;
368 
369  int ByteSize() const;
370  bool MergePartialFromCodedStream(
371  ::google::protobuf::io::CodedInputStream* input);
372  void SerializeWithCachedSizes(
373  ::google::protobuf::io::CodedOutputStream* output) const;
374  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
375  bool deterministic, ::google::protobuf::uint8* output) const;
376  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
377  return InternalSerializeWithCachedSizesToArray(false, output);
378  }
379  int GetCachedSize() const { return _cached_size_; }
380  private:
381  void SharedCtor();
382  void SharedDtor();
383  void SetCachedSize(int size) const;
384  void InternalSwap(GetErasureCodingPoliciesResponseProto* other);
385  private:
386  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
387  return _internal_metadata_.arena();
388  }
389  inline void* MaybeArenaPtr() const {
390  return _internal_metadata_.raw_arena_ptr();
391  }
392  public:
393 
394  ::google::protobuf::Metadata GetMetadata() const;
395 
396  // nested types ----------------------------------------------------
397 
398  // accessors -------------------------------------------------------
399 
400  // repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
401  int ecpolicies_size() const;
402  void clear_ecpolicies();
403  static const int kEcPoliciesFieldNumber = 1;
404  const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicies(int index) const;
405  ::hadoop::hdfs::ErasureCodingPolicyProto* mutable_ecpolicies(int index);
407  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ErasureCodingPolicyProto >*
408  mutable_ecpolicies();
409  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ErasureCodingPolicyProto >&
410  ecpolicies() const;
411 
412  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPoliciesResponseProto)
413  private:
414 
415  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
416  ::google::protobuf::uint32 _has_bits_[1];
417  mutable int _cached_size_;
418  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ErasureCodingPolicyProto > ecpolicies_;
419  friend void protobuf_AddDesc_erasurecoding_2eproto();
420  friend void protobuf_AssignDesc_erasurecoding_2eproto();
421  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
422 
423  void InitAsDefaultInstance();
424  static GetErasureCodingPoliciesResponseProto* default_instance_;
425 };
426 // -------------------------------------------------------------------
427 
428 class GetErasureCodingCodecsRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingCodecsRequestProto) */ {
429  public:
432 
434 
436  CopyFrom(from);
437  return *this;
438  }
439 
440  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
441  return _internal_metadata_.unknown_fields();
442  }
443 
444  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
445  return _internal_metadata_.mutable_unknown_fields();
446  }
447 
448  static const ::google::protobuf::Descriptor* descriptor();
449  static const GetErasureCodingCodecsRequestProto& default_instance();
450 
451  void Swap(GetErasureCodingCodecsRequestProto* other);
452 
453  // implements Message ----------------------------------------------
454 
455  inline GetErasureCodingCodecsRequestProto* New() const { return New(NULL); }
456 
457  GetErasureCodingCodecsRequestProto* New(::google::protobuf::Arena* arena) const;
458  void CopyFrom(const ::google::protobuf::Message& from);
459  void MergeFrom(const ::google::protobuf::Message& from);
460  void CopyFrom(const GetErasureCodingCodecsRequestProto& from);
461  void MergeFrom(const GetErasureCodingCodecsRequestProto& from);
462  void Clear();
463  bool IsInitialized() const;
464 
465  int ByteSize() const;
466  bool MergePartialFromCodedStream(
467  ::google::protobuf::io::CodedInputStream* input);
468  void SerializeWithCachedSizes(
469  ::google::protobuf::io::CodedOutputStream* output) const;
470  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
471  bool deterministic, ::google::protobuf::uint8* output) const;
472  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
473  return InternalSerializeWithCachedSizesToArray(false, output);
474  }
475  int GetCachedSize() const { return _cached_size_; }
476  private:
477  void SharedCtor();
478  void SharedDtor();
479  void SetCachedSize(int size) const;
480  void InternalSwap(GetErasureCodingCodecsRequestProto* other);
481  private:
482  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
483  return _internal_metadata_.arena();
484  }
485  inline void* MaybeArenaPtr() const {
486  return _internal_metadata_.raw_arena_ptr();
487  }
488  public:
489 
490  ::google::protobuf::Metadata GetMetadata() const;
491 
492  // nested types ----------------------------------------------------
493 
494  // accessors -------------------------------------------------------
495 
496  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingCodecsRequestProto)
497  private:
498 
499  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
500  ::google::protobuf::uint32 _has_bits_[1];
501  mutable int _cached_size_;
502  friend void protobuf_AddDesc_erasurecoding_2eproto();
503  friend void protobuf_AssignDesc_erasurecoding_2eproto();
504  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
505 
506  void InitAsDefaultInstance();
507  static GetErasureCodingCodecsRequestProto* default_instance_;
508 };
509 // -------------------------------------------------------------------
510 
511 class GetErasureCodingCodecsResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingCodecsResponseProto) */ {
512  public:
515 
517 
519  CopyFrom(from);
520  return *this;
521  }
522 
523  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
524  return _internal_metadata_.unknown_fields();
525  }
526 
527  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
528  return _internal_metadata_.mutable_unknown_fields();
529  }
530 
531  static const ::google::protobuf::Descriptor* descriptor();
532  static const GetErasureCodingCodecsResponseProto& default_instance();
533 
534  void Swap(GetErasureCodingCodecsResponseProto* other);
535 
536  // implements Message ----------------------------------------------
537 
538  inline GetErasureCodingCodecsResponseProto* New() const { return New(NULL); }
539 
540  GetErasureCodingCodecsResponseProto* New(::google::protobuf::Arena* arena) const;
541  void CopyFrom(const ::google::protobuf::Message& from);
542  void MergeFrom(const ::google::protobuf::Message& from);
543  void CopyFrom(const GetErasureCodingCodecsResponseProto& from);
544  void MergeFrom(const GetErasureCodingCodecsResponseProto& from);
545  void Clear();
546  bool IsInitialized() const;
547 
548  int ByteSize() const;
549  bool MergePartialFromCodedStream(
550  ::google::protobuf::io::CodedInputStream* input);
551  void SerializeWithCachedSizes(
552  ::google::protobuf::io::CodedOutputStream* output) const;
553  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
554  bool deterministic, ::google::protobuf::uint8* output) const;
555  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
556  return InternalSerializeWithCachedSizesToArray(false, output);
557  }
558  int GetCachedSize() const { return _cached_size_; }
559  private:
560  void SharedCtor();
561  void SharedDtor();
562  void SetCachedSize(int size) const;
563  void InternalSwap(GetErasureCodingCodecsResponseProto* other);
564  private:
565  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
566  return _internal_metadata_.arena();
567  }
568  inline void* MaybeArenaPtr() const {
569  return _internal_metadata_.raw_arena_ptr();
570  }
571  public:
572 
573  ::google::protobuf::Metadata GetMetadata() const;
574 
575  // nested types ----------------------------------------------------
576 
577  // accessors -------------------------------------------------------
578 
579  // repeated .hadoop.hdfs.CodecProto codec = 1;
580  int codec_size() const;
581  void clear_codec();
582  static const int kCodecFieldNumber = 1;
583  const ::hadoop::hdfs::CodecProto& codec(int index) const;
584  ::hadoop::hdfs::CodecProto* mutable_codec(int index);
585  ::hadoop::hdfs::CodecProto* add_codec();
586  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::CodecProto >*
587  mutable_codec();
588  const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::CodecProto >&
589  codec() const;
590 
591  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingCodecsResponseProto)
592  private:
593 
594  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
595  ::google::protobuf::uint32 _has_bits_[1];
596  mutable int _cached_size_;
597  ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::CodecProto > codec_;
598  friend void protobuf_AddDesc_erasurecoding_2eproto();
599  friend void protobuf_AssignDesc_erasurecoding_2eproto();
600  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
601 
602  void InitAsDefaultInstance();
603  static GetErasureCodingCodecsResponseProto* default_instance_;
604 };
605 // -------------------------------------------------------------------
606 
607 class GetErasureCodingPolicyRequestProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingPolicyRequestProto) */ {
608  public:
611 
613 
615  CopyFrom(from);
616  return *this;
617  }
618 
619  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
620  return _internal_metadata_.unknown_fields();
621  }
622 
623  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
624  return _internal_metadata_.mutable_unknown_fields();
625  }
626 
627  static const ::google::protobuf::Descriptor* descriptor();
628  static const GetErasureCodingPolicyRequestProto& default_instance();
629 
630  void Swap(GetErasureCodingPolicyRequestProto* other);
631 
632  // implements Message ----------------------------------------------
633 
634  inline GetErasureCodingPolicyRequestProto* New() const { return New(NULL); }
635 
636  GetErasureCodingPolicyRequestProto* New(::google::protobuf::Arena* arena) const;
637  void CopyFrom(const ::google::protobuf::Message& from);
638  void MergeFrom(const ::google::protobuf::Message& from);
639  void CopyFrom(const GetErasureCodingPolicyRequestProto& from);
640  void MergeFrom(const GetErasureCodingPolicyRequestProto& from);
641  void Clear();
642  bool IsInitialized() const;
643 
644  int ByteSize() const;
645  bool MergePartialFromCodedStream(
646  ::google::protobuf::io::CodedInputStream* input);
647  void SerializeWithCachedSizes(
648  ::google::protobuf::io::CodedOutputStream* output) const;
649  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
650  bool deterministic, ::google::protobuf::uint8* output) const;
651  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
652  return InternalSerializeWithCachedSizesToArray(false, output);
653  }
654  int GetCachedSize() const { return _cached_size_; }
655  private:
656  void SharedCtor();
657  void SharedDtor();
658  void SetCachedSize(int size) const;
659  void InternalSwap(GetErasureCodingPolicyRequestProto* other);
660  private:
661  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
662  return _internal_metadata_.arena();
663  }
664  inline void* MaybeArenaPtr() const {
665  return _internal_metadata_.raw_arena_ptr();
666  }
667  public:
668 
669  ::google::protobuf::Metadata GetMetadata() const;
670 
671  // nested types ----------------------------------------------------
672 
673  // accessors -------------------------------------------------------
674 
675  // required string src = 1;
676  bool has_src() const;
677  void clear_src();
678  static const int kSrcFieldNumber = 1;
679  const ::std::string& src() const;
680  void set_src(const ::std::string& value);
681  void set_src(const char* value);
682  void set_src(const char* value, size_t size);
683  ::std::string* mutable_src();
684  ::std::string* release_src();
685  void set_allocated_src(::std::string* src);
686 
687  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPolicyRequestProto)
688  private:
689  inline void set_has_src();
690  inline void clear_has_src();
691 
692  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
693  ::google::protobuf::uint32 _has_bits_[1];
694  mutable int _cached_size_;
695  ::google::protobuf::internal::ArenaStringPtr src_;
696  friend void protobuf_AddDesc_erasurecoding_2eproto();
697  friend void protobuf_AssignDesc_erasurecoding_2eproto();
698  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
699 
700  void InitAsDefaultInstance();
701  static GetErasureCodingPolicyRequestProto* default_instance_;
702 };
703 // -------------------------------------------------------------------
704 
705 class GetErasureCodingPolicyResponseProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.GetErasureCodingPolicyResponseProto) */ {
706  public:
709 
711 
713  CopyFrom(from);
714  return *this;
715  }
716 
717  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
718  return _internal_metadata_.unknown_fields();
719  }
720 
721  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
722  return _internal_metadata_.mutable_unknown_fields();
723  }
724 
725  static const ::google::protobuf::Descriptor* descriptor();
726  static const GetErasureCodingPolicyResponseProto& default_instance();
727 
728  void Swap(GetErasureCodingPolicyResponseProto* other);
729 
730  // implements Message ----------------------------------------------
731 
732  inline GetErasureCodingPolicyResponseProto* New() const { return New(NULL); }
733 
734  GetErasureCodingPolicyResponseProto* New(::google::protobuf::Arena* arena) const;
735  void CopyFrom(const ::google::protobuf::Message& from);
736  void MergeFrom(const ::google::protobuf::Message& from);
737  void CopyFrom(const GetErasureCodingPolicyResponseProto& from);
738  void MergeFrom(const GetErasureCodingPolicyResponseProto& from);
739  void Clear();
740  bool IsInitialized() const;
741 
742  int ByteSize() const;
743  bool MergePartialFromCodedStream(
744  ::google::protobuf::io::CodedInputStream* input);
745  void SerializeWithCachedSizes(
746  ::google::protobuf::io::CodedOutputStream* output) const;
747  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
748  bool deterministic, ::google::protobuf::uint8* output) const;
749  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
750  return InternalSerializeWithCachedSizesToArray(false, output);
751  }
752  int GetCachedSize() const { return _cached_size_; }
753  private:
754  void SharedCtor();
755  void SharedDtor();
756  void SetCachedSize(int size) const;
757  void InternalSwap(GetErasureCodingPolicyResponseProto* other);
758  private:
759  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
760  return _internal_metadata_.arena();
761  }
762  inline void* MaybeArenaPtr() const {
763  return _internal_metadata_.raw_arena_ptr();
764  }
765  public:
766 
767  ::google::protobuf::Metadata GetMetadata() const;
768 
769  // nested types ----------------------------------------------------
770 
771  // accessors -------------------------------------------------------
772 
773  // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
774  bool has_ecpolicy() const;
775  void clear_ecpolicy();
776  static const int kEcPolicyFieldNumber = 1;
777  const ::hadoop::hdfs::ErasureCodingPolicyProto& ecpolicy() const;
778  ::hadoop::hdfs::ErasureCodingPolicyProto* mutable_ecpolicy();
779  ::hadoop::hdfs::ErasureCodingPolicyProto* release_ecpolicy();
780  void set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy);
781 
782  // @@protoc_insertion_point(class_scope:hadoop.hdfs.GetErasureCodingPolicyResponseProto)
783  private:
784  inline void set_has_ecpolicy();
785  inline void clear_has_ecpolicy();
786 
787  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
788  ::google::protobuf::uint32 _has_bits_[1];
789  mutable int _cached_size_;
791  friend void protobuf_AddDesc_erasurecoding_2eproto();
792  friend void protobuf_AssignDesc_erasurecoding_2eproto();
793  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
794 
795  void InitAsDefaultInstance();
796  static GetErasureCodingPolicyResponseProto* default_instance_;
797 };
798 // -------------------------------------------------------------------
799 
800 class CodecProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:hadoop.hdfs.CodecProto) */ {
801  public:
802  CodecProto();
803  virtual ~CodecProto();
804 
805  CodecProto(const CodecProto& from);
806 
807  inline CodecProto& operator=(const CodecProto& from) {
808  CopyFrom(from);
809  return *this;
810  }
811 
812  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
813  return _internal_metadata_.unknown_fields();
814  }
815 
816  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
817  return _internal_metadata_.mutable_unknown_fields();
818  }
819 
820  static const ::google::protobuf::Descriptor* descriptor();
821  static const CodecProto& default_instance();
822 
823  void Swap(CodecProto* other);
824 
825  // implements Message ----------------------------------------------
826 
827  inline CodecProto* New() const { return New(NULL); }
828 
829  CodecProto* New(::google::protobuf::Arena* arena) const;
830  void CopyFrom(const ::google::protobuf::Message& from);
831  void MergeFrom(const ::google::protobuf::Message& from);
832  void CopyFrom(const CodecProto& from);
833  void MergeFrom(const CodecProto& from);
834  void Clear();
835  bool IsInitialized() const;
836 
837  int ByteSize() const;
838  bool MergePartialFromCodedStream(
839  ::google::protobuf::io::CodedInputStream* input);
840  void SerializeWithCachedSizes(
841  ::google::protobuf::io::CodedOutputStream* output) const;
842  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
843  bool deterministic, ::google::protobuf::uint8* output) const;
844  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
845  return InternalSerializeWithCachedSizesToArray(false, output);
846  }
847  int GetCachedSize() const { return _cached_size_; }
848  private:
849  void SharedCtor();
850  void SharedDtor();
851  void SetCachedSize(int size) const;
852  void InternalSwap(CodecProto* other);
853  private:
854  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
855  return _internal_metadata_.arena();
856  }
857  inline void* MaybeArenaPtr() const {
858  return _internal_metadata_.raw_arena_ptr();
859  }
860  public:
861 
862  ::google::protobuf::Metadata GetMetadata() const;
863 
864  // nested types ----------------------------------------------------
865 
866  // accessors -------------------------------------------------------
867 
868  // required string codec = 1;
869  bool has_codec() const;
870  void clear_codec();
871  static const int kCodecFieldNumber = 1;
872  const ::std::string& codec() const;
873  void set_codec(const ::std::string& value);
874  void set_codec(const char* value);
875  void set_codec(const char* value, size_t size);
876  ::std::string* mutable_codec();
877  ::std::string* release_codec();
878  void set_allocated_codec(::std::string* codec);
879 
880  // required string coders = 2;
881  bool has_coders() const;
882  void clear_coders();
883  static const int kCodersFieldNumber = 2;
884  const ::std::string& coders() const;
885  void set_coders(const ::std::string& value);
886  void set_coders(const char* value);
887  void set_coders(const char* value, size_t size);
888  ::std::string* mutable_coders();
889  ::std::string* release_coders();
890  void set_allocated_coders(::std::string* coders);
891 
892  // @@protoc_insertion_point(class_scope:hadoop.hdfs.CodecProto)
893  private:
894  inline void set_has_codec();
895  inline void clear_has_codec();
896  inline void set_has_coders();
897  inline void clear_has_coders();
898 
899  // helper for ByteSize()
900  int RequiredFieldsByteSizeFallback() const;
901 
902  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
903  ::google::protobuf::uint32 _has_bits_[1];
904  mutable int _cached_size_;
905  ::google::protobuf::internal::ArenaStringPtr codec_;
906  ::google::protobuf::internal::ArenaStringPtr coders_;
907  friend void protobuf_AddDesc_erasurecoding_2eproto();
908  friend void protobuf_AssignDesc_erasurecoding_2eproto();
909  friend void protobuf_ShutdownFile_erasurecoding_2eproto();
910 
911  void InitAsDefaultInstance();
912  static CodecProto* default_instance_;
913 };
914 // ===================================================================
915 
916 
917 // ===================================================================
918 
919 #if !PROTOBUF_INLINE_NOT_IN_HEADERS
920 // SetErasureCodingPolicyRequestProto
921 
922 // required string src = 1;
923 inline bool SetErasureCodingPolicyRequestProto::has_src() const {
924  return (_has_bits_[0] & 0x00000001u) != 0;
925 }
926 inline void SetErasureCodingPolicyRequestProto::set_has_src() {
927  _has_bits_[0] |= 0x00000001u;
928 }
929 inline void SetErasureCodingPolicyRequestProto::clear_has_src() {
930  _has_bits_[0] &= ~0x00000001u;
931 }
932 inline void SetErasureCodingPolicyRequestProto::clear_src() {
933  src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
934  clear_has_src();
935 }
936 inline const ::std::string& SetErasureCodingPolicyRequestProto::src() const {
937  // @@protoc_insertion_point(field_get:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
938  return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
939 }
940 inline void SetErasureCodingPolicyRequestProto::set_src(const ::std::string& value) {
941  set_has_src();
942  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
943  // @@protoc_insertion_point(field_set:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
944 }
945 inline void SetErasureCodingPolicyRequestProto::set_src(const char* value) {
946  set_has_src();
947  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
948  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
949 }
950 inline void SetErasureCodingPolicyRequestProto::set_src(const char* value, size_t size) {
951  set_has_src();
952  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
953  ::std::string(reinterpret_cast<const char*>(value), size));
954  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
955 }
956 inline ::std::string* SetErasureCodingPolicyRequestProto::mutable_src() {
957  set_has_src();
958  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
959  return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
960 }
961 inline ::std::string* SetErasureCodingPolicyRequestProto::release_src() {
962  // @@protoc_insertion_point(field_release:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
963  clear_has_src();
964  return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
965 }
966 inline void SetErasureCodingPolicyRequestProto::set_allocated_src(::std::string* src) {
967  if (src != NULL) {
968  set_has_src();
969  } else {
970  clear_has_src();
971  }
972  src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
973  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SetErasureCodingPolicyRequestProto.src)
974 }
975 
976 // optional string ecPolicyName = 2;
977 inline bool SetErasureCodingPolicyRequestProto::has_ecpolicyname() const {
978  return (_has_bits_[0] & 0x00000002u) != 0;
979 }
980 inline void SetErasureCodingPolicyRequestProto::set_has_ecpolicyname() {
981  _has_bits_[0] |= 0x00000002u;
982 }
983 inline void SetErasureCodingPolicyRequestProto::clear_has_ecpolicyname() {
984  _has_bits_[0] &= ~0x00000002u;
985 }
986 inline void SetErasureCodingPolicyRequestProto::clear_ecpolicyname() {
987  ecpolicyname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
988  clear_has_ecpolicyname();
989 }
990 inline const ::std::string& SetErasureCodingPolicyRequestProto::ecpolicyname() const {
991  // @@protoc_insertion_point(field_get:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
992  return ecpolicyname_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
993 }
994 inline void SetErasureCodingPolicyRequestProto::set_ecpolicyname(const ::std::string& value) {
995  set_has_ecpolicyname();
996  ecpolicyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
997  // @@protoc_insertion_point(field_set:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
998 }
999 inline void SetErasureCodingPolicyRequestProto::set_ecpolicyname(const char* value) {
1000  set_has_ecpolicyname();
1001  ecpolicyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1002  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
1003 }
1004 inline void SetErasureCodingPolicyRequestProto::set_ecpolicyname(const char* value, size_t size) {
1005  set_has_ecpolicyname();
1006  ecpolicyname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1007  ::std::string(reinterpret_cast<const char*>(value), size));
1008  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
1009 }
1010 inline ::std::string* SetErasureCodingPolicyRequestProto::mutable_ecpolicyname() {
1011  set_has_ecpolicyname();
1012  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
1013  return ecpolicyname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1014 }
1015 inline ::std::string* SetErasureCodingPolicyRequestProto::release_ecpolicyname() {
1016  // @@protoc_insertion_point(field_release:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
1017  clear_has_ecpolicyname();
1018  return ecpolicyname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1019 }
1020 inline void SetErasureCodingPolicyRequestProto::set_allocated_ecpolicyname(::std::string* ecpolicyname) {
1021  if (ecpolicyname != NULL) {
1022  set_has_ecpolicyname();
1023  } else {
1024  clear_has_ecpolicyname();
1025  }
1026  ecpolicyname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ecpolicyname);
1027  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.SetErasureCodingPolicyRequestProto.ecPolicyName)
1028 }
1029 
1030 // -------------------------------------------------------------------
1031 
1032 // SetErasureCodingPolicyResponseProto
1033 
1034 // -------------------------------------------------------------------
1035 
1036 // GetErasureCodingPoliciesRequestProto
1037 
1038 // -------------------------------------------------------------------
1039 
1040 // GetErasureCodingPoliciesResponseProto
1041 
1042 // repeated .hadoop.hdfs.ErasureCodingPolicyProto ecPolicies = 1;
1043 inline int GetErasureCodingPoliciesResponseProto::ecpolicies_size() const {
1044  return ecpolicies_.size();
1045 }
1046 inline void GetErasureCodingPoliciesResponseProto::clear_ecpolicies() {
1047  ecpolicies_.Clear();
1048 }
1049 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& GetErasureCodingPoliciesResponseProto::ecpolicies(int index) const {
1050  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies)
1051  return ecpolicies_.Get(index);
1052 }
1053 inline ::hadoop::hdfs::ErasureCodingPolicyProto* GetErasureCodingPoliciesResponseProto::mutable_ecpolicies(int index) {
1054  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies)
1055  return ecpolicies_.Mutable(index);
1056 }
1057 inline ::hadoop::hdfs::ErasureCodingPolicyProto* GetErasureCodingPoliciesResponseProto::add_ecpolicies() {
1058  // @@protoc_insertion_point(field_add:hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies)
1059  return ecpolicies_.Add();
1060 }
1061 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ErasureCodingPolicyProto >*
1062 GetErasureCodingPoliciesResponseProto::mutable_ecpolicies() {
1063  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies)
1064  return &ecpolicies_;
1065 }
1066 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::ErasureCodingPolicyProto >&
1067 GetErasureCodingPoliciesResponseProto::ecpolicies() const {
1068  // @@protoc_insertion_point(field_list:hadoop.hdfs.GetErasureCodingPoliciesResponseProto.ecPolicies)
1069  return ecpolicies_;
1070 }
1071 
1072 // -------------------------------------------------------------------
1073 
1074 // GetErasureCodingCodecsRequestProto
1075 
1076 // -------------------------------------------------------------------
1077 
1078 // GetErasureCodingCodecsResponseProto
1079 
1080 // repeated .hadoop.hdfs.CodecProto codec = 1;
1081 inline int GetErasureCodingCodecsResponseProto::codec_size() const {
1082  return codec_.size();
1083 }
1084 inline void GetErasureCodingCodecsResponseProto::clear_codec() {
1085  codec_.Clear();
1086 }
1087 inline const ::hadoop::hdfs::CodecProto& GetErasureCodingCodecsResponseProto::codec(int index) const {
1088  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec)
1089  return codec_.Get(index);
1090 }
1091 inline ::hadoop::hdfs::CodecProto* GetErasureCodingCodecsResponseProto::mutable_codec(int index) {
1092  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec)
1093  return codec_.Mutable(index);
1094 }
1095 inline ::hadoop::hdfs::CodecProto* GetErasureCodingCodecsResponseProto::add_codec() {
1096  // @@protoc_insertion_point(field_add:hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec)
1097  return codec_.Add();
1098 }
1099 inline ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::CodecProto >*
1100 GetErasureCodingCodecsResponseProto::mutable_codec() {
1101  // @@protoc_insertion_point(field_mutable_list:hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec)
1102  return &codec_;
1103 }
1104 inline const ::google::protobuf::RepeatedPtrField< ::hadoop::hdfs::CodecProto >&
1105 GetErasureCodingCodecsResponseProto::codec() const {
1106  // @@protoc_insertion_point(field_list:hadoop.hdfs.GetErasureCodingCodecsResponseProto.codec)
1107  return codec_;
1108 }
1109 
1110 // -------------------------------------------------------------------
1111 
1112 // GetErasureCodingPolicyRequestProto
1113 
1114 // required string src = 1;
1115 inline bool GetErasureCodingPolicyRequestProto::has_src() const {
1116  return (_has_bits_[0] & 0x00000001u) != 0;
1117 }
1118 inline void GetErasureCodingPolicyRequestProto::set_has_src() {
1119  _has_bits_[0] |= 0x00000001u;
1120 }
1121 inline void GetErasureCodingPolicyRequestProto::clear_has_src() {
1122  _has_bits_[0] &= ~0x00000001u;
1123 }
1124 inline void GetErasureCodingPolicyRequestProto::clear_src() {
1125  src_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1126  clear_has_src();
1127 }
1128 inline const ::std::string& GetErasureCodingPolicyRequestProto::src() const {
1129  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1130  return src_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1131 }
1132 inline void GetErasureCodingPolicyRequestProto::set_src(const ::std::string& value) {
1133  set_has_src();
1134  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1135  // @@protoc_insertion_point(field_set:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1136 }
1137 inline void GetErasureCodingPolicyRequestProto::set_src(const char* value) {
1138  set_has_src();
1139  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1140  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1141 }
1142 inline void GetErasureCodingPolicyRequestProto::set_src(const char* value, size_t size) {
1143  set_has_src();
1144  src_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1145  ::std::string(reinterpret_cast<const char*>(value), size));
1146  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1147 }
1148 inline ::std::string* GetErasureCodingPolicyRequestProto::mutable_src() {
1149  set_has_src();
1150  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1151  return src_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1152 }
1153 inline ::std::string* GetErasureCodingPolicyRequestProto::release_src() {
1154  // @@protoc_insertion_point(field_release:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1155  clear_has_src();
1156  return src_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1157 }
1158 inline void GetErasureCodingPolicyRequestProto::set_allocated_src(::std::string* src) {
1159  if (src != NULL) {
1160  set_has_src();
1161  } else {
1162  clear_has_src();
1163  }
1164  src_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src);
1165  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.GetErasureCodingPolicyRequestProto.src)
1166 }
1167 
1168 // -------------------------------------------------------------------
1169 
1170 // GetErasureCodingPolicyResponseProto
1171 
1172 // optional .hadoop.hdfs.ErasureCodingPolicyProto ecPolicy = 1;
1173 inline bool GetErasureCodingPolicyResponseProto::has_ecpolicy() const {
1174  return (_has_bits_[0] & 0x00000001u) != 0;
1175 }
1176 inline void GetErasureCodingPolicyResponseProto::set_has_ecpolicy() {
1177  _has_bits_[0] |= 0x00000001u;
1178 }
1179 inline void GetErasureCodingPolicyResponseProto::clear_has_ecpolicy() {
1180  _has_bits_[0] &= ~0x00000001u;
1181 }
1182 inline void GetErasureCodingPolicyResponseProto::clear_ecpolicy() {
1183  if (ecpolicy_ != NULL) ecpolicy_->::hadoop::hdfs::ErasureCodingPolicyProto::Clear();
1184  clear_has_ecpolicy();
1185 }
1186 inline const ::hadoop::hdfs::ErasureCodingPolicyProto& GetErasureCodingPolicyResponseProto::ecpolicy() const {
1187  // @@protoc_insertion_point(field_get:hadoop.hdfs.GetErasureCodingPolicyResponseProto.ecPolicy)
1188  return ecpolicy_ != NULL ? *ecpolicy_ : *default_instance_->ecpolicy_;
1189 }
1190 inline ::hadoop::hdfs::ErasureCodingPolicyProto* GetErasureCodingPolicyResponseProto::mutable_ecpolicy() {
1191  set_has_ecpolicy();
1192  if (ecpolicy_ == NULL) {
1193  ecpolicy_ = new ::hadoop::hdfs::ErasureCodingPolicyProto;
1194  }
1195  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.GetErasureCodingPolicyResponseProto.ecPolicy)
1196  return ecpolicy_;
1197 }
1198 inline ::hadoop::hdfs::ErasureCodingPolicyProto* GetErasureCodingPolicyResponseProto::release_ecpolicy() {
1199  // @@protoc_insertion_point(field_release:hadoop.hdfs.GetErasureCodingPolicyResponseProto.ecPolicy)
1200  clear_has_ecpolicy();
1201  ::hadoop::hdfs::ErasureCodingPolicyProto* temp = ecpolicy_;
1202  ecpolicy_ = NULL;
1203  return temp;
1204 }
1205 inline void GetErasureCodingPolicyResponseProto::set_allocated_ecpolicy(::hadoop::hdfs::ErasureCodingPolicyProto* ecpolicy) {
1206  delete ecpolicy_;
1207  ecpolicy_ = ecpolicy;
1208  if (ecpolicy) {
1209  set_has_ecpolicy();
1210  } else {
1211  clear_has_ecpolicy();
1212  }
1213  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.GetErasureCodingPolicyResponseProto.ecPolicy)
1214 }
1215 
1216 // -------------------------------------------------------------------
1217 
1218 // CodecProto
1219 
1220 // required string codec = 1;
1221 inline bool CodecProto::has_codec() const {
1222  return (_has_bits_[0] & 0x00000001u) != 0;
1223 }
1224 inline void CodecProto::set_has_codec() {
1225  _has_bits_[0] |= 0x00000001u;
1226 }
1227 inline void CodecProto::clear_has_codec() {
1228  _has_bits_[0] &= ~0x00000001u;
1229 }
1230 inline void CodecProto::clear_codec() {
1231  codec_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1232  clear_has_codec();
1233 }
1234 inline const ::std::string& CodecProto::codec() const {
1235  // @@protoc_insertion_point(field_get:hadoop.hdfs.CodecProto.codec)
1236  return codec_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1237 }
1238 inline void CodecProto::set_codec(const ::std::string& value) {
1239  set_has_codec();
1240  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1241  // @@protoc_insertion_point(field_set:hadoop.hdfs.CodecProto.codec)
1242 }
1243 inline void CodecProto::set_codec(const char* value) {
1244  set_has_codec();
1245  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1246  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CodecProto.codec)
1247 }
1248 inline void CodecProto::set_codec(const char* value, size_t size) {
1249  set_has_codec();
1250  codec_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1251  ::std::string(reinterpret_cast<const char*>(value), size));
1252  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CodecProto.codec)
1253 }
1254 inline ::std::string* CodecProto::mutable_codec() {
1255  set_has_codec();
1256  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CodecProto.codec)
1257  return codec_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1258 }
1259 inline ::std::string* CodecProto::release_codec() {
1260  // @@protoc_insertion_point(field_release:hadoop.hdfs.CodecProto.codec)
1261  clear_has_codec();
1262  return codec_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1263 }
1264 inline void CodecProto::set_allocated_codec(::std::string* codec) {
1265  if (codec != NULL) {
1266  set_has_codec();
1267  } else {
1268  clear_has_codec();
1269  }
1270  codec_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), codec);
1271  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CodecProto.codec)
1272 }
1273 
1274 // required string coders = 2;
1275 inline bool CodecProto::has_coders() const {
1276  return (_has_bits_[0] & 0x00000002u) != 0;
1277 }
1278 inline void CodecProto::set_has_coders() {
1279  _has_bits_[0] |= 0x00000002u;
1280 }
1281 inline void CodecProto::clear_has_coders() {
1282  _has_bits_[0] &= ~0x00000002u;
1283 }
1284 inline void CodecProto::clear_coders() {
1285  coders_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1286  clear_has_coders();
1287 }
1288 inline const ::std::string& CodecProto::coders() const {
1289  // @@protoc_insertion_point(field_get:hadoop.hdfs.CodecProto.coders)
1290  return coders_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1291 }
1292 inline void CodecProto::set_coders(const ::std::string& value) {
1293  set_has_coders();
1294  coders_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1295  // @@protoc_insertion_point(field_set:hadoop.hdfs.CodecProto.coders)
1296 }
1297 inline void CodecProto::set_coders(const char* value) {
1298  set_has_coders();
1299  coders_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1300  // @@protoc_insertion_point(field_set_char:hadoop.hdfs.CodecProto.coders)
1301 }
1302 inline void CodecProto::set_coders(const char* value, size_t size) {
1303  set_has_coders();
1304  coders_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1305  ::std::string(reinterpret_cast<const char*>(value), size));
1306  // @@protoc_insertion_point(field_set_pointer:hadoop.hdfs.CodecProto.coders)
1307 }
1308 inline ::std::string* CodecProto::mutable_coders() {
1309  set_has_coders();
1310  // @@protoc_insertion_point(field_mutable:hadoop.hdfs.CodecProto.coders)
1311  return coders_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1312 }
1313 inline ::std::string* CodecProto::release_coders() {
1314  // @@protoc_insertion_point(field_release:hadoop.hdfs.CodecProto.coders)
1315  clear_has_coders();
1316  return coders_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1317 }
1318 inline void CodecProto::set_allocated_coders(::std::string* coders) {
1319  if (coders != NULL) {
1320  set_has_coders();
1321  } else {
1322  clear_has_coders();
1323  }
1324  coders_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), coders);
1325  // @@protoc_insertion_point(field_set_allocated:hadoop.hdfs.CodecProto.coders)
1326 }
1327 
1328 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS
1329 // -------------------------------------------------------------------
1330 
1331 // -------------------------------------------------------------------
1332 
1333 // -------------------------------------------------------------------
1334 
1335 // -------------------------------------------------------------------
1336 
1337 // -------------------------------------------------------------------
1338 
1339 // -------------------------------------------------------------------
1340 
1341 // -------------------------------------------------------------------
1342 
1343 // -------------------------------------------------------------------
1344 
1345 
1346 // @@protoc_insertion_point(namespace_scope)
1347 
1348 } // namespace hdfs
1349 } // namespace hadoop
1350 
1351 // @@protoc_insertion_point(global_scope)
1352 
1353 #endif // PROTOBUF_erasurecoding_2eproto__INCLUDED
Definition: erasurecoding.pb.h:800
Definition: erasurecoding.pb.h:53
Definition: erasurecoding.pb.h:607
Definition: erasurecoding.pb.h:249
Definition: erasurecoding.pb.h:332
Definition: erasurecoding.pb.h:511
Definition: erasurecoding.pb.h:705
Definition: erasurecoding.pb.h:428
Definition: hdfs.pb.h:3719
Definition: erasurecoding.pb.h:166