View Javadoc

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