View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: Master.proto
3   
4   package org.apache.hadoop.hbase.protobuf.generated;
5   
6   public final class MasterProtos {
7     private MasterProtos() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public interface IsMasterRunningRequestOrBuilder
12        extends com.google.protobuf.MessageOrBuilder {
13    }
14    public static final class IsMasterRunningRequest extends
15        com.google.protobuf.GeneratedMessage
16        implements IsMasterRunningRequestOrBuilder {
17      // Use IsMasterRunningRequest.newBuilder() to construct.
18      private IsMasterRunningRequest(Builder builder) {
19        super(builder);
20      }
21      private IsMasterRunningRequest(boolean noInit) {}
22      
23      private static final IsMasterRunningRequest defaultInstance;
24      public static IsMasterRunningRequest getDefaultInstance() {
25        return defaultInstance;
26      }
27      
28      public IsMasterRunningRequest getDefaultInstanceForType() {
29        return defaultInstance;
30      }
31      
32      public static final com.google.protobuf.Descriptors.Descriptor
33          getDescriptor() {
34        return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningRequest_descriptor;
35      }
36      
37      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
38          internalGetFieldAccessorTable() {
39        return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningRequest_fieldAccessorTable;
40      }
41      
42      private void initFields() {
43      }
44      private byte memoizedIsInitialized = -1;
45      public final boolean isInitialized() {
46        byte isInitialized = memoizedIsInitialized;
47        if (isInitialized != -1) return isInitialized == 1;
48        
49        memoizedIsInitialized = 1;
50        return true;
51      }
52      
53      public void writeTo(com.google.protobuf.CodedOutputStream output)
54                          throws java.io.IOException {
55        getSerializedSize();
56        getUnknownFields().writeTo(output);
57      }
58      
59      private int memoizedSerializedSize = -1;
60      public int getSerializedSize() {
61        int size = memoizedSerializedSize;
62        if (size != -1) return size;
63      
64        size = 0;
65        size += getUnknownFields().getSerializedSize();
66        memoizedSerializedSize = size;
67        return size;
68      }
69      
70      private static final long serialVersionUID = 0L;
71      @java.lang.Override
72      protected java.lang.Object writeReplace()
73          throws java.io.ObjectStreamException {
74        return super.writeReplace();
75      }
76      
77      @java.lang.Override
78      public boolean equals(final java.lang.Object obj) {
79        if (obj == this) {
80         return true;
81        }
82        if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest)) {
83          return super.equals(obj);
84        }
85        org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest other = (org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest) obj;
86        
87        boolean result = true;
88        result = result &&
89            getUnknownFields().equals(other.getUnknownFields());
90        return result;
91      }
92      
93      @java.lang.Override
94      public int hashCode() {
95        int hash = 41;
96        hash = (19 * hash) + getDescriptorForType().hashCode();
97        hash = (29 * hash) + getUnknownFields().hashCode();
98        return hash;
99      }
100     
101     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
102         com.google.protobuf.ByteString data)
103         throws com.google.protobuf.InvalidProtocolBufferException {
104       return newBuilder().mergeFrom(data).buildParsed();
105     }
106     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
107         com.google.protobuf.ByteString data,
108         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
109         throws com.google.protobuf.InvalidProtocolBufferException {
110       return newBuilder().mergeFrom(data, extensionRegistry)
111                .buildParsed();
112     }
113     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(byte[] data)
114         throws com.google.protobuf.InvalidProtocolBufferException {
115       return newBuilder().mergeFrom(data).buildParsed();
116     }
117     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
118         byte[] data,
119         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
120         throws com.google.protobuf.InvalidProtocolBufferException {
121       return newBuilder().mergeFrom(data, extensionRegistry)
122                .buildParsed();
123     }
124     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(java.io.InputStream input)
125         throws java.io.IOException {
126       return newBuilder().mergeFrom(input).buildParsed();
127     }
128     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
129         java.io.InputStream input,
130         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
131         throws java.io.IOException {
132       return newBuilder().mergeFrom(input, extensionRegistry)
133                .buildParsed();
134     }
135     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseDelimitedFrom(java.io.InputStream input)
136         throws java.io.IOException {
137       Builder builder = newBuilder();
138       if (builder.mergeDelimitedFrom(input)) {
139         return builder.buildParsed();
140       } else {
141         return null;
142       }
143     }
144     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseDelimitedFrom(
145         java.io.InputStream input,
146         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
147         throws java.io.IOException {
148       Builder builder = newBuilder();
149       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
150         return builder.buildParsed();
151       } else {
152         return null;
153       }
154     }
155     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
156         com.google.protobuf.CodedInputStream input)
157         throws java.io.IOException {
158       return newBuilder().mergeFrom(input).buildParsed();
159     }
160     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest parseFrom(
161         com.google.protobuf.CodedInputStream input,
162         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
163         throws java.io.IOException {
164       return newBuilder().mergeFrom(input, extensionRegistry)
165                .buildParsed();
166     }
167     
168     public static Builder newBuilder() { return Builder.create(); }
169     public Builder newBuilderForType() { return newBuilder(); }
170     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest prototype) {
171       return newBuilder().mergeFrom(prototype);
172     }
173     public Builder toBuilder() { return newBuilder(this); }
174     
175     @java.lang.Override
176     protected Builder newBuilderForType(
177         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
178       Builder builder = new Builder(parent);
179       return builder;
180     }
181     public static final class Builder extends
182         com.google.protobuf.GeneratedMessage.Builder<Builder>
183        implements org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequestOrBuilder {
184       public static final com.google.protobuf.Descriptors.Descriptor
185           getDescriptor() {
186         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningRequest_descriptor;
187       }
188       
189       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
190           internalGetFieldAccessorTable() {
191         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningRequest_fieldAccessorTable;
192       }
193       
194       // Construct using org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.newBuilder()
195       private Builder() {
196         maybeForceBuilderInitialization();
197       }
198       
199       private Builder(BuilderParent parent) {
200         super(parent);
201         maybeForceBuilderInitialization();
202       }
203       private void maybeForceBuilderInitialization() {
204         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
205         }
206       }
207       private static Builder create() {
208         return new Builder();
209       }
210       
211       public Builder clear() {
212         super.clear();
213         return this;
214       }
215       
216       public Builder clone() {
217         return create().mergeFrom(buildPartial());
218       }
219       
220       public com.google.protobuf.Descriptors.Descriptor
221           getDescriptorForType() {
222         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.getDescriptor();
223       }
224       
225       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest getDefaultInstanceForType() {
226         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.getDefaultInstance();
227       }
228       
229       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest build() {
230         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest result = buildPartial();
231         if (!result.isInitialized()) {
232           throw newUninitializedMessageException(result);
233         }
234         return result;
235       }
236       
237       private org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest buildParsed()
238           throws com.google.protobuf.InvalidProtocolBufferException {
239         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest result = buildPartial();
240         if (!result.isInitialized()) {
241           throw newUninitializedMessageException(
242             result).asInvalidProtocolBufferException();
243         }
244         return result;
245       }
246       
247       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest buildPartial() {
248         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest result = new org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest(this);
249         onBuilt();
250         return result;
251       }
252       
253       public Builder mergeFrom(com.google.protobuf.Message other) {
254         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest) {
255           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest)other);
256         } else {
257           super.mergeFrom(other);
258           return this;
259         }
260       }
261       
262       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest other) {
263         if (other == org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.getDefaultInstance()) return this;
264         this.mergeUnknownFields(other.getUnknownFields());
265         return this;
266       }
267       
268       public final boolean isInitialized() {
269         return true;
270       }
271       
272       public Builder mergeFrom(
273           com.google.protobuf.CodedInputStream input,
274           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
275           throws java.io.IOException {
276         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
277           com.google.protobuf.UnknownFieldSet.newBuilder(
278             this.getUnknownFields());
279         while (true) {
280           int tag = input.readTag();
281           switch (tag) {
282             case 0:
283               this.setUnknownFields(unknownFields.build());
284               onChanged();
285               return this;
286             default: {
287               if (!parseUnknownField(input, unknownFields,
288                                      extensionRegistry, tag)) {
289                 this.setUnknownFields(unknownFields.build());
290                 onChanged();
291                 return this;
292               }
293               break;
294             }
295           }
296         }
297       }
298       
299       
300       // @@protoc_insertion_point(builder_scope:IsMasterRunningRequest)
301     }
302     
303     static {
304       defaultInstance = new IsMasterRunningRequest(true);
305       defaultInstance.initFields();
306     }
307     
308     // @@protoc_insertion_point(class_scope:IsMasterRunningRequest)
309   }
310   
311   public interface IsMasterRunningResponseOrBuilder
312       extends com.google.protobuf.MessageOrBuilder {
313     
314     // required bool isMasterRunning = 1;
315     boolean hasIsMasterRunning();
316     boolean getIsMasterRunning();
317   }
318   public static final class IsMasterRunningResponse extends
319       com.google.protobuf.GeneratedMessage
320       implements IsMasterRunningResponseOrBuilder {
321     // Use IsMasterRunningResponse.newBuilder() to construct.
322     private IsMasterRunningResponse(Builder builder) {
323       super(builder);
324     }
325     private IsMasterRunningResponse(boolean noInit) {}
326     
327     private static final IsMasterRunningResponse defaultInstance;
328     public static IsMasterRunningResponse getDefaultInstance() {
329       return defaultInstance;
330     }
331     
332     public IsMasterRunningResponse getDefaultInstanceForType() {
333       return defaultInstance;
334     }
335     
336     public static final com.google.protobuf.Descriptors.Descriptor
337         getDescriptor() {
338       return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningResponse_descriptor;
339     }
340     
341     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
342         internalGetFieldAccessorTable() {
343       return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningResponse_fieldAccessorTable;
344     }
345     
346     private int bitField0_;
347     // required bool isMasterRunning = 1;
348     public static final int ISMASTERRUNNING_FIELD_NUMBER = 1;
349     private boolean isMasterRunning_;
350     public boolean hasIsMasterRunning() {
351       return ((bitField0_ & 0x00000001) == 0x00000001);
352     }
353     public boolean getIsMasterRunning() {
354       return isMasterRunning_;
355     }
356     
357     private void initFields() {
358       isMasterRunning_ = false;
359     }
360     private byte memoizedIsInitialized = -1;
361     public final boolean isInitialized() {
362       byte isInitialized = memoizedIsInitialized;
363       if (isInitialized != -1) return isInitialized == 1;
364       
365       if (!hasIsMasterRunning()) {
366         memoizedIsInitialized = 0;
367         return false;
368       }
369       memoizedIsInitialized = 1;
370       return true;
371     }
372     
373     public void writeTo(com.google.protobuf.CodedOutputStream output)
374                         throws java.io.IOException {
375       getSerializedSize();
376       if (((bitField0_ & 0x00000001) == 0x00000001)) {
377         output.writeBool(1, isMasterRunning_);
378       }
379       getUnknownFields().writeTo(output);
380     }
381     
382     private int memoizedSerializedSize = -1;
383     public int getSerializedSize() {
384       int size = memoizedSerializedSize;
385       if (size != -1) return size;
386     
387       size = 0;
388       if (((bitField0_ & 0x00000001) == 0x00000001)) {
389         size += com.google.protobuf.CodedOutputStream
390           .computeBoolSize(1, isMasterRunning_);
391       }
392       size += getUnknownFields().getSerializedSize();
393       memoizedSerializedSize = size;
394       return size;
395     }
396     
397     private static final long serialVersionUID = 0L;
398     @java.lang.Override
399     protected java.lang.Object writeReplace()
400         throws java.io.ObjectStreamException {
401       return super.writeReplace();
402     }
403     
404     @java.lang.Override
405     public boolean equals(final java.lang.Object obj) {
406       if (obj == this) {
407        return true;
408       }
409       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse)) {
410         return super.equals(obj);
411       }
412       org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse other = (org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse) obj;
413       
414       boolean result = true;
415       result = result && (hasIsMasterRunning() == other.hasIsMasterRunning());
416       if (hasIsMasterRunning()) {
417         result = result && (getIsMasterRunning()
418             == other.getIsMasterRunning());
419       }
420       result = result &&
421           getUnknownFields().equals(other.getUnknownFields());
422       return result;
423     }
424     
425     @java.lang.Override
426     public int hashCode() {
427       int hash = 41;
428       hash = (19 * hash) + getDescriptorForType().hashCode();
429       if (hasIsMasterRunning()) {
430         hash = (37 * hash) + ISMASTERRUNNING_FIELD_NUMBER;
431         hash = (53 * hash) + hashBoolean(getIsMasterRunning());
432       }
433       hash = (29 * hash) + getUnknownFields().hashCode();
434       return hash;
435     }
436     
437     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
438         com.google.protobuf.ByteString data)
439         throws com.google.protobuf.InvalidProtocolBufferException {
440       return newBuilder().mergeFrom(data).buildParsed();
441     }
442     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
443         com.google.protobuf.ByteString data,
444         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
445         throws com.google.protobuf.InvalidProtocolBufferException {
446       return newBuilder().mergeFrom(data, extensionRegistry)
447                .buildParsed();
448     }
449     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(byte[] data)
450         throws com.google.protobuf.InvalidProtocolBufferException {
451       return newBuilder().mergeFrom(data).buildParsed();
452     }
453     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
454         byte[] data,
455         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
456         throws com.google.protobuf.InvalidProtocolBufferException {
457       return newBuilder().mergeFrom(data, extensionRegistry)
458                .buildParsed();
459     }
460     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(java.io.InputStream input)
461         throws java.io.IOException {
462       return newBuilder().mergeFrom(input).buildParsed();
463     }
464     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
465         java.io.InputStream input,
466         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
467         throws java.io.IOException {
468       return newBuilder().mergeFrom(input, extensionRegistry)
469                .buildParsed();
470     }
471     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseDelimitedFrom(java.io.InputStream input)
472         throws java.io.IOException {
473       Builder builder = newBuilder();
474       if (builder.mergeDelimitedFrom(input)) {
475         return builder.buildParsed();
476       } else {
477         return null;
478       }
479     }
480     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseDelimitedFrom(
481         java.io.InputStream input,
482         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
483         throws java.io.IOException {
484       Builder builder = newBuilder();
485       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
486         return builder.buildParsed();
487       } else {
488         return null;
489       }
490     }
491     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
492         com.google.protobuf.CodedInputStream input)
493         throws java.io.IOException {
494       return newBuilder().mergeFrom(input).buildParsed();
495     }
496     public static org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse parseFrom(
497         com.google.protobuf.CodedInputStream input,
498         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
499         throws java.io.IOException {
500       return newBuilder().mergeFrom(input, extensionRegistry)
501                .buildParsed();
502     }
503     
504     public static Builder newBuilder() { return Builder.create(); }
505     public Builder newBuilderForType() { return newBuilder(); }
506     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse prototype) {
507       return newBuilder().mergeFrom(prototype);
508     }
509     public Builder toBuilder() { return newBuilder(this); }
510     
511     @java.lang.Override
512     protected Builder newBuilderForType(
513         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
514       Builder builder = new Builder(parent);
515       return builder;
516     }
517     public static final class Builder extends
518         com.google.protobuf.GeneratedMessage.Builder<Builder>
519        implements org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponseOrBuilder {
520       public static final com.google.protobuf.Descriptors.Descriptor
521           getDescriptor() {
522         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningResponse_descriptor;
523       }
524       
525       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
526           internalGetFieldAccessorTable() {
527         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.internal_static_IsMasterRunningResponse_fieldAccessorTable;
528       }
529       
530       // Construct using org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.newBuilder()
531       private Builder() {
532         maybeForceBuilderInitialization();
533       }
534       
535       private Builder(BuilderParent parent) {
536         super(parent);
537         maybeForceBuilderInitialization();
538       }
539       private void maybeForceBuilderInitialization() {
540         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
541         }
542       }
543       private static Builder create() {
544         return new Builder();
545       }
546       
547       public Builder clear() {
548         super.clear();
549         isMasterRunning_ = false;
550         bitField0_ = (bitField0_ & ~0x00000001);
551         return this;
552       }
553       
554       public Builder clone() {
555         return create().mergeFrom(buildPartial());
556       }
557       
558       public com.google.protobuf.Descriptors.Descriptor
559           getDescriptorForType() {
560         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDescriptor();
561       }
562       
563       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse getDefaultInstanceForType() {
564         return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance();
565       }
566       
567       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse build() {
568         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse result = buildPartial();
569         if (!result.isInitialized()) {
570           throw newUninitializedMessageException(result);
571         }
572         return result;
573       }
574       
575       private org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse buildParsed()
576           throws com.google.protobuf.InvalidProtocolBufferException {
577         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse result = buildPartial();
578         if (!result.isInitialized()) {
579           throw newUninitializedMessageException(
580             result).asInvalidProtocolBufferException();
581         }
582         return result;
583       }
584       
585       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse buildPartial() {
586         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse result = new org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse(this);
587         int from_bitField0_ = bitField0_;
588         int to_bitField0_ = 0;
589         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
590           to_bitField0_ |= 0x00000001;
591         }
592         result.isMasterRunning_ = isMasterRunning_;
593         result.bitField0_ = to_bitField0_;
594         onBuilt();
595         return result;
596       }
597       
598       public Builder mergeFrom(com.google.protobuf.Message other) {
599         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse) {
600           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse)other);
601         } else {
602           super.mergeFrom(other);
603           return this;
604         }
605       }
606       
607       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse other) {
608         if (other == org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance()) return this;
609         if (other.hasIsMasterRunning()) {
610           setIsMasterRunning(other.getIsMasterRunning());
611         }
612         this.mergeUnknownFields(other.getUnknownFields());
613         return this;
614       }
615       
616       public final boolean isInitialized() {
617         if (!hasIsMasterRunning()) {
618           
619           return false;
620         }
621         return true;
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               onChanged();
637               return this;
638             default: {
639               if (!parseUnknownField(input, unknownFields,
640                                      extensionRegistry, tag)) {
641                 this.setUnknownFields(unknownFields.build());
642                 onChanged();
643                 return this;
644               }
645               break;
646             }
647             case 8: {
648               bitField0_ |= 0x00000001;
649               isMasterRunning_ = input.readBool();
650               break;
651             }
652           }
653         }
654       }
655       
656       private int bitField0_;
657       
658       // required bool isMasterRunning = 1;
659       private boolean isMasterRunning_ ;
660       public boolean hasIsMasterRunning() {
661         return ((bitField0_ & 0x00000001) == 0x00000001);
662       }
663       public boolean getIsMasterRunning() {
664         return isMasterRunning_;
665       }
666       public Builder setIsMasterRunning(boolean value) {
667         bitField0_ |= 0x00000001;
668         isMasterRunning_ = value;
669         onChanged();
670         return this;
671       }
672       public Builder clearIsMasterRunning() {
673         bitField0_ = (bitField0_ & ~0x00000001);
674         isMasterRunning_ = false;
675         onChanged();
676         return this;
677       }
678       
679       // @@protoc_insertion_point(builder_scope:IsMasterRunningResponse)
680     }
681     
682     static {
683       defaultInstance = new IsMasterRunningResponse(true);
684       defaultInstance.initFields();
685     }
686     
687     // @@protoc_insertion_point(class_scope:IsMasterRunningResponse)
688   }
689   
690   public static abstract class MasterService
691       implements com.google.protobuf.Service {
692     protected MasterService() {}
693     
694     public interface Interface {
695       public abstract void isMasterRunning(
696           com.google.protobuf.RpcController controller,
697           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request,
698           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse> done);
699       
700     }
701     
702     public static com.google.protobuf.Service newReflectiveService(
703         final Interface impl) {
704       return new MasterService() {
705         @java.lang.Override
706         public  void isMasterRunning(
707             com.google.protobuf.RpcController controller,
708             org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request,
709             com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse> done) {
710           impl.isMasterRunning(controller, request, done);
711         }
712         
713       };
714     }
715     
716     public static com.google.protobuf.BlockingService
717         newReflectiveBlockingService(final BlockingInterface impl) {
718       return new com.google.protobuf.BlockingService() {
719         public final com.google.protobuf.Descriptors.ServiceDescriptor
720             getDescriptorForType() {
721           return getDescriptor();
722         }
723         
724         public final com.google.protobuf.Message callBlockingMethod(
725             com.google.protobuf.Descriptors.MethodDescriptor method,
726             com.google.protobuf.RpcController controller,
727             com.google.protobuf.Message request)
728             throws com.google.protobuf.ServiceException {
729           if (method.getService() != getDescriptor()) {
730             throw new java.lang.IllegalArgumentException(
731               "Service.callBlockingMethod() given method descriptor for " +
732               "wrong service type.");
733           }
734           switch(method.getIndex()) {
735             case 0:
736               return impl.isMasterRunning(controller, (org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest)request);
737             default:
738               throw new java.lang.AssertionError("Can't get here.");
739           }
740         }
741         
742         public final com.google.protobuf.Message
743             getRequestPrototype(
744             com.google.protobuf.Descriptors.MethodDescriptor method) {
745           if (method.getService() != getDescriptor()) {
746             throw new java.lang.IllegalArgumentException(
747               "Service.getRequestPrototype() given method " +
748               "descriptor for wrong service type.");
749           }
750           switch(method.getIndex()) {
751             case 0:
752               return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.getDefaultInstance();
753             default:
754               throw new java.lang.AssertionError("Can't get here.");
755           }
756         }
757         
758         public final com.google.protobuf.Message
759             getResponsePrototype(
760             com.google.protobuf.Descriptors.MethodDescriptor method) {
761           if (method.getService() != getDescriptor()) {
762             throw new java.lang.IllegalArgumentException(
763               "Service.getResponsePrototype() given method " +
764               "descriptor for wrong service type.");
765           }
766           switch(method.getIndex()) {
767             case 0:
768               return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance();
769             default:
770               throw new java.lang.AssertionError("Can't get here.");
771           }
772         }
773         
774       };
775     }
776     
777     public abstract void isMasterRunning(
778         com.google.protobuf.RpcController controller,
779         org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request,
780         com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse> done);
781     
782     public static final
783         com.google.protobuf.Descriptors.ServiceDescriptor
784         getDescriptor() {
785       return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.getDescriptor().getServices().get(0);
786     }
787     public final com.google.protobuf.Descriptors.ServiceDescriptor
788         getDescriptorForType() {
789       return getDescriptor();
790     }
791     
792     public final void callMethod(
793         com.google.protobuf.Descriptors.MethodDescriptor method,
794         com.google.protobuf.RpcController controller,
795         com.google.protobuf.Message request,
796         com.google.protobuf.RpcCallback<
797           com.google.protobuf.Message> done) {
798       if (method.getService() != getDescriptor()) {
799         throw new java.lang.IllegalArgumentException(
800           "Service.callMethod() given method descriptor for wrong " +
801           "service type.");
802       }
803       switch(method.getIndex()) {
804         case 0:
805           this.isMasterRunning(controller, (org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest)request,
806             com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse>specializeCallback(
807               done));
808           return;
809         default:
810           throw new java.lang.AssertionError("Can't get here.");
811       }
812     }
813     
814     public final com.google.protobuf.Message
815         getRequestPrototype(
816         com.google.protobuf.Descriptors.MethodDescriptor method) {
817       if (method.getService() != getDescriptor()) {
818         throw new java.lang.IllegalArgumentException(
819           "Service.getRequestPrototype() given method " +
820           "descriptor for wrong service type.");
821       }
822       switch(method.getIndex()) {
823         case 0:
824           return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.getDefaultInstance();
825         default:
826           throw new java.lang.AssertionError("Can't get here.");
827       }
828     }
829     
830     public final com.google.protobuf.Message
831         getResponsePrototype(
832         com.google.protobuf.Descriptors.MethodDescriptor method) {
833       if (method.getService() != getDescriptor()) {
834         throw new java.lang.IllegalArgumentException(
835           "Service.getResponsePrototype() given method " +
836           "descriptor for wrong service type.");
837       }
838       switch(method.getIndex()) {
839         case 0:
840           return org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance();
841         default:
842           throw new java.lang.AssertionError("Can't get here.");
843       }
844     }
845     
846     public static Stub newStub(
847         com.google.protobuf.RpcChannel channel) {
848       return new Stub(channel);
849     }
850     
851     public static final class Stub extends org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService implements Interface {
852       private Stub(com.google.protobuf.RpcChannel channel) {
853         this.channel = channel;
854       }
855       
856       private final com.google.protobuf.RpcChannel channel;
857       
858       public com.google.protobuf.RpcChannel getChannel() {
859         return channel;
860       }
861       
862       public  void isMasterRunning(
863           com.google.protobuf.RpcController controller,
864           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request,
865           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse> done) {
866         channel.callMethod(
867           getDescriptor().getMethods().get(0),
868           controller,
869           request,
870           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance(),
871           com.google.protobuf.RpcUtil.generalizeCallback(
872             done,
873             org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.class,
874             org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance()));
875       }
876     }
877     
878     public static BlockingInterface newBlockingStub(
879         com.google.protobuf.BlockingRpcChannel channel) {
880       return new BlockingStub(channel);
881     }
882     
883     public interface BlockingInterface {
884       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse isMasterRunning(
885           com.google.protobuf.RpcController controller,
886           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request)
887           throws com.google.protobuf.ServiceException;
888     }
889     
890     private static final class BlockingStub implements BlockingInterface {
891       private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
892         this.channel = channel;
893       }
894       
895       private final com.google.protobuf.BlockingRpcChannel channel;
896       
897       public org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse isMasterRunning(
898           com.google.protobuf.RpcController controller,
899           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest request)
900           throws com.google.protobuf.ServiceException {
901         return (org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse) channel.callBlockingMethod(
902           getDescriptor().getMethods().get(0),
903           controller,
904           request,
905           org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.getDefaultInstance());
906       }
907       
908     }
909   }
910   
911   private static com.google.protobuf.Descriptors.Descriptor
912     internal_static_IsMasterRunningRequest_descriptor;
913   private static
914     com.google.protobuf.GeneratedMessage.FieldAccessorTable
915       internal_static_IsMasterRunningRequest_fieldAccessorTable;
916   private static com.google.protobuf.Descriptors.Descriptor
917     internal_static_IsMasterRunningResponse_descriptor;
918   private static
919     com.google.protobuf.GeneratedMessage.FieldAccessorTable
920       internal_static_IsMasterRunningResponse_fieldAccessorTable;
921   
922   public static com.google.protobuf.Descriptors.FileDescriptor
923       getDescriptor() {
924     return descriptor;
925   }
926   private static com.google.protobuf.Descriptors.FileDescriptor
927       descriptor;
928   static {
929     java.lang.String[] descriptorData = {
930       "\n\014Master.proto\"\030\n\026IsMasterRunningRequest" +
931       "\"2\n\027IsMasterRunningResponse\022\027\n\017isMasterR" +
932       "unning\030\001 \002(\0102U\n\rMasterService\022D\n\017isMaste" +
933       "rRunning\022\027.IsMasterRunningRequest\032\030.IsMa" +
934       "sterRunningResponseBB\n*org.apache.hadoop" +
935       ".hbase.protobuf.generatedB\014MasterProtosH" +
936       "\001\210\001\001\240\001\001"
937     };
938     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
939       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
940         public com.google.protobuf.ExtensionRegistry assignDescriptors(
941             com.google.protobuf.Descriptors.FileDescriptor root) {
942           descriptor = root;
943           internal_static_IsMasterRunningRequest_descriptor =
944             getDescriptor().getMessageTypes().get(0);
945           internal_static_IsMasterRunningRequest_fieldAccessorTable = new
946             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
947               internal_static_IsMasterRunningRequest_descriptor,
948               new java.lang.String[] { },
949               org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.class,
950               org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningRequest.Builder.class);
951           internal_static_IsMasterRunningResponse_descriptor =
952             getDescriptor().getMessageTypes().get(1);
953           internal_static_IsMasterRunningResponse_fieldAccessorTable = new
954             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
955               internal_static_IsMasterRunningResponse_descriptor,
956               new java.lang.String[] { "IsMasterRunning", },
957               org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.class,
958               org.apache.hadoop.hbase.protobuf.generated.MasterProtos.IsMasterRunningResponse.Builder.class);
959           return null;
960         }
961       };
962     com.google.protobuf.Descriptors.FileDescriptor
963       .internalBuildGeneratedFileFrom(descriptorData,
964         new com.google.protobuf.Descriptors.FileDescriptor[] {
965         }, assigner);
966   }
967   
968   // @@protoc_insertion_point(outer_class_scope)
969 }