View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: ColumnSchemaMessage.proto
3   
4   package org.apache.hadoop.hbase.rest.protobuf.generated;
5   
6   public final class ColumnSchemaMessage {
7     private ColumnSchemaMessage() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public interface ColumnSchemaOrBuilder
12        extends com.google.protobuf.MessageOrBuilder {
13      
14      // optional string name = 1;
15      boolean hasName();
16      String getName();
17      
18      // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema.Attribute attrs = 2;
19      java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> 
20          getAttrsList();
21      org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute getAttrs(int index);
22      int getAttrsCount();
23      java.util.List<? extends org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder> 
24          getAttrsOrBuilderList();
25      org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder getAttrsOrBuilder(
26          int index);
27      
28      // optional int32 ttl = 3;
29      boolean hasTtl();
30      int getTtl();
31      
32      // optional int32 maxVersions = 4;
33      boolean hasMaxVersions();
34      int getMaxVersions();
35      
36      // optional string compression = 5;
37      boolean hasCompression();
38      String getCompression();
39    }
40    public static final class ColumnSchema extends
41        com.google.protobuf.GeneratedMessage
42        implements ColumnSchemaOrBuilder {
43      // Use ColumnSchema.newBuilder() to construct.
44      private ColumnSchema(Builder builder) {
45        super(builder);
46      }
47      private ColumnSchema(boolean noInit) {}
48      
49      private static final ColumnSchema defaultInstance;
50      public static ColumnSchema getDefaultInstance() {
51        return defaultInstance;
52      }
53      
54      public ColumnSchema getDefaultInstanceForType() {
55        return defaultInstance;
56      }
57      
58      public static final com.google.protobuf.Descriptors.Descriptor
59          getDescriptor() {
60        return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor;
61      }
62      
63      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
64          internalGetFieldAccessorTable() {
65        return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_fieldAccessorTable;
66      }
67      
68      public interface AttributeOrBuilder
69          extends com.google.protobuf.MessageOrBuilder {
70        
71        // required string name = 1;
72        boolean hasName();
73        String getName();
74        
75        // required string value = 2;
76        boolean hasValue();
77        String getValue();
78      }
79      public static final class Attribute extends
80          com.google.protobuf.GeneratedMessage
81          implements AttributeOrBuilder {
82        // Use Attribute.newBuilder() to construct.
83        private Attribute(Builder builder) {
84          super(builder);
85        }
86        private Attribute(boolean noInit) {}
87        
88        private static final Attribute defaultInstance;
89        public static Attribute getDefaultInstance() {
90          return defaultInstance;
91        }
92        
93        public Attribute getDefaultInstanceForType() {
94          return defaultInstance;
95        }
96        
97        public static final com.google.protobuf.Descriptors.Descriptor
98            getDescriptor() {
99          return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_descriptor;
100       }
101       
102       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
103           internalGetFieldAccessorTable() {
104         return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_fieldAccessorTable;
105       }
106       
107       private int bitField0_;
108       // required string name = 1;
109       public static final int NAME_FIELD_NUMBER = 1;
110       private java.lang.Object name_;
111       public boolean hasName() {
112         return ((bitField0_ & 0x00000001) == 0x00000001);
113       }
114       public String getName() {
115         java.lang.Object ref = name_;
116         if (ref instanceof String) {
117           return (String) ref;
118         } else {
119           com.google.protobuf.ByteString bs = 
120               (com.google.protobuf.ByteString) ref;
121           String s = bs.toStringUtf8();
122           if (com.google.protobuf.Internal.isValidUtf8(bs)) {
123             name_ = s;
124           }
125           return s;
126         }
127       }
128       private com.google.protobuf.ByteString getNameBytes() {
129         java.lang.Object ref = name_;
130         if (ref instanceof String) {
131           com.google.protobuf.ByteString b = 
132               com.google.protobuf.ByteString.copyFromUtf8((String) ref);
133           name_ = b;
134           return b;
135         } else {
136           return (com.google.protobuf.ByteString) ref;
137         }
138       }
139       
140       // required string value = 2;
141       public static final int VALUE_FIELD_NUMBER = 2;
142       private java.lang.Object value_;
143       public boolean hasValue() {
144         return ((bitField0_ & 0x00000002) == 0x00000002);
145       }
146       public String getValue() {
147         java.lang.Object ref = value_;
148         if (ref instanceof String) {
149           return (String) ref;
150         } else {
151           com.google.protobuf.ByteString bs = 
152               (com.google.protobuf.ByteString) ref;
153           String s = bs.toStringUtf8();
154           if (com.google.protobuf.Internal.isValidUtf8(bs)) {
155             value_ = s;
156           }
157           return s;
158         }
159       }
160       private com.google.protobuf.ByteString getValueBytes() {
161         java.lang.Object ref = value_;
162         if (ref instanceof String) {
163           com.google.protobuf.ByteString b = 
164               com.google.protobuf.ByteString.copyFromUtf8((String) ref);
165           value_ = b;
166           return b;
167         } else {
168           return (com.google.protobuf.ByteString) ref;
169         }
170       }
171       
172       private void initFields() {
173         name_ = "";
174         value_ = "";
175       }
176       private byte memoizedIsInitialized = -1;
177       public final boolean isInitialized() {
178         byte isInitialized = memoizedIsInitialized;
179         if (isInitialized != -1) return isInitialized == 1;
180         
181         if (!hasName()) {
182           memoizedIsInitialized = 0;
183           return false;
184         }
185         if (!hasValue()) {
186           memoizedIsInitialized = 0;
187           return false;
188         }
189         memoizedIsInitialized = 1;
190         return true;
191       }
192       
193       public void writeTo(com.google.protobuf.CodedOutputStream output)
194                           throws java.io.IOException {
195         getSerializedSize();
196         if (((bitField0_ & 0x00000001) == 0x00000001)) {
197           output.writeBytes(1, getNameBytes());
198         }
199         if (((bitField0_ & 0x00000002) == 0x00000002)) {
200           output.writeBytes(2, getValueBytes());
201         }
202         getUnknownFields().writeTo(output);
203       }
204       
205       private int memoizedSerializedSize = -1;
206       public int getSerializedSize() {
207         int size = memoizedSerializedSize;
208         if (size != -1) return size;
209       
210         size = 0;
211         if (((bitField0_ & 0x00000001) == 0x00000001)) {
212           size += com.google.protobuf.CodedOutputStream
213             .computeBytesSize(1, getNameBytes());
214         }
215         if (((bitField0_ & 0x00000002) == 0x00000002)) {
216           size += com.google.protobuf.CodedOutputStream
217             .computeBytesSize(2, getValueBytes());
218         }
219         size += getUnknownFields().getSerializedSize();
220         memoizedSerializedSize = size;
221         return size;
222       }
223       
224       private static final long serialVersionUID = 0L;
225       @java.lang.Override
226       protected java.lang.Object writeReplace()
227           throws java.io.ObjectStreamException {
228         return super.writeReplace();
229       }
230       
231       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
232           com.google.protobuf.ByteString data)
233           throws com.google.protobuf.InvalidProtocolBufferException {
234         return newBuilder().mergeFrom(data).buildParsed();
235       }
236       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
237           com.google.protobuf.ByteString data,
238           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
239           throws com.google.protobuf.InvalidProtocolBufferException {
240         return newBuilder().mergeFrom(data, extensionRegistry)
241                  .buildParsed();
242       }
243       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(byte[] data)
244           throws com.google.protobuf.InvalidProtocolBufferException {
245         return newBuilder().mergeFrom(data).buildParsed();
246       }
247       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
248           byte[] data,
249           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
250           throws com.google.protobuf.InvalidProtocolBufferException {
251         return newBuilder().mergeFrom(data, extensionRegistry)
252                  .buildParsed();
253       }
254       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(java.io.InputStream input)
255           throws java.io.IOException {
256         return newBuilder().mergeFrom(input).buildParsed();
257       }
258       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
259           java.io.InputStream input,
260           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
261           throws java.io.IOException {
262         return newBuilder().mergeFrom(input, extensionRegistry)
263                  .buildParsed();
264       }
265       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseDelimitedFrom(java.io.InputStream input)
266           throws java.io.IOException {
267         Builder builder = newBuilder();
268         if (builder.mergeDelimitedFrom(input)) {
269           return builder.buildParsed();
270         } else {
271           return null;
272         }
273       }
274       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseDelimitedFrom(
275           java.io.InputStream input,
276           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
277           throws java.io.IOException {
278         Builder builder = newBuilder();
279         if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
280           return builder.buildParsed();
281         } else {
282           return null;
283         }
284       }
285       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
286           com.google.protobuf.CodedInputStream input)
287           throws java.io.IOException {
288         return newBuilder().mergeFrom(input).buildParsed();
289       }
290       public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute parseFrom(
291           com.google.protobuf.CodedInputStream input,
292           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
293           throws java.io.IOException {
294         return newBuilder().mergeFrom(input, extensionRegistry)
295                  .buildParsed();
296       }
297       
298       public static Builder newBuilder() { return Builder.create(); }
299       public Builder newBuilderForType() { return newBuilder(); }
300       public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute prototype) {
301         return newBuilder().mergeFrom(prototype);
302       }
303       public Builder toBuilder() { return newBuilder(this); }
304       
305       @java.lang.Override
306       protected Builder newBuilderForType(
307           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
308         Builder builder = new Builder(parent);
309         return builder;
310       }
311       public static final class Builder extends
312           com.google.protobuf.GeneratedMessage.Builder<Builder>
313          implements org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder {
314         public static final com.google.protobuf.Descriptors.Descriptor
315             getDescriptor() {
316           return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_descriptor;
317         }
318         
319         protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
320             internalGetFieldAccessorTable() {
321           return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_fieldAccessorTable;
322         }
323         
324         // Construct using org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.newBuilder()
325         private Builder() {
326           maybeForceBuilderInitialization();
327         }
328         
329         private Builder(BuilderParent parent) {
330           super(parent);
331           maybeForceBuilderInitialization();
332         }
333         private void maybeForceBuilderInitialization() {
334           if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
335           }
336         }
337         private static Builder create() {
338           return new Builder();
339         }
340         
341         public Builder clear() {
342           super.clear();
343           name_ = "";
344           bitField0_ = (bitField0_ & ~0x00000001);
345           value_ = "";
346           bitField0_ = (bitField0_ & ~0x00000002);
347           return this;
348         }
349         
350         public Builder clone() {
351           return create().mergeFrom(buildPartial());
352         }
353         
354         public com.google.protobuf.Descriptors.Descriptor
355             getDescriptorForType() {
356           return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.getDescriptor();
357         }
358         
359         public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute getDefaultInstanceForType() {
360           return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.getDefaultInstance();
361         }
362         
363         public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute build() {
364           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute result = buildPartial();
365           if (!result.isInitialized()) {
366             throw newUninitializedMessageException(result);
367           }
368           return result;
369         }
370         
371         private org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute buildParsed()
372             throws com.google.protobuf.InvalidProtocolBufferException {
373           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute result = buildPartial();
374           if (!result.isInitialized()) {
375             throw newUninitializedMessageException(
376               result).asInvalidProtocolBufferException();
377           }
378           return result;
379         }
380         
381         public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute buildPartial() {
382           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute result = new org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute(this);
383           int from_bitField0_ = bitField0_;
384           int to_bitField0_ = 0;
385           if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
386             to_bitField0_ |= 0x00000001;
387           }
388           result.name_ = name_;
389           if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
390             to_bitField0_ |= 0x00000002;
391           }
392           result.value_ = value_;
393           result.bitField0_ = to_bitField0_;
394           onBuilt();
395           return result;
396         }
397         
398         public Builder mergeFrom(com.google.protobuf.Message other) {
399           if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute) {
400             return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute)other);
401           } else {
402             super.mergeFrom(other);
403             return this;
404           }
405         }
406         
407         public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute other) {
408           if (other == org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.getDefaultInstance()) return this;
409           if (other.hasName()) {
410             setName(other.getName());
411           }
412           if (other.hasValue()) {
413             setValue(other.getValue());
414           }
415           this.mergeUnknownFields(other.getUnknownFields());
416           return this;
417         }
418         
419         public final boolean isInitialized() {
420           if (!hasName()) {
421             
422             return false;
423           }
424           if (!hasValue()) {
425             
426             return false;
427           }
428           return true;
429         }
430         
431         public Builder mergeFrom(
432             com.google.protobuf.CodedInputStream input,
433             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
434             throws java.io.IOException {
435           com.google.protobuf.UnknownFieldSet.Builder unknownFields =
436             com.google.protobuf.UnknownFieldSet.newBuilder(
437               this.getUnknownFields());
438           while (true) {
439             int tag = input.readTag();
440             switch (tag) {
441               case 0:
442                 this.setUnknownFields(unknownFields.build());
443                 onChanged();
444                 return this;
445               default: {
446                 if (!parseUnknownField(input, unknownFields,
447                                        extensionRegistry, tag)) {
448                   this.setUnknownFields(unknownFields.build());
449                   onChanged();
450                   return this;
451                 }
452                 break;
453               }
454               case 10: {
455                 bitField0_ |= 0x00000001;
456                 name_ = input.readBytes();
457                 break;
458               }
459               case 18: {
460                 bitField0_ |= 0x00000002;
461                 value_ = input.readBytes();
462                 break;
463               }
464             }
465           }
466         }
467         
468         private int bitField0_;
469         
470         // required string name = 1;
471         private java.lang.Object name_ = "";
472         public boolean hasName() {
473           return ((bitField0_ & 0x00000001) == 0x00000001);
474         }
475         public String getName() {
476           java.lang.Object ref = name_;
477           if (!(ref instanceof String)) {
478             String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
479             name_ = s;
480             return s;
481           } else {
482             return (String) ref;
483           }
484         }
485         public Builder setName(String value) {
486           if (value == null) {
487     throw new NullPointerException();
488   }
489   bitField0_ |= 0x00000001;
490           name_ = value;
491           onChanged();
492           return this;
493         }
494         public Builder clearName() {
495           bitField0_ = (bitField0_ & ~0x00000001);
496           name_ = getDefaultInstance().getName();
497           onChanged();
498           return this;
499         }
500         void setName(com.google.protobuf.ByteString value) {
501           bitField0_ |= 0x00000001;
502           name_ = value;
503           onChanged();
504         }
505         
506         // required string value = 2;
507         private java.lang.Object value_ = "";
508         public boolean hasValue() {
509           return ((bitField0_ & 0x00000002) == 0x00000002);
510         }
511         public String getValue() {
512           java.lang.Object ref = value_;
513           if (!(ref instanceof String)) {
514             String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
515             value_ = s;
516             return s;
517           } else {
518             return (String) ref;
519           }
520         }
521         public Builder setValue(String value) {
522           if (value == null) {
523     throw new NullPointerException();
524   }
525   bitField0_ |= 0x00000002;
526           value_ = value;
527           onChanged();
528           return this;
529         }
530         public Builder clearValue() {
531           bitField0_ = (bitField0_ & ~0x00000002);
532           value_ = getDefaultInstance().getValue();
533           onChanged();
534           return this;
535         }
536         void setValue(com.google.protobuf.ByteString value) {
537           bitField0_ |= 0x00000002;
538           value_ = value;
539           onChanged();
540         }
541         
542         // @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema.Attribute)
543       }
544       
545       static {
546         defaultInstance = new Attribute(true);
547         defaultInstance.initFields();
548       }
549       
550       // @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema.Attribute)
551     }
552     
553     private int bitField0_;
554     // optional string name = 1;
555     public static final int NAME_FIELD_NUMBER = 1;
556     private java.lang.Object name_;
557     public boolean hasName() {
558       return ((bitField0_ & 0x00000001) == 0x00000001);
559     }
560     public String getName() {
561       java.lang.Object ref = name_;
562       if (ref instanceof String) {
563         return (String) ref;
564       } else {
565         com.google.protobuf.ByteString bs = 
566             (com.google.protobuf.ByteString) ref;
567         String s = bs.toStringUtf8();
568         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
569           name_ = s;
570         }
571         return s;
572       }
573     }
574     private com.google.protobuf.ByteString getNameBytes() {
575       java.lang.Object ref = name_;
576       if (ref instanceof String) {
577         com.google.protobuf.ByteString b = 
578             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
579         name_ = b;
580         return b;
581       } else {
582         return (com.google.protobuf.ByteString) ref;
583       }
584     }
585     
586     // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema.Attribute attrs = 2;
587     public static final int ATTRS_FIELD_NUMBER = 2;
588     private java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> attrs_;
589     public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> getAttrsList() {
590       return attrs_;
591     }
592     public java.util.List<? extends org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder> 
593         getAttrsOrBuilderList() {
594       return attrs_;
595     }
596     public int getAttrsCount() {
597       return attrs_.size();
598     }
599     public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute getAttrs(int index) {
600       return attrs_.get(index);
601     }
602     public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder getAttrsOrBuilder(
603         int index) {
604       return attrs_.get(index);
605     }
606     
607     // optional int32 ttl = 3;
608     public static final int TTL_FIELD_NUMBER = 3;
609     private int ttl_;
610     public boolean hasTtl() {
611       return ((bitField0_ & 0x00000002) == 0x00000002);
612     }
613     public int getTtl() {
614       return ttl_;
615     }
616     
617     // optional int32 maxVersions = 4;
618     public static final int MAXVERSIONS_FIELD_NUMBER = 4;
619     private int maxVersions_;
620     public boolean hasMaxVersions() {
621       return ((bitField0_ & 0x00000004) == 0x00000004);
622     }
623     public int getMaxVersions() {
624       return maxVersions_;
625     }
626     
627     // optional string compression = 5;
628     public static final int COMPRESSION_FIELD_NUMBER = 5;
629     private java.lang.Object compression_;
630     public boolean hasCompression() {
631       return ((bitField0_ & 0x00000008) == 0x00000008);
632     }
633     public String getCompression() {
634       java.lang.Object ref = compression_;
635       if (ref instanceof String) {
636         return (String) ref;
637       } else {
638         com.google.protobuf.ByteString bs = 
639             (com.google.protobuf.ByteString) ref;
640         String s = bs.toStringUtf8();
641         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
642           compression_ = s;
643         }
644         return s;
645       }
646     }
647     private com.google.protobuf.ByteString getCompressionBytes() {
648       java.lang.Object ref = compression_;
649       if (ref instanceof String) {
650         com.google.protobuf.ByteString b = 
651             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
652         compression_ = b;
653         return b;
654       } else {
655         return (com.google.protobuf.ByteString) ref;
656       }
657     }
658     
659     private void initFields() {
660       name_ = "";
661       attrs_ = java.util.Collections.emptyList();
662       ttl_ = 0;
663       maxVersions_ = 0;
664       compression_ = "";
665     }
666     private byte memoizedIsInitialized = -1;
667     public final boolean isInitialized() {
668       byte isInitialized = memoizedIsInitialized;
669       if (isInitialized != -1) return isInitialized == 1;
670       
671       for (int i = 0; i < getAttrsCount(); i++) {
672         if (!getAttrs(i).isInitialized()) {
673           memoizedIsInitialized = 0;
674           return false;
675         }
676       }
677       memoizedIsInitialized = 1;
678       return true;
679     }
680     
681     public void writeTo(com.google.protobuf.CodedOutputStream output)
682                         throws java.io.IOException {
683       getSerializedSize();
684       if (((bitField0_ & 0x00000001) == 0x00000001)) {
685         output.writeBytes(1, getNameBytes());
686       }
687       for (int i = 0; i < attrs_.size(); i++) {
688         output.writeMessage(2, attrs_.get(i));
689       }
690       if (((bitField0_ & 0x00000002) == 0x00000002)) {
691         output.writeInt32(3, ttl_);
692       }
693       if (((bitField0_ & 0x00000004) == 0x00000004)) {
694         output.writeInt32(4, maxVersions_);
695       }
696       if (((bitField0_ & 0x00000008) == 0x00000008)) {
697         output.writeBytes(5, getCompressionBytes());
698       }
699       getUnknownFields().writeTo(output);
700     }
701     
702     private int memoizedSerializedSize = -1;
703     public int getSerializedSize() {
704       int size = memoizedSerializedSize;
705       if (size != -1) return size;
706     
707       size = 0;
708       if (((bitField0_ & 0x00000001) == 0x00000001)) {
709         size += com.google.protobuf.CodedOutputStream
710           .computeBytesSize(1, getNameBytes());
711       }
712       for (int i = 0; i < attrs_.size(); i++) {
713         size += com.google.protobuf.CodedOutputStream
714           .computeMessageSize(2, attrs_.get(i));
715       }
716       if (((bitField0_ & 0x00000002) == 0x00000002)) {
717         size += com.google.protobuf.CodedOutputStream
718           .computeInt32Size(3, ttl_);
719       }
720       if (((bitField0_ & 0x00000004) == 0x00000004)) {
721         size += com.google.protobuf.CodedOutputStream
722           .computeInt32Size(4, maxVersions_);
723       }
724       if (((bitField0_ & 0x00000008) == 0x00000008)) {
725         size += com.google.protobuf.CodedOutputStream
726           .computeBytesSize(5, getCompressionBytes());
727       }
728       size += getUnknownFields().getSerializedSize();
729       memoizedSerializedSize = size;
730       return size;
731     }
732     
733     private static final long serialVersionUID = 0L;
734     @java.lang.Override
735     protected java.lang.Object writeReplace()
736         throws java.io.ObjectStreamException {
737       return super.writeReplace();
738     }
739     
740     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
741         com.google.protobuf.ByteString data)
742         throws com.google.protobuf.InvalidProtocolBufferException {
743       return newBuilder().mergeFrom(data).buildParsed();
744     }
745     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
746         com.google.protobuf.ByteString data,
747         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
748         throws com.google.protobuf.InvalidProtocolBufferException {
749       return newBuilder().mergeFrom(data, extensionRegistry)
750                .buildParsed();
751     }
752     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(byte[] data)
753         throws com.google.protobuf.InvalidProtocolBufferException {
754       return newBuilder().mergeFrom(data).buildParsed();
755     }
756     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
757         byte[] data,
758         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
759         throws com.google.protobuf.InvalidProtocolBufferException {
760       return newBuilder().mergeFrom(data, extensionRegistry)
761                .buildParsed();
762     }
763     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(java.io.InputStream input)
764         throws java.io.IOException {
765       return newBuilder().mergeFrom(input).buildParsed();
766     }
767     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
768         java.io.InputStream input,
769         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
770         throws java.io.IOException {
771       return newBuilder().mergeFrom(input, extensionRegistry)
772                .buildParsed();
773     }
774     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseDelimitedFrom(java.io.InputStream input)
775         throws java.io.IOException {
776       Builder builder = newBuilder();
777       if (builder.mergeDelimitedFrom(input)) {
778         return builder.buildParsed();
779       } else {
780         return null;
781       }
782     }
783     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseDelimitedFrom(
784         java.io.InputStream input,
785         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
786         throws java.io.IOException {
787       Builder builder = newBuilder();
788       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
789         return builder.buildParsed();
790       } else {
791         return null;
792       }
793     }
794     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
795         com.google.protobuf.CodedInputStream input)
796         throws java.io.IOException {
797       return newBuilder().mergeFrom(input).buildParsed();
798     }
799     public static org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema parseFrom(
800         com.google.protobuf.CodedInputStream input,
801         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
802         throws java.io.IOException {
803       return newBuilder().mergeFrom(input, extensionRegistry)
804                .buildParsed();
805     }
806     
807     public static Builder newBuilder() { return Builder.create(); }
808     public Builder newBuilderForType() { return newBuilder(); }
809     public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema prototype) {
810       return newBuilder().mergeFrom(prototype);
811     }
812     public Builder toBuilder() { return newBuilder(this); }
813     
814     @java.lang.Override
815     protected Builder newBuilderForType(
816         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
817       Builder builder = new Builder(parent);
818       return builder;
819     }
820     public static final class Builder extends
821         com.google.protobuf.GeneratedMessage.Builder<Builder>
822        implements org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchemaOrBuilder {
823       public static final com.google.protobuf.Descriptors.Descriptor
824           getDescriptor() {
825         return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor;
826       }
827       
828       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
829           internalGetFieldAccessorTable() {
830         return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_fieldAccessorTable;
831       }
832       
833       // Construct using org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.newBuilder()
834       private Builder() {
835         maybeForceBuilderInitialization();
836       }
837       
838       private Builder(BuilderParent parent) {
839         super(parent);
840         maybeForceBuilderInitialization();
841       }
842       private void maybeForceBuilderInitialization() {
843         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
844           getAttrsFieldBuilder();
845         }
846       }
847       private static Builder create() {
848         return new Builder();
849       }
850       
851       public Builder clear() {
852         super.clear();
853         name_ = "";
854         bitField0_ = (bitField0_ & ~0x00000001);
855         if (attrsBuilder_ == null) {
856           attrs_ = java.util.Collections.emptyList();
857           bitField0_ = (bitField0_ & ~0x00000002);
858         } else {
859           attrsBuilder_.clear();
860         }
861         ttl_ = 0;
862         bitField0_ = (bitField0_ & ~0x00000004);
863         maxVersions_ = 0;
864         bitField0_ = (bitField0_ & ~0x00000008);
865         compression_ = "";
866         bitField0_ = (bitField0_ & ~0x00000010);
867         return this;
868       }
869       
870       public Builder clone() {
871         return create().mergeFrom(buildPartial());
872       }
873       
874       public com.google.protobuf.Descriptors.Descriptor
875           getDescriptorForType() {
876         return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.getDescriptor();
877       }
878       
879       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema getDefaultInstanceForType() {
880         return org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.getDefaultInstance();
881       }
882       
883       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema build() {
884         org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema result = buildPartial();
885         if (!result.isInitialized()) {
886           throw newUninitializedMessageException(result);
887         }
888         return result;
889       }
890       
891       private org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema buildParsed()
892           throws com.google.protobuf.InvalidProtocolBufferException {
893         org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema result = buildPartial();
894         if (!result.isInitialized()) {
895           throw newUninitializedMessageException(
896             result).asInvalidProtocolBufferException();
897         }
898         return result;
899       }
900       
901       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema buildPartial() {
902         org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema result = new org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema(this);
903         int from_bitField0_ = bitField0_;
904         int to_bitField0_ = 0;
905         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
906           to_bitField0_ |= 0x00000001;
907         }
908         result.name_ = name_;
909         if (attrsBuilder_ == null) {
910           if (((bitField0_ & 0x00000002) == 0x00000002)) {
911             attrs_ = java.util.Collections.unmodifiableList(attrs_);
912             bitField0_ = (bitField0_ & ~0x00000002);
913           }
914           result.attrs_ = attrs_;
915         } else {
916           result.attrs_ = attrsBuilder_.build();
917         }
918         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
919           to_bitField0_ |= 0x00000002;
920         }
921         result.ttl_ = ttl_;
922         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
923           to_bitField0_ |= 0x00000004;
924         }
925         result.maxVersions_ = maxVersions_;
926         if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
927           to_bitField0_ |= 0x00000008;
928         }
929         result.compression_ = compression_;
930         result.bitField0_ = to_bitField0_;
931         onBuilt();
932         return result;
933       }
934       
935       public Builder mergeFrom(com.google.protobuf.Message other) {
936         if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema) {
937           return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema)other);
938         } else {
939           super.mergeFrom(other);
940           return this;
941         }
942       }
943       
944       public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema other) {
945         if (other == org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.getDefaultInstance()) return this;
946         if (other.hasName()) {
947           setName(other.getName());
948         }
949         if (attrsBuilder_ == null) {
950           if (!other.attrs_.isEmpty()) {
951             if (attrs_.isEmpty()) {
952               attrs_ = other.attrs_;
953               bitField0_ = (bitField0_ & ~0x00000002);
954             } else {
955               ensureAttrsIsMutable();
956               attrs_.addAll(other.attrs_);
957             }
958             onChanged();
959           }
960         } else {
961           if (!other.attrs_.isEmpty()) {
962             if (attrsBuilder_.isEmpty()) {
963               attrsBuilder_.dispose();
964               attrsBuilder_ = null;
965               attrs_ = other.attrs_;
966               bitField0_ = (bitField0_ & ~0x00000002);
967               attrsBuilder_ = 
968                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
969                    getAttrsFieldBuilder() : null;
970             } else {
971               attrsBuilder_.addAllMessages(other.attrs_);
972             }
973           }
974         }
975         if (other.hasTtl()) {
976           setTtl(other.getTtl());
977         }
978         if (other.hasMaxVersions()) {
979           setMaxVersions(other.getMaxVersions());
980         }
981         if (other.hasCompression()) {
982           setCompression(other.getCompression());
983         }
984         this.mergeUnknownFields(other.getUnknownFields());
985         return this;
986       }
987       
988       public final boolean isInitialized() {
989         for (int i = 0; i < getAttrsCount(); i++) {
990           if (!getAttrs(i).isInitialized()) {
991             
992             return false;
993           }
994         }
995         return true;
996       }
997       
998       public Builder mergeFrom(
999           com.google.protobuf.CodedInputStream input,
1000           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1001           throws java.io.IOException {
1002         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1003           com.google.protobuf.UnknownFieldSet.newBuilder(
1004             this.getUnknownFields());
1005         while (true) {
1006           int tag = input.readTag();
1007           switch (tag) {
1008             case 0:
1009               this.setUnknownFields(unknownFields.build());
1010               onChanged();
1011               return this;
1012             default: {
1013               if (!parseUnknownField(input, unknownFields,
1014                                      extensionRegistry, tag)) {
1015                 this.setUnknownFields(unknownFields.build());
1016                 onChanged();
1017                 return this;
1018               }
1019               break;
1020             }
1021             case 10: {
1022               bitField0_ |= 0x00000001;
1023               name_ = input.readBytes();
1024               break;
1025             }
1026             case 18: {
1027               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder subBuilder = org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.newBuilder();
1028               input.readMessage(subBuilder, extensionRegistry);
1029               addAttrs(subBuilder.buildPartial());
1030               break;
1031             }
1032             case 24: {
1033               bitField0_ |= 0x00000004;
1034               ttl_ = input.readInt32();
1035               break;
1036             }
1037             case 32: {
1038               bitField0_ |= 0x00000008;
1039               maxVersions_ = input.readInt32();
1040               break;
1041             }
1042             case 42: {
1043               bitField0_ |= 0x00000010;
1044               compression_ = input.readBytes();
1045               break;
1046             }
1047           }
1048         }
1049       }
1050       
1051       private int bitField0_;
1052       
1053       // optional string name = 1;
1054       private java.lang.Object name_ = "";
1055       public boolean hasName() {
1056         return ((bitField0_ & 0x00000001) == 0x00000001);
1057       }
1058       public String getName() {
1059         java.lang.Object ref = name_;
1060         if (!(ref instanceof String)) {
1061           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1062           name_ = s;
1063           return s;
1064         } else {
1065           return (String) ref;
1066         }
1067       }
1068       public Builder setName(String value) {
1069         if (value == null) {
1070     throw new NullPointerException();
1071   }
1072   bitField0_ |= 0x00000001;
1073         name_ = value;
1074         onChanged();
1075         return this;
1076       }
1077       public Builder clearName() {
1078         bitField0_ = (bitField0_ & ~0x00000001);
1079         name_ = getDefaultInstance().getName();
1080         onChanged();
1081         return this;
1082       }
1083       void setName(com.google.protobuf.ByteString value) {
1084         bitField0_ |= 0x00000001;
1085         name_ = value;
1086         onChanged();
1087       }
1088       
1089       // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema.Attribute attrs = 2;
1090       private java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> attrs_ =
1091         java.util.Collections.emptyList();
1092       private void ensureAttrsIsMutable() {
1093         if (!((bitField0_ & 0x00000002) == 0x00000002)) {
1094           attrs_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute>(attrs_);
1095           bitField0_ |= 0x00000002;
1096          }
1097       }
1098       
1099       private com.google.protobuf.RepeatedFieldBuilder<
1100           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder> attrsBuilder_;
1101       
1102       public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> getAttrsList() {
1103         if (attrsBuilder_ == null) {
1104           return java.util.Collections.unmodifiableList(attrs_);
1105         } else {
1106           return attrsBuilder_.getMessageList();
1107         }
1108       }
1109       public int getAttrsCount() {
1110         if (attrsBuilder_ == null) {
1111           return attrs_.size();
1112         } else {
1113           return attrsBuilder_.getCount();
1114         }
1115       }
1116       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute getAttrs(int index) {
1117         if (attrsBuilder_ == null) {
1118           return attrs_.get(index);
1119         } else {
1120           return attrsBuilder_.getMessage(index);
1121         }
1122       }
1123       public Builder setAttrs(
1124           int index, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute value) {
1125         if (attrsBuilder_ == null) {
1126           if (value == null) {
1127             throw new NullPointerException();
1128           }
1129           ensureAttrsIsMutable();
1130           attrs_.set(index, value);
1131           onChanged();
1132         } else {
1133           attrsBuilder_.setMessage(index, value);
1134         }
1135         return this;
1136       }
1137       public Builder setAttrs(
1138           int index, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder builderForValue) {
1139         if (attrsBuilder_ == null) {
1140           ensureAttrsIsMutable();
1141           attrs_.set(index, builderForValue.build());
1142           onChanged();
1143         } else {
1144           attrsBuilder_.setMessage(index, builderForValue.build());
1145         }
1146         return this;
1147       }
1148       public Builder addAttrs(org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute value) {
1149         if (attrsBuilder_ == null) {
1150           if (value == null) {
1151             throw new NullPointerException();
1152           }
1153           ensureAttrsIsMutable();
1154           attrs_.add(value);
1155           onChanged();
1156         } else {
1157           attrsBuilder_.addMessage(value);
1158         }
1159         return this;
1160       }
1161       public Builder addAttrs(
1162           int index, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute value) {
1163         if (attrsBuilder_ == null) {
1164           if (value == null) {
1165             throw new NullPointerException();
1166           }
1167           ensureAttrsIsMutable();
1168           attrs_.add(index, value);
1169           onChanged();
1170         } else {
1171           attrsBuilder_.addMessage(index, value);
1172         }
1173         return this;
1174       }
1175       public Builder addAttrs(
1176           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder builderForValue) {
1177         if (attrsBuilder_ == null) {
1178           ensureAttrsIsMutable();
1179           attrs_.add(builderForValue.build());
1180           onChanged();
1181         } else {
1182           attrsBuilder_.addMessage(builderForValue.build());
1183         }
1184         return this;
1185       }
1186       public Builder addAttrs(
1187           int index, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder builderForValue) {
1188         if (attrsBuilder_ == null) {
1189           ensureAttrsIsMutable();
1190           attrs_.add(index, builderForValue.build());
1191           onChanged();
1192         } else {
1193           attrsBuilder_.addMessage(index, builderForValue.build());
1194         }
1195         return this;
1196       }
1197       public Builder addAllAttrs(
1198           java.lang.Iterable<? extends org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute> values) {
1199         if (attrsBuilder_ == null) {
1200           ensureAttrsIsMutable();
1201           super.addAll(values, attrs_);
1202           onChanged();
1203         } else {
1204           attrsBuilder_.addAllMessages(values);
1205         }
1206         return this;
1207       }
1208       public Builder clearAttrs() {
1209         if (attrsBuilder_ == null) {
1210           attrs_ = java.util.Collections.emptyList();
1211           bitField0_ = (bitField0_ & ~0x00000002);
1212           onChanged();
1213         } else {
1214           attrsBuilder_.clear();
1215         }
1216         return this;
1217       }
1218       public Builder removeAttrs(int index) {
1219         if (attrsBuilder_ == null) {
1220           ensureAttrsIsMutable();
1221           attrs_.remove(index);
1222           onChanged();
1223         } else {
1224           attrsBuilder_.remove(index);
1225         }
1226         return this;
1227       }
1228       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder getAttrsBuilder(
1229           int index) {
1230         return getAttrsFieldBuilder().getBuilder(index);
1231       }
1232       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder getAttrsOrBuilder(
1233           int index) {
1234         if (attrsBuilder_ == null) {
1235           return attrs_.get(index);  } else {
1236           return attrsBuilder_.getMessageOrBuilder(index);
1237         }
1238       }
1239       public java.util.List<? extends org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder> 
1240            getAttrsOrBuilderList() {
1241         if (attrsBuilder_ != null) {
1242           return attrsBuilder_.getMessageOrBuilderList();
1243         } else {
1244           return java.util.Collections.unmodifiableList(attrs_);
1245         }
1246       }
1247       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder addAttrsBuilder() {
1248         return getAttrsFieldBuilder().addBuilder(
1249             org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.getDefaultInstance());
1250       }
1251       public org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder addAttrsBuilder(
1252           int index) {
1253         return getAttrsFieldBuilder().addBuilder(
1254             index, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.getDefaultInstance());
1255       }
1256       public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder> 
1257            getAttrsBuilderList() {
1258         return getAttrsFieldBuilder().getBuilderList();
1259       }
1260       private com.google.protobuf.RepeatedFieldBuilder<
1261           org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder> 
1262           getAttrsFieldBuilder() {
1263         if (attrsBuilder_ == null) {
1264           attrsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1265               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder, org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.AttributeOrBuilder>(
1266                   attrs_,
1267                   ((bitField0_ & 0x00000002) == 0x00000002),
1268                   getParentForChildren(),
1269                   isClean());
1270           attrs_ = null;
1271         }
1272         return attrsBuilder_;
1273       }
1274       
1275       // optional int32 ttl = 3;
1276       private int ttl_ ;
1277       public boolean hasTtl() {
1278         return ((bitField0_ & 0x00000004) == 0x00000004);
1279       }
1280       public int getTtl() {
1281         return ttl_;
1282       }
1283       public Builder setTtl(int value) {
1284         bitField0_ |= 0x00000004;
1285         ttl_ = value;
1286         onChanged();
1287         return this;
1288       }
1289       public Builder clearTtl() {
1290         bitField0_ = (bitField0_ & ~0x00000004);
1291         ttl_ = 0;
1292         onChanged();
1293         return this;
1294       }
1295       
1296       // optional int32 maxVersions = 4;
1297       private int maxVersions_ ;
1298       public boolean hasMaxVersions() {
1299         return ((bitField0_ & 0x00000008) == 0x00000008);
1300       }
1301       public int getMaxVersions() {
1302         return maxVersions_;
1303       }
1304       public Builder setMaxVersions(int value) {
1305         bitField0_ |= 0x00000008;
1306         maxVersions_ = value;
1307         onChanged();
1308         return this;
1309       }
1310       public Builder clearMaxVersions() {
1311         bitField0_ = (bitField0_ & ~0x00000008);
1312         maxVersions_ = 0;
1313         onChanged();
1314         return this;
1315       }
1316       
1317       // optional string compression = 5;
1318       private java.lang.Object compression_ = "";
1319       public boolean hasCompression() {
1320         return ((bitField0_ & 0x00000010) == 0x00000010);
1321       }
1322       public String getCompression() {
1323         java.lang.Object ref = compression_;
1324         if (!(ref instanceof String)) {
1325           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1326           compression_ = s;
1327           return s;
1328         } else {
1329           return (String) ref;
1330         }
1331       }
1332       public Builder setCompression(String value) {
1333         if (value == null) {
1334     throw new NullPointerException();
1335   }
1336   bitField0_ |= 0x00000010;
1337         compression_ = value;
1338         onChanged();
1339         return this;
1340       }
1341       public Builder clearCompression() {
1342         bitField0_ = (bitField0_ & ~0x00000010);
1343         compression_ = getDefaultInstance().getCompression();
1344         onChanged();
1345         return this;
1346       }
1347       void setCompression(com.google.protobuf.ByteString value) {
1348         bitField0_ |= 0x00000010;
1349         compression_ = value;
1350         onChanged();
1351       }
1352       
1353       // @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema)
1354     }
1355     
1356     static {
1357       defaultInstance = new ColumnSchema(true);
1358       defaultInstance.initFields();
1359     }
1360     
1361     // @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchema)
1362   }
1363   
1364   private static com.google.protobuf.Descriptors.Descriptor
1365     internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor;
1366   private static
1367     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1368       internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_fieldAccessorTable;
1369   private static com.google.protobuf.Descriptors.Descriptor
1370     internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_descriptor;
1371   private static
1372     com.google.protobuf.GeneratedMessage.FieldAccessorTable
1373       internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_fieldAccessorTable;
1374   
1375   public static com.google.protobuf.Descriptors.FileDescriptor
1376       getDescriptor() {
1377     return descriptor;
1378   }
1379   private static com.google.protobuf.Descriptors.FileDescriptor
1380       descriptor;
1381   static {
1382     java.lang.String[] descriptorData = {
1383       "\n\031ColumnSchemaMessage.proto\022/org.apache." +
1384       "hadoop.hbase.rest.protobuf.generated\"\325\001\n" +
1385       "\014ColumnSchema\022\014\n\004name\030\001 \001(\t\022V\n\005attrs\030\002 \003" +
1386       "(\0132G.org.apache.hadoop.hbase.rest.protob" +
1387       "uf.generated.ColumnSchema.Attribute\022\013\n\003t" +
1388       "tl\030\003 \001(\005\022\023\n\013maxVersions\030\004 \001(\005\022\023\n\013compres" +
1389       "sion\030\005 \001(\t\032(\n\tAttribute\022\014\n\004name\030\001 \002(\t\022\r\n" +
1390       "\005value\030\002 \002(\t"
1391     };
1392     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
1393       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
1394         public com.google.protobuf.ExtensionRegistry assignDescriptors(
1395             com.google.protobuf.Descriptors.FileDescriptor root) {
1396           descriptor = root;
1397           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor =
1398             getDescriptor().getMessageTypes().get(0);
1399           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_fieldAccessorTable = new
1400             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1401               internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor,
1402               new java.lang.String[] { "Name", "Attrs", "Ttl", "MaxVersions", "Compression", },
1403               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.class,
1404               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Builder.class);
1405           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_descriptor =
1406             internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_descriptor.getNestedTypes().get(0);
1407           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_fieldAccessorTable = new
1408             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
1409               internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_ColumnSchema_Attribute_descriptor,
1410               new java.lang.String[] { "Name", "Value", },
1411               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.class,
1412               org.apache.hadoop.hbase.rest.protobuf.generated.ColumnSchemaMessage.ColumnSchema.Attribute.Builder.class);
1413           return null;
1414         }
1415       };
1416     com.google.protobuf.Descriptors.FileDescriptor
1417       .internalBuildGeneratedFileFrom(descriptorData,
1418         new com.google.protobuf.Descriptors.FileDescriptor[] {
1419         }, assigner);
1420   }
1421   
1422   // @@protoc_insertion_point(outer_class_scope)
1423 }