com.dimajix.flowman.kernel.proto.Exception Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: exception.proto
package com.dimajix.flowman.kernel.proto;
/**
* Protobuf type {@code com.dimajix.flowman.kernel.Exception}
*/
public final class Exception extends
com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.Exception)
ExceptionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Exception.newBuilder() to construct.
private Exception(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Exception() {
className_ = "";
fqName_ = "";
message_ = "";
stackTrace_ = java.util.Collections.emptyList();
suppressed_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Exception();
}
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_Exception_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_Exception_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.Exception.class, com.dimajix.flowman.kernel.proto.Exception.Builder.class);
}
private int bitField0_;
public static final int CLASSNAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object className_ = "";
/**
* string className = 1;
* @return The className.
*/
@java.lang.Override
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
className_ = s;
return s;
}
}
/**
* string className = 1;
* @return The bytes for className.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int FQNAME_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object fqName_ = "";
/**
* string fqName = 2;
* @return The fqName.
*/
@java.lang.Override
public java.lang.String getFqName() {
java.lang.Object ref = fqName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fqName_ = s;
return s;
}
}
/**
* string fqName = 2;
* @return The bytes for fqName.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getFqNameBytes() {
java.lang.Object ref = fqName_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fqName_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* optional string message = 3;
* @return Whether the message field is set.
*/
@java.lang.Override
public boolean hasMessage() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string message = 3;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
}
}
/**
* optional string message = 3;
* @return The bytes for message.
*/
@java.lang.Override
public com.dimajix.shaded.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
public static final int STACKTRACE_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List stackTrace_;
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
@java.lang.Override
public java.util.List getStackTraceList() {
return stackTrace_;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder>
getStackTraceOrBuilderList() {
return stackTrace_;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
@java.lang.Override
public int getStackTraceCount() {
return stackTrace_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.StackTraceElement getStackTrace(int index) {
return stackTrace_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder getStackTraceOrBuilder(
int index) {
return stackTrace_.get(index);
}
public static final int SUPPRESSED_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private java.util.List suppressed_;
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
@java.lang.Override
public java.util.List getSuppressedList() {
return suppressed_;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
@java.lang.Override
public java.util.List extends com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>
getSuppressedOrBuilderList() {
return suppressed_;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
@java.lang.Override
public int getSuppressedCount() {
return suppressed_.size();
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception getSuppressed(int index) {
return suppressed_.get(index);
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExceptionOrBuilder getSuppressedOrBuilder(
int index) {
return suppressed_.get(index);
}
public static final int CAUSE_FIELD_NUMBER = 6;
private com.dimajix.flowman.kernel.proto.Exception cause_;
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
* @return Whether the cause field is set.
*/
@java.lang.Override
public boolean hasCause() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
* @return The cause.
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception getCause() {
return cause_ == null ? com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance() : cause_;
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
@java.lang.Override
public com.dimajix.flowman.kernel.proto.ExceptionOrBuilder getCauseOrBuilder() {
return cause_ == null ? com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance() : cause_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.dimajix.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(className_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, className_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(fqName_)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, fqName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, message_);
}
for (int i = 0; i < stackTrace_.size(); i++) {
output.writeMessage(4, stackTrace_.get(i));
}
for (int i = 0; i < suppressed_.size(); i++) {
output.writeMessage(5, suppressed_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(6, getCause());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(className_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, className_);
}
if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(fqName_)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, fqName_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, message_);
}
for (int i = 0; i < stackTrace_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(4, stackTrace_.get(i));
}
for (int i = 0; i < suppressed_.size(); i++) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(5, suppressed_.get(i));
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.dimajix.shaded.protobuf.CodedOutputStream
.computeMessageSize(6, getCause());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.dimajix.flowman.kernel.proto.Exception)) {
return super.equals(obj);
}
com.dimajix.flowman.kernel.proto.Exception other = (com.dimajix.flowman.kernel.proto.Exception) obj;
if (!getClassName()
.equals(other.getClassName())) return false;
if (!getFqName()
.equals(other.getFqName())) return false;
if (hasMessage() != other.hasMessage()) return false;
if (hasMessage()) {
if (!getMessage()
.equals(other.getMessage())) return false;
}
if (!getStackTraceList()
.equals(other.getStackTraceList())) return false;
if (!getSuppressedList()
.equals(other.getSuppressedList())) return false;
if (hasCause() != other.hasCause()) return false;
if (hasCause()) {
if (!getCause()
.equals(other.getCause())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CLASSNAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
hash = (37 * hash) + FQNAME_FIELD_NUMBER;
hash = (53 * hash) + getFqName().hashCode();
if (hasMessage()) {
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
}
if (getStackTraceCount() > 0) {
hash = (37 * hash) + STACKTRACE_FIELD_NUMBER;
hash = (53 * hash) + getStackTraceList().hashCode();
}
if (getSuppressedCount() > 0) {
hash = (37 * hash) + SUPPRESSED_FIELD_NUMBER;
hash = (53 * hash) + getSuppressedList().hashCode();
}
if (hasCause()) {
hash = (37 * hash) + CAUSE_FIELD_NUMBER;
hash = (53 * hash) + getCause().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
java.nio.ByteBuffer data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
java.nio.ByteBuffer data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
com.dimajix.shaded.protobuf.ByteString data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
com.dimajix.shaded.protobuf.ByteString data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(byte[] data)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
byte[] data,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.Exception parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.Exception parseDelimitedFrom(
java.io.InputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.dimajix.flowman.kernel.proto.Exception parseFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.dimajix.flowman.kernel.proto.Exception prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code com.dimajix.flowman.kernel.Exception}
*/
public static final class Builder extends
com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.Exception)
com.dimajix.flowman.kernel.proto.ExceptionOrBuilder {
public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_Exception_descriptor;
}
@java.lang.Override
protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_Exception_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.dimajix.flowman.kernel.proto.Exception.class, com.dimajix.flowman.kernel.proto.Exception.Builder.class);
}
// Construct using com.dimajix.flowman.kernel.proto.Exception.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.dimajix.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.dimajix.shaded.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getStackTraceFieldBuilder();
getSuppressedFieldBuilder();
getCauseFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
className_ = "";
fqName_ = "";
message_ = "";
if (stackTraceBuilder_ == null) {
stackTrace_ = java.util.Collections.emptyList();
} else {
stackTrace_ = null;
stackTraceBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (suppressedBuilder_ == null) {
suppressed_ = java.util.Collections.emptyList();
} else {
suppressed_ = null;
suppressedBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
cause_ = null;
if (causeBuilder_ != null) {
causeBuilder_.dispose();
causeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_Exception_descriptor;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception getDefaultInstanceForType() {
return com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance();
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception build() {
com.dimajix.flowman.kernel.proto.Exception result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception buildPartial() {
com.dimajix.flowman.kernel.proto.Exception result = new com.dimajix.flowman.kernel.proto.Exception(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.Exception result) {
if (stackTraceBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
stackTrace_ = java.util.Collections.unmodifiableList(stackTrace_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.stackTrace_ = stackTrace_;
} else {
result.stackTrace_ = stackTraceBuilder_.build();
}
if (suppressedBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0)) {
suppressed_ = java.util.Collections.unmodifiableList(suppressed_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.suppressed_ = suppressed_;
} else {
result.suppressed_ = suppressedBuilder_.build();
}
}
private void buildPartial0(com.dimajix.flowman.kernel.proto.Exception result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.className_ = className_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.fqName_ = fqName_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000004) != 0)) {
result.message_ = message_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.cause_ = causeBuilder_ == null
? cause_
: causeBuilder_.build();
to_bitField0_ |= 0x00000002;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder mergeFrom(com.dimajix.shaded.protobuf.Message other) {
if (other instanceof com.dimajix.flowman.kernel.proto.Exception) {
return mergeFrom((com.dimajix.flowman.kernel.proto.Exception)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.dimajix.flowman.kernel.proto.Exception other) {
if (other == com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance()) return this;
if (!other.getClassName().isEmpty()) {
className_ = other.className_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFqName().isEmpty()) {
fqName_ = other.fqName_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasMessage()) {
message_ = other.message_;
bitField0_ |= 0x00000004;
onChanged();
}
if (stackTraceBuilder_ == null) {
if (!other.stackTrace_.isEmpty()) {
if (stackTrace_.isEmpty()) {
stackTrace_ = other.stackTrace_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureStackTraceIsMutable();
stackTrace_.addAll(other.stackTrace_);
}
onChanged();
}
} else {
if (!other.stackTrace_.isEmpty()) {
if (stackTraceBuilder_.isEmpty()) {
stackTraceBuilder_.dispose();
stackTraceBuilder_ = null;
stackTrace_ = other.stackTrace_;
bitField0_ = (bitField0_ & ~0x00000008);
stackTraceBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStackTraceFieldBuilder() : null;
} else {
stackTraceBuilder_.addAllMessages(other.stackTrace_);
}
}
}
if (suppressedBuilder_ == null) {
if (!other.suppressed_.isEmpty()) {
if (suppressed_.isEmpty()) {
suppressed_ = other.suppressed_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureSuppressedIsMutable();
suppressed_.addAll(other.suppressed_);
}
onChanged();
}
} else {
if (!other.suppressed_.isEmpty()) {
if (suppressedBuilder_.isEmpty()) {
suppressedBuilder_.dispose();
suppressedBuilder_ = null;
suppressed_ = other.suppressed_;
bitField0_ = (bitField0_ & ~0x00000010);
suppressedBuilder_ =
com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSuppressedFieldBuilder() : null;
} else {
suppressedBuilder_.addAllMessages(other.suppressed_);
}
}
}
if (other.hasCause()) {
mergeCause(other.getCause());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
className_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
fqName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
com.dimajix.flowman.kernel.proto.StackTraceElement m =
input.readMessage(
com.dimajix.flowman.kernel.proto.StackTraceElement.parser(),
extensionRegistry);
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
stackTrace_.add(m);
} else {
stackTraceBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
com.dimajix.flowman.kernel.proto.Exception m =
input.readMessage(
com.dimajix.flowman.kernel.proto.Exception.parser(),
extensionRegistry);
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.add(m);
} else {
suppressedBuilder_.addMessage(m);
}
break;
} // case 42
case 50: {
input.readMessage(
getCauseFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object className_ = "";
/**
* string className = 1;
* @return The className.
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
className_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string className = 1;
* @return The bytes for className.
*/
public com.dimajix.shaded.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string className = 1;
* @param value The className to set.
* @return This builder for chaining.
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
className_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string className = 1;
* @return This builder for chaining.
*/
public Builder clearClassName() {
className_ = getDefaultInstance().getClassName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string className = 1;
* @param value The bytes for className to set.
* @return This builder for chaining.
*/
public Builder setClassNameBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
className_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object fqName_ = "";
/**
* string fqName = 2;
* @return The fqName.
*/
public java.lang.String getFqName() {
java.lang.Object ref = fqName_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fqName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string fqName = 2;
* @return The bytes for fqName.
*/
public com.dimajix.shaded.protobuf.ByteString
getFqNameBytes() {
java.lang.Object ref = fqName_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fqName_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* string fqName = 2;
* @param value The fqName to set.
* @return This builder for chaining.
*/
public Builder setFqName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
fqName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string fqName = 2;
* @return This builder for chaining.
*/
public Builder clearFqName() {
fqName_ = getDefaultInstance().getFqName();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string fqName = 2;
* @param value The bytes for fqName to set.
* @return This builder for chaining.
*/
public Builder setFqNameBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
fqName_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 3;
* @return Whether the message field is set.
*/
public boolean hasMessage() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional string message = 3;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.dimajix.shaded.protobuf.ByteString bs =
(com.dimajix.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 3;
* @return The bytes for message.
*/
public com.dimajix.shaded.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.dimajix.shaded.protobuf.ByteString b =
com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.dimajix.shaded.protobuf.ByteString) ref;
}
}
/**
* optional string message = 3;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* optional string message = 3;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* optional string message = 3;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.dimajix.shaded.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.util.List stackTrace_ =
java.util.Collections.emptyList();
private void ensureStackTraceIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
stackTrace_ = new java.util.ArrayList(stackTrace_);
bitField0_ |= 0x00000008;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.StackTraceElement, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder, com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder> stackTraceBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public java.util.List getStackTraceList() {
if (stackTraceBuilder_ == null) {
return java.util.Collections.unmodifiableList(stackTrace_);
} else {
return stackTraceBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public int getStackTraceCount() {
if (stackTraceBuilder_ == null) {
return stackTrace_.size();
} else {
return stackTraceBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public com.dimajix.flowman.kernel.proto.StackTraceElement getStackTrace(int index) {
if (stackTraceBuilder_ == null) {
return stackTrace_.get(index);
} else {
return stackTraceBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder setStackTrace(
int index, com.dimajix.flowman.kernel.proto.StackTraceElement value) {
if (stackTraceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceIsMutable();
stackTrace_.set(index, value);
onChanged();
} else {
stackTraceBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder setStackTrace(
int index, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder builderForValue) {
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
stackTrace_.set(index, builderForValue.build());
onChanged();
} else {
stackTraceBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder addStackTrace(com.dimajix.flowman.kernel.proto.StackTraceElement value) {
if (stackTraceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceIsMutable();
stackTrace_.add(value);
onChanged();
} else {
stackTraceBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder addStackTrace(
int index, com.dimajix.flowman.kernel.proto.StackTraceElement value) {
if (stackTraceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTraceIsMutable();
stackTrace_.add(index, value);
onChanged();
} else {
stackTraceBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder addStackTrace(
com.dimajix.flowman.kernel.proto.StackTraceElement.Builder builderForValue) {
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
stackTrace_.add(builderForValue.build());
onChanged();
} else {
stackTraceBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder addStackTrace(
int index, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder builderForValue) {
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
stackTrace_.add(index, builderForValue.build());
onChanged();
} else {
stackTraceBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder addAllStackTrace(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.StackTraceElement> values) {
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, stackTrace_);
onChanged();
} else {
stackTraceBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder clearStackTrace() {
if (stackTraceBuilder_ == null) {
stackTrace_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
stackTraceBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public Builder removeStackTrace(int index) {
if (stackTraceBuilder_ == null) {
ensureStackTraceIsMutable();
stackTrace_.remove(index);
onChanged();
} else {
stackTraceBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public com.dimajix.flowman.kernel.proto.StackTraceElement.Builder getStackTraceBuilder(
int index) {
return getStackTraceFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder getStackTraceOrBuilder(
int index) {
if (stackTraceBuilder_ == null) {
return stackTrace_.get(index); } else {
return stackTraceBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder>
getStackTraceOrBuilderList() {
if (stackTraceBuilder_ != null) {
return stackTraceBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stackTrace_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public com.dimajix.flowman.kernel.proto.StackTraceElement.Builder addStackTraceBuilder() {
return getStackTraceFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.StackTraceElement.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public com.dimajix.flowman.kernel.proto.StackTraceElement.Builder addStackTraceBuilder(
int index) {
return getStackTraceFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.StackTraceElement.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.StackTraceElement stackTrace = 4;
*/
public java.util.List
getStackTraceBuilderList() {
return getStackTraceFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.StackTraceElement, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder, com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder>
getStackTraceFieldBuilder() {
if (stackTraceBuilder_ == null) {
stackTraceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.StackTraceElement, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder, com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder>(
stackTrace_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
stackTrace_ = null;
}
return stackTraceBuilder_;
}
private java.util.List suppressed_ =
java.util.Collections.emptyList();
private void ensureSuppressedIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
suppressed_ = new java.util.ArrayList(suppressed_);
bitField0_ |= 0x00000010;
}
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder> suppressedBuilder_;
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public java.util.List getSuppressedList() {
if (suppressedBuilder_ == null) {
return java.util.Collections.unmodifiableList(suppressed_);
} else {
return suppressedBuilder_.getMessageList();
}
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public int getSuppressedCount() {
if (suppressedBuilder_ == null) {
return suppressed_.size();
} else {
return suppressedBuilder_.getCount();
}
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public com.dimajix.flowman.kernel.proto.Exception getSuppressed(int index) {
if (suppressedBuilder_ == null) {
return suppressed_.get(index);
} else {
return suppressedBuilder_.getMessage(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder setSuppressed(
int index, com.dimajix.flowman.kernel.proto.Exception value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.set(index, value);
onChanged();
} else {
suppressedBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder setSuppressed(
int index, com.dimajix.flowman.kernel.proto.Exception.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.set(index, builderForValue.build());
onChanged();
} else {
suppressedBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder addSuppressed(com.dimajix.flowman.kernel.proto.Exception value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.add(value);
onChanged();
} else {
suppressedBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder addSuppressed(
int index, com.dimajix.flowman.kernel.proto.Exception value) {
if (suppressedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSuppressedIsMutable();
suppressed_.add(index, value);
onChanged();
} else {
suppressedBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder addSuppressed(
com.dimajix.flowman.kernel.proto.Exception.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.add(builderForValue.build());
onChanged();
} else {
suppressedBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder addSuppressed(
int index, com.dimajix.flowman.kernel.proto.Exception.Builder builderForValue) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.add(index, builderForValue.build());
onChanged();
} else {
suppressedBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder addAllSuppressed(
java.lang.Iterable extends com.dimajix.flowman.kernel.proto.Exception> values) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, suppressed_);
onChanged();
} else {
suppressedBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder clearSuppressed() {
if (suppressedBuilder_ == null) {
suppressed_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
suppressedBuilder_.clear();
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public Builder removeSuppressed(int index) {
if (suppressedBuilder_ == null) {
ensureSuppressedIsMutable();
suppressed_.remove(index);
onChanged();
} else {
suppressedBuilder_.remove(index);
}
return this;
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public com.dimajix.flowman.kernel.proto.Exception.Builder getSuppressedBuilder(
int index) {
return getSuppressedFieldBuilder().getBuilder(index);
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public com.dimajix.flowman.kernel.proto.ExceptionOrBuilder getSuppressedOrBuilder(
int index) {
if (suppressedBuilder_ == null) {
return suppressed_.get(index); } else {
return suppressedBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public java.util.List extends com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>
getSuppressedOrBuilderList() {
if (suppressedBuilder_ != null) {
return suppressedBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(suppressed_);
}
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public com.dimajix.flowman.kernel.proto.Exception.Builder addSuppressedBuilder() {
return getSuppressedFieldBuilder().addBuilder(
com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public com.dimajix.flowman.kernel.proto.Exception.Builder addSuppressedBuilder(
int index) {
return getSuppressedFieldBuilder().addBuilder(
index, com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance());
}
/**
* repeated .com.dimajix.flowman.kernel.Exception suppressed = 5;
*/
public java.util.List
getSuppressedBuilderList() {
return getSuppressedFieldBuilder().getBuilderList();
}
private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>
getSuppressedFieldBuilder() {
if (suppressedBuilder_ == null) {
suppressedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>(
suppressed_,
((bitField0_ & 0x00000010) != 0),
getParentForChildren(),
isClean());
suppressed_ = null;
}
return suppressedBuilder_;
}
private com.dimajix.flowman.kernel.proto.Exception cause_;
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder> causeBuilder_;
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
* @return Whether the cause field is set.
*/
public boolean hasCause() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
* @return The cause.
*/
public com.dimajix.flowman.kernel.proto.Exception getCause() {
if (causeBuilder_ == null) {
return cause_ == null ? com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance() : cause_;
} else {
return causeBuilder_.getMessage();
}
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public Builder setCause(com.dimajix.flowman.kernel.proto.Exception value) {
if (causeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cause_ = value;
} else {
causeBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public Builder setCause(
com.dimajix.flowman.kernel.proto.Exception.Builder builderForValue) {
if (causeBuilder_ == null) {
cause_ = builderForValue.build();
} else {
causeBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public Builder mergeCause(com.dimajix.flowman.kernel.proto.Exception value) {
if (causeBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
cause_ != null &&
cause_ != com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance()) {
getCauseBuilder().mergeFrom(value);
} else {
cause_ = value;
}
} else {
causeBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public Builder clearCause() {
bitField0_ = (bitField0_ & ~0x00000020);
cause_ = null;
if (causeBuilder_ != null) {
causeBuilder_.dispose();
causeBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public com.dimajix.flowman.kernel.proto.Exception.Builder getCauseBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getCauseFieldBuilder().getBuilder();
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
public com.dimajix.flowman.kernel.proto.ExceptionOrBuilder getCauseOrBuilder() {
if (causeBuilder_ != null) {
return causeBuilder_.getMessageOrBuilder();
} else {
return cause_ == null ?
com.dimajix.flowman.kernel.proto.Exception.getDefaultInstance() : cause_;
}
}
/**
* optional .com.dimajix.flowman.kernel.Exception cause = 6;
*/
private com.dimajix.shaded.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>
getCauseFieldBuilder() {
if (causeBuilder_ == null) {
causeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.dimajix.flowman.kernel.proto.Exception, com.dimajix.flowman.kernel.proto.Exception.Builder, com.dimajix.flowman.kernel.proto.ExceptionOrBuilder>(
getCause(),
getParentForChildren(),
isClean());
cause_ = null;
}
return causeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.dimajix.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.Exception)
}
// @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.Exception)
private static final com.dimajix.flowman.kernel.proto.Exception DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.Exception();
}
public static com.dimajix.flowman.kernel.proto.Exception getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.dimajix.shaded.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Exception parsePartialFrom(
com.dimajix.shaded.protobuf.CodedInputStream input,
com.dimajix.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.dimajix.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.dimajix.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.dimajix.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.dimajix.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.dimajix.flowman.kernel.proto.Exception getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy