// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ErrorHandling.proto
package org.apache.hadoop.hbase.protobuf.generated;
public final class ErrorHandlingProtos {
private ErrorHandlingProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface StackTraceElementMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string declaringClass = 1;
boolean hasDeclaringClass();
String getDeclaringClass();
// optional string methodName = 2;
boolean hasMethodName();
String getMethodName();
// optional string fileName = 3;
boolean hasFileName();
String getFileName();
// optional int32 lineNumber = 4;
boolean hasLineNumber();
int getLineNumber();
}
public static final class StackTraceElementMessage extends
com.google.protobuf.GeneratedMessage
implements StackTraceElementMessageOrBuilder {
// Use StackTraceElementMessage.newBuilder() to construct.
private StackTraceElementMessage(Builder builder) {
super(builder);
}
private StackTraceElementMessage(boolean noInit) {}
private static final StackTraceElementMessage defaultInstance;
public static StackTraceElementMessage getDefaultInstance() {
return defaultInstance;
}
public StackTraceElementMessage getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_fieldAccessorTable;
}
private int bitField0_;
// optional string declaringClass = 1;
public static final int DECLARINGCLASS_FIELD_NUMBER = 1;
private java.lang.Object declaringClass_;
public boolean hasDeclaringClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDeclaringClass() {
java.lang.Object ref = declaringClass_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
declaringClass_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getDeclaringClassBytes() {
java.lang.Object ref = declaringClass_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
declaringClass_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string methodName = 2;
public static final int METHODNAME_FIELD_NUMBER = 2;
private java.lang.Object methodName_;
public boolean hasMethodName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMethodName() {
java.lang.Object ref = methodName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
methodName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
methodName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string fileName = 3;
public static final int FILENAME_FIELD_NUMBER = 3;
private java.lang.Object fileName_;
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getFileName() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
fileName_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getFileNameBytes() {
java.lang.Object ref = fileName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
fileName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional int32 lineNumber = 4;
public static final int LINENUMBER_FIELD_NUMBER = 4;
private int lineNumber_;
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getLineNumber() {
return lineNumber_;
}
private void initFields() {
declaringClass_ = "";
methodName_ = "";
fileName_ = "";
lineNumber_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getDeclaringClassBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMethodNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getFileNameBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(4, lineNumber_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getDeclaringClassBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMethodNameBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getFileNameBytes());
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(4, lineNumber_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage) obj;
boolean result = true;
result = result && (hasDeclaringClass() == other.hasDeclaringClass());
if (hasDeclaringClass()) {
result = result && getDeclaringClass()
.equals(other.getDeclaringClass());
}
result = result && (hasMethodName() == other.hasMethodName());
if (hasMethodName()) {
result = result && getMethodName()
.equals(other.getMethodName());
}
result = result && (hasFileName() == other.hasFileName());
if (hasFileName()) {
result = result && getFileName()
.equals(other.getFileName());
}
result = result && (hasLineNumber() == other.hasLineNumber());
if (hasLineNumber()) {
result = result && (getLineNumber()
== other.getLineNumber());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasDeclaringClass()) {
hash = (37 * hash) + DECLARINGCLASS_FIELD_NUMBER;
hash = (53 * hash) + getDeclaringClass().hashCode();
}
if (hasMethodName()) {
hash = (37 * hash) + METHODNAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodName().hashCode();
}
if (hasFileName()) {
hash = (37 * hash) + FILENAME_FIELD_NUMBER;
hash = (53 * hash) + getFileName().hashCode();
}
if (hasLineNumber()) {
hash = (37 * hash) + LINENUMBER_FIELD_NUMBER;
hash = (53 * hash) + getLineNumber();
}
hash = (29 * hash) + getUnknownFields().hashCode();
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_fieldAccessorTable;
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
declaringClass_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
methodName_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
fileName_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
lineNumber_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDescriptor();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage build() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.declaringClass_ = declaringClass_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.methodName_ = methodName_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.fileName_ = fileName_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.lineNumber_ = lineNumber_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance()) return this;
if (other.hasDeclaringClass()) {
setDeclaringClass(other.getDeclaringClass());
}
if (other.hasMethodName()) {
setMethodName(other.getMethodName());
}
if (other.hasFileName()) {
setFileName(other.getFileName());
}
if (other.hasLineNumber()) {
setLineNumber(other.getLineNumber());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
declaringClass_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
methodName_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
fileName_ = input.readBytes();
break;
}
case 32: {
bitField0_ |= 0x00000008;
lineNumber_ = input.readInt32();
break;
}
}
}
}
private int bitField0_;
// optional string declaringClass = 1;
private java.lang.Object declaringClass_ = "";
public boolean hasDeclaringClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getDeclaringClass() {
java.lang.Object ref = declaringClass_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
declaringClass_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setDeclaringClass(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
declaringClass_ = value;
onChanged();
return this;
}
public Builder clearDeclaringClass() {
bitField0_ = (bitField0_ & ~0x00000001);
declaringClass_ = getDefaultInstance().getDeclaringClass();
onChanged();
return this;
}
void setDeclaringClass(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
declaringClass_ = value;
onChanged();
}
// optional string methodName = 2;
private java.lang.Object methodName_ = "";
public boolean hasMethodName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMethodName() {
java.lang.Object ref = methodName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
methodName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMethodName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
methodName_ = value;
onChanged();
return this;
}
public Builder clearMethodName() {
bitField0_ = (bitField0_ & ~0x00000002);
methodName_ = getDefaultInstance().getMethodName();
onChanged();
return this;
}
void setMethodName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
methodName_ = value;
onChanged();
}
// optional string fileName = 3;
private java.lang.Object fileName_ = "";
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public String getFileName() {
java.lang.Object ref = fileName_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
fileName_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setFileName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
fileName_ = value;
onChanged();
return this;
}
public Builder clearFileName() {
bitField0_ = (bitField0_ & ~0x00000004);
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
void setFileName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000004;
fileName_ = value;
onChanged();
}
// optional int32 lineNumber = 4;
private int lineNumber_ ;
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
public int getLineNumber() {
return lineNumber_;
}
public Builder setLineNumber(int value) {
bitField0_ |= 0x00000008;
lineNumber_ = value;
onChanged();
return this;
}
public Builder clearLineNumber() {
bitField0_ = (bitField0_ & ~0x00000008);
lineNumber_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:StackTraceElementMessage)
}
static {
defaultInstance = new StackTraceElementMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:StackTraceElementMessage)
}
public interface GenericExceptionMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string className = 1;
boolean hasClassName();
String getClassName();
// optional string message = 2;
boolean hasMessage();
String getMessage();
// optional bytes errorInfo = 3;
boolean hasErrorInfo();
com.google.protobuf.ByteString getErrorInfo();
// repeated .StackTraceElementMessage trace = 4;
java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage>
getTraceList();
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index);
int getTraceCount();
java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList();
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index);
}
public static final class GenericExceptionMessage extends
com.google.protobuf.GeneratedMessage
implements GenericExceptionMessageOrBuilder {
// Use GenericExceptionMessage.newBuilder() to construct.
private GenericExceptionMessage(Builder builder) {
super(builder);
}
private GenericExceptionMessage(boolean noInit) {}
private static final GenericExceptionMessage defaultInstance;
public static GenericExceptionMessage getDefaultInstance() {
return defaultInstance;
}
public GenericExceptionMessage getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_fieldAccessorTable;
}
private int bitField0_;
// optional string className = 1;
public static final int CLASSNAME_FIELD_NUMBER = 1;
private java.lang.Object className_;
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
className_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
className_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional string message = 2;
public static final int MESSAGE_FIELD_NUMBER = 2;
private java.lang.Object message_;
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
message_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional bytes errorInfo = 3;
public static final int ERRORINFO_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString errorInfo_;
public boolean hasErrorInfo() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getErrorInfo() {
return errorInfo_;
}
// repeated .StackTraceElementMessage trace = 4;
public static final int TRACE_FIELD_NUMBER = 4;
private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> trace_;
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> getTraceList() {
return trace_;
}
public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList() {
return trace_;
}
public int getTraceCount() {
return trace_.size();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
return trace_.get(index);
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index) {
return trace_.get(index);
}
private void initFields() {
className_ = "";
message_ = "";
errorInfo_ = com.google.protobuf.ByteString.EMPTY;
trace_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getClassNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMessageBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, errorInfo_);
}
for (int i = 0; i < trace_.size(); i++) {
output.writeMessage(4, trace_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getClassNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMessageBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, errorInfo_);
}
for (int i = 0; i < trace_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, trace_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage) obj;
boolean result = true;
result = result && (hasClassName() == other.hasClassName());
if (hasClassName()) {
result = result && getClassName()
.equals(other.getClassName());
}
result = result && (hasMessage() == other.hasMessage());
if (hasMessage()) {
result = result && getMessage()
.equals(other.getMessage());
}
result = result && (hasErrorInfo() == other.hasErrorInfo());
if (hasErrorInfo()) {
result = result && getErrorInfo()
.equals(other.getErrorInfo());
}
result = result && getTraceList()
.equals(other.getTraceList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasClassName()) {
hash = (37 * hash) + CLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
}
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (hasErrorInfo()) {
hash = (37 * hash) + ERRORINFO_FIELD_NUMBER;
hash = (53 * hash) + getErrorInfo().hashCode();
}
if (getTraceCount() > 0) {
hash = (37 * hash) + TRACE_FIELD_NUMBER;
hash = (53 * hash) + getTraceList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_GenericExceptionMessage_fieldAccessorTable;
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getTraceFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
className_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
message_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
errorInfo_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
if (traceBuilder_ == null) {
trace_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
traceBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDescriptor();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage build() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.className_ = className_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.message_ = message_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.errorInfo_ = errorInfo_;
if (traceBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
trace_ = java.util.Collections.unmodifiableList(trace_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.trace_ = trace_;
} else {
result.trace_ = traceBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance()) return this;
if (other.hasClassName()) {
setClassName(other.getClassName());
}
if (other.hasMessage()) {
setMessage(other.getMessage());
}
if (other.hasErrorInfo()) {
setErrorInfo(other.getErrorInfo());
}
if (traceBuilder_ == null) {
if (!other.trace_.isEmpty()) {
if (trace_.isEmpty()) {
trace_ = other.trace_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTraceIsMutable();
trace_.addAll(other.trace_);
}
onChanged();
}
} else {
if (!other.trace_.isEmpty()) {
if (traceBuilder_.isEmpty()) {
traceBuilder_.dispose();
traceBuilder_ = null;
trace_ = other.trace_;
bitField0_ = (bitField0_ & ~0x00000008);
traceBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getTraceFieldBuilder() : null;
} else {
traceBuilder_.addAllMessages(other.trace_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
className_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
message_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
errorInfo_ = input.readBytes();
break;
}
case 34: {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.newBuilder();
input.readMessage(subBuilder, extensionRegistry);
addTrace(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// optional string className = 1;
private java.lang.Object className_ = "";
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
className_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setClassName(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
className_ = value;
onChanged();
return this;
}
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000001);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
void setClassName(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
className_ = value;
onChanged();
}
// optional string message = 2;
private java.lang.Object message_ = "";
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
message_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setMessage(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
message_ = value;
onChanged();
return this;
}
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000002);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
void setMessage(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000002;
message_ = value;
onChanged();
}
// optional bytes errorInfo = 3;
private com.google.protobuf.ByteString errorInfo_ = com.google.protobuf.ByteString.EMPTY;
public boolean hasErrorInfo() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
public com.google.protobuf.ByteString getErrorInfo() {
return errorInfo_;
}
public Builder setErrorInfo(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
errorInfo_ = value;
onChanged();
return this;
}
public Builder clearErrorInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
errorInfo_ = getDefaultInstance().getErrorInfo();
onChanged();
return this;
}
// repeated .StackTraceElementMessage trace = 4;
private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> trace_ =
java.util.Collections.emptyList();
private void ensureTraceIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
trace_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage>(trace_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
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_;
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> getTraceList() {
if (traceBuilder_ == null) {
return java.util.Collections.unmodifiableList(trace_);
} else {
return traceBuilder_.getMessageList();
}
}
public int getTraceCount() {
if (traceBuilder_ == null) {
return trace_.size();
} else {
return traceBuilder_.getCount();
}
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
if (traceBuilder_ == null) {
return trace_.get(index);
} else {
return traceBuilder_.getMessage(index);
}
}
public Builder setTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraceIsMutable();
trace_.set(index, value);
onChanged();
} else {
traceBuilder_.setMessage(index, value);
}
return this;
}
public Builder setTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
trace_.set(index, builderForValue.build());
onChanged();
} else {
traceBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
public Builder addTrace(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraceIsMutable();
trace_.add(value);
onChanged();
} else {
traceBuilder_.addMessage(value);
}
return this;
}
public Builder addTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTraceIsMutable();
trace_.add(index, value);
onChanged();
} else {
traceBuilder_.addMessage(index, value);
}
return this;
}
public Builder addTrace(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
trace_.add(builderForValue.build());
onChanged();
} else {
traceBuilder_.addMessage(builderForValue.build());
}
return this;
}
public Builder addTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
trace_.add(index, builderForValue.build());
onChanged();
} else {
traceBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
public Builder addAllTrace(
java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> values) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
super.addAll(values, trace_);
onChanged();
} else {
traceBuilder_.addAllMessages(values);
}
return this;
}
public Builder clearTrace() {
if (traceBuilder_ == null) {
trace_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
traceBuilder_.clear();
}
return this;
}
public Builder removeTrace(int index) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
trace_.remove(index);
onChanged();
} else {
traceBuilder_.remove(index);
}
return this;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder getTraceBuilder(
int index) {
return getTraceFieldBuilder().getBuilder(index);
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index) {
if (traceBuilder_ == null) {
return trace_.get(index); } else {
return traceBuilder_.getMessageOrBuilder(index);
}
}
public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList() {
if (traceBuilder_ != null) {
return traceBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(trace_);
}
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder addTraceBuilder() {
return getTraceFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance());
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder addTraceBuilder(
int index) {
return getTraceFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance());
}
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder>
getTraceBuilderList() {
return getTraceFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
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>
getTraceFieldBuilder() {
if (traceBuilder_ == null) {
traceBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
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>(
trace_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
trace_ = null;
}
return traceBuilder_;
}
// @@protoc_insertion_point(builder_scope:GenericExceptionMessage)
}
static {
defaultInstance = new GenericExceptionMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:GenericExceptionMessage)
}
public interface ForeignExceptionMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder {
// optional string source = 1;
boolean hasSource();
String getSource();
// optional .GenericExceptionMessage genericException = 2;
boolean hasGenericException();
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException();
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder();
}
public static final class ForeignExceptionMessage extends
com.google.protobuf.GeneratedMessage
implements ForeignExceptionMessageOrBuilder {
// Use ForeignExceptionMessage.newBuilder() to construct.
private ForeignExceptionMessage(Builder builder) {
super(builder);
}
private ForeignExceptionMessage(boolean noInit) {}
private static final ForeignExceptionMessage defaultInstance;
public static ForeignExceptionMessage getDefaultInstance() {
return defaultInstance;
}
public ForeignExceptionMessage getDefaultInstanceForType() {
return defaultInstance;
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_fieldAccessorTable;
}
private int bitField0_;
// optional string source = 1;
public static final int SOURCE_FIELD_NUMBER = 1;
private java.lang.Object source_;
public boolean hasSource() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getSource() {
java.lang.Object ref = source_;
if (ref instanceof String) {
return (String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
String s = bs.toStringUtf8();
if (com.google.protobuf.Internal.isValidUtf8(bs)) {
source_ = s;
}
return s;
}
}
private com.google.protobuf.ByteString getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
// optional .GenericExceptionMessage genericException = 2;
public static final int GENERICEXCEPTION_FIELD_NUMBER = 2;
private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_;
public boolean hasGenericException() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
return genericException_;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder() {
return genericException_;
}
private void initFields() {
source_ = "";
genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getSourceBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, genericException_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getSourceBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, genericException_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage)) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage other = (org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage) obj;
boolean result = true;
result = result && (hasSource() == other.hasSource());
if (hasSource()) {
result = result && getSource()
.equals(other.getSource());
}
result = result && (hasGenericException() == other.hasGenericException());
if (hasGenericException()) {
result = result && getGenericException()
.equals(other.getGenericException());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSource()) {
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
}
if (hasGenericException()) {
hash = (37 * hash) + GENERICEXCEPTION_FIELD_NUMBER;
hash = (53 * hash) + getGenericException().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
return hash;
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return newBuilder().mergeFrom(data, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
Builder builder = newBuilder();
if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
return builder.buildParsed();
} else {
return null;
}
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return newBuilder().mergeFrom(input).buildParsed();
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return newBuilder().mergeFrom(input, extensionRegistry)
.buildParsed();
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_fieldAccessorTable;
}
// Construct using org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getGenericExceptionFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
source_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
if (genericExceptionBuilder_ == null) {
genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
} else {
genericExceptionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDescriptor();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage build() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage buildParsed()
throws com.google.protobuf.InvalidProtocolBufferException {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(
result).asInvalidProtocolBufferException();
}
return result;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage result = new org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.source_ = source_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (genericExceptionBuilder_ == null) {
result.genericException_ = genericException_;
} else {
result.genericException_ = genericExceptionBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance()) return this;
if (other.hasSource()) {
setSource(other.getSource());
}
if (other.hasGenericException()) {
mergeGenericException(other.getGenericException());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder(
this.getUnknownFields());
while (true) {
int tag = input.readTag();
switch (tag) {
case 0:
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
this.setUnknownFields(unknownFields.build());
onChanged();
return this;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
source_ = input.readBytes();
break;
}
case 18: {
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder();
if (hasGenericException()) {
subBuilder.mergeFrom(getGenericException());
}
input.readMessage(subBuilder, extensionRegistry);
setGenericException(subBuilder.buildPartial());
break;
}
}
}
}
private int bitField0_;
// optional string source = 1;
private java.lang.Object source_ = "";
public boolean hasSource() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
public String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof String)) {
String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
source_ = s;
return s;
} else {
return (String) ref;
}
}
public Builder setSource(String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
source_ = value;
onChanged();
return this;
}
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000001);
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
void setSource(com.google.protobuf.ByteString value) {
bitField0_ |= 0x00000001;
source_ = value;
onChanged();
}
// optional .GenericExceptionMessage genericException = 2;
private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
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_;
public boolean hasGenericException() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
if (genericExceptionBuilder_ == null) {
return genericException_;
} else {
return genericExceptionBuilder_.getMessage();
}
}
public Builder setGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
if (genericExceptionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
genericException_ = value;
onChanged();
} else {
genericExceptionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder setGenericException(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder builderForValue) {
if (genericExceptionBuilder_ == null) {
genericException_ = builderForValue.build();
onChanged();
} else {
genericExceptionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
public Builder mergeGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
if (genericExceptionBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
genericException_ != org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance()) {
genericException_ =
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.newBuilder(genericException_).mergeFrom(value).buildPartial();
} else {
genericException_ = value;
}
onChanged();
} else {
genericExceptionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
public Builder clearGenericException() {
if (genericExceptionBuilder_ == null) {
genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
onChanged();
} else {
genericExceptionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder getGenericExceptionBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getGenericExceptionFieldBuilder().getBuilder();
}
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder() {
if (genericExceptionBuilder_ != null) {
return genericExceptionBuilder_.getMessageOrBuilder();
} else {
return genericException_;
}
}
private com.google.protobuf.SingleFieldBuilder<
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>
getGenericExceptionFieldBuilder() {
if (genericExceptionBuilder_ == null) {
genericExceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder<
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>(
genericException_,
getParentForChildren(),
isClean());
genericException_ = null;
}
return genericExceptionBuilder_;
}
// @@protoc_insertion_point(builder_scope:ForeignExceptionMessage)
}
static {
defaultInstance = new ForeignExceptionMessage(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:ForeignExceptionMessage)
}
private static com.google.protobuf.Descriptors.Descriptor
internal_static_StackTraceElementMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_StackTraceElementMessage_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_GenericExceptionMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_GenericExceptionMessage_fieldAccessorTable;
private static com.google.protobuf.Descriptors.Descriptor
internal_static_ForeignExceptionMessage_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ForeignExceptionMessage_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023ErrorHandling.proto\"l\n\030StackTraceEleme" +
"ntMessage\022\026\n\016declaringClass\030\001 \001(\t\022\022\n\nmet" +
"hodName\030\002 \001(\t\022\020\n\010fileName\030\003 \001(\t\022\022\n\nlineN" +
"umber\030\004 \001(\005\"z\n\027GenericExceptionMessage\022\021" +
"\n\tclassName\030\001 \001(\t\022\017\n\007message\030\002 \001(\t\022\021\n\ter" +
"rorInfo\030\003 \001(\014\022(\n\005trace\030\004 \003(\0132\031.StackTrac" +
"eElementMessage\"]\n\027ForeignExceptionMessa" +
"ge\022\016\n\006source\030\001 \001(\t\0222\n\020genericException\030\002" +
" \001(\0132\030.GenericExceptionMessageBF\n*org.ap" +
"ache.hadoop.hbase.protobuf.generatedB\023Er",
"rorHandlingProtosH\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_StackTraceElementMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_StackTraceElementMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_StackTraceElementMessage_descriptor,
new java.lang.String[] { "DeclaringClass", "MethodName", "FileName", "LineNumber", },
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.class,
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder.class);
internal_static_GenericExceptionMessage_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_GenericExceptionMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_GenericExceptionMessage_descriptor,
new java.lang.String[] { "ClassName", "Message", "ErrorInfo", "Trace", },
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.class,
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder.class);
internal_static_ForeignExceptionMessage_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_ForeignExceptionMessage_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_ForeignExceptionMessage_descriptor,
new java.lang.String[] { "Source", "GenericException", },
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.class,
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder.class);
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}