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

com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse Maven / Gradle / Ivy

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

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

/**
 * Protobuf type {@code com.dimajix.flowman.kernel.history.FindJobMetricsResponse}
 */
public final class FindJobMetricsResponse extends
    com.dimajix.shaded.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.history.FindJobMetricsResponse)
    FindJobMetricsResponseOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FindJobMetricsResponse.newBuilder() to construct.
  private FindJobMetricsResponse(com.dimajix.shaded.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private FindJobMetricsResponse() {
    metrics_ = java.util.Collections.emptyList();
  }

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

  public static final com.dimajix.shaded.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_FindJobMetricsResponse_descriptor;
  }

  @java.lang.Override
  protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_FindJobMetricsResponse_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.class, com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.Builder.class);
  }

  public static final int METRICS_FIELD_NUMBER = 1;
  @SuppressWarnings("serial")
  private java.util.List metrics_;
  /**
   * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
   */
  @java.lang.Override
  public java.util.List getMetricsList() {
    return metrics_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
   */
  @java.lang.Override
  public java.util.List 
      getMetricsOrBuilderList() {
    return metrics_;
  }
  /**
   * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
   */
  @java.lang.Override
  public int getMetricsCount() {
    return metrics_.size();
  }
  /**
   * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.MetricSeries getMetrics(int index) {
    return metrics_.get(index);
  }
  /**
   * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder getMetricsOrBuilder(
      int index) {
    return metrics_.get(index);
  }

  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 {
    for (int i = 0; i < metrics_.size(); i++) {
      output.writeMessage(1, metrics_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    for (int i = 0; i < metrics_.size(); i++) {
      size += com.dimajix.shaded.protobuf.CodedOutputStream
        .computeMessageSize(1, metrics_.get(i));
    }
    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.history.FindJobMetricsResponse)) {
      return super.equals(obj);
    }
    com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse other = (com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse) obj;

    if (!getMetricsList()
        .equals(other.getMetricsList())) 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 (getMetricsCount() > 0) {
      hash = (37 * hash) + METRICS_FIELD_NUMBER;
      hash = (53 * hash) + getMetricsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

    @java.lang.Override
    protected com.dimajix.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_FindJobMetricsResponse_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.class, com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.Builder.class);
    }

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      if (metricsBuilder_ == null) {
        metrics_ = java.util.Collections.emptyList();
      } else {
        metrics_ = null;
        metricsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000001);
      return this;
    }

    @java.lang.Override
    public com.dimajix.shaded.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_FindJobMetricsResponse_descriptor;
    }

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

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

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

    private void buildPartialRepeatedFields(com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse result) {
      if (metricsBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)) {
          metrics_ = java.util.Collections.unmodifiableList(metrics_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.metrics_ = metrics_;
      } else {
        result.metrics_ = metricsBuilder_.build();
      }
    }

    private void buildPartial0(com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse result) {
      int from_bitField0_ = bitField0_;
    }

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

    public Builder mergeFrom(com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse other) {
      if (other == com.dimajix.flowman.kernel.proto.history.FindJobMetricsResponse.getDefaultInstance()) return this;
      if (metricsBuilder_ == null) {
        if (!other.metrics_.isEmpty()) {
          if (metrics_.isEmpty()) {
            metrics_ = other.metrics_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureMetricsIsMutable();
            metrics_.addAll(other.metrics_);
          }
          onChanged();
        }
      } else {
        if (!other.metrics_.isEmpty()) {
          if (metricsBuilder_.isEmpty()) {
            metricsBuilder_.dispose();
            metricsBuilder_ = null;
            metrics_ = other.metrics_;
            bitField0_ = (bitField0_ & ~0x00000001);
            metricsBuilder_ = 
              com.dimajix.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                 getMetricsFieldBuilder() : null;
          } else {
            metricsBuilder_.addAllMessages(other.metrics_);
          }
        }
      }
      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: {
              com.dimajix.flowman.kernel.proto.MetricSeries m =
                  input.readMessage(
                      com.dimajix.flowman.kernel.proto.MetricSeries.parser(),
                      extensionRegistry);
              if (metricsBuilder_ == null) {
                ensureMetricsIsMutable();
                metrics_.add(m);
              } else {
                metricsBuilder_.addMessage(m);
              }
              break;
            } // case 10
            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.util.List metrics_ =
      java.util.Collections.emptyList();
    private void ensureMetricsIsMutable() {
      if (!((bitField0_ & 0x00000001) != 0)) {
        metrics_ = new java.util.ArrayList(metrics_);
        bitField0_ |= 0x00000001;
       }
    }

    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.MetricSeries, com.dimajix.flowman.kernel.proto.MetricSeries.Builder, com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder> metricsBuilder_;

    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public java.util.List getMetricsList() {
      if (metricsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(metrics_);
      } else {
        return metricsBuilder_.getMessageList();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public int getMetricsCount() {
      if (metricsBuilder_ == null) {
        return metrics_.size();
      } else {
        return metricsBuilder_.getCount();
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public com.dimajix.flowman.kernel.proto.MetricSeries getMetrics(int index) {
      if (metricsBuilder_ == null) {
        return metrics_.get(index);
      } else {
        return metricsBuilder_.getMessage(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder setMetrics(
        int index, com.dimajix.flowman.kernel.proto.MetricSeries value) {
      if (metricsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMetricsIsMutable();
        metrics_.set(index, value);
        onChanged();
      } else {
        metricsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder setMetrics(
        int index, com.dimajix.flowman.kernel.proto.MetricSeries.Builder builderForValue) {
      if (metricsBuilder_ == null) {
        ensureMetricsIsMutable();
        metrics_.set(index, builderForValue.build());
        onChanged();
      } else {
        metricsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder addMetrics(com.dimajix.flowman.kernel.proto.MetricSeries value) {
      if (metricsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMetricsIsMutable();
        metrics_.add(value);
        onChanged();
      } else {
        metricsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder addMetrics(
        int index, com.dimajix.flowman.kernel.proto.MetricSeries value) {
      if (metricsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureMetricsIsMutable();
        metrics_.add(index, value);
        onChanged();
      } else {
        metricsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder addMetrics(
        com.dimajix.flowman.kernel.proto.MetricSeries.Builder builderForValue) {
      if (metricsBuilder_ == null) {
        ensureMetricsIsMutable();
        metrics_.add(builderForValue.build());
        onChanged();
      } else {
        metricsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder addMetrics(
        int index, com.dimajix.flowman.kernel.proto.MetricSeries.Builder builderForValue) {
      if (metricsBuilder_ == null) {
        ensureMetricsIsMutable();
        metrics_.add(index, builderForValue.build());
        onChanged();
      } else {
        metricsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder addAllMetrics(
        java.lang.Iterable values) {
      if (metricsBuilder_ == null) {
        ensureMetricsIsMutable();
        com.dimajix.shaded.protobuf.AbstractMessageLite.Builder.addAll(
            values, metrics_);
        onChanged();
      } else {
        metricsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder clearMetrics() {
      if (metricsBuilder_ == null) {
        metrics_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
      } else {
        metricsBuilder_.clear();
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public Builder removeMetrics(int index) {
      if (metricsBuilder_ == null) {
        ensureMetricsIsMutable();
        metrics_.remove(index);
        onChanged();
      } else {
        metricsBuilder_.remove(index);
      }
      return this;
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public com.dimajix.flowman.kernel.proto.MetricSeries.Builder getMetricsBuilder(
        int index) {
      return getMetricsFieldBuilder().getBuilder(index);
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder getMetricsOrBuilder(
        int index) {
      if (metricsBuilder_ == null) {
        return metrics_.get(index);  } else {
        return metricsBuilder_.getMessageOrBuilder(index);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public java.util.List 
         getMetricsOrBuilderList() {
      if (metricsBuilder_ != null) {
        return metricsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(metrics_);
      }
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public com.dimajix.flowman.kernel.proto.MetricSeries.Builder addMetricsBuilder() {
      return getMetricsFieldBuilder().addBuilder(
          com.dimajix.flowman.kernel.proto.MetricSeries.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public com.dimajix.flowman.kernel.proto.MetricSeries.Builder addMetricsBuilder(
        int index) {
      return getMetricsFieldBuilder().addBuilder(
          index, com.dimajix.flowman.kernel.proto.MetricSeries.getDefaultInstance());
    }
    /**
     * repeated .com.dimajix.flowman.kernel.MetricSeries metrics = 1;
     */
    public java.util.List 
         getMetricsBuilderList() {
      return getMetricsFieldBuilder().getBuilderList();
    }
    private com.dimajix.shaded.protobuf.RepeatedFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.MetricSeries, com.dimajix.flowman.kernel.proto.MetricSeries.Builder, com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder> 
        getMetricsFieldBuilder() {
      if (metricsBuilder_ == null) {
        metricsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
            com.dimajix.flowman.kernel.proto.MetricSeries, com.dimajix.flowman.kernel.proto.MetricSeries.Builder, com.dimajix.flowman.kernel.proto.MetricSeriesOrBuilder>(
                metrics_,
                ((bitField0_ & 0x00000001) != 0),
                getParentForChildren(),
                isClean());
        metrics_ = null;
      }
      return metricsBuilder_;
    }
    @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.history.FindJobMetricsResponse)
  }

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

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

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

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy