View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: ScannerMessage.proto
3   
4   package org.apache.hadoop.hbase.rest.protobuf.generated;
5   
6   public final class ScannerMessage {
7     private ScannerMessage() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public interface ScannerOrBuilder
12        extends com.google.protobuf.MessageOrBuilder {
13      
14      // optional bytes startRow = 1;
15      boolean hasStartRow();
16      com.google.protobuf.ByteString getStartRow();
17      
18      // optional bytes endRow = 2;
19      boolean hasEndRow();
20      com.google.protobuf.ByteString getEndRow();
21      
22      // repeated bytes columns = 3;
23      java.util.List<com.google.protobuf.ByteString> getColumnsList();
24      int getColumnsCount();
25      com.google.protobuf.ByteString getColumns(int index);
26      
27      // optional int32 batch = 4;
28      boolean hasBatch();
29      int getBatch();
30      
31      // optional int64 startTime = 5;
32      boolean hasStartTime();
33      long getStartTime();
34      
35      // optional int64 endTime = 6;
36      boolean hasEndTime();
37      long getEndTime();
38      
39      // optional int32 maxVersions = 7;
40      boolean hasMaxVersions();
41      int getMaxVersions();
42      
43      // optional string filter = 8;
44      boolean hasFilter();
45      String getFilter();
46    }
47    public static final class Scanner extends
48        com.google.protobuf.GeneratedMessage
49        implements ScannerOrBuilder {
50      // Use Scanner.newBuilder() to construct.
51      private Scanner(Builder builder) {
52        super(builder);
53      }
54      private Scanner(boolean noInit) {}
55      
56      private static final Scanner defaultInstance;
57      public static Scanner getDefaultInstance() {
58        return defaultInstance;
59      }
60      
61      public Scanner getDefaultInstanceForType() {
62        return defaultInstance;
63      }
64      
65      public static final com.google.protobuf.Descriptors.Descriptor
66          getDescriptor() {
67        return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
68      }
69      
70      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
71          internalGetFieldAccessorTable() {
72        return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
73      }
74      
75      private int bitField0_;
76      // optional bytes startRow = 1;
77      public static final int STARTROW_FIELD_NUMBER = 1;
78      private com.google.protobuf.ByteString startRow_;
79      public boolean hasStartRow() {
80        return ((bitField0_ & 0x00000001) == 0x00000001);
81      }
82      public com.google.protobuf.ByteString getStartRow() {
83        return startRow_;
84      }
85      
86      // optional bytes endRow = 2;
87      public static final int ENDROW_FIELD_NUMBER = 2;
88      private com.google.protobuf.ByteString endRow_;
89      public boolean hasEndRow() {
90        return ((bitField0_ & 0x00000002) == 0x00000002);
91      }
92      public com.google.protobuf.ByteString getEndRow() {
93        return endRow_;
94      }
95      
96      // repeated bytes columns = 3;
97      public static final int COLUMNS_FIELD_NUMBER = 3;
98      private java.util.List<com.google.protobuf.ByteString> columns_;
99      public java.util.List<com.google.protobuf.ByteString>
100         getColumnsList() {
101       return columns_;
102     }
103     public int getColumnsCount() {
104       return columns_.size();
105     }
106     public com.google.protobuf.ByteString getColumns(int index) {
107       return columns_.get(index);
108     }
109     
110     // optional int32 batch = 4;
111     public static final int BATCH_FIELD_NUMBER = 4;
112     private int batch_;
113     public boolean hasBatch() {
114       return ((bitField0_ & 0x00000004) == 0x00000004);
115     }
116     public int getBatch() {
117       return batch_;
118     }
119     
120     // optional int64 startTime = 5;
121     public static final int STARTTIME_FIELD_NUMBER = 5;
122     private long startTime_;
123     public boolean hasStartTime() {
124       return ((bitField0_ & 0x00000008) == 0x00000008);
125     }
126     public long getStartTime() {
127       return startTime_;
128     }
129     
130     // optional int64 endTime = 6;
131     public static final int ENDTIME_FIELD_NUMBER = 6;
132     private long endTime_;
133     public boolean hasEndTime() {
134       return ((bitField0_ & 0x00000010) == 0x00000010);
135     }
136     public long getEndTime() {
137       return endTime_;
138     }
139     
140     // optional int32 maxVersions = 7;
141     public static final int MAXVERSIONS_FIELD_NUMBER = 7;
142     private int maxVersions_;
143     public boolean hasMaxVersions() {
144       return ((bitField0_ & 0x00000020) == 0x00000020);
145     }
146     public int getMaxVersions() {
147       return maxVersions_;
148     }
149     
150     // optional string filter = 8;
151     public static final int FILTER_FIELD_NUMBER = 8;
152     private java.lang.Object filter_;
153     public boolean hasFilter() {
154       return ((bitField0_ & 0x00000040) == 0x00000040);
155     }
156     public String getFilter() {
157       java.lang.Object ref = filter_;
158       if (ref instanceof String) {
159         return (String) ref;
160       } else {
161         com.google.protobuf.ByteString bs = 
162             (com.google.protobuf.ByteString) ref;
163         String s = bs.toStringUtf8();
164         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
165           filter_ = s;
166         }
167         return s;
168       }
169     }
170     private com.google.protobuf.ByteString getFilterBytes() {
171       java.lang.Object ref = filter_;
172       if (ref instanceof String) {
173         com.google.protobuf.ByteString b = 
174             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
175         filter_ = b;
176         return b;
177       } else {
178         return (com.google.protobuf.ByteString) ref;
179       }
180     }
181     
182     private void initFields() {
183       startRow_ = com.google.protobuf.ByteString.EMPTY;
184       endRow_ = com.google.protobuf.ByteString.EMPTY;
185       columns_ = java.util.Collections.emptyList();;
186       batch_ = 0;
187       startTime_ = 0L;
188       endTime_ = 0L;
189       maxVersions_ = 0;
190       filter_ = "";
191     }
192     private byte memoizedIsInitialized = -1;
193     public final boolean isInitialized() {
194       byte isInitialized = memoizedIsInitialized;
195       if (isInitialized != -1) return isInitialized == 1;
196       
197       memoizedIsInitialized = 1;
198       return true;
199     }
200     
201     public void writeTo(com.google.protobuf.CodedOutputStream output)
202                         throws java.io.IOException {
203       getSerializedSize();
204       if (((bitField0_ & 0x00000001) == 0x00000001)) {
205         output.writeBytes(1, startRow_);
206       }
207       if (((bitField0_ & 0x00000002) == 0x00000002)) {
208         output.writeBytes(2, endRow_);
209       }
210       for (int i = 0; i < columns_.size(); i++) {
211         output.writeBytes(3, columns_.get(i));
212       }
213       if (((bitField0_ & 0x00000004) == 0x00000004)) {
214         output.writeInt32(4, batch_);
215       }
216       if (((bitField0_ & 0x00000008) == 0x00000008)) {
217         output.writeInt64(5, startTime_);
218       }
219       if (((bitField0_ & 0x00000010) == 0x00000010)) {
220         output.writeInt64(6, endTime_);
221       }
222       if (((bitField0_ & 0x00000020) == 0x00000020)) {
223         output.writeInt32(7, maxVersions_);
224       }
225       if (((bitField0_ & 0x00000040) == 0x00000040)) {
226         output.writeBytes(8, getFilterBytes());
227       }
228       getUnknownFields().writeTo(output);
229     }
230     
231     private int memoizedSerializedSize = -1;
232     public int getSerializedSize() {
233       int size = memoizedSerializedSize;
234       if (size != -1) return size;
235     
236       size = 0;
237       if (((bitField0_ & 0x00000001) == 0x00000001)) {
238         size += com.google.protobuf.CodedOutputStream
239           .computeBytesSize(1, startRow_);
240       }
241       if (((bitField0_ & 0x00000002) == 0x00000002)) {
242         size += com.google.protobuf.CodedOutputStream
243           .computeBytesSize(2, endRow_);
244       }
245       {
246         int dataSize = 0;
247         for (int i = 0; i < columns_.size(); i++) {
248           dataSize += com.google.protobuf.CodedOutputStream
249             .computeBytesSizeNoTag(columns_.get(i));
250         }
251         size += dataSize;
252         size += 1 * getColumnsList().size();
253       }
254       if (((bitField0_ & 0x00000004) == 0x00000004)) {
255         size += com.google.protobuf.CodedOutputStream
256           .computeInt32Size(4, batch_);
257       }
258       if (((bitField0_ & 0x00000008) == 0x00000008)) {
259         size += com.google.protobuf.CodedOutputStream
260           .computeInt64Size(5, startTime_);
261       }
262       if (((bitField0_ & 0x00000010) == 0x00000010)) {
263         size += com.google.protobuf.CodedOutputStream
264           .computeInt64Size(6, endTime_);
265       }
266       if (((bitField0_ & 0x00000020) == 0x00000020)) {
267         size += com.google.protobuf.CodedOutputStream
268           .computeInt32Size(7, maxVersions_);
269       }
270       if (((bitField0_ & 0x00000040) == 0x00000040)) {
271         size += com.google.protobuf.CodedOutputStream
272           .computeBytesSize(8, getFilterBytes());
273       }
274       size += getUnknownFields().getSerializedSize();
275       memoizedSerializedSize = size;
276       return size;
277     }
278     
279     private static final long serialVersionUID = 0L;
280     @java.lang.Override
281     protected java.lang.Object writeReplace()
282         throws java.io.ObjectStreamException {
283       return super.writeReplace();
284     }
285     
286     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
287         com.google.protobuf.ByteString data)
288         throws com.google.protobuf.InvalidProtocolBufferException {
289       return newBuilder().mergeFrom(data).buildParsed();
290     }
291     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
292         com.google.protobuf.ByteString data,
293         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
294         throws com.google.protobuf.InvalidProtocolBufferException {
295       return newBuilder().mergeFrom(data, extensionRegistry)
296                .buildParsed();
297     }
298     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(byte[] data)
299         throws com.google.protobuf.InvalidProtocolBufferException {
300       return newBuilder().mergeFrom(data).buildParsed();
301     }
302     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
303         byte[] data,
304         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
305         throws com.google.protobuf.InvalidProtocolBufferException {
306       return newBuilder().mergeFrom(data, extensionRegistry)
307                .buildParsed();
308     }
309     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(java.io.InputStream input)
310         throws java.io.IOException {
311       return newBuilder().mergeFrom(input).buildParsed();
312     }
313     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
314         java.io.InputStream input,
315         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
316         throws java.io.IOException {
317       return newBuilder().mergeFrom(input, extensionRegistry)
318                .buildParsed();
319     }
320     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseDelimitedFrom(java.io.InputStream input)
321         throws java.io.IOException {
322       Builder builder = newBuilder();
323       if (builder.mergeDelimitedFrom(input)) {
324         return builder.buildParsed();
325       } else {
326         return null;
327       }
328     }
329     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseDelimitedFrom(
330         java.io.InputStream input,
331         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
332         throws java.io.IOException {
333       Builder builder = newBuilder();
334       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
335         return builder.buildParsed();
336       } else {
337         return null;
338       }
339     }
340     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
341         com.google.protobuf.CodedInputStream input)
342         throws java.io.IOException {
343       return newBuilder().mergeFrom(input).buildParsed();
344     }
345     public static org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner parseFrom(
346         com.google.protobuf.CodedInputStream input,
347         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
348         throws java.io.IOException {
349       return newBuilder().mergeFrom(input, extensionRegistry)
350                .buildParsed();
351     }
352     
353     public static Builder newBuilder() { return Builder.create(); }
354     public Builder newBuilderForType() { return newBuilder(); }
355     public static Builder newBuilder(org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner prototype) {
356       return newBuilder().mergeFrom(prototype);
357     }
358     public Builder toBuilder() { return newBuilder(this); }
359     
360     @java.lang.Override
361     protected Builder newBuilderForType(
362         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
363       Builder builder = new Builder(parent);
364       return builder;
365     }
366     public static final class Builder extends
367         com.google.protobuf.GeneratedMessage.Builder<Builder>
368        implements org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.ScannerOrBuilder {
369       public static final com.google.protobuf.Descriptors.Descriptor
370           getDescriptor() {
371         return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
372       }
373       
374       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
375           internalGetFieldAccessorTable() {
376         return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
377       }
378       
379       // Construct using org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.newBuilder()
380       private Builder() {
381         maybeForceBuilderInitialization();
382       }
383       
384       private Builder(BuilderParent parent) {
385         super(parent);
386         maybeForceBuilderInitialization();
387       }
388       private void maybeForceBuilderInitialization() {
389         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
390         }
391       }
392       private static Builder create() {
393         return new Builder();
394       }
395       
396       public Builder clear() {
397         super.clear();
398         startRow_ = com.google.protobuf.ByteString.EMPTY;
399         bitField0_ = (bitField0_ & ~0x00000001);
400         endRow_ = com.google.protobuf.ByteString.EMPTY;
401         bitField0_ = (bitField0_ & ~0x00000002);
402         columns_ = java.util.Collections.emptyList();;
403         bitField0_ = (bitField0_ & ~0x00000004);
404         batch_ = 0;
405         bitField0_ = (bitField0_ & ~0x00000008);
406         startTime_ = 0L;
407         bitField0_ = (bitField0_ & ~0x00000010);
408         endTime_ = 0L;
409         bitField0_ = (bitField0_ & ~0x00000020);
410         maxVersions_ = 0;
411         bitField0_ = (bitField0_ & ~0x00000040);
412         filter_ = "";
413         bitField0_ = (bitField0_ & ~0x00000080);
414         return this;
415       }
416       
417       public Builder clone() {
418         return create().mergeFrom(buildPartial());
419       }
420       
421       public com.google.protobuf.Descriptors.Descriptor
422           getDescriptorForType() {
423         return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDescriptor();
424       }
425       
426       public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner getDefaultInstanceForType() {
427         return org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDefaultInstance();
428       }
429       
430       public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner build() {
431         org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = buildPartial();
432         if (!result.isInitialized()) {
433           throw newUninitializedMessageException(result);
434         }
435         return result;
436       }
437       
438       private org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner buildParsed()
439           throws com.google.protobuf.InvalidProtocolBufferException {
440         org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = buildPartial();
441         if (!result.isInitialized()) {
442           throw newUninitializedMessageException(
443             result).asInvalidProtocolBufferException();
444         }
445         return result;
446       }
447       
448       public org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner buildPartial() {
449         org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner result = new org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner(this);
450         int from_bitField0_ = bitField0_;
451         int to_bitField0_ = 0;
452         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
453           to_bitField0_ |= 0x00000001;
454         }
455         result.startRow_ = startRow_;
456         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
457           to_bitField0_ |= 0x00000002;
458         }
459         result.endRow_ = endRow_;
460         if (((bitField0_ & 0x00000004) == 0x00000004)) {
461           columns_ = java.util.Collections.unmodifiableList(columns_);
462           bitField0_ = (bitField0_ & ~0x00000004);
463         }
464         result.columns_ = columns_;
465         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
466           to_bitField0_ |= 0x00000004;
467         }
468         result.batch_ = batch_;
469         if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
470           to_bitField0_ |= 0x00000008;
471         }
472         result.startTime_ = startTime_;
473         if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
474           to_bitField0_ |= 0x00000010;
475         }
476         result.endTime_ = endTime_;
477         if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
478           to_bitField0_ |= 0x00000020;
479         }
480         result.maxVersions_ = maxVersions_;
481         if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
482           to_bitField0_ |= 0x00000040;
483         }
484         result.filter_ = filter_;
485         result.bitField0_ = to_bitField0_;
486         onBuilt();
487         return result;
488       }
489       
490       public Builder mergeFrom(com.google.protobuf.Message other) {
491         if (other instanceof org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner) {
492           return mergeFrom((org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner)other);
493         } else {
494           super.mergeFrom(other);
495           return this;
496         }
497       }
498       
499       public Builder mergeFrom(org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner other) {
500         if (other == org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.getDefaultInstance()) return this;
501         if (other.hasStartRow()) {
502           setStartRow(other.getStartRow());
503         }
504         if (other.hasEndRow()) {
505           setEndRow(other.getEndRow());
506         }
507         if (!other.columns_.isEmpty()) {
508           if (columns_.isEmpty()) {
509             columns_ = other.columns_;
510             bitField0_ = (bitField0_ & ~0x00000004);
511           } else {
512             ensureColumnsIsMutable();
513             columns_.addAll(other.columns_);
514           }
515           onChanged();
516         }
517         if (other.hasBatch()) {
518           setBatch(other.getBatch());
519         }
520         if (other.hasStartTime()) {
521           setStartTime(other.getStartTime());
522         }
523         if (other.hasEndTime()) {
524           setEndTime(other.getEndTime());
525         }
526         if (other.hasMaxVersions()) {
527           setMaxVersions(other.getMaxVersions());
528         }
529         if (other.hasFilter()) {
530           setFilter(other.getFilter());
531         }
532         this.mergeUnknownFields(other.getUnknownFields());
533         return this;
534       }
535       
536       public final boolean isInitialized() {
537         return true;
538       }
539       
540       public Builder mergeFrom(
541           com.google.protobuf.CodedInputStream input,
542           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
543           throws java.io.IOException {
544         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
545           com.google.protobuf.UnknownFieldSet.newBuilder(
546             this.getUnknownFields());
547         while (true) {
548           int tag = input.readTag();
549           switch (tag) {
550             case 0:
551               this.setUnknownFields(unknownFields.build());
552               onChanged();
553               return this;
554             default: {
555               if (!parseUnknownField(input, unknownFields,
556                                      extensionRegistry, tag)) {
557                 this.setUnknownFields(unknownFields.build());
558                 onChanged();
559                 return this;
560               }
561               break;
562             }
563             case 10: {
564               bitField0_ |= 0x00000001;
565               startRow_ = input.readBytes();
566               break;
567             }
568             case 18: {
569               bitField0_ |= 0x00000002;
570               endRow_ = input.readBytes();
571               break;
572             }
573             case 26: {
574               ensureColumnsIsMutable();
575               columns_.add(input.readBytes());
576               break;
577             }
578             case 32: {
579               bitField0_ |= 0x00000008;
580               batch_ = input.readInt32();
581               break;
582             }
583             case 40: {
584               bitField0_ |= 0x00000010;
585               startTime_ = input.readInt64();
586               break;
587             }
588             case 48: {
589               bitField0_ |= 0x00000020;
590               endTime_ = input.readInt64();
591               break;
592             }
593             case 56: {
594               bitField0_ |= 0x00000040;
595               maxVersions_ = input.readInt32();
596               break;
597             }
598             case 66: {
599               bitField0_ |= 0x00000080;
600               filter_ = input.readBytes();
601               break;
602             }
603           }
604         }
605       }
606       
607       private int bitField0_;
608       
609       // optional bytes startRow = 1;
610       private com.google.protobuf.ByteString startRow_ = com.google.protobuf.ByteString.EMPTY;
611       public boolean hasStartRow() {
612         return ((bitField0_ & 0x00000001) == 0x00000001);
613       }
614       public com.google.protobuf.ByteString getStartRow() {
615         return startRow_;
616       }
617       public Builder setStartRow(com.google.protobuf.ByteString value) {
618         if (value == null) {
619     throw new NullPointerException();
620   }
621   bitField0_ |= 0x00000001;
622         startRow_ = value;
623         onChanged();
624         return this;
625       }
626       public Builder clearStartRow() {
627         bitField0_ = (bitField0_ & ~0x00000001);
628         startRow_ = getDefaultInstance().getStartRow();
629         onChanged();
630         return this;
631       }
632       
633       // optional bytes endRow = 2;
634       private com.google.protobuf.ByteString endRow_ = com.google.protobuf.ByteString.EMPTY;
635       public boolean hasEndRow() {
636         return ((bitField0_ & 0x00000002) == 0x00000002);
637       }
638       public com.google.protobuf.ByteString getEndRow() {
639         return endRow_;
640       }
641       public Builder setEndRow(com.google.protobuf.ByteString value) {
642         if (value == null) {
643     throw new NullPointerException();
644   }
645   bitField0_ |= 0x00000002;
646         endRow_ = value;
647         onChanged();
648         return this;
649       }
650       public Builder clearEndRow() {
651         bitField0_ = (bitField0_ & ~0x00000002);
652         endRow_ = getDefaultInstance().getEndRow();
653         onChanged();
654         return this;
655       }
656       
657       // repeated bytes columns = 3;
658       private java.util.List<com.google.protobuf.ByteString> columns_ = java.util.Collections.emptyList();;
659       private void ensureColumnsIsMutable() {
660         if (!((bitField0_ & 0x00000004) == 0x00000004)) {
661           columns_ = new java.util.ArrayList<com.google.protobuf.ByteString>(columns_);
662           bitField0_ |= 0x00000004;
663          }
664       }
665       public java.util.List<com.google.protobuf.ByteString>
666           getColumnsList() {
667         return java.util.Collections.unmodifiableList(columns_);
668       }
669       public int getColumnsCount() {
670         return columns_.size();
671       }
672       public com.google.protobuf.ByteString getColumns(int index) {
673         return columns_.get(index);
674       }
675       public Builder setColumns(
676           int index, com.google.protobuf.ByteString value) {
677         if (value == null) {
678     throw new NullPointerException();
679   }
680   ensureColumnsIsMutable();
681         columns_.set(index, value);
682         onChanged();
683         return this;
684       }
685       public Builder addColumns(com.google.protobuf.ByteString value) {
686         if (value == null) {
687     throw new NullPointerException();
688   }
689   ensureColumnsIsMutable();
690         columns_.add(value);
691         onChanged();
692         return this;
693       }
694       public Builder addAllColumns(
695           java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
696         ensureColumnsIsMutable();
697         super.addAll(values, columns_);
698         onChanged();
699         return this;
700       }
701       public Builder clearColumns() {
702         columns_ = java.util.Collections.emptyList();;
703         bitField0_ = (bitField0_ & ~0x00000004);
704         onChanged();
705         return this;
706       }
707       
708       // optional int32 batch = 4;
709       private int batch_ ;
710       public boolean hasBatch() {
711         return ((bitField0_ & 0x00000008) == 0x00000008);
712       }
713       public int getBatch() {
714         return batch_;
715       }
716       public Builder setBatch(int value) {
717         bitField0_ |= 0x00000008;
718         batch_ = value;
719         onChanged();
720         return this;
721       }
722       public Builder clearBatch() {
723         bitField0_ = (bitField0_ & ~0x00000008);
724         batch_ = 0;
725         onChanged();
726         return this;
727       }
728       
729       // optional int64 startTime = 5;
730       private long startTime_ ;
731       public boolean hasStartTime() {
732         return ((bitField0_ & 0x00000010) == 0x00000010);
733       }
734       public long getStartTime() {
735         return startTime_;
736       }
737       public Builder setStartTime(long value) {
738         bitField0_ |= 0x00000010;
739         startTime_ = value;
740         onChanged();
741         return this;
742       }
743       public Builder clearStartTime() {
744         bitField0_ = (bitField0_ & ~0x00000010);
745         startTime_ = 0L;
746         onChanged();
747         return this;
748       }
749       
750       // optional int64 endTime = 6;
751       private long endTime_ ;
752       public boolean hasEndTime() {
753         return ((bitField0_ & 0x00000020) == 0x00000020);
754       }
755       public long getEndTime() {
756         return endTime_;
757       }
758       public Builder setEndTime(long value) {
759         bitField0_ |= 0x00000020;
760         endTime_ = value;
761         onChanged();
762         return this;
763       }
764       public Builder clearEndTime() {
765         bitField0_ = (bitField0_ & ~0x00000020);
766         endTime_ = 0L;
767         onChanged();
768         return this;
769       }
770       
771       // optional int32 maxVersions = 7;
772       private int maxVersions_ ;
773       public boolean hasMaxVersions() {
774         return ((bitField0_ & 0x00000040) == 0x00000040);
775       }
776       public int getMaxVersions() {
777         return maxVersions_;
778       }
779       public Builder setMaxVersions(int value) {
780         bitField0_ |= 0x00000040;
781         maxVersions_ = value;
782         onChanged();
783         return this;
784       }
785       public Builder clearMaxVersions() {
786         bitField0_ = (bitField0_ & ~0x00000040);
787         maxVersions_ = 0;
788         onChanged();
789         return this;
790       }
791       
792       // optional string filter = 8;
793       private java.lang.Object filter_ = "";
794       public boolean hasFilter() {
795         return ((bitField0_ & 0x00000080) == 0x00000080);
796       }
797       public String getFilter() {
798         java.lang.Object ref = filter_;
799         if (!(ref instanceof String)) {
800           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
801           filter_ = s;
802           return s;
803         } else {
804           return (String) ref;
805         }
806       }
807       public Builder setFilter(String value) {
808         if (value == null) {
809     throw new NullPointerException();
810   }
811   bitField0_ |= 0x00000080;
812         filter_ = value;
813         onChanged();
814         return this;
815       }
816       public Builder clearFilter() {
817         bitField0_ = (bitField0_ & ~0x00000080);
818         filter_ = getDefaultInstance().getFilter();
819         onChanged();
820         return this;
821       }
822       void setFilter(com.google.protobuf.ByteString value) {
823         bitField0_ |= 0x00000080;
824         filter_ = value;
825         onChanged();
826       }
827       
828       // @@protoc_insertion_point(builder_scope:org.apache.hadoop.hbase.rest.protobuf.generated.Scanner)
829     }
830     
831     static {
832       defaultInstance = new Scanner(true);
833       defaultInstance.initFields();
834     }
835     
836     // @@protoc_insertion_point(class_scope:org.apache.hadoop.hbase.rest.protobuf.generated.Scanner)
837   }
838   
839   private static com.google.protobuf.Descriptors.Descriptor
840     internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor;
841   private static
842     com.google.protobuf.GeneratedMessage.FieldAccessorTable
843       internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable;
844   
845   public static com.google.protobuf.Descriptors.FileDescriptor
846       getDescriptor() {
847     return descriptor;
848   }
849   private static com.google.protobuf.Descriptors.FileDescriptor
850       descriptor;
851   static {
852     java.lang.String[] descriptorData = {
853       "\n\024ScannerMessage.proto\022/org.apache.hadoo" +
854       "p.hbase.rest.protobuf.generated\"\224\001\n\007Scan" +
855       "ner\022\020\n\010startRow\030\001 \001(\014\022\016\n\006endRow\030\002 \001(\014\022\017\n" +
856       "\007columns\030\003 \003(\014\022\r\n\005batch\030\004 \001(\005\022\021\n\tstartTi" +
857       "me\030\005 \001(\003\022\017\n\007endTime\030\006 \001(\003\022\023\n\013maxVersions" +
858       "\030\007 \001(\005\022\016\n\006filter\030\010 \001(\t"
859     };
860     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
861       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
862         public com.google.protobuf.ExtensionRegistry assignDescriptors(
863             com.google.protobuf.Descriptors.FileDescriptor root) {
864           descriptor = root;
865           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor =
866             getDescriptor().getMessageTypes().get(0);
867           internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_fieldAccessorTable = new
868             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
869               internal_static_org_apache_hadoop_hbase_rest_protobuf_generated_Scanner_descriptor,
870               new java.lang.String[] { "StartRow", "EndRow", "Columns", "Batch", "StartTime", "EndTime", "MaxVersions", "Filter", },
871               org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.class,
872               org.apache.hadoop.hbase.rest.protobuf.generated.ScannerMessage.Scanner.Builder.class);
873           return null;
874         }
875       };
876     com.google.protobuf.Descriptors.FileDescriptor
877       .internalBuildGeneratedFileFrom(descriptorData,
878         new com.google.protobuf.Descriptors.FileDescriptor[] {
879         }, assigner);
880   }
881   
882   // @@protoc_insertion_point(outer_class_scope)
883 }