View Javadoc

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