All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dimajix.flowman.kernel.proto.StackTraceElement Maven / Gradle / Ivy

There is a newer version: 1.2.0-synapse3.3-spark3.3-hadoop3.3
Show 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.StackTraceElement}
 */
public final class StackTraceElement extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.StackTraceElement)
    StackTraceElementOrBuilder {
private static final long serialVersionUID = 0L;
  // Use StackTraceElement.newBuilder() to construct.
  private StackTraceElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private StackTraceElement() {
    classLoaderName_ = "";
    moduleName_ = "";
    moduleVersion_ = "";
    declaringClass_ = "";
    methodName_ = "";
    fileName_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new StackTraceElement();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_StackTraceElement_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_StackTraceElement_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.dimajix.flowman.kernel.proto.StackTraceElement.class, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder.class);
  }

  private int bitField0_;
  public static final int CLASSLOADERNAME_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object classLoaderName_ = "";
  /**
   * optional string classLoaderName = 1;
   * @return Whether the classLoaderName field is set.
   */
  @java.lang.Override
  public boolean hasClassLoaderName() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional string classLoaderName = 1;
   * @return The classLoaderName.
   */
  @java.lang.Override
  public java.lang.String getClassLoaderName() {
    java.lang.Object ref = classLoaderName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      classLoaderName_ = s;
      return s;
    }
  }
  /**
   * optional string classLoaderName = 1;
   * @return The bytes for classLoaderName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getClassLoaderNameBytes() {
    java.lang.Object ref = classLoaderName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      classLoaderName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MODULENAME_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object moduleName_ = "";
  /**
   * optional string moduleName = 2;
   * @return Whether the moduleName field is set.
   */
  @java.lang.Override
  public boolean hasModuleName() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional string moduleName = 2;
   * @return The moduleName.
   */
  @java.lang.Override
  public java.lang.String getModuleName() {
    java.lang.Object ref = moduleName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      moduleName_ = s;
      return s;
    }
  }
  /**
   * optional string moduleName = 2;
   * @return The bytes for moduleName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getModuleNameBytes() {
    java.lang.Object ref = moduleName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      moduleName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int MODULEVERSION_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object moduleVersion_ = "";
  /**
   * optional string moduleVersion = 3;
   * @return Whether the moduleVersion field is set.
   */
  @java.lang.Override
  public boolean hasModuleVersion() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * optional string moduleVersion = 3;
   * @return The moduleVersion.
   */
  @java.lang.Override
  public java.lang.String getModuleVersion() {
    java.lang.Object ref = moduleVersion_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      moduleVersion_ = s;
      return s;
    }
  }
  /**
   * optional string moduleVersion = 3;
   * @return The bytes for moduleVersion.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getModuleVersionBytes() {
    java.lang.Object ref = moduleVersion_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      moduleVersion_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DECLARINGCLASS_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private volatile java.lang.Object declaringClass_ = "";
  /**
   * string declaringClass = 4;
   * @return The declaringClass.
   */
  @java.lang.Override
  public java.lang.String getDeclaringClass() {
    java.lang.Object ref = declaringClass_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      declaringClass_ = s;
      return s;
    }
  }
  /**
   * string declaringClass = 4;
   * @return The bytes for declaringClass.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDeclaringClassBytes() {
    java.lang.Object ref = declaringClass_;
    if (ref instanceof java.lang.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 static final int METHODNAME_FIELD_NUMBER = 5;
  @SuppressWarnings("serial")
  private volatile java.lang.Object methodName_ = "";
  /**
   * string methodName = 5;
   * @return The methodName.
   */
  @java.lang.Override
  public java.lang.String getMethodName() {
    java.lang.Object ref = methodName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      methodName_ = s;
      return s;
    }
  }
  /**
   * string methodName = 5;
   * @return The bytes for methodName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getMethodNameBytes() {
    java.lang.Object ref = methodName_;
    if (ref instanceof java.lang.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;
    }
  }

  public static final int FILENAME_FIELD_NUMBER = 6;
  @SuppressWarnings("serial")
  private volatile java.lang.Object fileName_ = "";
  /**
   * optional string fileName = 6;
   * @return Whether the fileName field is set.
   */
  @java.lang.Override
  public boolean hasFileName() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * optional string fileName = 6;
   * @return The fileName.
   */
  @java.lang.Override
  public java.lang.String getFileName() {
    java.lang.Object ref = fileName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      fileName_ = s;
      return s;
    }
  }
  /**
   * optional string fileName = 6;
   * @return The bytes for fileName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getFileNameBytes() {
    java.lang.Object ref = fileName_;
    if (ref instanceof java.lang.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 static final int LINENUMBER_FIELD_NUMBER = 7;
  private int lineNumber_ = 0;
  /**
   * optional int32 lineNumber = 7;
   * @return Whether the lineNumber field is set.
   */
  @java.lang.Override
  public boolean hasLineNumber() {
    return ((bitField0_ & 0x00000010) != 0);
  }
  /**
   * optional int32 lineNumber = 7;
   * @return The lineNumber.
   */
  @java.lang.Override
  public int getLineNumber() {
    return lineNumber_;
  }

  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.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, classLoaderName_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, moduleName_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, moduleVersion_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(declaringClass_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, declaringClass_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, methodName_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fileName_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeInt32(7, lineNumber_);
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, classLoaderName_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, moduleName_);
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, moduleVersion_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(declaringClass_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, declaringClass_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(methodName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, methodName_);
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fileName_);
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      size += com.google.protobuf.CodedOutputStream
        .computeInt32Size(7, lineNumber_);
    }
    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.StackTraceElement)) {
      return super.equals(obj);
    }
    com.dimajix.flowman.kernel.proto.StackTraceElement other = (com.dimajix.flowman.kernel.proto.StackTraceElement) obj;

    if (hasClassLoaderName() != other.hasClassLoaderName()) return false;
    if (hasClassLoaderName()) {
      if (!getClassLoaderName()
          .equals(other.getClassLoaderName())) return false;
    }
    if (hasModuleName() != other.hasModuleName()) return false;
    if (hasModuleName()) {
      if (!getModuleName()
          .equals(other.getModuleName())) return false;
    }
    if (hasModuleVersion() != other.hasModuleVersion()) return false;
    if (hasModuleVersion()) {
      if (!getModuleVersion()
          .equals(other.getModuleVersion())) return false;
    }
    if (!getDeclaringClass()
        .equals(other.getDeclaringClass())) return false;
    if (!getMethodName()
        .equals(other.getMethodName())) return false;
    if (hasFileName() != other.hasFileName()) return false;
    if (hasFileName()) {
      if (!getFileName()
          .equals(other.getFileName())) return false;
    }
    if (hasLineNumber() != other.hasLineNumber()) return false;
    if (hasLineNumber()) {
      if (getLineNumber()
          != other.getLineNumber()) 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();
    if (hasClassLoaderName()) {
      hash = (37 * hash) + CLASSLOADERNAME_FIELD_NUMBER;
      hash = (53 * hash) + getClassLoaderName().hashCode();
    }
    if (hasModuleName()) {
      hash = (37 * hash) + MODULENAME_FIELD_NUMBER;
      hash = (53 * hash) + getModuleName().hashCode();
    }
    if (hasModuleVersion()) {
      hash = (37 * hash) + MODULEVERSION_FIELD_NUMBER;
      hash = (53 * hash) + getModuleVersion().hashCode();
    }
    hash = (37 * hash) + DECLARINGCLASS_FIELD_NUMBER;
    hash = (53 * hash) + getDeclaringClass().hashCode();
    hash = (37 * hash) + METHODNAME_FIELD_NUMBER;
    hash = (53 * hash) + getMethodName().hashCode();
    if (hasFileName()) {
      hash = (37 * hash) + FILENAME_FIELD_NUMBER;
      hash = (53 * hash) + getFileName().hashCode();
    }
    if (hasLineNumber()) {
      hash = (37 * hash) + LINENUMBER_FIELD_NUMBER;
      hash = (53 * hash) + getLineNumber();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.dimajix.flowman.kernel.proto.StackTraceElement parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.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.StackTraceElement 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.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code com.dimajix.flowman.kernel.StackTraceElement}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.StackTraceElement)
      com.dimajix.flowman.kernel.proto.StackTraceElementOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_StackTraceElement_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_StackTraceElement_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.dimajix.flowman.kernel.proto.StackTraceElement.class, com.dimajix.flowman.kernel.proto.StackTraceElement.Builder.class);
    }

    // Construct using com.dimajix.flowman.kernel.proto.StackTraceElement.newBuilder()
    private Builder() {

    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      classLoaderName_ = "";
      moduleName_ = "";
      moduleVersion_ = "";
      declaringClass_ = "";
      methodName_ = "";
      fileName_ = "";
      lineNumber_ = 0;
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.dimajix.flowman.kernel.proto.ExceptionProto.internal_static_com_dimajix_flowman_kernel_StackTraceElement_descriptor;
    }

    @java.lang.Override
    public com.dimajix.flowman.kernel.proto.StackTraceElement getDefaultInstanceForType() {
      return com.dimajix.flowman.kernel.proto.StackTraceElement.getDefaultInstance();
    }

    @java.lang.Override
    public com.dimajix.flowman.kernel.proto.StackTraceElement build() {
      com.dimajix.flowman.kernel.proto.StackTraceElement result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.dimajix.flowman.kernel.proto.StackTraceElement buildPartial() {
      com.dimajix.flowman.kernel.proto.StackTraceElement result = new com.dimajix.flowman.kernel.proto.StackTraceElement(this);
      if (bitField0_ != 0) { buildPartial0(result); }
      onBuilt();
      return result;
    }

    private void buildPartial0(com.dimajix.flowman.kernel.proto.StackTraceElement result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.classLoaderName_ = classLoaderName_;
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.moduleName_ = moduleName_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.moduleVersion_ = moduleVersion_;
        to_bitField0_ |= 0x00000004;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.declaringClass_ = declaringClass_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.methodName_ = methodName_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.fileName_ = fileName_;
        to_bitField0_ |= 0x00000008;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.lineNumber_ = lineNumber_;
        to_bitField0_ |= 0x00000010;
      }
      result.bitField0_ |= to_bitField0_;
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.dimajix.flowman.kernel.proto.StackTraceElement) {
        return mergeFrom((com.dimajix.flowman.kernel.proto.StackTraceElement)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.dimajix.flowman.kernel.proto.StackTraceElement other) {
      if (other == com.dimajix.flowman.kernel.proto.StackTraceElement.getDefaultInstance()) return this;
      if (other.hasClassLoaderName()) {
        classLoaderName_ = other.classLoaderName_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (other.hasModuleName()) {
        moduleName_ = other.moduleName_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.hasModuleVersion()) {
        moduleVersion_ = other.moduleVersion_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (!other.getDeclaringClass().isEmpty()) {
        declaringClass_ = other.declaringClass_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getMethodName().isEmpty()) {
        methodName_ = other.methodName_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (other.hasFileName()) {
        fileName_ = other.fileName_;
        bitField0_ |= 0x00000020;
        onChanged();
      }
      if (other.hasLineNumber()) {
        setLineNumber(other.getLineNumber());
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.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: {
              classLoaderName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              moduleName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              moduleVersion_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              declaringClass_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000008;
              break;
            } // case 34
            case 42: {
              methodName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000010;
              break;
            } // case 42
            case 50: {
              fileName_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000020;
              break;
            } // case 50
            case 56: {
              lineNumber_ = input.readInt32();
              bitField0_ |= 0x00000040;
              break;
            } // case 56
            default: {
              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                done = true; // was an endgroup tag
              }
              break;
            } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }
    private int bitField0_;

    private java.lang.Object classLoaderName_ = "";
    /**
     * optional string classLoaderName = 1;
     * @return Whether the classLoaderName field is set.
     */
    public boolean hasClassLoaderName() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string classLoaderName = 1;
     * @return The classLoaderName.
     */
    public java.lang.String getClassLoaderName() {
      java.lang.Object ref = classLoaderName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        classLoaderName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string classLoaderName = 1;
     * @return The bytes for classLoaderName.
     */
    public com.google.protobuf.ByteString
        getClassLoaderNameBytes() {
      java.lang.Object ref = classLoaderName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        classLoaderName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string classLoaderName = 1;
     * @param value The classLoaderName to set.
     * @return This builder for chaining.
     */
    public Builder setClassLoaderName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      classLoaderName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * optional string classLoaderName = 1;
     * @return This builder for chaining.
     */
    public Builder clearClassLoaderName() {
      classLoaderName_ = getDefaultInstance().getClassLoaderName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * optional string classLoaderName = 1;
     * @param value The bytes for classLoaderName to set.
     * @return This builder for chaining.
     */
    public Builder setClassLoaderNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      classLoaderName_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object moduleName_ = "";
    /**
     * optional string moduleName = 2;
     * @return Whether the moduleName field is set.
     */
    public boolean hasModuleName() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional string moduleName = 2;
     * @return The moduleName.
     */
    public java.lang.String getModuleName() {
      java.lang.Object ref = moduleName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        moduleName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string moduleName = 2;
     * @return The bytes for moduleName.
     */
    public com.google.protobuf.ByteString
        getModuleNameBytes() {
      java.lang.Object ref = moduleName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        moduleName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string moduleName = 2;
     * @param value The moduleName to set.
     * @return This builder for chaining.
     */
    public Builder setModuleName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      moduleName_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * optional string moduleName = 2;
     * @return This builder for chaining.
     */
    public Builder clearModuleName() {
      moduleName_ = getDefaultInstance().getModuleName();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * optional string moduleName = 2;
     * @param value The bytes for moduleName to set.
     * @return This builder for chaining.
     */
    public Builder setModuleNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      moduleName_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object moduleVersion_ = "";
    /**
     * optional string moduleVersion = 3;
     * @return Whether the moduleVersion field is set.
     */
    public boolean hasModuleVersion() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string moduleVersion = 3;
     * @return The moduleVersion.
     */
    public java.lang.String getModuleVersion() {
      java.lang.Object ref = moduleVersion_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        moduleVersion_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string moduleVersion = 3;
     * @return The bytes for moduleVersion.
     */
    public com.google.protobuf.ByteString
        getModuleVersionBytes() {
      java.lang.Object ref = moduleVersion_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        moduleVersion_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string moduleVersion = 3;
     * @param value The moduleVersion to set.
     * @return This builder for chaining.
     */
    public Builder setModuleVersion(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      moduleVersion_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * optional string moduleVersion = 3;
     * @return This builder for chaining.
     */
    public Builder clearModuleVersion() {
      moduleVersion_ = getDefaultInstance().getModuleVersion();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * optional string moduleVersion = 3;
     * @param value The bytes for moduleVersion to set.
     * @return This builder for chaining.
     */
    public Builder setModuleVersionBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      moduleVersion_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.lang.Object declaringClass_ = "";
    /**
     * string declaringClass = 4;
     * @return The declaringClass.
     */
    public java.lang.String getDeclaringClass() {
      java.lang.Object ref = declaringClass_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        declaringClass_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string declaringClass = 4;
     * @return The bytes for declaringClass.
     */
    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;
      }
    }
    /**
     * string declaringClass = 4;
     * @param value The declaringClass to set.
     * @return This builder for chaining.
     */
    public Builder setDeclaringClass(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      declaringClass_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     * string declaringClass = 4;
     * @return This builder for chaining.
     */
    public Builder clearDeclaringClass() {
      declaringClass_ = getDefaultInstance().getDeclaringClass();
      bitField0_ = (bitField0_ & ~0x00000008);
      onChanged();
      return this;
    }
    /**
     * string declaringClass = 4;
     * @param value The bytes for declaringClass to set.
     * @return This builder for chaining.
     */
    public Builder setDeclaringClassBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      declaringClass_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }

    private java.lang.Object methodName_ = "";
    /**
     * string methodName = 5;
     * @return The methodName.
     */
    public java.lang.String getMethodName() {
      java.lang.Object ref = methodName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        methodName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string methodName = 5;
     * @return The bytes for methodName.
     */
    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;
      }
    }
    /**
     * string methodName = 5;
     * @param value The methodName to set.
     * @return This builder for chaining.
     */
    public Builder setMethodName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      methodName_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     * string methodName = 5;
     * @return This builder for chaining.
     */
    public Builder clearMethodName() {
      methodName_ = getDefaultInstance().getMethodName();
      bitField0_ = (bitField0_ & ~0x00000010);
      onChanged();
      return this;
    }
    /**
     * string methodName = 5;
     * @param value The bytes for methodName to set.
     * @return This builder for chaining.
     */
    public Builder setMethodNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      methodName_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }

    private java.lang.Object fileName_ = "";
    /**
     * optional string fileName = 6;
     * @return Whether the fileName field is set.
     */
    public boolean hasFileName() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     * optional string fileName = 6;
     * @return The fileName.
     */
    public java.lang.String getFileName() {
      java.lang.Object ref = fileName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs =
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        fileName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string fileName = 6;
     * @return The bytes for fileName.
     */
    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;
      }
    }
    /**
     * optional string fileName = 6;
     * @param value The fileName to set.
     * @return This builder for chaining.
     */
    public Builder setFileName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      fileName_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     * optional string fileName = 6;
     * @return This builder for chaining.
     */
    public Builder clearFileName() {
      fileName_ = getDefaultInstance().getFileName();
      bitField0_ = (bitField0_ & ~0x00000020);
      onChanged();
      return this;
    }
    /**
     * optional string fileName = 6;
     * @param value The bytes for fileName to set.
     * @return This builder for chaining.
     */
    public Builder setFileNameBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      fileName_ = value;
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }

    private int lineNumber_ ;
    /**
     * optional int32 lineNumber = 7;
     * @return Whether the lineNumber field is set.
     */
    @java.lang.Override
    public boolean hasLineNumber() {
      return ((bitField0_ & 0x00000040) != 0);
    }
    /**
     * optional int32 lineNumber = 7;
     * @return The lineNumber.
     */
    @java.lang.Override
    public int getLineNumber() {
      return lineNumber_;
    }
    /**
     * optional int32 lineNumber = 7;
     * @param value The lineNumber to set.
     * @return This builder for chaining.
     */
    public Builder setLineNumber(int value) {

      lineNumber_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     * optional int32 lineNumber = 7;
     * @return This builder for chaining.
     */
    public Builder clearLineNumber() {
      bitField0_ = (bitField0_ & ~0x00000040);
      lineNumber_ = 0;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:com.dimajix.flowman.kernel.StackTraceElement)
  }

  // @@protoc_insertion_point(class_scope:com.dimajix.flowman.kernel.StackTraceElement)
  private static final com.dimajix.flowman.kernel.proto.StackTraceElement DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.dimajix.flowman.kernel.proto.StackTraceElement();
  }

  public static com.dimajix.flowman.kernel.proto.StackTraceElement getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public StackTraceElement parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      Builder builder = newBuilder();
      try {
        builder.mergeFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(builder.buildPartial());
      } catch (com.google.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.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.StackTraceElement getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy