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

com.dimajix.flowman.kernel.proto.job.JobDetails Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: job.proto

package com.dimajix.flowman.kernel.proto.job;

/**
 * Protobuf type {@code com.dimajix.flowman.kernel.job.JobDetails}
 */
public final class JobDetails extends
    com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.job.JobDetails)
    JobDetailsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use JobDetails.newBuilder() to construct.
  private JobDetails(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private JobDetails() {
    project_ = "";
    name_ = "";
    description_ = "";
    targets_ = java.util.Collections.emptyList();
    parameters_ = java.util.Collections.emptyList();
  }

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

  public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_descriptor;
  }

  @SuppressWarnings({"rawtypes"})
  @java.lang.Override
  protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
      int number) {
    switch (number) {
      case 6:
        return internalGetEnvironment();
      default:
        throw new RuntimeException(
            "Invalid map field number: " + number);
    }
  }
  @java.lang.Override
  protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.dimajix.flowman.kernel.proto.job.JobDetails.class, com.dimajix.flowman.kernel.proto.job.JobDetails.Builder.class);
  }

  private int bitField0_;
  public static final int PROJECT_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private volatile java.lang.Object project_ = "";
  /**
   * optional string project = 1;
   * @return Whether the project field is set.
   */
  @java.lang.Override
  public boolean hasProject() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * optional string project = 1;
   * @return The project.
   */
  @java.lang.Override
  public java.lang.String getProject() {
    java.lang.Object ref = project_;
    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();
      project_ = s;
      return s;
    }
  }
  /**
   * optional string project = 1;
   * @return The bytes for project.
   */
  @java.lang.Override
  public com.dimajix.shaded.protobuf.ByteString
      getProjectBytes() {
    java.lang.Object ref = project_;
    if (ref instanceof java.lang.String) {
      com.dimajix.shaded.protobuf.ByteString b = 
          com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      project_ = b;
      return b;
    } else {
      return (com.dimajix.shaded.protobuf.ByteString) ref;
    }
  }

  public static final int NAME_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   * string name = 2;
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    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();
      name_ = s;
      return s;
    }
  }
  /**
   * string name = 2;
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.dimajix.shaded.protobuf.ByteString
      getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.dimajix.shaded.protobuf.ByteString b = 
          com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.dimajix.shaded.protobuf.ByteString) ref;
    }
  }

  public static final int DESCRIPTION_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object description_ = "";
  /**
   * optional string description = 3;
   * @return Whether the description field is set.
   */
  @java.lang.Override
  public boolean hasDescription() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * optional string description = 3;
   * @return The description.
   */
  @java.lang.Override
  public java.lang.String getDescription() {
    java.lang.Object ref = description_;
    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();
      description_ = s;
      return s;
    }
  }
  /**
   * optional string description = 3;
   * @return The bytes for description.
   */
  @java.lang.Override
  public com.dimajix.shaded.protobuf.ByteString
      getDescriptionBytes() {
    java.lang.Object ref = description_;
    if (ref instanceof java.lang.String) {
      com.dimajix.shaded.protobuf.ByteString b = 
          com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      description_ = b;
      return b;
    } else {
      return (com.dimajix.shaded.protobuf.ByteString) ref;
    }
  }

  public static final int TARGETS_FIELD_NUMBER = 4;
  @SuppressWarnings("serial")
  private java.util.List targets_;
  /**
   * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
   */
  @java.lang.Override
  public java.util.List getTargetsList() {
    return targets_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
   */
  @java.lang.Override
  public java.util.List 
      getTargetsOrBuilderList() {
    return targets_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
   */
  @java.lang.Override
  public int getTargetsCount() {
    return targets_.size();
  }
  /**
   * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.TargetIdentifier getTargets(int index) {
    return targets_.get(index);
  }
  /**
   * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.TargetIdentifierOrBuilder getTargetsOrBuilder(
      int index) {
    return targets_.get(index);
  }

  public static final int PARAMETERS_FIELD_NUMBER = 5;
  @SuppressWarnings("serial")
  private java.util.List parameters_;
  /**
   * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
   */
  @java.lang.Override
  public java.util.List getParametersList() {
    return parameters_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
   */
  @java.lang.Override
  public java.util.List 
      getParametersOrBuilderList() {
    return parameters_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
   */
  @java.lang.Override
  public int getParametersCount() {
    return parameters_.size();
  }
  /**
   * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.job.JobParameter getParameters(int index) {
    return parameters_.get(index);
  }
  /**
   * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.job.JobParameterOrBuilder getParametersOrBuilder(
      int index) {
    return parameters_.get(index);
  }

  public static final int ENVIRONMENT_FIELD_NUMBER = 6;
  private static final class EnvironmentDefaultEntryHolder {
    static final com.dimajix.shaded.protobuf.MapEntry<
        java.lang.String, java.lang.String> defaultEntry =
            com.dimajix.shaded.protobuf.MapEntry
            .newDefaultInstance(
                com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_EnvironmentEntry_descriptor, 
                com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
                "",
                com.dimajix.shaded.protobuf.WireFormat.FieldType.STRING,
                "");
  }
  @SuppressWarnings("serial")
  private com.dimajix.shaded.protobuf.MapField<
      java.lang.String, java.lang.String> environment_;
  private com.dimajix.shaded.protobuf.MapField
  internalGetEnvironment() {
    if (environment_ == null) {
      return com.google.protobuf.MapField.emptyMapField(
          EnvironmentDefaultEntryHolder.defaultEntry);
    }
    return environment_;
  }
  public int getEnvironmentCount() {
    return internalGetEnvironment().getMap().size();
  }
  /**
   * map<string, string> environment = 6;
   */
  @java.lang.Override
  public boolean containsEnvironment(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    return internalGetEnvironment().getMap().containsKey(key);
  }
  /**
   * Use {@link #getEnvironmentMap()} instead.
   */
  @java.lang.Override
  @java.lang.Deprecated
  public java.util.Map getEnvironment() {
    return getEnvironmentMap();
  }
  /**
   * map<string, string> environment = 6;
   */
  @java.lang.Override
  public java.util.Map getEnvironmentMap() {
    return internalGetEnvironment().getMap();
  }
  /**
   * map<string, string> environment = 6;
   */
  @java.lang.Override
  public /* nullable */
java.lang.String getEnvironmentOrDefault(
      java.lang.String key,
      /* nullable */
java.lang.String defaultValue) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetEnvironment().getMap();
    return map.containsKey(key) ? map.get(key) : defaultValue;
  }
  /**
   * map<string, string> environment = 6;
   */
  @java.lang.Override
  public java.lang.String getEnvironmentOrThrow(
      java.lang.String key) {
    if (key == null) { throw new NullPointerException("map key"); }
    java.util.Map map =
        internalGetEnvironment().getMap();
    if (!map.containsKey(key)) {
      throw new java.lang.IllegalArgumentException();
    }
    return map.get(key);
  }

  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 (((bitField0_ & 0x00000001) != 0)) {
      com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 1, project_);
    }
    if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      com.dimajix.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, description_);
    }
    for (int i = 0; i < targets_.size(); i++) {
      output.writeMessage(4, targets_.get(i));
    }
    for (int i = 0; i < parameters_.size(); i++) {
      output.writeMessage(5, parameters_.get(i));
    }
    com.dimajix.shaded.protobuf.GeneratedMessageV3
      .serializeStringMapTo(
        output,
        internalGetEnvironment(),
        EnvironmentDefaultEntryHolder.defaultEntry,
        6);
    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.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(1, project_);
    }
    if (!com.dimajix.shaded.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.dimajix.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
    }
    for (int i = 0; i < targets_.size(); i++) {
      size += com.dimajix.shaded.protobuf.CodedOutputStream
        .computeMessageSize(4, targets_.get(i));
    }
    for (int i = 0; i < parameters_.size(); i++) {
      size += com.dimajix.shaded.protobuf.CodedOutputStream
        .computeMessageSize(5, parameters_.get(i));
    }
    for (java.util.Map.Entry entry
         : internalGetEnvironment().getMap().entrySet()) {
      com.dimajix.shaded.protobuf.MapEntry
      environment__ = EnvironmentDefaultEntryHolder.defaultEntry.newBuilderForType()
          .setKey(entry.getKey())
          .setValue(entry.getValue())
          .build();
      size += com.dimajix.shaded.protobuf.CodedOutputStream
          .computeMessageSize(6, environment__);
    }
    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.job.JobDetails)) {
      return super.equals(obj);
    }
    com.dimajix.flowman.kernel.proto.job.JobDetails other = (com.dimajix.flowman.kernel.proto.job.JobDetails) obj;

    if (hasProject() != other.hasProject()) return false;
    if (hasProject()) {
      if (!getProject()
          .equals(other.getProject())) return false;
    }
    if (!getName()
        .equals(other.getName())) return false;
    if (hasDescription() != other.hasDescription()) return false;
    if (hasDescription()) {
      if (!getDescription()
          .equals(other.getDescription())) return false;
    }
    if (!getTargetsList()
        .equals(other.getTargetsList())) return false;
    if (!getParametersList()
        .equals(other.getParametersList())) return false;
    if (!internalGetEnvironment().equals(
        other.internalGetEnvironment())) 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 (hasProject()) {
      hash = (37 * hash) + PROJECT_FIELD_NUMBER;
      hash = (53 * hash) + getProject().hashCode();
    }
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    if (hasDescription()) {
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
    }
    if (getTargetsCount() > 0) {
      hash = (37 * hash) + TARGETS_FIELD_NUMBER;
      hash = (53 * hash) + getTargetsList().hashCode();
    }
    if (getParametersCount() > 0) {
      hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
      hash = (53 * hash) + getParametersList().hashCode();
    }
    if (!internalGetEnvironment().getMap().isEmpty()) {
      hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER;
      hash = (53 * hash) + internalGetEnvironment().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.dimajix.flowman.kernel.proto.job.JobDetails parseFrom(
      java.nio.ByteBuffer data)
      throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.job.JobDetails 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.job.JobDetails parseFrom(
      com.dimajix.shaded.protobuf.ByteString data)
      throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.job.JobDetails 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.job.JobDetails parseFrom(byte[] data)
      throws com.dimajix.shaded.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.job.JobDetails 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.job.JobDetails parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.dimajix.flowman.kernel.proto.job.JobDetails 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.job.JobDetails parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.dimajix.flowman.kernel.proto.job.JobDetails 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.job.JobDetails 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.job.JobDetails 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.job.JobDetails 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.job.JobDetails}
   */
  public static final class Builder extends
      com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.job.JobDetails)
      com.dimajix.flowman.kernel.proto.job.JobDetailsOrBuilder {
    public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_descriptor;
    }

    @SuppressWarnings({"rawtypes"})
    protected com.dimajix.shaded.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 6:
          return internalGetEnvironment();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @SuppressWarnings({"rawtypes"})
    protected com.dimajix.shaded.protobuf.MapField internalGetMutableMapField(
        int number) {
      switch (number) {
        case 6:
          return internalGetMutableEnvironment();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.dimajix.flowman.kernel.proto.job.JobDetails.class, com.dimajix.flowman.kernel.proto.job.JobDetails.Builder.class);
    }

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      project_ = "";
      name_ = "";
      description_ = "";
      if (targetsBuilder_ == null) {
        targets_ = java.util.Collections.emptyList();
      } else {
        targets_ = null;
        targetsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000008);
      if (parametersBuilder_ == null) {
        parameters_ = java.util.Collections.emptyList();
      } else {
        parameters_ = null;
        parametersBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000010);
      internalGetMutableEnvironment().clear();
      return this;
    }

    @java.lang.Override
    public com.dimajix.shaded.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.dimajix.flowman.kernel.proto.job.JobProto.internal_static_com_dimajix_flowman_kernel_job_JobDetails_descriptor;
    }

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

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

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

    private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.job.JobDetails result) {
      if (targetsBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          targets_ = java.util.Collections.unmodifiableList(targets_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.targets_ = targets_;
      } else {
        result.targets_ = targetsBuilder_.build();
      }
      if (parametersBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)) {
          parameters_ = java.util.Collections.unmodifiableList(parameters_);
          bitField0_ = (bitField0_ & ~0x00000010);
        }
        result.parameters_ = parameters_;
      } else {
        result.parameters_ = parametersBuilder_.build();
      }
    }

    private void buildPartial0(com.dimajix.flowman.kernel.proto.job.JobDetails result) {
      int from_bitField0_ = bitField0_;
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.project_ = project_;
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.name_ = name_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.description_ = description_;
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.environment_ = internalGetEnvironment();
        result.environment_.makeImmutable();
      }
      result.bitField0_ |= to_bitField0_;
    }

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

    public Builder mergeFrom(com.dimajix.flowman.kernel.proto.job.JobDetails other) {
      if (other == com.dimajix.flowman.kernel.proto.job.JobDetails.getDefaultInstance()) return this;
      if (other.hasProject()) {
        project_ = other.project_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.hasDescription()) {
        description_ = other.description_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (targetsBuilder_ == null) {
        if (!other.targets_.isEmpty()) {
          if (targets_.isEmpty()) {
            targets_ = other.targets_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureTargetsIsMutable();
            targets_.addAll(other.targets_);
          }
          onChanged();
        }
      } else {
        if (!other.targets_.isEmpty()) {
          if (targetsBuilder_.isEmpty()) {
            targetsBuilder_.dispose();
            targetsBuilder_ = null;
            targets_ = other.targets_;
            bitField0_ = (bitField0_ & ~0x00000008);
            targetsBuilder_ = 
              com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getTargetsFieldBuilder() : null;
          } else {
            targetsBuilder_.addAllMessages(other.targets_);
          }
        }
      }
      if (parametersBuilder_ == null) {
        if (!other.parameters_.isEmpty()) {
          if (parameters_.isEmpty()) {
            parameters_ = other.parameters_;
            bitField0_ = (bitField0_ & ~0x00000010);
          } else {
            ensureParametersIsMutable();
            parameters_.addAll(other.parameters_);
          }
          onChanged();
        }
      } else {
        if (!other.parameters_.isEmpty()) {
          if (parametersBuilder_.isEmpty()) {
            parametersBuilder_.dispose();
            parametersBuilder_ = null;
            parameters_ = other.parameters_;
            bitField0_ = (bitField0_ & ~0x00000010);
            parametersBuilder_ = 
              com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getParametersFieldBuilder() : null;
          } else {
            parametersBuilder_.addAllMessages(other.parameters_);
          }
        }
      }
      internalGetMutableEnvironment().mergeFrom(
          other.internalGetEnvironment());
      bitField0_ |= 0x00000020;
      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: {
              project_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              name_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000002;
              break;
            } // case 18
            case 26: {
              description_ = input.readStringRequireUtf8();
              bitField0_ |= 0x00000004;
              break;
            } // case 26
            case 34: {
              com.dimajix.flowman.kernel.proto.TargetIdentifier m =
                  input.readMessage(
                      com.dimajix.flowman.kernel.proto.TargetIdentifier.parser(),
                      extensionRegistry);
              if (targetsBuilder_ == null) {
                ensureTargetsIsMutable();
                targets_.add(m);
              } else {
                targetsBuilder_.addMessage(m);
              }
              break;
            } // case 34
            case 42: {
              com.dimajix.flowman.kernel.proto.job.JobParameter m =
                  input.readMessage(
                      com.dimajix.flowman.kernel.proto.job.JobParameter.parser(),
                      extensionRegistry);
              if (parametersBuilder_ == null) {
                ensureParametersIsMutable();
                parameters_.add(m);
              } else {
                parametersBuilder_.addMessage(m);
              }
              break;
            } // case 42
            case 50: {
              com.dimajix.shaded.protobuf.MapEntry
              environment__ = input.readMessage(
                  EnvironmentDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              internalGetMutableEnvironment().getMutableMap().put(
                  environment__.getKey(), environment__.getValue());
              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 project_ = "";
    /**
     * optional string project = 1;
     * @return Whether the project field is set.
     */
    public boolean hasProject() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional string project = 1;
     * @return The project.
     */
    public java.lang.String getProject() {
      java.lang.Object ref = project_;
      if (!(ref instanceof java.lang.String)) {
        com.dimajix.shaded.protobuf.ByteString bs =
            (com.dimajix.shaded.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        project_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string project = 1;
     * @return The bytes for project.
     */
    public com.dimajix.shaded.protobuf.ByteString
        getProjectBytes() {
      java.lang.Object ref = project_;
      if (ref instanceof String) {
        com.dimajix.shaded.protobuf.ByteString b = 
            com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        project_ = b;
        return b;
      } else {
        return (com.dimajix.shaded.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string project = 1;
     * @param value The project to set.
     * @return This builder for chaining.
     */
    public Builder setProject(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      project_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * optional string project = 1;
     * @return This builder for chaining.
     */
    public Builder clearProject() {
      project_ = getDefaultInstance().getProject();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     * optional string project = 1;
     * @param value The bytes for project to set.
     * @return This builder for chaining.
     */
    public Builder setProjectBytes(
        com.dimajix.shaded.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      project_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object name_ = "";
    /**
     * string name = 2;
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.dimajix.shaded.protobuf.ByteString bs =
            (com.dimajix.shaded.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string name = 2;
     * @return The bytes for name.
     */
    public com.dimajix.shaded.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.dimajix.shaded.protobuf.ByteString b = 
            com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.dimajix.shaded.protobuf.ByteString) ref;
      }
    }
    /**
     * string name = 2;
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      name_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * string name = 2;
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     * string name = 2;
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(
        com.dimajix.shaded.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private java.lang.Object description_ = "";
    /**
     * optional string description = 3;
     * @return Whether the description field is set.
     */
    public boolean hasDescription() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional string description = 3;
     * @return The description.
     */
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (!(ref instanceof java.lang.String)) {
        com.dimajix.shaded.protobuf.ByteString bs =
            (com.dimajix.shaded.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * optional string description = 3;
     * @return The bytes for description.
     */
    public com.dimajix.shaded.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof String) {
        com.dimajix.shaded.protobuf.ByteString b = 
            com.dimajix.shaded.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.dimajix.shaded.protobuf.ByteString) ref;
      }
    }
    /**
     * optional string description = 3;
     * @param value The description to set.
     * @return This builder for chaining.
     */
    public Builder setDescription(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      description_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     * optional string description = 3;
     * @return This builder for chaining.
     */
    public Builder clearDescription() {
      description_ = getDefaultInstance().getDescription();
      bitField0_ = (bitField0_ & ~0x00000004);
      onChanged();
      return this;
    }
    /**
     * optional string description = 3;
     * @param value The bytes for description to set.
     * @return This builder for chaining.
     */
    public Builder setDescriptionBytes(
        com.dimajix.shaded.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      description_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }

    private java.util.List targets_ =
      java.util.Collections.emptyList();
    private void ensureTargetsIsMutable() {
      if (!((bitField0_ & 0x00000008) != 0)) {
        targets_ = new java.util.ArrayList(targets_);
        bitField0_ |= 0x00000008;
       }
    }

    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.TargetIdentifier, com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder, com.dimajix.flowman.kernel.proto.TargetIdentifierOrBuilder> targetsBuilder_;

    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public java.util.List getTargetsList() {
      if (targetsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(targets_);
      } else {
        return targetsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public int getTargetsCount() {
      if (targetsBuilder_ == null) {
        return targets_.size();
      } else {
        return targetsBuilder_.getCount();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public com.dimajix.flowman.kernel.proto.TargetIdentifier getTargets(int index) {
      if (targetsBuilder_ == null) {
        return targets_.get(index);
      } else {
        return targetsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder setTargets(
        int index, com.dimajix.flowman.kernel.proto.TargetIdentifier value) {
      if (targetsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTargetsIsMutable();
        targets_.set(index, value);
        onChanged();
      } else {
        targetsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder setTargets(
        int index, com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder builderForValue) {
      if (targetsBuilder_ == null) {
        ensureTargetsIsMutable();
        targets_.set(index, builderForValue.build());
        onChanged();
      } else {
        targetsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder addTargets(com.dimajix.flowman.kernel.proto.TargetIdentifier value) {
      if (targetsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTargetsIsMutable();
        targets_.add(value);
        onChanged();
      } else {
        targetsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder addTargets(
        int index, com.dimajix.flowman.kernel.proto.TargetIdentifier value) {
      if (targetsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureTargetsIsMutable();
        targets_.add(index, value);
        onChanged();
      } else {
        targetsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder addTargets(
        com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder builderForValue) {
      if (targetsBuilder_ == null) {
        ensureTargetsIsMutable();
        targets_.add(builderForValue.build());
        onChanged();
      } else {
        targetsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder addTargets(
        int index, com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder builderForValue) {
      if (targetsBuilder_ == null) {
        ensureTargetsIsMutable();
        targets_.add(index, builderForValue.build());
        onChanged();
      } else {
        targetsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder addAllTargets(
        java.lang.Iterable values) {
      if (targetsBuilder_ == null) {
        ensureTargetsIsMutable();
        com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
            values, targets_);
        onChanged();
      } else {
        targetsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder clearTargets() {
      if (targetsBuilder_ == null) {
        targets_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
      } else {
        targetsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public Builder removeTargets(int index) {
      if (targetsBuilder_ == null) {
        ensureTargetsIsMutable();
        targets_.remove(index);
        onChanged();
      } else {
        targetsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder getTargetsBuilder(
        int index) {
      return getTargetsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public com.dimajix.flowman.kernel.proto.TargetIdentifierOrBuilder getTargetsOrBuilder(
        int index) {
      if (targetsBuilder_ == null) {
        return targets_.get(index);  } else {
        return targetsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public java.util.List 
         getTargetsOrBuilderList() {
      if (targetsBuilder_ != null) {
        return targetsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(targets_);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder addTargetsBuilder() {
      return getTargetsFieldBuilder().addBuilder(
          com.dimajix.flowman.kernel.proto.TargetIdentifier.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder addTargetsBuilder(
        int index) {
      return getTargetsFieldBuilder().addBuilder(
          index, com.dimajix.flowman.kernel.proto.TargetIdentifier.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.TargetIdentifier targets = 4;
     */
    public java.util.List 
         getTargetsBuilderList() {
      return getTargetsFieldBuilder().getBuilderList();
    }
    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.TargetIdentifier, com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder, com.dimajix.flowman.kernel.proto.TargetIdentifierOrBuilder> 
        getTargetsFieldBuilder() {
      if (targetsBuilder_ == null) {
        targetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.dimajix.flowman.kernel.proto.TargetIdentifier, com.dimajix.flowman.kernel.proto.TargetIdentifier.Builder, com.dimajix.flowman.kernel.proto.TargetIdentifierOrBuilder>(
                targets_,
                ((bitField0_ & 0x00000008) != 0),
                getParentForChildren(),
                isClean());
        targets_ = null;
      }
      return targetsBuilder_;
    }

    private java.util.List parameters_ =
      java.util.Collections.emptyList();
    private void ensureParametersIsMutable() {
      if (!((bitField0_ & 0x00000010) != 0)) {
        parameters_ = new java.util.ArrayList(parameters_);
        bitField0_ |= 0x00000010;
       }
    }

    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.job.JobParameter, com.dimajix.flowman.kernel.proto.job.JobParameter.Builder, com.dimajix.flowman.kernel.proto.job.JobParameterOrBuilder> parametersBuilder_;

    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public java.util.List getParametersList() {
      if (parametersBuilder_ == null) {
        return java.util.Collections.unmodifiableList(parameters_);
      } else {
        return parametersBuilder_.getMessageList();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public int getParametersCount() {
      if (parametersBuilder_ == null) {
        return parameters_.size();
      } else {
        return parametersBuilder_.getCount();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public com.dimajix.flowman.kernel.proto.job.JobParameter getParameters(int index) {
      if (parametersBuilder_ == null) {
        return parameters_.get(index);
      } else {
        return parametersBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder setParameters(
        int index, com.dimajix.flowman.kernel.proto.job.JobParameter value) {
      if (parametersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureParametersIsMutable();
        parameters_.set(index, value);
        onChanged();
      } else {
        parametersBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder setParameters(
        int index, com.dimajix.flowman.kernel.proto.job.JobParameter.Builder builderForValue) {
      if (parametersBuilder_ == null) {
        ensureParametersIsMutable();
        parameters_.set(index, builderForValue.build());
        onChanged();
      } else {
        parametersBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder addParameters(com.dimajix.flowman.kernel.proto.job.JobParameter value) {
      if (parametersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureParametersIsMutable();
        parameters_.add(value);
        onChanged();
      } else {
        parametersBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder addParameters(
        int index, com.dimajix.flowman.kernel.proto.job.JobParameter value) {
      if (parametersBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureParametersIsMutable();
        parameters_.add(index, value);
        onChanged();
      } else {
        parametersBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder addParameters(
        com.dimajix.flowman.kernel.proto.job.JobParameter.Builder builderForValue) {
      if (parametersBuilder_ == null) {
        ensureParametersIsMutable();
        parameters_.add(builderForValue.build());
        onChanged();
      } else {
        parametersBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder addParameters(
        int index, com.dimajix.flowman.kernel.proto.job.JobParameter.Builder builderForValue) {
      if (parametersBuilder_ == null) {
        ensureParametersIsMutable();
        parameters_.add(index, builderForValue.build());
        onChanged();
      } else {
        parametersBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder addAllParameters(
        java.lang.Iterable values) {
      if (parametersBuilder_ == null) {
        ensureParametersIsMutable();
        com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
            values, parameters_);
        onChanged();
      } else {
        parametersBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder clearParameters() {
      if (parametersBuilder_ == null) {
        parameters_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000010);
        onChanged();
      } else {
        parametersBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public Builder removeParameters(int index) {
      if (parametersBuilder_ == null) {
        ensureParametersIsMutable();
        parameters_.remove(index);
        onChanged();
      } else {
        parametersBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public com.dimajix.flowman.kernel.proto.job.JobParameter.Builder getParametersBuilder(
        int index) {
      return getParametersFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public com.dimajix.flowman.kernel.proto.job.JobParameterOrBuilder getParametersOrBuilder(
        int index) {
      if (parametersBuilder_ == null) {
        return parameters_.get(index);  } else {
        return parametersBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public java.util.List 
         getParametersOrBuilderList() {
      if (parametersBuilder_ != null) {
        return parametersBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(parameters_);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public com.dimajix.flowman.kernel.proto.job.JobParameter.Builder addParametersBuilder() {
      return getParametersFieldBuilder().addBuilder(
          com.dimajix.flowman.kernel.proto.job.JobParameter.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public com.dimajix.flowman.kernel.proto.job.JobParameter.Builder addParametersBuilder(
        int index) {
      return getParametersFieldBuilder().addBuilder(
          index, com.dimajix.flowman.kernel.proto.job.JobParameter.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.job.JobParameter parameters = 5;
     */
    public java.util.List 
         getParametersBuilderList() {
      return getParametersFieldBuilder().getBuilderList();
    }
    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.job.JobParameter, com.dimajix.flowman.kernel.proto.job.JobParameter.Builder, com.dimajix.flowman.kernel.proto.job.JobParameterOrBuilder> 
        getParametersFieldBuilder() {
      if (parametersBuilder_ == null) {
        parametersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.dimajix.flowman.kernel.proto.job.JobParameter, com.dimajix.flowman.kernel.proto.job.JobParameter.Builder, com.dimajix.flowman.kernel.proto.job.JobParameterOrBuilder>(
                parameters_,
                ((bitField0_ & 0x00000010) != 0),
                getParentForChildren(),
                isClean());
        parameters_ = null;
      }
      return parametersBuilder_;
    }

    private com.dimajix.shaded.protobuf.MapField<
        java.lang.String, java.lang.String> environment_;
    private com.dimajix.shaded.protobuf.MapField
        internalGetEnvironment() {
      if (environment_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            EnvironmentDefaultEntryHolder.defaultEntry);
      }
      return environment_;
    }
    private com.dimajix.shaded.protobuf.MapField
        internalGetMutableEnvironment() {
      if (environment_ == null) {
        environment_ = com.dimajix.shaded.protobuf.MapField.newMapField(
            EnvironmentDefaultEntryHolder.defaultEntry);
      }
      if (!environment_.isMutable()) {
        environment_ = environment_.copy();
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return environment_;
    }
    public int getEnvironmentCount() {
      return internalGetEnvironment().getMap().size();
    }
    /**
     * map<string, string> environment = 6;
     */
    @java.lang.Override
    public boolean containsEnvironment(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetEnvironment().getMap().containsKey(key);
    }
    /**
     * Use {@link #getEnvironmentMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getEnvironment() {
      return getEnvironmentMap();
    }
    /**
     * map<string, string> environment = 6;
     */
    @java.lang.Override
    public java.util.Map getEnvironmentMap() {
      return internalGetEnvironment().getMap();
    }
    /**
     * map<string, string> environment = 6;
     */
    @java.lang.Override
    public /* nullable */
java.lang.String getEnvironmentOrDefault(
        java.lang.String key,
        /* nullable */
java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetEnvironment().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * map<string, string> environment = 6;
     */
    @java.lang.Override
    public java.lang.String getEnvironmentOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetEnvironment().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public Builder clearEnvironment() {
      bitField0_ = (bitField0_ & ~0x00000020);
      internalGetMutableEnvironment().getMutableMap()
          .clear();
      return this;
    }
    /**
     * map<string, string> environment = 6;
     */
    public Builder removeEnvironment(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      internalGetMutableEnvironment().getMutableMap()
          .remove(key);
      return this;
    }
    /**
     * Use alternate mutation accessors instead.
     */
    @java.lang.Deprecated
    public java.util.Map
        getMutableEnvironment() {
      bitField0_ |= 0x00000020;
      return internalGetMutableEnvironment().getMutableMap();
    }
    /**
     * map<string, string> environment = 6;
     */
    public Builder putEnvironment(
        java.lang.String key,
        java.lang.String value) {
      if (key == null) { throw new NullPointerException("map key"); }
      if (value == null) { throw new NullPointerException("map value"); }
      internalGetMutableEnvironment().getMutableMap()
          .put(key, value);
      bitField0_ |= 0x00000020;
      return this;
    }
    /**
     * map<string, string> environment = 6;
     */
    public Builder putAllEnvironment(
        java.util.Map values) {
      internalGetMutableEnvironment().getMutableMap()
          .putAll(values);
      bitField0_ |= 0x00000020;
      return this;
    }
    @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.job.JobDetails)
  }

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

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

  private static final com.dimajix.shaded.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public JobDetails 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.job.JobDetails getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy