View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: ErrorHandling.proto
3   
4   package org.apache.hadoop.hbase.protobuf.generated;
5   
6   public final class ErrorHandlingProtos {
7     private ErrorHandlingProtos() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public interface StackTraceElementMessageOrBuilder
12        extends com.google.protobuf.MessageOrBuilder {
13      
14      // optional string declaringClass = 1;
15      boolean hasDeclaringClass();
16      String getDeclaringClass();
17      
18      // optional string methodName = 2;
19      boolean hasMethodName();
20      String getMethodName();
21      
22      // optional string fileName = 3;
23      boolean hasFileName();
24      String getFileName();
25      
26      // optional int32 lineNumber = 4;
27      boolean hasLineNumber();
28      int getLineNumber();
29    }
30    public static final class StackTraceElementMessage extends
31        com.google.protobuf.GeneratedMessage
32        implements StackTraceElementMessageOrBuilder {
33      // Use StackTraceElementMessage.newBuilder() to construct.
34      private StackTraceElementMessage(Builder builder) {
35        super(builder);
36      }
37      private StackTraceElementMessage(boolean noInit) {}
38      
39      private static final StackTraceElementMessage defaultInstance;
40      public static StackTraceElementMessage getDefaultInstance() {
41        return defaultInstance;
42      }
43      
44      public StackTraceElementMessage getDefaultInstanceForType() {
45        return defaultInstance;
46      }
47      
48      public static final com.google.protobuf.Descriptors.Descriptor
49          getDescriptor() {
50        return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_descriptor;
51      }
52      
53      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
54          internalGetFieldAccessorTable() {
55        return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_fieldAccessorTable;
56      }
57      
58      private int bitField0_;
59      // optional string declaringClass = 1;
60      public static final int DECLARINGCLASS_FIELD_NUMBER = 1;
61      private java.lang.Object declaringClass_;
62      public boolean hasDeclaringClass() {
63        return ((bitField0_ & 0x00000001) == 0x00000001);
64      }
65      public String getDeclaringClass() {
66        java.lang.Object ref = declaringClass_;
67        if (ref instanceof String) {
68          return (String) ref;
69        } else {
70          com.google.protobuf.ByteString bs = 
71              (com.google.protobuf.ByteString) ref;
72          String s = bs.toStringUtf8();
73          if (com.google.protobuf.Internal.isValidUtf8(bs)) {
74            declaringClass_ = s;
75          }
76          return s;
77        }
78      }
79      private com.google.protobuf.ByteString getDeclaringClassBytes() {
80        java.lang.Object ref = declaringClass_;
81        if (ref instanceof String) {
82          com.google.protobuf.ByteString b = 
83              com.google.protobuf.ByteString.copyFromUtf8((String) ref);
84          declaringClass_ = b;
85          return b;
86        } else {
87          return (com.google.protobuf.ByteString) ref;
88        }
89      }
90      
91      // optional string methodName = 2;
92      public static final int METHODNAME_FIELD_NUMBER = 2;
93      private java.lang.Object methodName_;
94      public boolean hasMethodName() {
95        return ((bitField0_ & 0x00000002) == 0x00000002);
96      }
97      public String getMethodName() {
98        java.lang.Object ref = methodName_;
99        if (ref instanceof String) {
100         return (String) ref;
101       } else {
102         com.google.protobuf.ByteString bs = 
103             (com.google.protobuf.ByteString) ref;
104         String s = bs.toStringUtf8();
105         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
106           methodName_ = s;
107         }
108         return s;
109       }
110     }
111     private com.google.protobuf.ByteString getMethodNameBytes() {
112       java.lang.Object ref = methodName_;
113       if (ref instanceof String) {
114         com.google.protobuf.ByteString b = 
115             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
116         methodName_ = b;
117         return b;
118       } else {
119         return (com.google.protobuf.ByteString) ref;
120       }
121     }
122     
123     // optional string fileName = 3;
124     public static final int FILENAME_FIELD_NUMBER = 3;
125     private java.lang.Object fileName_;
126     public boolean hasFileName() {
127       return ((bitField0_ & 0x00000004) == 0x00000004);
128     }
129     public String getFileName() {
130       java.lang.Object ref = fileName_;
131       if (ref instanceof String) {
132         return (String) ref;
133       } else {
134         com.google.protobuf.ByteString bs = 
135             (com.google.protobuf.ByteString) ref;
136         String s = bs.toStringUtf8();
137         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
138           fileName_ = s;
139         }
140         return s;
141       }
142     }
143     private com.google.protobuf.ByteString getFileNameBytes() {
144       java.lang.Object ref = fileName_;
145       if (ref instanceof String) {
146         com.google.protobuf.ByteString b = 
147             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
148         fileName_ = b;
149         return b;
150       } else {
151         return (com.google.protobuf.ByteString) ref;
152       }
153     }
154     
155     // optional int32 lineNumber = 4;
156     public static final int LINENUMBER_FIELD_NUMBER = 4;
157     private int lineNumber_;
158     public boolean hasLineNumber() {
159       return ((bitField0_ & 0x00000008) == 0x00000008);
160     }
161     public int getLineNumber() {
162       return lineNumber_;
163     }
164     
165     private void initFields() {
166       declaringClass_ = "";
167       methodName_ = "";
168       fileName_ = "";
169       lineNumber_ = 0;
170     }
171     private byte memoizedIsInitialized = -1;
172     public final boolean isInitialized() {
173       byte isInitialized = memoizedIsInitialized;
174       if (isInitialized != -1) return isInitialized == 1;
175       
176       memoizedIsInitialized = 1;
177       return true;
178     }
179     
180     public void writeTo(com.google.protobuf.CodedOutputStream output)
181                         throws java.io.IOException {
182       getSerializedSize();
183       if (((bitField0_ & 0x00000001) == 0x00000001)) {
184         output.writeBytes(1, getDeclaringClassBytes());
185       }
186       if (((bitField0_ & 0x00000002) == 0x00000002)) {
187         output.writeBytes(2, getMethodNameBytes());
188       }
189       if (((bitField0_ & 0x00000004) == 0x00000004)) {
190         output.writeBytes(3, getFileNameBytes());
191       }
192       if (((bitField0_ & 0x00000008) == 0x00000008)) {
193         output.writeInt32(4, lineNumber_);
194       }
195       getUnknownFields().writeTo(output);
196     }
197     
198     private int memoizedSerializedSize = -1;
199     public int getSerializedSize() {
200       int size = memoizedSerializedSize;
201       if (size != -1) return size;
202     
203       size = 0;
204       if (((bitField0_ & 0x00000001) == 0x00000001)) {
205         size += com.google.protobuf.CodedOutputStream
206           .computeBytesSize(1, getDeclaringClassBytes());
207       }
208       if (((bitField0_ & 0x00000002) == 0x00000002)) {
209         size += com.google.protobuf.CodedOutputStream
210           .computeBytesSize(2, getMethodNameBytes());
211       }
212       if (((bitField0_ & 0x00000004) == 0x00000004)) {
213         size += com.google.protobuf.CodedOutputStream
214           .computeBytesSize(3, getFileNameBytes());
215       }
216       if (((bitField0_ & 0x00000008) == 0x00000008)) {
217         size += com.google.protobuf.CodedOutputStream
218           .computeInt32Size(4, lineNumber_);
219       }
220       size += getUnknownFields().getSerializedSize();
221       memoizedSerializedSize = size;
222       return size;
223     }
224     
225     private static final long serialVersionUID = 0L;
226     @java.lang.Override
227     protected java.lang.Object writeReplace()
228         throws java.io.ObjectStreamException {
229       return super.writeReplace();
230     }
231     
232     @java.lang.Override
233     public boolean equals(final java.lang.Object obj) {
234       if (obj == this) {
235        return true;
236       }
237       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage)) {
238         return super.equals(obj);
239       }
240       org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage) obj;
241       
242       boolean result = true;
243       result = result && (hasDeclaringClass() == other.hasDeclaringClass());
244       if (hasDeclaringClass()) {
245         result = result && getDeclaringClass()
246             .equals(other.getDeclaringClass());
247       }
248       result = result && (hasMethodName() == other.hasMethodName());
249       if (hasMethodName()) {
250         result = result && getMethodName()
251             .equals(other.getMethodName());
252       }
253       result = result && (hasFileName() == other.hasFileName());
254       if (hasFileName()) {
255         result = result && getFileName()
256             .equals(other.getFileName());
257       }
258       result = result && (hasLineNumber() == other.hasLineNumber());
259       if (hasLineNumber()) {
260         result = result && (getLineNumber()
261             == other.getLineNumber());
262       }
263       result = result &&
264           getUnknownFields().equals(other.getUnknownFields());
265       return result;
266     }
267     
268     @java.lang.Override
269     public int hashCode() {
270       int hash = 41;
271       hash = (19 * hash) + getDescriptorForType().hashCode();
272       if (hasDeclaringClass()) {
273         hash = (37 * hash) + DECLARINGCLASS_FIELD_NUMBER;
274         hash = (53 * hash) + getDeclaringClass().hashCode();
275       }
276       if (hasMethodName()) {
277         hash = (37 * hash) + METHODNAME_FIELD_NUMBER;
278         hash = (53 * hash) + getMethodName().hashCode();
279       }
280       if (hasFileName()) {
281         hash = (37 * hash) + FILENAME_FIELD_NUMBER;
282         hash = (53 * hash) + getFileName().hashCode();
283       }
284       if (hasLineNumber()) {
285         hash = (37 * hash) + LINENUMBER_FIELD_NUMBER;
286         hash = (53 * hash) + getLineNumber();
287       }
288       hash = (29 * hash) + getUnknownFields().hashCode();
289       return hash;
290     }
291     
292     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
293         com.google.protobuf.ByteString data)
294         throws com.google.protobuf.InvalidProtocolBufferException {
295       return newBuilder().mergeFrom(data).buildParsed();
296     }
297     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
298         com.google.protobuf.ByteString data,
299         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
300         throws com.google.protobuf.InvalidProtocolBufferException {
301       return newBuilder().mergeFrom(data, extensionRegistry)
302                .buildParsed();
303     }
304     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(byte[] data)
305         throws com.google.protobuf.InvalidProtocolBufferException {
306       return newBuilder().mergeFrom(data).buildParsed();
307     }
308     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
309         byte[] data,
310         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
311         throws com.google.protobuf.InvalidProtocolBufferException {
312       return newBuilder().mergeFrom(data, extensionRegistry)
313                .buildParsed();
314     }
315     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(java.io.InputStream input)
316         throws java.io.IOException {
317       return newBuilder().mergeFrom(input).buildParsed();
318     }
319     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
320         java.io.InputStream input,
321         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
322         throws java.io.IOException {
323       return newBuilder().mergeFrom(input, extensionRegistry)
324                .buildParsed();
325     }
326     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseDelimitedFrom(java.io.InputStream input)
327         throws java.io.IOException {
328       Builder builder = newBuilder();
329       if (builder.mergeDelimitedFrom(input)) {
330         return builder.buildParsed();
331       } else {
332         return null;
333       }
334     }
335     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseDelimitedFrom(
336         java.io.InputStream input,
337         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
338         throws java.io.IOException {
339       Builder builder = newBuilder();
340       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
341         return builder.buildParsed();
342       } else {
343         return null;
344       }
345     }
346     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
347         com.google.protobuf.CodedInputStream input)
348         throws java.io.IOException {
349       return newBuilder().mergeFrom(input).buildParsed();
350     }
351     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
352         com.google.protobuf.CodedInputStream input,
353         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
354         throws java.io.IOException {
355       return newBuilder().mergeFrom(input, extensionRegistry)
356                .buildParsed();
357     }
358     
359     public static Builder newBuilder() { return Builder.create(); }
360     public Builder newBuilderForType() { return newBuilder(); }
361     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage prototype) {
362       return newBuilder().mergeFrom(prototype);
363     }
364     public Builder toBuilder() { return newBuilder(this); }
365     
366     @java.lang.Override
367     protected Builder newBuilderForType(
368         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
369       Builder builder = new Builder(parent);
370       return builder;
371     }
372     public static final class Builder extends
373         com.google.protobuf.GeneratedMessage.Builder<Builder>
374        implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder {
375       public static final com.google.protobuf.Descriptors.Descriptor
376           getDescriptor() {
377         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_descriptor;
378       }
379       
380       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
381           internalGetFieldAccessorTable() {
382         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_fieldAccessorTable;
383       }
384       
385       // Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.newBuilder()
386       private Builder() {
387         maybeForceBuilderInitialization();
388       }
389       
390       private Builder(BuilderParent parent) {
391         super(parent);
392         maybeForceBuilderInitialization();
393       }
394       private void maybeForceBuilderInitialization() {
395         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
396         }
397       }
398       private static Builder create() {
399         return new Builder();
400       }
401       
402       public Builder clear() {
403         super.clear();
404         declaringClass_ = "";
405         bitField0_ = (bitField0_ & ~0x00000001);
406         methodName_ = "";
407         bitField0_ = (bitField0_ & ~0x00000002);
408         fileName_ = "";
409         bitField0_ = (bitField0_ & ~0x00000004);
410         lineNumber_ = 0;
411         bitField0_ = (bitField0_ & ~0x00000008);
412         return this;
413       }
414       
415       public Builder clone() {
416         return create().mergeFrom(buildPartial());
417       }
418       
419       public com.google.protobuf.Descriptors.Descriptor
420           getDescriptorForType() {
421         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDescriptor();
422       }
423       
424       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getDefaultInstanceForType() {
425         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance();
426       }
427       
428       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage build() {
429         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = buildPartial();
430         if (!result.isInitialized()) {
431           throw newUninitializedMessageException(result);
432         }
433         return result;
434       }
435       
436       private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage buildParsed()
437           throws com.google.protobuf.InvalidProtocolBufferException {
438         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = buildPartial();
439         if (!result.isInitialized()) {
440           throw newUninitializedMessageException(
441             result).asInvalidProtocolBufferException();
442         }
443         return result;
444       }
445       
446       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage buildPartial() {
447         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage(this);
448         int from_bitField0_ = bitField0_;
449         int to_bitField0_ = 0;
450         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
451           to_bitField0_ |= 0x00000001;
452         }
453         result.declaringClass_ = declaringClass_;
454         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
455           to_bitField0_ |= 0x00000002;
456         }
457         result.methodName_ = methodName_;
458         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
459           to_bitField0_ |= 0x00000004;
460         }
461         result.fileName_ = fileName_;
462         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
463           to_bitField0_ |= 0x00000008;
464         }
465         result.lineNumber_ = lineNumber_;
466         result.bitField0_ = to_bitField0_;
467         onBuilt();
468         return result;
469       }
470       
471       public Builder mergeFrom(com.google.protobuf.Message other) {
472         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage) {
473           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage)other);
474         } else {
475           super.mergeFrom(other);
476           return this;
477         }
478       }
479       
480       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage other) {
481         if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance()) return this;
482         if (other.hasDeclaringClass()) {
483           setDeclaringClass(other.getDeclaringClass());
484         }
485         if (other.hasMethodName()) {
486           setMethodName(other.getMethodName());
487         }
488         if (other.hasFileName()) {
489           setFileName(other.getFileName());
490         }
491         if (other.hasLineNumber()) {
492           setLineNumber(other.getLineNumber());
493         }
494         this.mergeUnknownFields(other.getUnknownFields());
495         return this;
496       }
497       
498       public final boolean isInitialized() {
499         return true;
500       }
501       
502       public Builder mergeFrom(
503           com.google.protobuf.CodedInputStream input,
504           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
505           throws java.io.IOException {
506         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
507           com.google.protobuf.UnknownFieldSet.newBuilder(
508             this.getUnknownFields());
509         while (true) {
510           int tag = input.readTag();
511           switch (tag) {
512             case 0:
513               this.setUnknownFields(unknownFields.build());
514               onChanged();
515               return this;
516             default: {
517               if (!parseUnknownField(input, unknownFields,
518                                      extensionRegistry, tag)) {
519                 this.setUnknownFields(unknownFields.build());
520                 onChanged();
521                 return this;
522               }
523               break;
524             }
525             case 10: {
526               bitField0_ |= 0x00000001;
527               declaringClass_ = input.readBytes();
528               break;
529             }
530             case 18: {
531               bitField0_ |= 0x00000002;
532               methodName_ = input.readBytes();
533               break;
534             }
535             case 26: {
536               bitField0_ |= 0x00000004;
537               fileName_ = input.readBytes();
538               break;
539             }
540             case 32: {
541               bitField0_ |= 0x00000008;
542               lineNumber_ = input.readInt32();
543               break;
544             }
545           }
546         }
547       }
548       
549       private int bitField0_;
550       
551       // optional string declaringClass = 1;
552       private java.lang.Object declaringClass_ = "";
553       public boolean hasDeclaringClass() {
554         return ((bitField0_ & 0x00000001) == 0x00000001);
555       }
556       public String getDeclaringClass() {
557         java.lang.Object ref = declaringClass_;
558         if (!(ref instanceof String)) {
559           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
560           declaringClass_ = s;
561           return s;
562         } else {
563           return (String) ref;
564         }
565       }
566       public Builder setDeclaringClass(String value) {
567         if (value == null) {
568     throw new NullPointerException();
569   }
570   bitField0_ |= 0x00000001;
571         declaringClass_ = value;
572         onChanged();
573         return this;
574       }
575       public Builder clearDeclaringClass() {
576         bitField0_ = (bitField0_ & ~0x00000001);
577         declaringClass_ = getDefaultInstance().getDeclaringClass();
578         onChanged();
579         return this;
580       }
581       void setDeclaringClass(com.google.protobuf.ByteString value) {
582         bitField0_ |= 0x00000001;
583         declaringClass_ = value;
584         onChanged();
585       }
586       
587       // optional string methodName = 2;
588       private java.lang.Object methodName_ = "";
589       public boolean hasMethodName() {
590         return ((bitField0_ & 0x00000002) == 0x00000002);
591       }
592       public String getMethodName() {
593         java.lang.Object ref = methodName_;
594         if (!(ref instanceof String)) {
595           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
596           methodName_ = s;
597           return s;
598         } else {
599           return (String) ref;
600         }
601       }
602       public Builder setMethodName(String value) {
603         if (value == null) {
604     throw new NullPointerException();
605   }
606   bitField0_ |= 0x00000002;
607         methodName_ = value;
608         onChanged();
609         return this;
610       }
611       public Builder clearMethodName() {
612         bitField0_ = (bitField0_ & ~0x00000002);
613         methodName_ = getDefaultInstance().getMethodName();
614         onChanged();
615         return this;
616       }
617       void setMethodName(com.google.protobuf.ByteString value) {
618         bitField0_ |= 0x00000002;
619         methodName_ = value;
620         onChanged();
621       }
622       
623       // optional string fileName = 3;
624       private java.lang.Object fileName_ = "";
625       public boolean hasFileName() {
626         return ((bitField0_ & 0x00000004) == 0x00000004);
627       }
628       public String getFileName() {
629         java.lang.Object ref = fileName_;
630         if (!(ref instanceof String)) {
631           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
632           fileName_ = s;
633           return s;
634         } else {
635           return (String) ref;
636         }
637       }
638       public Builder setFileName(String value) {
639         if (value == null) {
640     throw new NullPointerException();
641   }
642   bitField0_ |= 0x00000004;
643         fileName_ = value;
644         onChanged();
645         return this;
646       }
647       public Builder clearFileName() {
648         bitField0_ = (bitField0_ & ~0x00000004);
649         fileName_ = getDefaultInstance().getFileName();
650         onChanged();
651         return this;
652       }
653       void setFileName(com.google.protobuf.ByteString value) {
654         bitField0_ |= 0x00000004;
655         fileName_ = value;
656         onChanged();
657       }
658       
659       // optional int32 lineNumber = 4;
660       private int lineNumber_ ;
661       public boolean hasLineNumber() {
662         return ((bitField0_ & 0x00000008) == 0x00000008);
663       }
664       public int getLineNumber() {
665         return lineNumber_;
666       }
667       public Builder setLineNumber(int value) {
668         bitField0_ |= 0x00000008;
669         lineNumber_ = value;
670         onChanged();
671         return this;
672       }
673       public Builder clearLineNumber() {
674         bitField0_ = (bitField0_ & ~0x00000008);
675         lineNumber_ = 0;
676         onChanged();
677         return this;
678       }
679       
680       // @@protoc_insertion_point(builder_scope:StackTraceElementMessage)
681     }
682     
683     static {
684       defaultInstance = new StackTraceElementMessage(true);
685       defaultInstance.initFields();
686     }
687     
688     // @@protoc_insertion_point(class_scope:StackTraceElementMessage)
689   }
690   
691   public interface GenericExceptionMessageOrBuilder
692       extends com.google.protobuf.MessageOrBuilder {
693     
694     // optional string className = 1;
695     boolean hasClassName();
696     String getClassName();
697     
698     // optional string message = 2;
699     boolean hasMessage();
700     String getMessage();
701     
702     // optional bytes errorInfo = 3;
703     boolean hasErrorInfo();
704     com.google.protobuf.ByteString getErrorInfo();
705     
706     // repeated .StackTraceElementMessage trace = 4;
707     java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> 
708         getTraceList();
709     org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index);
710     int getTraceCount();
711     java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder> 
712         getTraceOrBuilderList();
713     org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
714         int index);
715   }
716   public static final class GenericExceptionMessage extends
717       com.google.protobuf.GeneratedMessage
718       implements GenericExceptionMessageOrBuilder {
719     // Use GenericExceptionMessage.newBuilder() to construct.
720     private GenericExceptionMessage(Builder builder) {
721       super(builder);
722     }
723     private GenericExceptionMessage(boolean noInit) {}
724     
725     private static final GenericExceptionMessage defaultInstance;
726     public static GenericExceptionMessage getDefaultInstance() {
727       return defaultInstance;
728     }
729     
730     public GenericExceptionMessage getDefaultInstanceForType() {
731       return defaultInstance;
732     }
733     
734     public static final com.google.protobuf.Descriptors.Descriptor
735         getDescriptor() {
736       return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_descriptor;
737     }
738     
739     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
740         internalGetFieldAccessorTable() {
741       return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_fieldAccessorTable;
742     }
743     
744     private int bitField0_;
745     // optional string className = 1;
746     public static final int CLASSNAME_FIELD_NUMBER = 1;
747     private java.lang.Object className_;
748     public boolean hasClassName() {
749       return ((bitField0_ & 0x00000001) == 0x00000001);
750     }
751     public String getClassName() {
752       java.lang.Object ref = className_;
753       if (ref instanceof String) {
754         return (String) ref;
755       } else {
756         com.google.protobuf.ByteString bs = 
757             (com.google.protobuf.ByteString) ref;
758         String s = bs.toStringUtf8();
759         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
760           className_ = s;
761         }
762         return s;
763       }
764     }
765     private com.google.protobuf.ByteString getClassNameBytes() {
766       java.lang.Object ref = className_;
767       if (ref instanceof String) {
768         com.google.protobuf.ByteString b = 
769             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
770         className_ = b;
771         return b;
772       } else {
773         return (com.google.protobuf.ByteString) ref;
774       }
775     }
776     
777     // optional string message = 2;
778     public static final int MESSAGE_FIELD_NUMBER = 2;
779     private java.lang.Object message_;
780     public boolean hasMessage() {
781       return ((bitField0_ & 0x00000002) == 0x00000002);
782     }
783     public String getMessage() {
784       java.lang.Object ref = message_;
785       if (ref instanceof String) {
786         return (String) ref;
787       } else {
788         com.google.protobuf.ByteString bs = 
789             (com.google.protobuf.ByteString) ref;
790         String s = bs.toStringUtf8();
791         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
792           message_ = s;
793         }
794         return s;
795       }
796     }
797     private com.google.protobuf.ByteString getMessageBytes() {
798       java.lang.Object ref = message_;
799       if (ref instanceof String) {
800         com.google.protobuf.ByteString b = 
801             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
802         message_ = b;
803         return b;
804       } else {
805         return (com.google.protobuf.ByteString) ref;
806       }
807     }
808     
809     // optional bytes errorInfo = 3;
810     public static final int ERRORINFO_FIELD_NUMBER = 3;
811     private com.google.protobuf.ByteString errorInfo_;
812     public boolean hasErrorInfo() {
813       return ((bitField0_ & 0x00000004) == 0x00000004);
814     }
815     public com.google.protobuf.ByteString getErrorInfo() {
816       return errorInfo_;
817     }
818     
819     // repeated .StackTraceElementMessage trace = 4;
820     public static final int TRACE_FIELD_NUMBER = 4;
821     private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> trace_;
822     public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> getTraceList() {
823       return trace_;
824     }
825     public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder> 
826         getTraceOrBuilderList() {
827       return trace_;
828     }
829     public int getTraceCount() {
830       return trace_.size();
831     }
832     public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
833       return trace_.get(index);
834     }
835     public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
836         int index) {
837       return trace_.get(index);
838     }
839     
840     private void initFields() {
841       className_ = "";
842       message_ = "";
843       errorInfo_ = com.google.protobuf.ByteString.EMPTY;
844       trace_ = java.util.Collections.emptyList();
845     }
846     private byte memoizedIsInitialized = -1;
847     public final boolean isInitialized() {
848       byte isInitialized = memoizedIsInitialized;
849       if (isInitialized != -1) return isInitialized == 1;
850       
851       memoizedIsInitialized = 1;
852       return true;
853     }
854     
855     public void writeTo(com.google.protobuf.CodedOutputStream output)
856                         throws java.io.IOException {
857       getSerializedSize();
858       if (((bitField0_ & 0x00000001) == 0x00000001)) {
859         output.writeBytes(1, getClassNameBytes());
860       }
861       if (((bitField0_ & 0x00000002) == 0x00000002)) {
862         output.writeBytes(2, getMessageBytes());
863       }
864       if (((bitField0_ & 0x00000004) == 0x00000004)) {
865         output.writeBytes(3, errorInfo_);
866       }
867       for (int i = 0; i < trace_.size(); i++) {
868         output.writeMessage(4, trace_.get(i));
869       }
870       getUnknownFields().writeTo(output);
871     }
872     
873     private int memoizedSerializedSize = -1;
874     public int getSerializedSize() {
875       int size = memoizedSerializedSize;
876       if (size != -1) return size;
877     
878       size = 0;
879       if (((bitField0_ & 0x00000001) == 0x00000001)) {
880         size += com.google.protobuf.CodedOutputStream
881           .computeBytesSize(1, getClassNameBytes());
882       }
883       if (((bitField0_ & 0x00000002) == 0x00000002)) {
884         size += com.google.protobuf.CodedOutputStream
885           .computeBytesSize(2, getMessageBytes());
886       }
887       if (((bitField0_ & 0x00000004) == 0x00000004)) {
888         size += com.google.protobuf.CodedOutputStream
889           .computeBytesSize(3, errorInfo_);
890       }
891       for (int i = 0; i < trace_.size(); i++) {
892         size += com.google.protobuf.CodedOutputStream
893           .computeMessageSize(4, trace_.get(i));
894       }
895       size += getUnknownFields().getSerializedSize();
896       memoizedSerializedSize = size;
897       return size;
898     }
899     
900     private static final long serialVersionUID = 0L;
901     @java.lang.Override
902     protected java.lang.Object writeReplace()
903         throws java.io.ObjectStreamException {
904       return super.writeReplace();
905     }
906     
907     @java.lang.Override
908     public boolean equals(final java.lang.Object obj) {
909       if (obj == this) {
910        return true;
911       }
912       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage)) {
913         return super.equals(obj);
914       }
915       org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage) obj;
916       
917       boolean result = true;
918       result = result && (hasClassName() == other.hasClassName());
919       if (hasClassName()) {
920         result = result && getClassName()
921             .equals(other.getClassName());
922       }
923       result = result && (hasMessage() == other.hasMessage());
924       if (hasMessage()) {
925         result = result && getMessage()
926             .equals(other.getMessage());
927       }
928       result = result && (hasErrorInfo() == other.hasErrorInfo());
929       if (hasErrorInfo()) {
930         result = result && getErrorInfo()
931             .equals(other.getErrorInfo());
932       }
933       result = result && getTraceList()
934           .equals(other.getTraceList());
935       result = result &&
936           getUnknownFields().equals(other.getUnknownFields());
937       return result;
938     }
939     
940     @java.lang.Override
941     public int hashCode() {
942       int hash = 41;
943       hash = (19 * hash) + getDescriptorForType().hashCode();
944       if (hasClassName()) {
945         hash = (37 * hash) + CLASSNAME_FIELD_NUMBER;
946         hash = (53 * hash) + getClassName().hashCode();
947       }
948       if (hasMessage()) {
949         hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
950         hash = (53 * hash) + getMessage().hashCode();
951       }
952       if (hasErrorInfo()) {
953         hash = (37 * hash) + ERRORINFO_FIELD_NUMBER;
954         hash = (53 * hash) + getErrorInfo().hashCode();
955       }
956       if (getTraceCount() > 0) {
957         hash = (37 * hash) + TRACE_FIELD_NUMBER;
958         hash = (53 * hash) + getTraceList().hashCode();
959       }
960       hash = (29 * hash) + getUnknownFields().hashCode();
961       return hash;
962     }
963     
964     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
965         com.google.protobuf.ByteString data)
966         throws com.google.protobuf.InvalidProtocolBufferException {
967       return newBuilder().mergeFrom(data).buildParsed();
968     }
969     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
970         com.google.protobuf.ByteString data,
971         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
972         throws com.google.protobuf.InvalidProtocolBufferException {
973       return newBuilder().mergeFrom(data, extensionRegistry)
974                .buildParsed();
975     }
976     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(byte[] data)
977         throws com.google.protobuf.InvalidProtocolBufferException {
978       return newBuilder().mergeFrom(data).buildParsed();
979     }
980     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
981         byte[] data,
982         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
983         throws com.google.protobuf.InvalidProtocolBufferException {
984       return newBuilder().mergeFrom(data, extensionRegistry)
985                .buildParsed();
986     }
987     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(java.io.InputStream input)
988         throws java.io.IOException {
989       return newBuilder().mergeFrom(input).buildParsed();
990     }
991     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
992         java.io.InputStream input,
993         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
994         throws java.io.IOException {
995       return newBuilder().mergeFrom(input, extensionRegistry)
996                .buildParsed();
997     }
998     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseDelimitedFrom(java.io.InputStream input)
999         throws java.io.IOException {
1000       Builder builder = newBuilder();
1001       if (builder.mergeDelimitedFrom(input)) {
1002         return builder.buildParsed();
1003       } else {
1004         return null;
1005       }
1006     }
1007     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseDelimitedFrom(
1008         java.io.InputStream input,
1009         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1010         throws java.io.IOException {
1011       Builder builder = newBuilder();
1012       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1013         return builder.buildParsed();
1014       } else {
1015         return null;
1016       }
1017     }
1018     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
1019         com.google.protobuf.CodedInputStream input)
1020         throws java.io.IOException {
1021       return newBuilder().mergeFrom(input).buildParsed();
1022     }
1023     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
1024         com.google.protobuf.CodedInputStream input,
1025         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1026         throws java.io.IOException {
1027       return newBuilder().mergeFrom(input, extensionRegistry)
1028                .buildParsed();
1029     }
1030     
1031     public static Builder newBuilder() { return Builder.create(); }
1032     public Builder newBuilderForType() { return newBuilder(); }
1033     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage prototype) {
1034       return newBuilder().mergeFrom(prototype);
1035     }
1036     public Builder toBuilder() { return newBuilder(this); }
1037     
1038     @java.lang.Override
1039     protected Builder newBuilderForType(
1040         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1041       Builder builder = new Builder(parent);
1042       return builder;
1043     }
1044     public static final class Builder extends
1045         com.google.protobuf.GeneratedMessage.Builder<Builder>
1046        implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder {
1047       public static final com.google.protobuf.Descriptors.Descriptor
1048           getDescriptor() {
1049         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_descriptor;
1050       }
1051       
1052       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1053           internalGetFieldAccessorTable() {
1054         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_fieldAccessorTable;
1055       }
1056       
1057       // Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder()
1058       private Builder() {
1059         maybeForceBuilderInitialization();
1060       }
1061       
1062       private Builder(BuilderParent parent) {
1063         super(parent);
1064         maybeForceBuilderInitialization();
1065       }
1066       private void maybeForceBuilderInitialization() {
1067         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1068           getTraceFieldBuilder();
1069         }
1070       }
1071       private static Builder create() {
1072         return new Builder();
1073       }
1074       
1075       public Builder clear() {
1076         super.clear();
1077         className_ = "";
1078         bitField0_ = (bitField0_ & ~0x00000001);
1079         message_ = "";
1080         bitField0_ = (bitField0_ & ~0x00000002);
1081         errorInfo_ = com.google.protobuf.ByteString.EMPTY;
1082         bitField0_ = (bitField0_ & ~0x00000004);
1083         if (traceBuilder_ == null) {
1084           trace_ = java.util.Collections.emptyList();
1085           bitField0_ = (bitField0_ & ~0x00000008);
1086         } else {
1087           traceBuilder_.clear();
1088         }
1089         return this;
1090       }
1091       
1092       public Builder clone() {
1093         return create().mergeFrom(buildPartial());
1094       }
1095       
1096       public com.google.protobuf.Descriptors.Descriptor
1097           getDescriptorForType() {
1098         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDescriptor();
1099       }
1100       
1101       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getDefaultInstanceForType() {
1102         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
1103       }
1104       
1105       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage build() {
1106         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = buildPartial();
1107         if (!result.isInitialized()) {
1108           throw newUninitializedMessageException(result);
1109         }
1110         return result;
1111       }
1112       
1113       private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage buildParsed()
1114           throws com.google.protobuf.InvalidProtocolBufferException {
1115         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = buildPartial();
1116         if (!result.isInitialized()) {
1117           throw newUninitializedMessageException(
1118             result).asInvalidProtocolBufferException();
1119         }
1120         return result;
1121       }
1122       
1123       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage buildPartial() {
1124         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage(this);
1125         int from_bitField0_ = bitField0_;
1126         int to_bitField0_ = 0;
1127         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1128           to_bitField0_ |= 0x00000001;
1129         }
1130         result.className_ = className_;
1131         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1132           to_bitField0_ |= 0x00000002;
1133         }
1134         result.message_ = message_;
1135         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1136           to_bitField0_ |= 0x00000004;
1137         }
1138         result.errorInfo_ = errorInfo_;
1139         if (traceBuilder_ == null) {
1140           if (((bitField0_ & 0x00000008) == 0x00000008)) {
1141             trace_ = java.util.Collections.unmodifiableList(trace_);
1142             bitField0_ = (bitField0_ & ~0x00000008);
1143           }
1144           result.trace_ = trace_;
1145         } else {
1146           result.trace_ = traceBuilder_.build();
1147         }
1148         result.bitField0_ = to_bitField0_;
1149         onBuilt();
1150         return result;
1151       }
1152       
1153       public Builder mergeFrom(com.google.protobuf.Message other) {
1154         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage) {
1155           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage)other);
1156         } else {
1157           super.mergeFrom(other);
1158           return this;
1159         }
1160       }
1161       
1162       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage other) {
1163         if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance()) return this;
1164         if (other.hasClassName()) {
1165           setClassName(other.getClassName());
1166         }
1167         if (other.hasMessage()) {
1168           setMessage(other.getMessage());
1169         }
1170         if (other.hasErrorInfo()) {
1171           setErrorInfo(other.getErrorInfo());
1172         }
1173         if (traceBuilder_ == null) {
1174           if (!other.trace_.isEmpty()) {
1175             if (trace_.isEmpty()) {
1176               trace_ = other.trace_;
1177               bitField0_ = (bitField0_ & ~0x00000008);
1178             } else {
1179               ensureTraceIsMutable();
1180               trace_.addAll(other.trace_);
1181             }
1182             onChanged();
1183           }
1184         } else {
1185           if (!other.trace_.isEmpty()) {
1186             if (traceBuilder_.isEmpty()) {
1187               traceBuilder_.dispose();
1188               traceBuilder_ = null;
1189               trace_ = other.trace_;
1190               bitField0_ = (bitField0_ & ~0x00000008);
1191               traceBuilder_ = 
1192                 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1193                    getTraceFieldBuilder() : null;
1194             } else {
1195               traceBuilder_.addAllMessages(other.trace_);
1196             }
1197           }
1198         }
1199         this.mergeUnknownFields(other.getUnknownFields());
1200         return this;
1201       }
1202       
1203       public final boolean isInitialized() {
1204         return true;
1205       }
1206       
1207       public Builder mergeFrom(
1208           com.google.protobuf.CodedInputStream input,
1209           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1210           throws java.io.IOException {
1211         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1212           com.google.protobuf.UnknownFieldSet.newBuilder(
1213             this.getUnknownFields());
1214         while (true) {
1215           int tag = input.readTag();
1216           switch (tag) {
1217             case 0:
1218               this.setUnknownFields(unknownFields.build());
1219               onChanged();
1220               return this;
1221             default: {
1222               if (!parseUnknownField(input, unknownFields,
1223                                      extensionRegistry, tag)) {
1224                 this.setUnknownFields(unknownFields.build());
1225                 onChanged();
1226                 return this;
1227               }
1228               break;
1229             }
1230             case 10: {
1231               bitField0_ |= 0x00000001;
1232               className_ = input.readBytes();
1233               break;
1234             }
1235             case 18: {
1236               bitField0_ |= 0x00000002;
1237               message_ = input.readBytes();
1238               break;
1239             }
1240             case 26: {
1241               bitField0_ |= 0x00000004;
1242               errorInfo_ = input.readBytes();
1243               break;
1244             }
1245             case 34: {
1246               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.newBuilder();
1247               input.readMessage(subBuilder, extensionRegistry);
1248               addTrace(subBuilder.buildPartial());
1249               break;
1250             }
1251           }
1252         }
1253       }
1254       
1255       private int bitField0_;
1256       
1257       // optional string className = 1;
1258       private java.lang.Object className_ = "";
1259       public boolean hasClassName() {
1260         return ((bitField0_ & 0x00000001) == 0x00000001);
1261       }
1262       public String getClassName() {
1263         java.lang.Object ref = className_;
1264         if (!(ref instanceof String)) {
1265           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1266           className_ = s;
1267           return s;
1268         } else {
1269           return (String) ref;
1270         }
1271       }
1272       public Builder setClassName(String value) {
1273         if (value == null) {
1274     throw new NullPointerException();
1275   }
1276   bitField0_ |= 0x00000001;
1277         className_ = value;
1278         onChanged();
1279         return this;
1280       }
1281       public Builder clearClassName() {
1282         bitField0_ = (bitField0_ & ~0x00000001);
1283         className_ = getDefaultInstance().getClassName();
1284         onChanged();
1285         return this;
1286       }
1287       void setClassName(com.google.protobuf.ByteString value) {
1288         bitField0_ |= 0x00000001;
1289         className_ = value;
1290         onChanged();
1291       }
1292       
1293       // optional string message = 2;
1294       private java.lang.Object message_ = "";
1295       public boolean hasMessage() {
1296         return ((bitField0_ & 0x00000002) == 0x00000002);
1297       }
1298       public String getMessage() {
1299         java.lang.Object ref = message_;
1300         if (!(ref instanceof String)) {
1301           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1302           message_ = s;
1303           return s;
1304         } else {
1305           return (String) ref;
1306         }
1307       }
1308       public Builder setMessage(String value) {
1309         if (value == null) {
1310     throw new NullPointerException();
1311   }
1312   bitField0_ |= 0x00000002;
1313         message_ = value;
1314         onChanged();
1315         return this;
1316       }
1317       public Builder clearMessage() {
1318         bitField0_ = (bitField0_ & ~0x00000002);
1319         message_ = getDefaultInstance().getMessage();
1320         onChanged();
1321         return this;
1322       }
1323       void setMessage(com.google.protobuf.ByteString value) {
1324         bitField0_ |= 0x00000002;
1325         message_ = value;
1326         onChanged();
1327       }
1328       
1329       // optional bytes errorInfo = 3;
1330       private com.google.protobuf.ByteString errorInfo_ = com.google.protobuf.ByteString.EMPTY;
1331       public boolean hasErrorInfo() {
1332         return ((bitField0_ & 0x00000004) == 0x00000004);
1333       }
1334       public com.google.protobuf.ByteString getErrorInfo() {
1335         return errorInfo_;
1336       }
1337       public Builder setErrorInfo(com.google.protobuf.ByteString value) {
1338         if (value == null) {
1339     throw new NullPointerException();
1340   }
1341   bitField0_ |= 0x00000004;
1342         errorInfo_ = value;
1343         onChanged();
1344         return this;
1345       }
1346       public Builder clearErrorInfo() {
1347         bitField0_ = (bitField0_ & ~0x00000004);
1348         errorInfo_ = getDefaultInstance().getErrorInfo();
1349         onChanged();
1350         return this;
1351       }
1352       
1353       // repeated .StackTraceElementMessage trace = 4;
1354       private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> trace_ =
1355         java.util.Collections.emptyList();
1356       private void ensureTraceIsMutable() {
1357         if (!((bitField0_ & 0x00000008) == 0x00000008)) {
1358           trace_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage>(trace_);
1359           bitField0_ |= 0x00000008;
1360          }
1361       }
1362       
1363       private com.google.protobuf.RepeatedFieldBuilder<
1364           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder> traceBuilder_;
1365       
1366       public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> getTraceList() {
1367         if (traceBuilder_ == null) {
1368           return java.util.Collections.unmodifiableList(trace_);
1369         } else {
1370           return traceBuilder_.getMessageList();
1371         }
1372       }
1373       public int getTraceCount() {
1374         if (traceBuilder_ == null) {
1375           return trace_.size();
1376         } else {
1377           return traceBuilder_.getCount();
1378         }
1379       }
1380       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
1381         if (traceBuilder_ == null) {
1382           return trace_.get(index);
1383         } else {
1384           return traceBuilder_.getMessage(index);
1385         }
1386       }
1387       public Builder setTrace(
1388           int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
1389         if (traceBuilder_ == null) {
1390           if (value == null) {
1391             throw new NullPointerException();
1392           }
1393           ensureTraceIsMutable();
1394           trace_.set(index, value);
1395           onChanged();
1396         } else {
1397           traceBuilder_.setMessage(index, value);
1398         }
1399         return this;
1400       }
1401       public Builder setTrace(
1402           int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
1403         if (traceBuilder_ == null) {
1404           ensureTraceIsMutable();
1405           trace_.set(index, builderForValue.build());
1406           onChanged();
1407         } else {
1408           traceBuilder_.setMessage(index, builderForValue.build());
1409         }
1410         return this;
1411       }
1412       public Builder addTrace(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
1413         if (traceBuilder_ == null) {
1414           if (value == null) {
1415             throw new NullPointerException();
1416           }
1417           ensureTraceIsMutable();
1418           trace_.add(value);
1419           onChanged();
1420         } else {
1421           traceBuilder_.addMessage(value);
1422         }
1423         return this;
1424       }
1425       public Builder addTrace(
1426           int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
1427         if (traceBuilder_ == null) {
1428           if (value == null) {
1429             throw new NullPointerException();
1430           }
1431           ensureTraceIsMutable();
1432           trace_.add(index, value);
1433           onChanged();
1434         } else {
1435           traceBuilder_.addMessage(index, value);
1436         }
1437         return this;
1438       }
1439       public Builder addTrace(
1440           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
1441         if (traceBuilder_ == null) {
1442           ensureTraceIsMutable();
1443           trace_.add(builderForValue.build());
1444           onChanged();
1445         } else {
1446           traceBuilder_.addMessage(builderForValue.build());
1447         }
1448         return this;
1449       }
1450       public Builder addTrace(
1451           int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
1452         if (traceBuilder_ == null) {
1453           ensureTraceIsMutable();
1454           trace_.add(index, builderForValue.build());
1455           onChanged();
1456         } else {
1457           traceBuilder_.addMessage(index, builderForValue.build());
1458         }
1459         return this;
1460       }
1461       public Builder addAllTrace(
1462           java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> values) {
1463         if (traceBuilder_ == null) {
1464           ensureTraceIsMutable();
1465           super.addAll(values, trace_);
1466           onChanged();
1467         } else {
1468           traceBuilder_.addAllMessages(values);
1469         }
1470         return this;
1471       }
1472       public Builder clearTrace() {
1473         if (traceBuilder_ == null) {
1474           trace_ = java.util.Collections.emptyList();
1475           bitField0_ = (bitField0_ & ~0x00000008);
1476           onChanged();
1477         } else {
1478           traceBuilder_.clear();
1479         }
1480         return this;
1481       }
1482       public Builder removeTrace(int index) {
1483         if (traceBuilder_ == null) {
1484           ensureTraceIsMutable();
1485           trace_.remove(index);
1486           onChanged();
1487         } else {
1488           traceBuilder_.remove(index);
1489         }
1490         return this;
1491       }
1492       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder getTraceBuilder(
1493           int index) {
1494         return getTraceFieldBuilder().getBuilder(index);
1495       }
1496       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
1497           int index) {
1498         if (traceBuilder_ == null) {
1499           return trace_.get(index);  } else {
1500           return traceBuilder_.getMessageOrBuilder(index);
1501         }
1502       }
1503       public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder> 
1504            getTraceOrBuilderList() {
1505         if (traceBuilder_ != null) {
1506           return traceBuilder_.getMessageOrBuilderList();
1507         } else {
1508           return java.util.Collections.unmodifiableList(trace_);
1509         }
1510       }
1511       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder addTraceBuilder() {
1512         return getTraceFieldBuilder().addBuilder(
1513             org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance());
1514       }
1515       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder addTraceBuilder(
1516           int index) {
1517         return getTraceFieldBuilder().addBuilder(
1518             index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance());
1519       }
1520       public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder> 
1521            getTraceBuilderList() {
1522         return getTraceFieldBuilder().getBuilderList();
1523       }
1524       private com.google.protobuf.RepeatedFieldBuilder<
1525           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder> 
1526           getTraceFieldBuilder() {
1527         if (traceBuilder_ == null) {
1528           traceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1529               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>(
1530                   trace_,
1531                   ((bitField0_ & 0x00000008) == 0x00000008),
1532                   getParentForChildren(),
1533                   isClean());
1534           trace_ = null;
1535         }
1536         return traceBuilder_;
1537       }
1538       
1539       // @@protoc_insertion_point(builder_scope:GenericExceptionMessage)
1540     }
1541     
1542     static {
1543       defaultInstance = new GenericExceptionMessage(true);
1544       defaultInstance.initFields();
1545     }
1546     
1547     // @@protoc_insertion_point(class_scope:GenericExceptionMessage)
1548   }
1549   
1550   public interface ForeignExceptionMessageOrBuilder
1551       extends com.google.protobuf.MessageOrBuilder {
1552     
1553     // optional string source = 1;
1554     boolean hasSource();
1555     String getSource();
1556     
1557     // optional .GenericExceptionMessage genericException = 2;
1558     boolean hasGenericException();
1559     org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException();
1560     org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder();
1561   }
1562   public static final class ForeignExceptionMessage extends
1563       com.google.protobuf.GeneratedMessage
1564       implements ForeignExceptionMessageOrBuilder {
1565     // Use ForeignExceptionMessage.newBuilder() to construct.
1566     private ForeignExceptionMessage(Builder builder) {
1567       super(builder);
1568     }
1569     private ForeignExceptionMessage(boolean noInit) {}
1570     
1571     private static final ForeignExceptionMessage defaultInstance;
1572     public static ForeignExceptionMessage getDefaultInstance() {
1573       return defaultInstance;
1574     }
1575     
1576     public ForeignExceptionMessage getDefaultInstanceForType() {
1577       return defaultInstance;
1578     }
1579     
1580     public static final com.google.protobuf.Descriptors.Descriptor
1581         getDescriptor() {
1582       return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_descriptor;
1583     }
1584     
1585     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1586         internalGetFieldAccessorTable() {
1587       return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_fieldAccessorTable;
1588     }
1589     
1590     private int bitField0_;
1591     // optional string source = 1;
1592     public static final int SOURCE_FIELD_NUMBER = 1;
1593     private java.lang.Object source_;
1594     public boolean hasSource() {
1595       return ((bitField0_ & 0x00000001) == 0x00000001);
1596     }
1597     public String getSource() {
1598       java.lang.Object ref = source_;
1599       if (ref instanceof String) {
1600         return (String) ref;
1601       } else {
1602         com.google.protobuf.ByteString bs = 
1603             (com.google.protobuf.ByteString) ref;
1604         String s = bs.toStringUtf8();
1605         if (com.google.protobuf.Internal.isValidUtf8(bs)) {
1606           source_ = s;
1607         }
1608         return s;
1609       }
1610     }
1611     private com.google.protobuf.ByteString getSourceBytes() {
1612       java.lang.Object ref = source_;
1613       if (ref instanceof String) {
1614         com.google.protobuf.ByteString b = 
1615             com.google.protobuf.ByteString.copyFromUtf8((String) ref);
1616         source_ = b;
1617         return b;
1618       } else {
1619         return (com.google.protobuf.ByteString) ref;
1620       }
1621     }
1622     
1623     // optional .GenericExceptionMessage genericException = 2;
1624     public static final int GENERICEXCEPTION_FIELD_NUMBER = 2;
1625     private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_;
1626     public boolean hasGenericException() {
1627       return ((bitField0_ & 0x00000002) == 0x00000002);
1628     }
1629     public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
1630       return genericException_;
1631     }
1632     public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder() {
1633       return genericException_;
1634     }
1635     
1636     private void initFields() {
1637       source_ = "";
1638       genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
1639     }
1640     private byte memoizedIsInitialized = -1;
1641     public final boolean isInitialized() {
1642       byte isInitialized = memoizedIsInitialized;
1643       if (isInitialized != -1) return isInitialized == 1;
1644       
1645       memoizedIsInitialized = 1;
1646       return true;
1647     }
1648     
1649     public void writeTo(com.google.protobuf.CodedOutputStream output)
1650                         throws java.io.IOException {
1651       getSerializedSize();
1652       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1653         output.writeBytes(1, getSourceBytes());
1654       }
1655       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1656         output.writeMessage(2, genericException_);
1657       }
1658       getUnknownFields().writeTo(output);
1659     }
1660     
1661     private int memoizedSerializedSize = -1;
1662     public int getSerializedSize() {
1663       int size = memoizedSerializedSize;
1664       if (size != -1) return size;
1665     
1666       size = 0;
1667       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1668         size += com.google.protobuf.CodedOutputStream
1669           .computeBytesSize(1, getSourceBytes());
1670       }
1671       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1672         size += com.google.protobuf.CodedOutputStream
1673           .computeMessageSize(2, genericException_);
1674       }
1675       size += getUnknownFields().getSerializedSize();
1676       memoizedSerializedSize = size;
1677       return size;
1678     }
1679     
1680     private static final long serialVersionUID = 0L;
1681     @java.lang.Override
1682     protected java.lang.Object writeReplace()
1683         throws java.io.ObjectStreamException {
1684       return super.writeReplace();
1685     }
1686     
1687     @java.lang.Override
1688     public boolean equals(final java.lang.Object obj) {
1689       if (obj == this) {
1690        return true;
1691       }
1692       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage)) {
1693         return super.equals(obj);
1694       }
1695       org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage) obj;
1696       
1697       boolean result = true;
1698       result = result && (hasSource() == other.hasSource());
1699       if (hasSource()) {
1700         result = result && getSource()
1701             .equals(other.getSource());
1702       }
1703       result = result && (hasGenericException() == other.hasGenericException());
1704       if (hasGenericException()) {
1705         result = result && getGenericException()
1706             .equals(other.getGenericException());
1707       }
1708       result = result &&
1709           getUnknownFields().equals(other.getUnknownFields());
1710       return result;
1711     }
1712     
1713     @java.lang.Override
1714     public int hashCode() {
1715       int hash = 41;
1716       hash = (19 * hash) + getDescriptorForType().hashCode();
1717       if (hasSource()) {
1718         hash = (37 * hash) + SOURCE_FIELD_NUMBER;
1719         hash = (53 * hash) + getSource().hashCode();
1720       }
1721       if (hasGenericException()) {
1722         hash = (37 * hash) + GENERICEXCEPTION_FIELD_NUMBER;
1723         hash = (53 * hash) + getGenericException().hashCode();
1724       }
1725       hash = (29 * hash) + getUnknownFields().hashCode();
1726       return hash;
1727     }
1728     
1729     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1730         com.google.protobuf.ByteString data)
1731         throws com.google.protobuf.InvalidProtocolBufferException {
1732       return newBuilder().mergeFrom(data).buildParsed();
1733     }
1734     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1735         com.google.protobuf.ByteString data,
1736         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1737         throws com.google.protobuf.InvalidProtocolBufferException {
1738       return newBuilder().mergeFrom(data, extensionRegistry)
1739                .buildParsed();
1740     }
1741     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(byte[] data)
1742         throws com.google.protobuf.InvalidProtocolBufferException {
1743       return newBuilder().mergeFrom(data).buildParsed();
1744     }
1745     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1746         byte[] data,
1747         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1748         throws com.google.protobuf.InvalidProtocolBufferException {
1749       return newBuilder().mergeFrom(data, extensionRegistry)
1750                .buildParsed();
1751     }
1752     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(java.io.InputStream input)
1753         throws java.io.IOException {
1754       return newBuilder().mergeFrom(input).buildParsed();
1755     }
1756     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1757         java.io.InputStream input,
1758         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1759         throws java.io.IOException {
1760       return newBuilder().mergeFrom(input, extensionRegistry)
1761                .buildParsed();
1762     }
1763     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseDelimitedFrom(java.io.InputStream input)
1764         throws java.io.IOException {
1765       Builder builder = newBuilder();
1766       if (builder.mergeDelimitedFrom(input)) {
1767         return builder.buildParsed();
1768       } else {
1769         return null;
1770       }
1771     }
1772     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseDelimitedFrom(
1773         java.io.InputStream input,
1774         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1775         throws java.io.IOException {
1776       Builder builder = newBuilder();
1777       if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1778         return builder.buildParsed();
1779       } else {
1780         return null;
1781       }
1782     }
1783     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1784         com.google.protobuf.CodedInputStream input)
1785         throws java.io.IOException {
1786       return newBuilder().mergeFrom(input).buildParsed();
1787     }
1788     public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
1789         com.google.protobuf.CodedInputStream input,
1790         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1791         throws java.io.IOException {
1792       return newBuilder().mergeFrom(input, extensionRegistry)
1793                .buildParsed();
1794     }
1795     
1796     public static Builder newBuilder() { return Builder.create(); }
1797     public Builder newBuilderForType() { return newBuilder(); }
1798     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage prototype) {
1799       return newBuilder().mergeFrom(prototype);
1800     }
1801     public Builder toBuilder() { return newBuilder(this); }
1802     
1803     @java.lang.Override
1804     protected Builder newBuilderForType(
1805         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1806       Builder builder = new Builder(parent);
1807       return builder;
1808     }
1809     public static final class Builder extends
1810         com.google.protobuf.GeneratedMessage.Builder<Builder>
1811        implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder {
1812       public static final com.google.protobuf.Descriptors.Descriptor
1813           getDescriptor() {
1814         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_descriptor;
1815       }
1816       
1817       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1818           internalGetFieldAccessorTable() {
1819         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_fieldAccessorTable;
1820       }
1821       
1822       // Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.newBuilder()
1823       private Builder() {
1824         maybeForceBuilderInitialization();
1825       }
1826       
1827       private Builder(BuilderParent parent) {
1828         super(parent);
1829         maybeForceBuilderInitialization();
1830       }
1831       private void maybeForceBuilderInitialization() {
1832         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1833           getGenericExceptionFieldBuilder();
1834         }
1835       }
1836       private static Builder create() {
1837         return new Builder();
1838       }
1839       
1840       public Builder clear() {
1841         super.clear();
1842         source_ = "";
1843         bitField0_ = (bitField0_ & ~0x00000001);
1844         if (genericExceptionBuilder_ == null) {
1845           genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
1846         } else {
1847           genericExceptionBuilder_.clear();
1848         }
1849         bitField0_ = (bitField0_ & ~0x00000002);
1850         return this;
1851       }
1852       
1853       public Builder clone() {
1854         return create().mergeFrom(buildPartial());
1855       }
1856       
1857       public com.google.protobuf.Descriptors.Descriptor
1858           getDescriptorForType() {
1859         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDescriptor();
1860       }
1861       
1862       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage getDefaultInstanceForType() {
1863         return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance();
1864       }
1865       
1866       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage build() {
1867         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = buildPartial();
1868         if (!result.isInitialized()) {
1869           throw newUninitializedMessageException(result);
1870         }
1871         return result;
1872       }
1873       
1874       private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage buildParsed()
1875           throws com.google.protobuf.InvalidProtocolBufferException {
1876         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = buildPartial();
1877         if (!result.isInitialized()) {
1878           throw newUninitializedMessageException(
1879             result).asInvalidProtocolBufferException();
1880         }
1881         return result;
1882       }
1883       
1884       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage buildPartial() {
1885         org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage(this);
1886         int from_bitField0_ = bitField0_;
1887         int to_bitField0_ = 0;
1888         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1889           to_bitField0_ |= 0x00000001;
1890         }
1891         result.source_ = source_;
1892         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1893           to_bitField0_ |= 0x00000002;
1894         }
1895         if (genericExceptionBuilder_ == null) {
1896           result.genericException_ = genericException_;
1897         } else {
1898           result.genericException_ = genericExceptionBuilder_.build();
1899         }
1900         result.bitField0_ = to_bitField0_;
1901         onBuilt();
1902         return result;
1903       }
1904       
1905       public Builder mergeFrom(com.google.protobuf.Message other) {
1906         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage) {
1907           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage)other);
1908         } else {
1909           super.mergeFrom(other);
1910           return this;
1911         }
1912       }
1913       
1914       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage other) {
1915         if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance()) return this;
1916         if (other.hasSource()) {
1917           setSource(other.getSource());
1918         }
1919         if (other.hasGenericException()) {
1920           mergeGenericException(other.getGenericException());
1921         }
1922         this.mergeUnknownFields(other.getUnknownFields());
1923         return this;
1924       }
1925       
1926       public final boolean isInitialized() {
1927         return true;
1928       }
1929       
1930       public Builder mergeFrom(
1931           com.google.protobuf.CodedInputStream input,
1932           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1933           throws java.io.IOException {
1934         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1935           com.google.protobuf.UnknownFieldSet.newBuilder(
1936             this.getUnknownFields());
1937         while (true) {
1938           int tag = input.readTag();
1939           switch (tag) {
1940             case 0:
1941               this.setUnknownFields(unknownFields.build());
1942               onChanged();
1943               return this;
1944             default: {
1945               if (!parseUnknownField(input, unknownFields,
1946                                      extensionRegistry, tag)) {
1947                 this.setUnknownFields(unknownFields.build());
1948                 onChanged();
1949                 return this;
1950               }
1951               break;
1952             }
1953             case 10: {
1954               bitField0_ |= 0x00000001;
1955               source_ = input.readBytes();
1956               break;
1957             }
1958             case 18: {
1959               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder();
1960               if (hasGenericException()) {
1961                 subBuilder.mergeFrom(getGenericException());
1962               }
1963               input.readMessage(subBuilder, extensionRegistry);
1964               setGenericException(subBuilder.buildPartial());
1965               break;
1966             }
1967           }
1968         }
1969       }
1970       
1971       private int bitField0_;
1972       
1973       // optional string source = 1;
1974       private java.lang.Object source_ = "";
1975       public boolean hasSource() {
1976         return ((bitField0_ & 0x00000001) == 0x00000001);
1977       }
1978       public String getSource() {
1979         java.lang.Object ref = source_;
1980         if (!(ref instanceof String)) {
1981           String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1982           source_ = s;
1983           return s;
1984         } else {
1985           return (String) ref;
1986         }
1987       }
1988       public Builder setSource(String value) {
1989         if (value == null) {
1990     throw new NullPointerException();
1991   }
1992   bitField0_ |= 0x00000001;
1993         source_ = value;
1994         onChanged();
1995         return this;
1996       }
1997       public Builder clearSource() {
1998         bitField0_ = (bitField0_ & ~0x00000001);
1999         source_ = getDefaultInstance().getSource();
2000         onChanged();
2001         return this;
2002       }
2003       void setSource(com.google.protobuf.ByteString value) {
2004         bitField0_ |= 0x00000001;
2005         source_ = value;
2006         onChanged();
2007       }
2008       
2009       // optional .GenericExceptionMessage genericException = 2;
2010       private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
2011       private com.google.protobuf.SingleFieldBuilder<
2012           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder> genericExceptionBuilder_;
2013       public boolean hasGenericException() {
2014         return ((bitField0_ & 0x00000002) == 0x00000002);
2015       }
2016       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
2017         if (genericExceptionBuilder_ == null) {
2018           return genericException_;
2019         } else {
2020           return genericExceptionBuilder_.getMessage();
2021         }
2022       }
2023       public Builder setGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
2024         if (genericExceptionBuilder_ == null) {
2025           if (value == null) {
2026             throw new NullPointerException();
2027           }
2028           genericException_ = value;
2029           onChanged();
2030         } else {
2031           genericExceptionBuilder_.setMessage(value);
2032         }
2033         bitField0_ |= 0x00000002;
2034         return this;
2035       }
2036       public Builder setGenericException(
2037           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder builderForValue) {
2038         if (genericExceptionBuilder_ == null) {
2039           genericException_ = builderForValue.build();
2040           onChanged();
2041         } else {
2042           genericExceptionBuilder_.setMessage(builderForValue.build());
2043         }
2044         bitField0_ |= 0x00000002;
2045         return this;
2046       }
2047       public Builder mergeGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
2048         if (genericExceptionBuilder_ == null) {
2049           if (((bitField0_ & 0x00000002) == 0x00000002) &&
2050               genericException_ != org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance()) {
2051             genericException_ =
2052               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder(genericException_).mergeFrom(value).buildPartial();
2053           } else {
2054             genericException_ = value;
2055           }
2056           onChanged();
2057         } else {
2058           genericExceptionBuilder_.mergeFrom(value);
2059         }
2060         bitField0_ |= 0x00000002;
2061         return this;
2062       }
2063       public Builder clearGenericException() {
2064         if (genericExceptionBuilder_ == null) {
2065           genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
2066           onChanged();
2067         } else {
2068           genericExceptionBuilder_.clear();
2069         }
2070         bitField0_ = (bitField0_ & ~0x00000002);
2071         return this;
2072       }
2073       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder getGenericExceptionBuilder() {
2074         bitField0_ |= 0x00000002;
2075         onChanged();
2076         return getGenericExceptionFieldBuilder().getBuilder();
2077       }
2078       public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder() {
2079         if (genericExceptionBuilder_ != null) {
2080           return genericExceptionBuilder_.getMessageOrBuilder();
2081         } else {
2082           return genericException_;
2083         }
2084       }
2085       private com.google.protobuf.SingleFieldBuilder<
2086           org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder> 
2087           getGenericExceptionFieldBuilder() {
2088         if (genericExceptionBuilder_ == null) {
2089           genericExceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
2090               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder>(
2091                   genericException_,
2092                   getParentForChildren(),
2093                   isClean());
2094           genericException_ = null;
2095         }
2096         return genericExceptionBuilder_;
2097       }
2098       
2099       // @@protoc_insertion_point(builder_scope:ForeignExceptionMessage)
2100     }
2101     
2102     static {
2103       defaultInstance = new ForeignExceptionMessage(true);
2104       defaultInstance.initFields();
2105     }
2106     
2107     // @@protoc_insertion_point(class_scope:ForeignExceptionMessage)
2108   }
2109   
2110   private static com.google.protobuf.Descriptors.Descriptor
2111     internal_static_StackTraceElementMessage_descriptor;
2112   private static
2113     com.google.protobuf.GeneratedMessage.FieldAccessorTable
2114       internal_static_StackTraceElementMessage_fieldAccessorTable;
2115   private static com.google.protobuf.Descriptors.Descriptor
2116     internal_static_GenericExceptionMessage_descriptor;
2117   private static
2118     com.google.protobuf.GeneratedMessage.FieldAccessorTable
2119       internal_static_GenericExceptionMessage_fieldAccessorTable;
2120   private static com.google.protobuf.Descriptors.Descriptor
2121     internal_static_ForeignExceptionMessage_descriptor;
2122   private static
2123     com.google.protobuf.GeneratedMessage.FieldAccessorTable
2124       internal_static_ForeignExceptionMessage_fieldAccessorTable;
2125   
2126   public static com.google.protobuf.Descriptors.FileDescriptor
2127       getDescriptor() {
2128     return descriptor;
2129   }
2130   private static com.google.protobuf.Descriptors.FileDescriptor
2131       descriptor;
2132   static {
2133     java.lang.String[] descriptorData = {
2134       "\n\023ErrorHandling.proto\"l\n\030StackTraceEleme" +
2135       "ntMessage\022\026\n\016declaringClass\030\001 \001(\t\022\022\n\nmet" +
2136       "hodName\030\002 \001(\t\022\020\n\010fileName\030\003 \001(\t\022\022\n\nlineN" +
2137       "umber\030\004 \001(\005\"z\n\027GenericExceptionMessage\022\021" +
2138       "\n\tclassName\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022\021\n\ter" +
2139       "rorInfo\030\003 \001(\014\022(\n\005trace\030\004 \003(\0132\031.StackTrac" +
2140       "eElementMessage\"]\n\027ForeignExceptionMessa" +
2141       "ge\022\016\n\006source\030\001 \001(\t\0222\n\020genericException\030\002" +
2142       " \001(\0132\030.GenericExceptionMessageBF\n*org.ap" +
2143       "ache.hadoop.hbase.protobuf.generatedB\023Er",
2144       "rorHandlingProtosH\001\240\001\001"
2145     };
2146     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
2147       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
2148         public com.google.protobuf.ExtensionRegistry assignDescriptors(
2149             com.google.protobuf.Descriptors.FileDescriptor root) {
2150           descriptor = root;
2151           internal_static_StackTraceElementMessage_descriptor =
2152             getDescriptor().getMessageTypes().get(0);
2153           internal_static_StackTraceElementMessage_fieldAccessorTable = new
2154             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2155               internal_static_StackTraceElementMessage_descriptor,
2156               new java.lang.String[] { "DeclaringClass", "MethodName", "FileName", "LineNumber", },
2157               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.class,
2158               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder.class);
2159           internal_static_GenericExceptionMessage_descriptor =
2160             getDescriptor().getMessageTypes().get(1);
2161           internal_static_GenericExceptionMessage_fieldAccessorTable = new
2162             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2163               internal_static_GenericExceptionMessage_descriptor,
2164               new java.lang.String[] { "ClassName", "Message", "ErrorInfo", "Trace", },
2165               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.class,
2166               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder.class);
2167           internal_static_ForeignExceptionMessage_descriptor =
2168             getDescriptor().getMessageTypes().get(2);
2169           internal_static_ForeignExceptionMessage_fieldAccessorTable = new
2170             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
2171               internal_static_ForeignExceptionMessage_descriptor,
2172               new java.lang.String[] { "Source", "GenericException", },
2173               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.class,
2174               org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder.class);
2175           return null;
2176         }
2177       };
2178     com.google.protobuf.Descriptors.FileDescriptor
2179       .internalBuildGeneratedFileFrom(descriptorData,
2180         new com.google.protobuf.Descriptors.FileDescriptor[] {
2181         }, assigner);
2182   }
2183   
2184   // @@protoc_insertion_point(outer_class_scope)
2185 }