optional string declaringClass = 1;
+ */
boolean hasDeclaringClass();
- String getDeclaringClass();
-
+ /**
+ * optional string declaringClass = 1;
+ */
+ java.lang.String getDeclaringClass();
+ /**
+ * optional string declaringClass = 1;
+ */
+ com.google.protobuf.ByteString
+ getDeclaringClassBytes();
+
// optional string methodName = 2;
+ /**
+ * optional string methodName = 2;
+ */
boolean hasMethodName();
- String getMethodName();
-
+ /**
+ * optional string methodName = 2;
+ */
+ java.lang.String getMethodName();
+ /**
+ * optional string methodName = 2;
+ */
+ com.google.protobuf.ByteString
+ getMethodNameBytes();
+
// optional string fileName = 3;
+ /**
+ * optional string fileName = 3;
+ */
boolean hasFileName();
- String getFileName();
-
+ /**
+ * optional string fileName = 3;
+ */
+ java.lang.String getFileName();
+ /**
+ * optional string fileName = 3;
+ */
+ com.google.protobuf.ByteString
+ getFileNameBytes();
+
// optional int32 lineNumber = 4;
+ /**
+ * optional int32 lineNumber = 4;
+ */
boolean hasLineNumber();
+ /**
+ * optional int32 lineNumber = 4;
+ */
int getLineNumber();
}
+ /**
+ * Protobuf type {@code StackTraceElementMessage}
+ *
+ * + ** + * Protobuf version of a java.lang.StackTraceElement + * so we can serialize exceptions. + *+ */ public static final class StackTraceElementMessage extends com.google.protobuf.GeneratedMessage implements StackTraceElementMessageOrBuilder { // Use StackTraceElementMessage.newBuilder() to construct. - private StackTraceElementMessage(Builder builder) { + private StackTraceElementMessage(com.google.protobuf.GeneratedMessage.Builder> builder) { super(builder); + this.unknownFields = builder.getUnknownFields(); } - private StackTraceElementMessage(boolean noInit) {} - + private StackTraceElementMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + private static final StackTraceElementMessage defaultInstance; public static StackTraceElementMessage getDefaultInstance() { return defaultInstance; } - + public StackTraceElementMessage getDefaultInstanceForType() { return defaultInstance; } - + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StackTraceElementMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + 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; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } 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; + return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_StackTraceElementMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.class, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder.class); + } + + public static com.google.protobuf.Parser
optional string declaringClass = 1;
+ */
public boolean hasDeclaringClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getDeclaringClass() {
+ /**
+ * optional string declaringClass = 1;
+ */
+ public java.lang.String getDeclaringClass() {
java.lang.Object ref = declaringClass_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
declaringClass_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getDeclaringClassBytes() {
+ /**
+ * optional string declaringClass = 1;
+ */
+ public com.google.protobuf.ByteString
+ getDeclaringClassBytes() {
java.lang.Object ref = declaringClass_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional string methodName = 2;
+ */
public boolean hasMethodName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getMethodName() {
+ /**
+ * optional string methodName = 2;
+ */
+ public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
methodName_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getMethodNameBytes() {
+ /**
+ * optional string methodName = 2;
+ */
+ public com.google.protobuf.ByteString
+ getMethodNameBytes() {
java.lang.Object ref = methodName_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional string fileName = 3;
+ */
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getFileName() {
+ /**
+ * optional string fileName = 3;
+ */
+ public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
fileName_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getFileNameBytes() {
+ /**
+ * optional string fileName = 3;
+ */
+ public com.google.protobuf.ByteString
+ getFileNameBytes() {
java.lang.Object ref = fileName_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional int32 lineNumber = 4;
+ */
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional int32 lineNumber = 4;
+ */
public int getLineNumber() {
return lineNumber_;
}
-
+
private void initFields() {
declaringClass_ = "";
methodName_ = "";
@@ -172,11 +338,11 @@ private void initFields() {
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();
@@ -194,12 +360,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
}
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
@@ -221,14 +387,14 @@ public int 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) {
@@ -238,7 +404,7 @@ public boolean equals(final java.lang.Object obj) {
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()) {
@@ -264,9 +430,13 @@ public boolean equals(final java.lang.Object obj) {
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasDeclaringClass()) {
@@ -286,89 +456,85 @@ public int hashCode() {
hash = (53 * hash) + getLineNumber();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
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();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
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();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
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;
}
+ /**
+ * Protobuf type {@code StackTraceElementMessage}
+ *
+ * + ** + * Protobuf version of a java.lang.StackTraceElement + * so we can serialize exceptions. + *+ */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
optional string declaringClass = 1;
+ */
public boolean hasDeclaringClass() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getDeclaringClass() {
+ /**
+ * optional string declaringClass = 1;
+ */
+ public java.lang.String getDeclaringClass() {
java.lang.Object ref = declaringClass_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
declaringClass_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string declaringClass = 1;
+ */
+ public com.google.protobuf.ByteString
+ getDeclaringClassBytes() {
+ java.lang.Object ref = declaringClass_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ declaringClass_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
}
- public Builder setDeclaringClass(String value) {
+ /**
+ * optional string declaringClass = 1;
+ */
+ public Builder setDeclaringClass(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -572,34 +734,72 @@ public Builder setDeclaringClass(String value) {
onChanged();
return this;
}
+ /**
+ * optional string declaringClass = 1;
+ */
public Builder clearDeclaringClass() {
bitField0_ = (bitField0_ & ~0x00000001);
declaringClass_ = getDefaultInstance().getDeclaringClass();
onChanged();
return this;
}
- void setDeclaringClass(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * optional string declaringClass = 1;
+ */
+ public Builder setDeclaringClassBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
declaringClass_ = value;
onChanged();
+ return this;
}
-
+
// optional string methodName = 2;
private java.lang.Object methodName_ = "";
+ /**
+ * optional string methodName = 2;
+ */
public boolean hasMethodName() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getMethodName() {
+ /**
+ * optional string methodName = 2;
+ */
+ public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
methodName_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setMethodName(String value) {
+ /**
+ * optional string methodName = 2;
+ */
+ public com.google.protobuf.ByteString
+ getMethodNameBytes() {
+ java.lang.Object ref = methodName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ methodName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string methodName = 2;
+ */
+ public Builder setMethodName(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -608,34 +808,72 @@ public Builder setMethodName(String value) {
onChanged();
return this;
}
+ /**
+ * optional string methodName = 2;
+ */
public Builder clearMethodName() {
bitField0_ = (bitField0_ & ~0x00000002);
methodName_ = getDefaultInstance().getMethodName();
onChanged();
return this;
}
- void setMethodName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * optional string methodName = 2;
+ */
+ public Builder setMethodNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
methodName_ = value;
onChanged();
+ return this;
}
-
+
// optional string fileName = 3;
private java.lang.Object fileName_ = "";
+ /**
+ * optional string fileName = 3;
+ */
public boolean hasFileName() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getFileName() {
+ /**
+ * optional string fileName = 3;
+ */
+ public java.lang.String getFileName() {
java.lang.Object ref = fileName_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
fileName_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * optional string fileName = 3;
+ */
+ public com.google.protobuf.ByteString
+ getFileNameBytes() {
+ java.lang.Object ref = fileName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fileName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
}
- public Builder setFileName(String value) {
+ /**
+ * optional string fileName = 3;
+ */
+ public Builder setFileName(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -644,199 +882,404 @@ public Builder setFileName(String value) {
onChanged();
return this;
}
+ /**
+ * optional string fileName = 3;
+ */
public Builder clearFileName() {
bitField0_ = (bitField0_ & ~0x00000004);
fileName_ = getDefaultInstance().getFileName();
onChanged();
return this;
}
- void setFileName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000004;
+ /**
+ * optional string fileName = 3;
+ */
+ public Builder setFileNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
fileName_ = value;
onChanged();
+ return this;
}
-
+
// optional int32 lineNumber = 4;
private int lineNumber_ ;
+ /**
+ * optional int32 lineNumber = 4;
+ */
public boolean hasLineNumber() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional int32 lineNumber = 4;
+ */
public int getLineNumber() {
return lineNumber_;
}
+ /**
+ * optional int32 lineNumber = 4;
+ */
public Builder setLineNumber(int value) {
bitField0_ |= 0x00000008;
lineNumber_ = value;
onChanged();
return this;
}
+ /**
+ * optional int32 lineNumber = 4;
+ */
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;
+ /**
+ * optional string className = 1;
+ */
boolean hasClassName();
- String getClassName();
-
+ /**
+ * optional string className = 1;
+ */
+ java.lang.String getClassName();
+ /**
+ * optional string className = 1;
+ */
+ com.google.protobuf.ByteString
+ getClassNameBytes();
+
// optional string message = 2;
+ /**
+ * optional string message = 2;
+ */
boolean hasMessage();
- String getMessage();
-
+ /**
+ * optional string message = 2;
+ */
+ java.lang.String getMessage();
+ /**
+ * optional string message = 2;
+ */
+ com.google.protobuf.ByteString
+ getMessageBytes();
+
// optional bytes errorInfo = 3;
+ /**
+ * optional bytes errorInfo = 3;
+ */
boolean hasErrorInfo();
+ /**
+ * optional bytes errorInfo = 3;
+ */
com.google.protobuf.ByteString getErrorInfo();
-
+
// repeated .StackTraceElementMessage trace = 4;
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
java.util.Listrepeated .StackTraceElementMessage trace = 4;
+ */
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index);
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
int getTraceCount();
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList();
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index);
}
+ /**
+ * Protobuf type {@code GenericExceptionMessage}
+ *
+ * + ** + * Cause of a remote failure for a generic exception. Contains + * all the information for a generic exception as well as + * optional info about the error for generic info passing + * (which should be another protobuffed class). + *+ */ public static final class GenericExceptionMessage extends com.google.protobuf.GeneratedMessage implements GenericExceptionMessageOrBuilder { // Use GenericExceptionMessage.newBuilder() to construct. - private GenericExceptionMessage(Builder builder) { + private GenericExceptionMessage(com.google.protobuf.GeneratedMessage.Builder> builder) { super(builder); + this.unknownFields = builder.getUnknownFields(); } - private GenericExceptionMessage(boolean noInit) {} - + private GenericExceptionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + private static final GenericExceptionMessage defaultInstance; public static GenericExceptionMessage getDefaultInstance() { return defaultInstance; } - + public GenericExceptionMessage getDefaultInstanceForType() { return defaultInstance; } - + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private GenericExceptionMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + 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: { + if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { + trace_ = new java.util.ArrayList
optional string className = 1;
+ */
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getClassName() {
+ /**
+ * optional string className = 1;
+ */
+ public java.lang.String getClassName() {
java.lang.Object ref = className_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
className_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getClassNameBytes() {
+ /**
+ * optional string className = 1;
+ */
+ public com.google.protobuf.ByteString
+ getClassNameBytes() {
java.lang.Object ref = className_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional string message = 2;
+ */
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getMessage() {
+ /**
+ * optional string message = 2;
+ */
+ public java.lang.String getMessage() {
java.lang.Object ref = message_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
message_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getMessageBytes() {
+ /**
+ * optional string message = 2;
+ */
+ public com.google.protobuf.ByteString
+ getMessageBytes() {
java.lang.Object ref = message_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional bytes errorInfo = 3;
+ */
public boolean hasErrorInfo() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional bytes errorInfo = 3;
+ */
public com.google.protobuf.ByteString getErrorInfo() {
return errorInfo_;
}
-
+
// repeated .StackTraceElementMessage trace = 4;
public static final int TRACE_FIELD_NUMBER = 4;
private java.util.Listrepeated .StackTraceElementMessage trace = 4;
+ */
public java.util.Listrepeated .StackTraceElementMessage trace = 4;
+ */
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList() {
return trace_;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public int getTraceCount() {
return trace_.size();
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
return trace_.get(index);
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index) {
return trace_.get(index);
}
-
+
private void initFields() {
className_ = "";
message_ = "";
@@ -847,11 +1290,11 @@ private void initFields() {
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();
@@ -869,12 +1312,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
}
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
@@ -896,14 +1339,14 @@ public int 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) {
@@ -913,7 +1356,7 @@ public boolean equals(final java.lang.Object obj) {
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()) {
@@ -936,9 +1379,13 @@ public boolean equals(final java.lang.Object obj) {
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasClassName()) {
@@ -958,89 +1405,87 @@ public int hashCode() {
hash = (53 * hash) + getTraceList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
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();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
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();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
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;
}
+ /**
+ * Protobuf type {@code GenericExceptionMessage}
+ *
+ * + ** + * Cause of a remote failure for a generic exception. Contains + * all the information for a generic exception as well as + * optional info about the error for generic info passing + * (which should be another protobuffed class). + *+ */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
optional string className = 1;
+ */
public boolean hasClassName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getClassName() {
+ /**
+ * optional string className = 1;
+ */
+ public java.lang.String getClassName() {
java.lang.Object ref = className_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
className_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setClassName(String value) {
+ /**
+ * optional string className = 1;
+ */
+ public com.google.protobuf.ByteString
+ getClassNameBytes() {
+ java.lang.Object ref = className_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ className_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string className = 1;
+ */
+ public Builder setClassName(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -1278,34 +1716,72 @@ public Builder setClassName(String value) {
onChanged();
return this;
}
+ /**
+ * optional string className = 1;
+ */
public Builder clearClassName() {
bitField0_ = (bitField0_ & ~0x00000001);
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
- void setClassName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * optional string className = 1;
+ */
+ public Builder setClassNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
className_ = value;
onChanged();
+ return this;
}
-
+
// optional string message = 2;
private java.lang.Object message_ = "";
+ /**
+ * optional string message = 2;
+ */
public boolean hasMessage() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
- public String getMessage() {
+ /**
+ * optional string message = 2;
+ */
+ public java.lang.String getMessage() {
java.lang.Object ref = message_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
message_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setMessage(String value) {
+ /**
+ * optional string message = 2;
+ */
+ public com.google.protobuf.ByteString
+ getMessageBytes() {
+ java.lang.Object ref = message_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ message_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string message = 2;
+ */
+ public Builder setMessage(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -1314,26 +1790,46 @@ public Builder setMessage(String value) {
onChanged();
return this;
}
+ /**
+ * optional string message = 2;
+ */
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000002);
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
- void setMessage(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000002;
+ /**
+ * optional string message = 2;
+ */
+ public Builder setMessageBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
message_ = value;
onChanged();
+ return this;
}
-
+
// optional bytes errorInfo = 3;
private com.google.protobuf.ByteString errorInfo_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * optional bytes errorInfo = 3;
+ */
public boolean hasErrorInfo() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional bytes errorInfo = 3;
+ */
public com.google.protobuf.ByteString getErrorInfo() {
return errorInfo_;
}
+ /**
+ * optional bytes errorInfo = 3;
+ */
public Builder setErrorInfo(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
@@ -1343,13 +1839,16 @@ public Builder setErrorInfo(com.google.protobuf.ByteString value) {
onChanged();
return this;
}
+ /**
+ * optional bytes errorInfo = 3;
+ */
public Builder clearErrorInfo() {
bitField0_ = (bitField0_ & ~0x00000004);
errorInfo_ = getDefaultInstance().getErrorInfo();
onChanged();
return this;
}
-
+
// repeated .StackTraceElementMessage trace = 4;
private java.util.Listrepeated .StackTraceElementMessage trace = 4;
+ */
public java.util.Listrepeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage getTrace(int index) {
if (traceBuilder_ == null) {
return trace_.get(index);
@@ -1384,6 +1892,9 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTrace
return traceBuilder_.getMessage(index);
}
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder setTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
@@ -1398,6 +1909,9 @@ public Builder setTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder setTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
@@ -1409,6 +1923,9 @@ public Builder setTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder addTrace(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
if (value == null) {
@@ -1422,6 +1939,9 @@ public Builder addTrace(org.apache.hadoop.hbase.protobuf.generated.ErrorHandling
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder addTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage value) {
if (traceBuilder_ == null) {
@@ -1436,6 +1956,9 @@ public Builder addTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder addTrace(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
@@ -1447,6 +1970,9 @@ public Builder addTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder addTrace(
int index, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder builderForValue) {
if (traceBuilder_ == null) {
@@ -1458,6 +1984,9 @@ public Builder addTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder addAllTrace(
java.lang.Iterable extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage> values) {
if (traceBuilder_ == null) {
@@ -1469,6 +1998,9 @@ public Builder addAllTrace(
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder clearTrace() {
if (traceBuilder_ == null) {
trace_ = java.util.Collections.emptyList();
@@ -1479,6 +2011,9 @@ public Builder clearTrace() {
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public Builder removeTrace(int index) {
if (traceBuilder_ == null) {
ensureTraceIsMutable();
@@ -1489,10 +2024,16 @@ public Builder removeTrace(int index) {
}
return this;
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder getTraceBuilder(
int index) {
return getTraceFieldBuilder().getBuilder(index);
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder getTraceOrBuilder(
int index) {
if (traceBuilder_ == null) {
@@ -1500,6 +2041,9 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTrace
return traceBuilder_.getMessageOrBuilder(index);
}
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public java.util.List extends org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder>
getTraceOrBuilderList() {
if (traceBuilder_ != null) {
@@ -1508,15 +2052,24 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTrace
return java.util.Collections.unmodifiableList(trace_);
}
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.Builder addTraceBuilder() {
return getTraceFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessage.getDefaultInstance());
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
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());
}
+ /**
+ * repeated .StackTraceElementMessage trace = 4;
+ */
public java.util.Listoptional string source = 1;
+ */
boolean hasSource();
- String getSource();
-
+ /**
+ * optional string source = 1;
+ */
+ java.lang.String getSource();
+ /**
+ * optional string source = 1;
+ */
+ com.google.protobuf.ByteString
+ getSourceBytes();
+
// optional .GenericExceptionMessage genericException = 2;
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
boolean hasGenericException();
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException();
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder();
}
+ /**
+ * Protobuf type {@code ForeignExceptionMessage}
+ *
+ * + ** + * Exception sent across the wire when a remote task needs + * to notify other tasks that it failed and why + *+ */ public static final class ForeignExceptionMessage extends com.google.protobuf.GeneratedMessage implements ForeignExceptionMessageOrBuilder { // Use ForeignExceptionMessage.newBuilder() to construct. - private ForeignExceptionMessage(Builder builder) { + private ForeignExceptionMessage(com.google.protobuf.GeneratedMessage.Builder> builder) { super(builder); + this.unknownFields = builder.getUnknownFields(); } - private ForeignExceptionMessage(boolean noInit) {} - + private ForeignExceptionMessage(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + private static final ForeignExceptionMessage defaultInstance; public static ForeignExceptionMessage getDefaultInstance() { return defaultInstance; } - + public ForeignExceptionMessage getDefaultInstanceForType() { return defaultInstance; } - + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ForeignExceptionMessage( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + source_ = input.readBytes(); + break; + } + case 18: { + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder subBuilder = null; + if (((bitField0_ & 0x00000002) == 0x00000002)) { + subBuilder = genericException_.toBuilder(); + } + genericException_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.PARSER, extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(genericException_); + genericException_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } 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; + return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_ForeignExceptionMessage_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.class, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder.class); } - + + public static com.google.protobuf.Parser
optional string source = 1;
+ */
public boolean hasSource() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getSource() {
+ /**
+ * optional string source = 1;
+ */
+ public java.lang.String getSource() {
java.lang.Object ref = source_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
source_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getSourceBytes() {
+ /**
+ * optional string source = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSourceBytes() {
java.lang.Object ref = source_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.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_;
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public boolean hasGenericException() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
return genericException_;
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
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();
@@ -1641,11 +2320,11 @@ private void initFields() {
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();
@@ -1657,12 +2336,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
}
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
@@ -1676,14 +2355,14 @@ public int 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) {
@@ -1693,7 +2372,7 @@ public boolean equals(final java.lang.Object obj) {
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()) {
@@ -1709,9 +2388,13 @@ public boolean equals(final java.lang.Object obj) {
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasSource()) {
@@ -1723,89 +2406,85 @@ public int hashCode() {
hash = (53 * hash) + getGenericException().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
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();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
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();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input);
}
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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
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();
+ return PARSER.parseFrom(input);
}
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();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
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;
}
+ /**
+ * Protobuf type {@code ForeignExceptionMessage}
+ *
+ * + ** + * Exception sent across the wire when a remote task needs + * to notify other tasks that it failed and why + *+ */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
optional string source = 1;
+ */
public boolean hasSource() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getSource() {
+ /**
+ * optional string source = 1;
+ */
+ public java.lang.String getSource() {
java.lang.Object ref = source_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
source_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
}
}
- public Builder setSource(String value) {
+ /**
+ * optional string source = 1;
+ */
+ public com.google.protobuf.ByteString
+ getSourceBytes() {
+ java.lang.Object ref = source_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ source_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * optional string source = 1;
+ */
+ public Builder setSource(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -1994,25 +2671,42 @@ public Builder setSource(String value) {
onChanged();
return this;
}
+ /**
+ * optional string source = 1;
+ */
public Builder clearSource() {
bitField0_ = (bitField0_ & ~0x00000001);
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
- void setSource(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * optional string source = 1;
+ */
+ public Builder setSourceBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
source_ = value;
onChanged();
+ return this;
}
-
+
// 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_;
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public boolean hasGenericException() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage getGenericException() {
if (genericExceptionBuilder_ == null) {
return genericException_;
@@ -2020,6 +2714,9 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExc
return genericExceptionBuilder_.getMessage();
}
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public Builder setGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
if (genericExceptionBuilder_ == null) {
if (value == null) {
@@ -2033,6 +2730,9 @@ public Builder setGenericException(org.apache.hadoop.hbase.protobuf.generated.Er
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public Builder setGenericException(
org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder builderForValue) {
if (genericExceptionBuilder_ == null) {
@@ -2044,6 +2744,9 @@ public Builder setGenericException(
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public Builder mergeGenericException(org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage value) {
if (genericExceptionBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
@@ -2060,6 +2763,9 @@ public Builder mergeGenericException(org.apache.hadoop.hbase.protobuf.generated.
bitField0_ |= 0x00000002;
return this;
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public Builder clearGenericException() {
if (genericExceptionBuilder_ == null) {
genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance();
@@ -2070,11 +2776,17 @@ public Builder clearGenericException() {
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder getGenericExceptionBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getGenericExceptionFieldBuilder().getBuilder();
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder getGenericExceptionOrBuilder() {
if (genericExceptionBuilder_ != null) {
return genericExceptionBuilder_.getMessageOrBuilder();
@@ -2082,6 +2794,9 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExc
return genericException_;
}
}
+ /**
+ * optional .GenericExceptionMessage genericException = 2;
+ */
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() {
@@ -2095,18 +2810,18 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExc
}
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
@@ -2122,7 +2837,7 @@ public org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExc
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_ForeignExceptionMessage_fieldAccessorTable;
-
+
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
@@ -2153,25 +2868,19 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
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);
+ new java.lang.String[] { "DeclaringClass", "MethodName", "FileName", "LineNumber", });
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);
+ new java.lang.String[] { "ClassName", "Message", "ErrorInfo", "Trace", });
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);
+ new java.lang.String[] { "Source", "GenericException", });
return null;
}
};
@@ -2180,6 +2889,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
-
+
// @@protoc_insertion_point(outer_class_scope)
}
diff --git a/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java b/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java
index e3068daed7b8..1871cbd03624 100644
--- a/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java
+++ b/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java
@@ -10,69 +10,240 @@ public static void registerAllExtensions(
}
public interface SnapshotDescriptionOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required string name = 1;
+ /**
+ * required string name = 1;
+ */
boolean hasName();
- String getName();
-
+ /**
+ * required string name = 1;
+ */
+ java.lang.String getName();
+ /**
+ * required string name = 1;
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
// optional string table = 2;
+ /**
+ * optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ boolean hasTable(); - String getTable(); - + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + java.lang.String getTable(); + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + com.google.protobuf.ByteString + getTableBytes(); + // optional int64 creationTime = 3 [default = 0]; + /** + *
optional int64 creationTime = 3 [default = 0];
+ */
boolean hasCreationTime();
+ /**
+ * optional int64 creationTime = 3 [default = 0];
+ */
long getCreationTime();
-
+
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
boolean hasType();
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type getType();
-
+
// optional int32 version = 5;
+ /**
+ * optional int32 version = 5;
+ */
boolean hasVersion();
+ /**
+ * optional int32 version = 5;
+ */
int getVersion();
}
+ /**
+ * Protobuf type {@code SnapshotDescription}
+ *
+ * + ** + * Description of the snapshot to take + *+ */ public static final class SnapshotDescription extends com.google.protobuf.GeneratedMessage implements SnapshotDescriptionOrBuilder { // Use SnapshotDescription.newBuilder() to construct. - private SnapshotDescription(Builder builder) { + private SnapshotDescription(com.google.protobuf.GeneratedMessage.Builder> builder) { super(builder); + this.unknownFields = builder.getUnknownFields(); } - private SnapshotDescription(boolean noInit) {} - + private SnapshotDescription(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + private static final SnapshotDescription defaultInstance; public static SnapshotDescription getDefaultInstance() { return defaultInstance; } - + public SnapshotDescription getDefaultInstanceForType() { return defaultInstance; } - + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SnapshotDescription( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + bitField0_ |= 0x00000001; + name_ = input.readBytes(); + break; + } + case 18: { + bitField0_ |= 0x00000002; + table_ = input.readBytes(); + break; + } + case 24: { + bitField0_ |= 0x00000004; + creationTime_ = input.readInt64(); + break; + } + case 32: { + int rawValue = input.readEnum(); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type value = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type.valueOf(rawValue); + if (value == null) { + unknownFields.mergeVarintField(4, rawValue); + } else { + bitField0_ |= 0x00000008; + type_ = value; + } + break; + } + case 40: { + bitField0_ |= 0x00000010; + version_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_SnapshotDescription_descriptor; } - + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_SnapshotDescription_fieldAccessorTable; + return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_SnapshotDescription_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.class, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Builder.class); + } + + public static com.google.protobuf.Parser
DISABLED = 0;
+ */
DISABLED(0, 0),
+ /**
+ * FLUSH = 1;
+ */
FLUSH(1, 1),
+ /**
+ * SKIPFLUSH = 2;
+ */
SKIPFLUSH(2, 2),
;
-
+
+ /**
+ * DISABLED = 0;
+ */
public static final int DISABLED_VALUE = 0;
+ /**
+ * FLUSH = 1;
+ */
public static final int FLUSH_VALUE = 1;
+ /**
+ * SKIPFLUSH = 2;
+ */
public static final int SKIPFLUSH_VALUE = 2;
-
-
+
+
public final int getNumber() { return value; }
-
+
public static Type valueOf(int value) {
switch (value) {
case 0: return DISABLED;
@@ -81,7 +252,7 @@ public static Type valueOf(int value) {
default: return null;
}
}
-
+
public static com.google.protobuf.Internal.EnumLiteMaprequired string name = 1;
+ */
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getName() {
+ /**
+ * required string name = 1;
+ */
+ public java.lang.String getName() {
java.lang.Object ref = name_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getNameBytes() {
+ /**
+ * required string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
java.lang.Object ref = name_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
// optional string table = 2;
public static final int TABLE_FIELD_NUMBER = 2;
private java.lang.Object table_;
+ /**
+ * optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ public boolean hasTable() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public String getTable() { + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public java.lang.String getTable() { java.lang.Object ref = table_; - if (ref instanceof String) { - return (String) ref; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - String s = bs.toStringUtf8(); - if (com.google.protobuf.Internal.isValidUtf8(bs)) { + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { table_ = s; } return s; } } - private com.google.protobuf.ByteString getTableBytes() { + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public com.google.protobuf.ByteString + getTableBytes() { java.lang.Object ref = table_; - if (ref instanceof String) { + if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((String) ref); + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - + // optional int64 creationTime = 3 [default = 0]; public static final int CREATIONTIME_FIELD_NUMBER = 3; private long creationTime_; + /** + *
optional int64 creationTime = 3 [default = 0];
+ */
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional int64 creationTime = 3 [default = 0];
+ */
public long getCreationTime() {
return creationTime_;
}
-
+
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
public static final int TYPE_FIELD_NUMBER = 4;
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type_;
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type getType() {
return type_;
}
-
+
// optional int32 version = 5;
public static final int VERSION_FIELD_NUMBER = 5;
private int version_;
+ /**
+ * optional int32 version = 5;
+ */
public boolean hasVersion() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+ /**
+ * optional int32 version = 5;
+ */
public int getVersion() {
return version_;
}
-
+
private void initFields() {
name_ = "";
table_ = "";
@@ -237,7 +458,7 @@ private void initFields() {
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasName()) {
memoizedIsInitialized = 0;
return false;
@@ -245,7 +466,7 @@ public final boolean isInitialized() {
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -266,12 +487,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
}
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
@@ -297,14 +518,14 @@ public int 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) {
@@ -314,7 +535,7 @@ public boolean equals(final java.lang.Object obj) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription other = (org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription) obj;
-
+
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
@@ -345,9 +566,13 @@ public boolean equals(final java.lang.Object obj) {
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasName()) {
@@ -371,89 +596,84 @@ public int hashCode() {
hash = (53 * hash) + getVersion();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
return hash;
}
-
+
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription 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;
}
+ /**
+ * Protobuf type {@code SnapshotDescription}
+ *
+ * + ** + * Description of the snapshot to take + *+ */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
required string name = 1;
+ */
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
- public String getName() {
+ /**
+ * required string name = 1;
+ */
+ public java.lang.String getName() {
java.lang.Object ref = name_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
name_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string name = 1;
+ */
+ public com.google.protobuf.ByteString
+ getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
}
- public Builder setName(String value) {
+ /**
+ * required string name = 1;
+ */
+ public Builder setName(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -681,34 +884,88 @@ public Builder setName(String value) {
onChanged();
return this;
}
+ /**
+ * required string name = 1;
+ */
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
- void setName(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000001;
+ /**
+ * required string name = 1;
+ */
+ public Builder setNameBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
name_ = value;
onChanged();
+ return this;
}
-
+
// optional string table = 2;
private java.lang.Object table_ = "";
+ /**
+ * optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ public boolean hasTable() { return ((bitField0_ & 0x00000002) == 0x00000002); } - public String getTable() { + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public java.lang.String getTable() { java.lang.Object ref = table_; - if (!(ref instanceof String)) { - String s = ((com.google.protobuf.ByteString) ref).toStringUtf8(); + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); table_ = s; return s; } else { - return (String) ref; + return (java.lang.String) ref; } } - public Builder setTable(String value) { + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public com.google.protobuf.ByteString + getTableBytes() { + java.lang.Object ref = table_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + table_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public Builder setTable( + java.lang.String value) { if (value == null) { throw new NullPointerException(); } @@ -717,47 +974,87 @@ public Builder setTable(String value) { onChanged(); return this; } + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000002); table_ = getDefaultInstance().getTable(); onChanged(); return this; } - void setTable(com.google.protobuf.ByteString value) { - bitField0_ |= 0x00000002; + /** + *
optional string table = 2;
+ *
+ * + * not needed for delete, but checked for in taking snapshot + *+ */ + public Builder setTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; table_ = value; onChanged(); + return this; } - + // optional int64 creationTime = 3 [default = 0]; private long creationTime_ ; + /** + *
optional int64 creationTime = 3 [default = 0];
+ */
public boolean hasCreationTime() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * optional int64 creationTime = 3 [default = 0];
+ */
public long getCreationTime() {
return creationTime_;
}
+ /**
+ * optional int64 creationTime = 3 [default = 0];
+ */
public Builder setCreationTime(long value) {
bitField0_ |= 0x00000004;
creationTime_ = value;
onChanged();
return this;
}
+ /**
+ * optional int64 creationTime = 3 [default = 0];
+ */
public Builder clearCreationTime() {
bitField0_ = (bitField0_ & ~0x00000004);
creationTime_ = 0L;
onChanged();
return this;
}
-
+
// optional .SnapshotDescription.Type type = 4 [default = FLUSH];
private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type.FLUSH;
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public boolean hasType() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type getType() {
return type_;
}
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public Builder setType(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type value) {
if (value == null) {
throw new NullPointerException();
@@ -767,91 +1064,190 @@ public Builder setType(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.Sn
onChanged();
return this;
}
+ /**
+ * optional .SnapshotDescription.Type type = 4 [default = FLUSH];
+ */
public Builder clearType() {
bitField0_ = (bitField0_ & ~0x00000008);
type_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type.FLUSH;
onChanged();
return this;
}
-
+
// optional int32 version = 5;
private int version_ ;
+ /**
+ * optional int32 version = 5;
+ */
public boolean hasVersion() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
+ /**
+ * optional int32 version = 5;
+ */
public int getVersion() {
return version_;
}
+ /**
+ * optional int32 version = 5;
+ */
public Builder setVersion(int value) {
bitField0_ |= 0x00000010;
version_ = value;
onChanged();
return this;
}
+ /**
+ * optional int32 version = 5;
+ */
public Builder clearVersion() {
bitField0_ = (bitField0_ & ~0x00000010);
version_ = 0;
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:SnapshotDescription)
}
-
+
static {
defaultInstance = new SnapshotDescription(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:SnapshotDescription)
}
-
+
public interface RegionServerInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// optional int32 infoPort = 1;
+ /**
+ * optional int32 infoPort = 1;
+ */
boolean hasInfoPort();
+ /**
+ * optional int32 infoPort = 1;
+ */
int getInfoPort();
}
+ /**
+ * Protobuf type {@code RegionServerInfo}
+ *
+ * + ** + * Description of the region server info + *+ */ public static final class RegionServerInfo extends com.google.protobuf.GeneratedMessage implements RegionServerInfoOrBuilder { // Use RegionServerInfo.newBuilder() to construct. - private RegionServerInfo(Builder builder) { + private RegionServerInfo(com.google.protobuf.GeneratedMessage.Builder> builder) { super(builder); + this.unknownFields = builder.getUnknownFields(); } - private RegionServerInfo(boolean noInit) {} - + private RegionServerInfo(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + private static final RegionServerInfo defaultInstance; public static RegionServerInfo getDefaultInstance() { return defaultInstance; } - + public RegionServerInfo getDefaultInstanceForType() { return defaultInstance; } - + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private RegionServerInfo( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownField(input, unknownFields, + extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + bitField0_ |= 0x00000001; + infoPort_ = input.readInt32(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionServerInfo_descriptor; } - + protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { - return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionServerInfo_fieldAccessorTable; + return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_RegionServerInfo_fieldAccessorTable + .ensureFieldAccessorsInitialized( + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo.class, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo.Builder.class); + } + + public static com.google.protobuf.Parser
optional int32 infoPort = 1;
+ */
public boolean hasInfoPort() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional int32 infoPort = 1;
+ */
public int getInfoPort() {
return infoPort_;
}
-
+
private void initFields() {
infoPort_ = 0;
}
@@ -859,11 +1255,11 @@ private void initFields() {
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();
@@ -872,12 +1268,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
}
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
@@ -887,14 +1283,14 @@ public int 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) {
@@ -904,7 +1300,7 @@ public boolean equals(final java.lang.Object obj) {
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo other = (org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo) obj;
-
+
boolean result = true;
result = result && (hasInfoPort() == other.hasInfoPort());
if (hasInfoPort()) {
@@ -915,9 +1311,13 @@ public boolean equals(final java.lang.Object obj) {
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasInfoPort()) {
@@ -925,89 +1325,84 @@ public int hashCode() {
hash = (53 * hash) + getInfoPort();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
return hash;
}
-
+
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo 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;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo 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;
}
+ /**
+ * Protobuf type {@code RegionServerInfo}
+ *
+ * + ** + * Description of the region server info + *+ */ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
optional int32 infoPort = 1;
+ */
public boolean hasInfoPort() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * optional int32 infoPort = 1;
+ */
public int getInfoPort() {
return infoPort_;
}
+ /**
+ * optional int32 infoPort = 1;
+ */
public Builder setInfoPort(int value) {
bitField0_ |= 0x00000001;
infoPort_ = value;
onChanged();
return this;
}
+ /**
+ * optional int32 infoPort = 1;
+ */
public Builder clearInfoPort() {
bitField0_ = (bitField0_ & ~0x00000001);
infoPort_ = 0;
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:RegionServerInfo)
}
-
+
static {
defaultInstance = new RegionServerInfo(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:RegionServerInfo)
}
-
+
private static com.google.protobuf.Descriptors.Descriptor
internal_static_SnapshotDescription_descriptor;
private static
@@ -1187,7 +1572,7 @@ public Builder clearInfoPort() {
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_RegionServerInfo_fieldAccessorTable;
-
+
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
@@ -1215,17 +1600,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
internal_static_SnapshotDescription_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_SnapshotDescription_descriptor,
- new java.lang.String[] { "Name", "Table", "CreationTime", "Type", "Version", },
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.class,
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Builder.class);
+ new java.lang.String[] { "Name", "Table", "CreationTime", "Type", "Version", });
internal_static_RegionServerInfo_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_RegionServerInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_RegionServerInfo_descriptor,
- new java.lang.String[] { "InfoPort", },
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo.class,
- org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfo.Builder.class);
+ new java.lang.String[] { "InfoPort", });
return null;
}
};
@@ -1234,6 +1615,6 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
-
+
// @@protoc_insertion_point(outer_class_scope)
}