View Javadoc

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