View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: CellSetMessage.proto
3   
4   package org.apache.hadoop.hbase.rest.protobuf.generated;
5   
6   public final class CellSetMessage {
7     private CellSetMessage() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public static final class CellSet extends
12        com.google.protobuf.GeneratedMessage {
13      // Use CellSet.newBuilder() to construct.
14      private CellSet() {
15        initFields();
16      }
17      private CellSet(boolean noInit) {}
18      
19      private static final CellSet defaultInstance;
20      public static CellSet getDefaultInstance() {
21        return defaultInstance;
22      }
23      
24      public CellSet getDefaultInstanceForType() {
25        return defaultInstance;
26      }
27      
28      public static final com.google.protobuf.Descriptors.Descriptor
29          getDescriptor() {
30        return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_descriptor;
31      }
32      
33      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
34          internalGetFieldAccessorTable() {
35        return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_fieldAccessorTable;
36      }
37      
38      public static final class Row extends
39          com.google.protobuf.GeneratedMessage {
40        // Use Row.newBuilder() to construct.
41        private Row() {
42          initFields();
43        }
44        private Row(boolean noInit) {}
45        
46        private static final Row defaultInstance;
47        public static Row getDefaultInstance() {
48          return defaultInstance;
49        }
50        
51        public Row getDefaultInstanceForType() {
52          return defaultInstance;
53        }
54        
55        public static final com.google.protobuf.Descriptors.Descriptor
56            getDescriptor() {
57          return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_descriptor;
58        }
59        
60        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
61            internalGetFieldAccessorTable() {
62          return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_fieldAccessorTable;
63        }
64        
65        // required bytes key = 1;
66        public static final int KEY_FIELD_NUMBER = 1;
67        private boolean hasKey;
68        private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
69        public boolean hasKey() { return hasKey; }
70        public com.google.protobuf.ByteString getKey() { return key_; }
71        
72        // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.Cell values = 2;
73        public static final int VALUES_FIELD_NUMBER = 2;
74        private java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell> values_ =
75          java.util.Collections.emptyList();
76        public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell> getValuesList() {
77          return values_;
78        }
79        public int getValuesCount() { return values_.size(); }
80        public org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell getValues(int index) {
81          return values_.get(index);
82        }
83        
84        private void initFields() {
85        }
86        public final boolean isInitialized() {
87          if (!hasKey) return false;
88          return true;
89        }
90        
91        public void writeTo(com.google.protobuf.CodedOutputStream output)
92                            throws java.io.IOException {
93          getSerializedSize();
94          if (hasKey()) {
95            output.writeBytes(1, getKey());
96          }
97          for (org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell element : getValuesList()) {
98            output.writeMessage(2, element);
99          }
100         getUnknownFields().writeTo(output);
101       }
102       
103       private int memoizedSerializedSize = -1;
104       public int getSerializedSize() {
105         int size = memoizedSerializedSize;
106         if (size != -1) return size;
107       
108         size = 0;
109         if (hasKey()) {
110           size += com.google.protobuf.CodedOutputStream
111             .computeBytesSize(1, getKey());
112         }
113         for (org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell element : getValuesList()) {
114           size += com.google.protobuf.CodedOutputStream
115             .computeMessageSize(2, element);
116         }
117         size += getUnknownFields().getSerializedSize();
118         memoizedSerializedSize = size;
119         return size;
120       }
121       
122       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
123           com.google.protobuf.ByteString data)
124           throws com.google.protobuf.InvalidProtocolBufferException {
125         return newBuilder().mergeFrom(data).buildParsed();
126       }
127       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
128           com.google.protobuf.ByteString data,
129           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
130           throws com.google.protobuf.InvalidProtocolBufferException {
131         return newBuilder().mergeFrom(data, extensionRegistry)
132                  .buildParsed();
133       }
134       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(byte[] data)
135           throws com.google.protobuf.InvalidProtocolBufferException {
136         return newBuilder().mergeFrom(data).buildParsed();
137       }
138       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
139           byte[] data,
140           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
141           throws com.google.protobuf.InvalidProtocolBufferException {
142         return newBuilder().mergeFrom(data, extensionRegistry)
143                  .buildParsed();
144       }
145       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(java.io.InputStream input)
146           throws java.io.IOException {
147         return newBuilder().mergeFrom(input).buildParsed();
148       }
149       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
150           java.io.InputStream input,
151           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
152           throws java.io.IOException {
153         return newBuilder().mergeFrom(input, extensionRegistry)
154                  .buildParsed();
155       }
156       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseDelimitedFrom(java.io.InputStream input)
157           throws java.io.IOException {
158         Builder builder = newBuilder();
159         if (builder.mergeDelimitedFrom(input)) {
160           return builder.buildParsed();
161         } else {
162           return null;
163         }
164       }
165       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseDelimitedFrom(
166           java.io.InputStream input,
167           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
168           throws java.io.IOException {
169         Builder builder = newBuilder();
170         if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
171           return builder.buildParsed();
172         } else {
173           return null;
174         }
175       }
176       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
177           com.google.protobuf.CodedInputStream input)
178           throws java.io.IOException {
179         return newBuilder().mergeFrom(input).buildParsed();
180       }
181       public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row parseFrom(
182           com.google.protobuf.CodedInputStream input,
183           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
184           throws java.io.IOException {
185         return newBuilder().mergeFrom(input, extensionRegistry)
186                  .buildParsed();
187       }
188       
189       public static Builder newBuilder() { return Builder.create(); }
190       public Builder newBuilderForType() { return newBuilder(); }
191       public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row prototype) {
192         return newBuilder().mergeFrom(prototype);
193       }
194       public Builder toBuilder() { return newBuilder(this); }
195       
196       public static final class Builder extends
197           com.google.protobuf.GeneratedMessage.Builder<Builder> {
198         private org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row result;
199         
200         // Construct using org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.newBuilder()
201         private Builder() {}
202         
203         private static Builder create() {
204           Builder builder = new Builder();
205           builder.result = new org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row();
206           return builder;
207         }
208         
209         protected org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row internalGetResult() {
210           return result;
211         }
212         
213         public Builder clear() {
214           if (result == null) {
215             throw new IllegalStateException(
216               "Cannot call clear() after build().");
217           }
218           result = new org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row();
219           return this;
220         }
221         
222         public Builder clone() {
223           return create().mergeFrom(result);
224         }
225         
226         public com.google.protobuf.Descriptors.Descriptor
227             getDescriptorForType() {
228           return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.getDescriptor();
229         }
230         
231         public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row getDefaultInstanceForType() {
232           return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.getDefaultInstance();
233         }
234         
235         public boolean isInitialized() {
236           return result.isInitialized();
237         }
238         public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row build() {
239           if (result != null && !isInitialized()) {
240             throw newUninitializedMessageException(result);
241           }
242           return buildPartial();
243         }
244         
245         private org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row buildParsed()
246             throws com.google.protobuf.InvalidProtocolBufferException {
247           if (!isInitialized()) {
248             throw newUninitializedMessageException(
249               result).asInvalidProtocolBufferException();
250           }
251           return buildPartial();
252         }
253         
254         public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row buildPartial() {
255           if (result == null) {
256             throw new IllegalStateException(
257               "build() has already been called on this Builder.");
258           }
259           if (result.values_ != java.util.Collections.EMPTY_LIST) {
260             result.values_ =
261               java.util.Collections.unmodifiableList(result.values_);
262           }
263           org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row returnMe = result;
264           result = null;
265           return returnMe;
266         }
267         
268         public Builder mergeFrom(com.google.protobuf.Message other) {
269           if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row) {
270             return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row)other);
271           } else {
272             super.mergeFrom(other);
273             return this;
274           }
275         }
276         
277         public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row other) {
278           if (other == org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.getDefaultInstance()) return this;
279           if (other.hasKey()) {
280             setKey(other.getKey());
281           }
282           if (!other.values_.isEmpty()) {
283             if (result.values_.isEmpty()) {
284               result.values_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell>();
285             }
286             result.values_.addAll(other.values_);
287           }
288           this.mergeUnknownFields(other.getUnknownFields());
289           return this;
290         }
291         
292         public Builder mergeFrom(
293             com.google.protobuf.CodedInputStream input,
294             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
295             throws java.io.IOException {
296           com.google.protobuf.UnknownFieldSet.Builder unknownFields =
297             com.google.protobuf.UnknownFieldSet.newBuilder(
298               this.getUnknownFields());
299           while (true) {
300             int tag = input.readTag();
301             switch (tag) {
302               case 0:
303                 this.setUnknownFields(unknownFields.build());
304                 return this;
305               default: {
306                 if (!parseUnknownField(input, unknownFields,
307                                        extensionRegistry, tag)) {
308                   this.setUnknownFields(unknownFields.build());
309                   return this;
310                 }
311                 break;
312               }
313               case 10: {
314                 setKey(input.readBytes());
315                 break;
316               }
317               case 18: {
318                 org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell.Builder subBuilder = org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell.newBuilder();
319                 input.readMessage(subBuilder, extensionRegistry);
320                 addValues(subBuilder.buildPartial());
321                 break;
322               }
323             }
324           }
325         }
326         
327         
328         // required bytes key = 1;
329         public boolean hasKey() {
330           return result.hasKey();
331         }
332         public com.google.protobuf.ByteString getKey() {
333           return result.getKey();
334         }
335         public Builder setKey(com.google.protobuf.ByteString value) {
336           if (value == null) {
337     throw new NullPointerException();
338   }
339   result.hasKey = true;
340           result.key_ = value;
341           return this;
342         }
343         public Builder clearKey() {
344           result.hasKey = false;
345           result.key_ = getDefaultInstance().getKey();
346           return this;
347         }
348         
349         // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.Cell values = 2;
350         public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell> getValuesList() {
351           return java.util.Collections.unmodifiableList(result.values_);
352         }
353         public int getValuesCount() {
354           return result.getValuesCount();
355         }
356         public org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell getValues(int index) {
357           return result.getValues(index);
358         }
359         public Builder setValues(int index, org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell value) {
360           if (value == null) {
361             throw new NullPointerException();
362           }
363           result.values_.set(index, value);
364           return this;
365         }
366         public Builder setValues(int index, org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell.Builder builderForValue) {
367           result.values_.set(index, builderForValue.build());
368           return this;
369         }
370         public Builder addValues(org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell value) {
371           if (value == null) {
372             throw new NullPointerException();
373           }
374           if (result.values_.isEmpty()) {
375             result.values_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell>();
376           }
377           result.values_.add(value);
378           return this;
379         }
380         public Builder addValues(org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell.Builder builderForValue) {
381           if (result.values_.isEmpty()) {
382             result.values_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell>();
383           }
384           result.values_.add(builderForValue.build());
385           return this;
386         }
387         public Builder addAllValues(
388             java.lang.Iterable<? extends org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell> values) {
389           if (result.values_.isEmpty()) {
390             result.values_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.Cell>();
391           }
392           super.addAll(values, result.values_);
393           return this;
394         }
395         public Builder clearValues() {
396           result.values_ = java.util.Collections.emptyList();
397           return this;
398         }
399         
400         // @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.CellSet.Row)
401       }
402       
403       static {
404         defaultInstance = new Row(true);
405         org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internalForceInit();
406         defaultInstance.initFields();
407       }
408       
409       // @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.CellSet.Row)
410     }
411     
412     // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.CellSet.Row rows = 1;
413     public static final int ROWS_FIELD_NUMBER = 1;
414     private java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row> rows_ =
415       java.util.Collections.emptyList();
416     public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row> getRowsList() {
417       return rows_;
418     }
419     public int getRowsCount() { return rows_.size(); }
420     public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row getRows(int index) {
421       return rows_.get(index);
422     }
423     
424     private void initFields() {
425     }
426     public final boolean isInitialized() {
427       for (org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) {
428         if (!element.isInitialized()) return false;
429       }
430       return true;
431     }
432     
433     public void writeTo(com.google.protobuf.CodedOutputStream output)
434                         throws java.io.IOException {
435       getSerializedSize();
436       for (org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) {
437         output.writeMessage(1, element);
438       }
439       getUnknownFields().writeTo(output);
440     }
441     
442     private int memoizedSerializedSize = -1;
443     public int getSerializedSize() {
444       int size = memoizedSerializedSize;
445       if (size != -1) return size;
446     
447       size = 0;
448       for (org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row element : getRowsList()) {
449         size += com.google.protobuf.CodedOutputStream
450           .computeMessageSize(1, element);
451       }
452       size += getUnknownFields().getSerializedSize();
453       memoizedSerializedSize = size;
454       return size;
455     }
456     
457     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
458         com.google.protobuf.ByteString data)
459         throws com.google.protobuf.InvalidProtocolBufferException {
460       return newBuilder().mergeFrom(data).buildParsed();
461     }
462     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
463         com.google.protobuf.ByteString data,
464         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465         throws com.google.protobuf.InvalidProtocolBufferException {
466       return newBuilder().mergeFrom(data, extensionRegistry)
467                .buildParsed();
468     }
469     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(byte[] data)
470         throws com.google.protobuf.InvalidProtocolBufferException {
471       return newBuilder().mergeFrom(data).buildParsed();
472     }
473     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
474         byte[] data,
475         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
476         throws com.google.protobuf.InvalidProtocolBufferException {
477       return newBuilder().mergeFrom(data, extensionRegistry)
478                .buildParsed();
479     }
480     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(java.io.InputStream input)
481         throws java.io.IOException {
482       return newBuilder().mergeFrom(input).buildParsed();
483     }
484     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
485         java.io.InputStream input,
486         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
487         throws java.io.IOException {
488       return newBuilder().mergeFrom(input, extensionRegistry)
489                .buildParsed();
490     }
491     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseDelimitedFrom(java.io.InputStream input)
492         throws java.io.IOException {
493       Builder builder = newBuilder();
494       if (builder.mergeDelimitedFrom(input)) {
495         return builder.buildParsed();
496       } else {
497         return null;
498       }
499     }
500     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseDelimitedFrom(
501         java.io.InputStream input,
502         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
503         throws java.io.IOException {
504       Builder builder = newBuilder();
505       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
506         return builder.buildParsed();
507       } else {
508         return null;
509       }
510     }
511     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
512         com.google.protobuf.CodedInputStream input)
513         throws java.io.IOException {
514       return newBuilder().mergeFrom(input).buildParsed();
515     }
516     public static org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet parseFrom(
517         com.google.protobuf.CodedInputStream input,
518         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
519         throws java.io.IOException {
520       return newBuilder().mergeFrom(input, extensionRegistry)
521                .buildParsed();
522     }
523     
524     public static Builder newBuilder() { return Builder.create(); }
525     public Builder newBuilderForType() { return newBuilder(); }
526     public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet prototype) {
527       return newBuilder().mergeFrom(prototype);
528     }
529     public Builder toBuilder() { return newBuilder(this); }
530     
531     public static final class Builder extends
532         com.google.protobuf.GeneratedMessage.Builder<Builder> {
533       private org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet result;
534       
535       // Construct using org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.newBuilder()
536       private Builder() {}
537       
538       private static Builder create() {
539         Builder builder = new Builder();
540         builder.result = new org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet();
541         return builder;
542       }
543       
544       protected org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet internalGetResult() {
545         return result;
546       }
547       
548       public Builder clear() {
549         if (result == null) {
550           throw new IllegalStateException(
551             "Cannot call clear() after build().");
552         }
553         result = new org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet();
554         return this;
555       }
556       
557       public Builder clone() {
558         return create().mergeFrom(result);
559       }
560       
561       public com.google.protobuf.Descriptors.Descriptor
562           getDescriptorForType() {
563         return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.getDescriptor();
564       }
565       
566       public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet getDefaultInstanceForType() {
567         return org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.getDefaultInstance();
568       }
569       
570       public boolean isInitialized() {
571         return result.isInitialized();
572       }
573       public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet build() {
574         if (result != null && !isInitialized()) {
575           throw newUninitializedMessageException(result);
576         }
577         return buildPartial();
578       }
579       
580       private org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet buildParsed()
581           throws com.google.protobuf.InvalidProtocolBufferException {
582         if (!isInitialized()) {
583           throw newUninitializedMessageException(
584             result).asInvalidProtocolBufferException();
585         }
586         return buildPartial();
587       }
588       
589       public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet buildPartial() {
590         if (result == null) {
591           throw new IllegalStateException(
592             "build() has already been called on this Builder.");
593         }
594         if (result.rows_ != java.util.Collections.EMPTY_LIST) {
595           result.rows_ =
596             java.util.Collections.unmodifiableList(result.rows_);
597         }
598         org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet returnMe = result;
599         result = null;
600         return returnMe;
601       }
602       
603       public Builder mergeFrom(com.google.protobuf.Message other) {
604         if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet) {
605           return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet)other);
606         } else {
607           super.mergeFrom(other);
608           return this;
609         }
610       }
611       
612       public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet other) {
613         if (other == org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.getDefaultInstance()) return this;
614         if (!other.rows_.isEmpty()) {
615           if (result.rows_.isEmpty()) {
616             result.rows_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row>();
617           }
618           result.rows_.addAll(other.rows_);
619         }
620         this.mergeUnknownFields(other.getUnknownFields());
621         return this;
622       }
623       
624       public Builder mergeFrom(
625           com.google.protobuf.CodedInputStream input,
626           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
627           throws java.io.IOException {
628         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
629           com.google.protobuf.UnknownFieldSet.newBuilder(
630             this.getUnknownFields());
631         while (true) {
632           int tag = input.readTag();
633           switch (tag) {
634             case 0:
635               this.setUnknownFields(unknownFields.build());
636               return this;
637             default: {
638               if (!parseUnknownField(input, unknownFields,
639                                      extensionRegistry, tag)) {
640                 this.setUnknownFields(unknownFields.build());
641                 return this;
642               }
643               break;
644             }
645             case 10: {
646               org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.Builder subBuilder = org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.newBuilder();
647               input.readMessage(subBuilder, extensionRegistry);
648               addRows(subBuilder.buildPartial());
649               break;
650             }
651           }
652         }
653       }
654       
655       
656       // repeated .org.apache.hadoop.hbase.rest.protobuf.generated.CellSet.Row rows = 1;
657       public java.util.List<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row> getRowsList() {
658         return java.util.Collections.unmodifiableList(result.rows_);
659       }
660       public int getRowsCount() {
661         return result.getRowsCount();
662       }
663       public org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row getRows(int index) {
664         return result.getRows(index);
665       }
666       public Builder setRows(int index, org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row value) {
667         if (value == null) {
668           throw new NullPointerException();
669         }
670         result.rows_.set(index, value);
671         return this;
672       }
673       public Builder setRows(int index, org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.Builder builderForValue) {
674         result.rows_.set(index, builderForValue.build());
675         return this;
676       }
677       public Builder addRows(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row value) {
678         if (value == null) {
679           throw new NullPointerException();
680         }
681         if (result.rows_.isEmpty()) {
682           result.rows_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row>();
683         }
684         result.rows_.add(value);
685         return this;
686       }
687       public Builder addRows(org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.Builder builderForValue) {
688         if (result.rows_.isEmpty()) {
689           result.rows_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row>();
690         }
691         result.rows_.add(builderForValue.build());
692         return this;
693       }
694       public Builder addAllRows(
695           java.lang.Iterable<? extends org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row> values) {
696         if (result.rows_.isEmpty()) {
697           result.rows_ = new java.util.ArrayList<org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row>();
698         }
699         super.addAll(values, result.rows_);
700         return this;
701       }
702       public Builder clearRows() {
703         result.rows_ = java.util.Collections.emptyList();
704         return this;
705       }
706       
707       // @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.CellSet)
708     }
709     
710     static {
711       defaultInstance = new CellSet(true);
712       org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.internalForceInit();
713       defaultInstance.initFields();
714     }
715     
716     // @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.CellSet)
717   }
718   
719   private static com.google.protobuf.Descriptors.Descriptor
720     internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_descriptor;
721   private static
722     com.google.protobuf.GeneratedMessage.FieldAccessorTable
723       internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_fieldAccessorTable;
724   private static com.google.protobuf.Descriptors.Descriptor
725     internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_descriptor;
726   private static
727     com.google.protobuf.GeneratedMessage.FieldAccessorTable
728       internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_fieldAccessorTable;
729   
730   public static com.google.protobuf.Descriptors.FileDescriptor
731       getDescriptor() {
732     return descriptor;
733   }
734   private static com.google.protobuf.Descriptors.FileDescriptor
735       descriptor;
736   static {
737     java.lang.String[] descriptorData = {
738       "\n\024CellSetMessage.proto\022/org.apache.hadoo" +
739       "p.hbase.rest.protobuf.generated\032\021CellMes" +
740       "sage.proto\"\260\001\n\007CellSet\022J\n\004rows\030\001 \003(\0132<.o" +
741       "rg.apache.hadoop.hbase.rest.protobuf.gen" +
742       "erated.CellSet.Row\032Y\n\003Row\022\013\n\003key\030\001 \002(\014\022E" +
743       "\n\006values\030\002 \003(\01325.org.apache.hadoop.hbase" +
744       ".rest.protobuf.generated.Cell"
745     };
746     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
747       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
748         public com.google.protobuf.ExtensionRegistry assignDescriptors(
749             com.google.protobuf.Descriptors.FileDescriptor root) {
750           descriptor = root;
751           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_descriptor =
752             getDescriptor().getMessageTypes().get(0);
753           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_fieldAccessorTable = new
754             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
755               internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_descriptor,
756               new java.lang.String[] { "Rows", },
757               org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.class,
758               org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Builder.class);
759           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_descriptor =
760             internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_descriptor.getNestedTypes().get(0);
761           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_fieldAccessorTable = new
762             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
763               internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_CellSet_Row_descriptor,
764               new java.lang.String[] { "Key", "Values", },
765               org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.class,
766               org.apache.hadoop.hbase.rest.protobuf.generated.CellSetMessage.CellSet.Row.Builder.class);
767           return null;
768         }
769       };
770     com.google.protobuf.Descriptors.FileDescriptor
771       .internalBuildGeneratedFileFrom(descriptorData,
772         new com.google.protobuf.Descriptors.FileDescriptor[] {
773           org.apache.hadoop.hbase.rest.protobuf.generated.CellMessage.getDescriptor(),
774         }, assigner);
775   }
776   
777   public static void internalForceInit() {}
778   
779   // @@protoc_insertion_point(outer_class_scope)
780 }