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

com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest 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: history.proto

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

/**
 * Protobuf type {@code com.dimajix.flowman.kernel.history.FindJobMetricsRequest}
 */
public final class FindJobMetricsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:com.dimajix.flowman.kernel.history.FindJobMetricsRequest)
    FindJobMetricsRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FindJobMetricsRequest.newBuilder() to construct.
  private FindJobMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private FindJobMetricsRequest() {
    groupings_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
  }

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

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

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

  public static final int QUERY_FIELD_NUMBER = 1;
  private com.dimajix.flowman.kernel.proto.history.JobHistoryQuery query_;
  /**
   * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
   * @return Whether the query field is set.
   */
  @java.lang.Override
  public boolean hasQuery() {
    return query_ != null;
  }
  /**
   * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
   * @return The query.
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery getQuery() {
    return query_ == null ? com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance() : query_;
  }
  /**
   * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
   */
  @java.lang.Override
  public com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder getQueryOrBuilder() {
    return query_ == null ? com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance() : query_;
  }

  public static final int GROUPINGS_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private com.google.protobuf.LazyStringArrayList groupings_ =
      com.google.protobuf.LazyStringArrayList.emptyList();
  /**
   * repeated string groupings = 2;
   * @return A list containing the groupings.
   */
  public com.google.protobuf.ProtocolStringList
      getGroupingsList() {
    return groupings_;
  }
  /**
   * repeated string groupings = 2;
   * @return The count of groupings.
   */
  public int getGroupingsCount() {
    return groupings_.size();
  }
  /**
   * repeated string groupings = 2;
   * @param index The index of the element to return.
   * @return The groupings at the given index.
   */
  public java.lang.String getGroupings(int index) {
    return groupings_.get(index);
  }
  /**
   * repeated string groupings = 2;
   * @param index The index of the value to return.
   * @return The bytes of the groupings at the given index.
   */
  public com.google.protobuf.ByteString
      getGroupingsBytes(int index) {
    return groupings_.getByteString(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.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (query_ != null) {
      output.writeMessage(1, getQuery());
    }
    for (int i = 0; i < groupings_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupings_.getRaw(i));
    }
    getUnknownFields().writeTo(output);
  }

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

    size = 0;
    if (query_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getQuery());
    }
    {
      int dataSize = 0;
      for (int i = 0; i < groupings_.size(); i++) {
        dataSize += computeStringSizeNoTag(groupings_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getGroupingsList().size();
    }
    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.FindJobMetricsRequest)) {
      return super.equals(obj);
    }
    com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest other = (com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest) obj;

    if (hasQuery() != other.hasQuery()) return false;
    if (hasQuery()) {
      if (!getQuery()
          .equals(other.getQuery())) return false;
    }
    if (!getGroupingsList()
        .equals(other.getGroupingsList())) 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 (hasQuery()) {
      hash = (37 * hash) + QUERY_FIELD_NUMBER;
      hash = (53 * hash) + getQuery().hashCode();
    }
    if (getGroupingsCount() > 0) {
      hash = (37 * hash) + GROUPINGS_FIELD_NUMBER;
      hash = (53 * hash) + getGroupingsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest 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.FindJobMetricsRequest 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.history.FindJobMetricsRequest 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.FindJobMetricsRequest 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.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest 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.history.FindJobMetricsRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:com.dimajix.flowman.kernel.history.FindJobMetricsRequest)
      com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequestOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.dimajix.flowman.kernel.proto.history.HistoryProto.internal_static_com_dimajix_flowman_kernel_history_FindJobMetricsRequest_descriptor;
    }

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

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

    }

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

    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      query_ = null;
      if (queryBuilder_ != null) {
        queryBuilder_.dispose();
        queryBuilder_ = null;
      }
      groupings_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      return this;
    }

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

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

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

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

    private void buildPartial0(com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.query_ = queryBuilder_ == null
            ? query_
            : queryBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        groupings_.makeImmutable();
        result.groupings_ = groupings_;
      }
    }

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

    public Builder mergeFrom(com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest other) {
      if (other == com.dimajix.flowman.kernel.proto.history.FindJobMetricsRequest.getDefaultInstance()) return this;
      if (other.hasQuery()) {
        mergeQuery(other.getQuery());
      }
      if (!other.groupings_.isEmpty()) {
        if (groupings_.isEmpty()) {
          groupings_ = other.groupings_;
          bitField0_ |= 0x00000002;
        } else {
          ensureGroupingsIsMutable();
          groupings_.addAll(other.groupings_);
        }
        onChanged();
      }
      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: {
              input.readMessage(
                  getQueryFieldBuilder().getBuilder(),
                  extensionRegistry);
              bitField0_ |= 0x00000001;
              break;
            } // case 10
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              ensureGroupingsIsMutable();
              groupings_.add(s);
              break;
            } // case 18
            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 com.dimajix.flowman.kernel.proto.history.JobHistoryQuery query_;
    private com.google.protobuf.SingleFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.history.JobHistoryQuery, com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder, com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder> queryBuilder_;
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     * @return Whether the query field is set.
     */
    public boolean hasQuery() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     * @return The query.
     */
    public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery getQuery() {
      if (queryBuilder_ == null) {
        return query_ == null ? com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance() : query_;
      } else {
        return queryBuilder_.getMessage();
      }
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public Builder setQuery(com.dimajix.flowman.kernel.proto.history.JobHistoryQuery value) {
      if (queryBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        query_ = value;
      } else {
        queryBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public Builder setQuery(
        com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder builderForValue) {
      if (queryBuilder_ == null) {
        query_ = builderForValue.build();
      } else {
        queryBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public Builder mergeQuery(com.dimajix.flowman.kernel.proto.history.JobHistoryQuery value) {
      if (queryBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0) &&
          query_ != null &&
          query_ != com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance()) {
          getQueryBuilder().mergeFrom(value);
        } else {
          query_ = value;
        }
      } else {
        queryBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public Builder clearQuery() {
      bitField0_ = (bitField0_ & ~0x00000001);
      query_ = null;
      if (queryBuilder_ != null) {
        queryBuilder_.dispose();
        queryBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder getQueryBuilder() {
      bitField0_ |= 0x00000001;
      onChanged();
      return getQueryFieldBuilder().getBuilder();
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    public com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder getQueryOrBuilder() {
      if (queryBuilder_ != null) {
        return queryBuilder_.getMessageOrBuilder();
      } else {
        return query_ == null ?
            com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.getDefaultInstance() : query_;
      }
    }
    /**
     * .com.dimajix.flowman.kernel.history.JobHistoryQuery query = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        com.dimajix.flowman.kernel.proto.history.JobHistoryQuery, com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder, com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder> 
        getQueryFieldBuilder() {
      if (queryBuilder_ == null) {
        queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            com.dimajix.flowman.kernel.proto.history.JobHistoryQuery, com.dimajix.flowman.kernel.proto.history.JobHistoryQuery.Builder, com.dimajix.flowman.kernel.proto.history.JobHistoryQueryOrBuilder>(
                getQuery(),
                getParentForChildren(),
                isClean());
        query_ = null;
      }
      return queryBuilder_;
    }

    private com.google.protobuf.LazyStringArrayList groupings_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    private void ensureGroupingsIsMutable() {
      if (!groupings_.isModifiable()) {
        groupings_ = new com.google.protobuf.LazyStringArrayList(groupings_);
      }
      bitField0_ |= 0x00000002;
    }
    /**
     * repeated string groupings = 2;
     * @return A list containing the groupings.
     */
    public com.google.protobuf.ProtocolStringList
        getGroupingsList() {
      groupings_.makeImmutable();
      return groupings_;
    }
    /**
     * repeated string groupings = 2;
     * @return The count of groupings.
     */
    public int getGroupingsCount() {
      return groupings_.size();
    }
    /**
     * repeated string groupings = 2;
     * @param index The index of the element to return.
     * @return The groupings at the given index.
     */
    public java.lang.String getGroupings(int index) {
      return groupings_.get(index);
    }
    /**
     * repeated string groupings = 2;
     * @param index The index of the value to return.
     * @return The bytes of the groupings at the given index.
     */
    public com.google.protobuf.ByteString
        getGroupingsBytes(int index) {
      return groupings_.getByteString(index);
    }
    /**
     * repeated string groupings = 2;
     * @param index The index to set the value at.
     * @param value The groupings to set.
     * @return This builder for chaining.
     */
    public Builder setGroupings(
        int index, java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureGroupingsIsMutable();
      groupings_.set(index, value);
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * repeated string groupings = 2;
     * @param value The groupings to add.
     * @return This builder for chaining.
     */
    public Builder addGroupings(
        java.lang.String value) {
      if (value == null) { throw new NullPointerException(); }
      ensureGroupingsIsMutable();
      groupings_.add(value);
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * repeated string groupings = 2;
     * @param values The groupings to add.
     * @return This builder for chaining.
     */
    public Builder addAllGroupings(
        java.lang.Iterable values) {
      ensureGroupingsIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(
          values, groupings_);
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     * repeated string groupings = 2;
     * @return This builder for chaining.
     */
    public Builder clearGroupings() {
      groupings_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
      bitField0_ = (bitField0_ & ~0x00000002);;
      onChanged();
      return this;
    }
    /**
     * repeated string groupings = 2;
     * @param value The bytes of the groupings to add.
     * @return This builder for chaining.
     */
    public Builder addGroupingsBytes(
        com.google.protobuf.ByteString value) {
      if (value == null) { throw new NullPointerException(); }
      checkByteStringIsUtf8(value);
      ensureGroupingsIsMutable();
      groupings_.add(value);
      bitField0_ |= 0x00000002;
      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.history.FindJobMetricsRequest)
  }

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

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

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy