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

cz.proto.ExchangeSourceSummary Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: job.proto

package cz.proto;

/**
 * Protobuf type {@code cz.proto.ExchangeSourceSummary}
 */
public final class ExchangeSourceSummary extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.ExchangeSourceSummary)
    ExchangeSourceSummaryOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ExchangeSourceSummary.newBuilder() to construct.
  private ExchangeSourceSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ExchangeSourceSummary() {
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ExchangeSourceSummary(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            cz.proto.OperatorStatistics.Builder subBuilder = null;
            if (compressedShuffleBytes_ != null) {
              subBuilder = compressedShuffleBytes_.toBuilder();
            }
            compressedShuffleBytes_ = input.readMessage(cz.proto.OperatorStatistics.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(compressedShuffleBytes_);
              compressedShuffleBytes_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            cz.proto.OperatorStatistics.Builder subBuilder = null;
            if (uncompressedShuffleBytes_ != null) {
              subBuilder = uncompressedShuffleBytes_.toBuilder();
            }
            uncompressedShuffleBytes_ = input.readMessage(cz.proto.OperatorStatistics.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(uncompressedShuffleBytes_);
              uncompressedShuffleBytes_ = subBuilder.buildPartial();
            }

            break;
          }
          case 26: {
            cz.proto.OperatorStatistics.Builder subBuilder = null;
            if (readBufferTimingWallNs_ != null) {
              subBuilder = readBufferTimingWallNs_.toBuilder();
            }
            readBufferTimingWallNs_ = input.readMessage(cz.proto.OperatorStatistics.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(readBufferTimingWallNs_);
              readBufferTimingWallNs_ = subBuilder.buildPartial();
            }

            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return cz.proto.JobProto.internal_static_cz_proto_ExchangeSourceSummary_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return cz.proto.JobProto.internal_static_cz_proto_ExchangeSourceSummary_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            cz.proto.ExchangeSourceSummary.class, cz.proto.ExchangeSourceSummary.Builder.class);
  }

  public static final int COMPRESSED_SHUFFLE_BYTES_FIELD_NUMBER = 1;
  private cz.proto.OperatorStatistics compressedShuffleBytes_;
  /**
   * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
   * @return Whether the compressedShuffleBytes field is set.
   */
  @java.lang.Override
  public boolean hasCompressedShuffleBytes() {
    return compressedShuffleBytes_ != null;
  }
  /**
   * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
   * @return The compressedShuffleBytes.
   */
  @java.lang.Override
  public cz.proto.OperatorStatistics getCompressedShuffleBytes() {
    return compressedShuffleBytes_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : compressedShuffleBytes_;
  }
  /**
   * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
   */
  @java.lang.Override
  public cz.proto.OperatorStatisticsOrBuilder getCompressedShuffleBytesOrBuilder() {
    return getCompressedShuffleBytes();
  }

  public static final int UNCOMPRESSED_SHUFFLE_BYTES_FIELD_NUMBER = 2;
  private cz.proto.OperatorStatistics uncompressedShuffleBytes_;
  /**
   * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
   * @return Whether the uncompressedShuffleBytes field is set.
   */
  @java.lang.Override
  public boolean hasUncompressedShuffleBytes() {
    return uncompressedShuffleBytes_ != null;
  }
  /**
   * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
   * @return The uncompressedShuffleBytes.
   */
  @java.lang.Override
  public cz.proto.OperatorStatistics getUncompressedShuffleBytes() {
    return uncompressedShuffleBytes_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : uncompressedShuffleBytes_;
  }
  /**
   * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
   */
  @java.lang.Override
  public cz.proto.OperatorStatisticsOrBuilder getUncompressedShuffleBytesOrBuilder() {
    return getUncompressedShuffleBytes();
  }

  public static final int READ_BUFFER_TIMING_WALL_NS_FIELD_NUMBER = 3;
  private cz.proto.OperatorStatistics readBufferTimingWallNs_;
  /**
   * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
   * @return Whether the readBufferTimingWallNs field is set.
   */
  @java.lang.Override
  public boolean hasReadBufferTimingWallNs() {
    return readBufferTimingWallNs_ != null;
  }
  /**
   * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
   * @return The readBufferTimingWallNs.
   */
  @java.lang.Override
  public cz.proto.OperatorStatistics getReadBufferTimingWallNs() {
    return readBufferTimingWallNs_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : readBufferTimingWallNs_;
  }
  /**
   * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
   */
  @java.lang.Override
  public cz.proto.OperatorStatisticsOrBuilder getReadBufferTimingWallNsOrBuilder() {
    return getReadBufferTimingWallNs();
  }

  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 (compressedShuffleBytes_ != null) {
      output.writeMessage(1, getCompressedShuffleBytes());
    }
    if (uncompressedShuffleBytes_ != null) {
      output.writeMessage(2, getUncompressedShuffleBytes());
    }
    if (readBufferTimingWallNs_ != null) {
      output.writeMessage(3, getReadBufferTimingWallNs());
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (compressedShuffleBytes_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getCompressedShuffleBytes());
    }
    if (uncompressedShuffleBytes_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(2, getUncompressedShuffleBytes());
    }
    if (readBufferTimingWallNs_ != null) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(3, getReadBufferTimingWallNs());
    }
    size += unknownFields.getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
     return true;
    }
    if (!(obj instanceof cz.proto.ExchangeSourceSummary)) {
      return super.equals(obj);
    }
    cz.proto.ExchangeSourceSummary other = (cz.proto.ExchangeSourceSummary) obj;

    if (hasCompressedShuffleBytes() != other.hasCompressedShuffleBytes()) return false;
    if (hasCompressedShuffleBytes()) {
      if (!getCompressedShuffleBytes()
          .equals(other.getCompressedShuffleBytes())) return false;
    }
    if (hasUncompressedShuffleBytes() != other.hasUncompressedShuffleBytes()) return false;
    if (hasUncompressedShuffleBytes()) {
      if (!getUncompressedShuffleBytes()
          .equals(other.getUncompressedShuffleBytes())) return false;
    }
    if (hasReadBufferTimingWallNs() != other.hasReadBufferTimingWallNs()) return false;
    if (hasReadBufferTimingWallNs()) {
      if (!getReadBufferTimingWallNs()
          .equals(other.getReadBufferTimingWallNs())) return false;
    }
    if (!unknownFields.equals(other.unknownFields)) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    if (hasCompressedShuffleBytes()) {
      hash = (37 * hash) + COMPRESSED_SHUFFLE_BYTES_FIELD_NUMBER;
      hash = (53 * hash) + getCompressedShuffleBytes().hashCode();
    }
    if (hasUncompressedShuffleBytes()) {
      hash = (37 * hash) + UNCOMPRESSED_SHUFFLE_BYTES_FIELD_NUMBER;
      hash = (53 * hash) + getUncompressedShuffleBytes().hashCode();
    }
    if (hasReadBufferTimingWallNs()) {
      hash = (37 * hash) + READ_BUFFER_TIMING_WALL_NS_FIELD_NUMBER;
      hash = (53 * hash) + getReadBufferTimingWallNs().hashCode();
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static cz.proto.ExchangeSourceSummary parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static cz.proto.ExchangeSourceSummary parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.ExchangeSourceSummary 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 cz.proto.ExchangeSourceSummary parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static cz.proto.ExchangeSourceSummary 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 cz.proto.ExchangeSourceSummary parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static cz.proto.ExchangeSourceSummary 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(cz.proto.ExchangeSourceSummary 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 cz.proto.ExchangeSourceSummary}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:cz.proto.ExchangeSourceSummary)
      cz.proto.ExchangeSourceSummaryOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.JobProto.internal_static_cz_proto_ExchangeSourceSummary_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.JobProto.internal_static_cz_proto_ExchangeSourceSummary_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ExchangeSourceSummary.class, cz.proto.ExchangeSourceSummary.Builder.class);
    }

    // Construct using cz.proto.ExchangeSourceSummary.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (compressedShuffleBytesBuilder_ == null) {
        compressedShuffleBytes_ = null;
      } else {
        compressedShuffleBytes_ = null;
        compressedShuffleBytesBuilder_ = null;
      }
      if (uncompressedShuffleBytesBuilder_ == null) {
        uncompressedShuffleBytes_ = null;
      } else {
        uncompressedShuffleBytes_ = null;
        uncompressedShuffleBytesBuilder_ = null;
      }
      if (readBufferTimingWallNsBuilder_ == null) {
        readBufferTimingWallNs_ = null;
      } else {
        readBufferTimingWallNs_ = null;
        readBufferTimingWallNsBuilder_ = null;
      }
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return cz.proto.JobProto.internal_static_cz_proto_ExchangeSourceSummary_descriptor;
    }

    @java.lang.Override
    public cz.proto.ExchangeSourceSummary getDefaultInstanceForType() {
      return cz.proto.ExchangeSourceSummary.getDefaultInstance();
    }

    @java.lang.Override
    public cz.proto.ExchangeSourceSummary build() {
      cz.proto.ExchangeSourceSummary result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public cz.proto.ExchangeSourceSummary buildPartial() {
      cz.proto.ExchangeSourceSummary result = new cz.proto.ExchangeSourceSummary(this);
      if (compressedShuffleBytesBuilder_ == null) {
        result.compressedShuffleBytes_ = compressedShuffleBytes_;
      } else {
        result.compressedShuffleBytes_ = compressedShuffleBytesBuilder_.build();
      }
      if (uncompressedShuffleBytesBuilder_ == null) {
        result.uncompressedShuffleBytes_ = uncompressedShuffleBytes_;
      } else {
        result.uncompressedShuffleBytes_ = uncompressedShuffleBytesBuilder_.build();
      }
      if (readBufferTimingWallNsBuilder_ == null) {
        result.readBufferTimingWallNs_ = readBufferTimingWallNs_;
      } else {
        result.readBufferTimingWallNs_ = readBufferTimingWallNsBuilder_.build();
      }
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }
    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof cz.proto.ExchangeSourceSummary) {
        return mergeFrom((cz.proto.ExchangeSourceSummary)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.ExchangeSourceSummary other) {
      if (other == cz.proto.ExchangeSourceSummary.getDefaultInstance()) return this;
      if (other.hasCompressedShuffleBytes()) {
        mergeCompressedShuffleBytes(other.getCompressedShuffleBytes());
      }
      if (other.hasUncompressedShuffleBytes()) {
        mergeUncompressedShuffleBytes(other.getUncompressedShuffleBytes());
      }
      if (other.hasReadBufferTimingWallNs()) {
        mergeReadBufferTimingWallNs(other.getReadBufferTimingWallNs());
      }
      this.mergeUnknownFields(other.unknownFields);
      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 {
      cz.proto.ExchangeSourceSummary parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.ExchangeSourceSummary) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private cz.proto.OperatorStatistics compressedShuffleBytes_;
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> compressedShuffleBytesBuilder_;
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     * @return Whether the compressedShuffleBytes field is set.
     */
    public boolean hasCompressedShuffleBytes() {
      return compressedShuffleBytesBuilder_ != null || compressedShuffleBytes_ != null;
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     * @return The compressedShuffleBytes.
     */
    public cz.proto.OperatorStatistics getCompressedShuffleBytes() {
      if (compressedShuffleBytesBuilder_ == null) {
        return compressedShuffleBytes_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : compressedShuffleBytes_;
      } else {
        return compressedShuffleBytesBuilder_.getMessage();
      }
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public Builder setCompressedShuffleBytes(cz.proto.OperatorStatistics value) {
      if (compressedShuffleBytesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        compressedShuffleBytes_ = value;
        onChanged();
      } else {
        compressedShuffleBytesBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public Builder setCompressedShuffleBytes(
        cz.proto.OperatorStatistics.Builder builderForValue) {
      if (compressedShuffleBytesBuilder_ == null) {
        compressedShuffleBytes_ = builderForValue.build();
        onChanged();
      } else {
        compressedShuffleBytesBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public Builder mergeCompressedShuffleBytes(cz.proto.OperatorStatistics value) {
      if (compressedShuffleBytesBuilder_ == null) {
        if (compressedShuffleBytes_ != null) {
          compressedShuffleBytes_ =
            cz.proto.OperatorStatistics.newBuilder(compressedShuffleBytes_).mergeFrom(value).buildPartial();
        } else {
          compressedShuffleBytes_ = value;
        }
        onChanged();
      } else {
        compressedShuffleBytesBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public Builder clearCompressedShuffleBytes() {
      if (compressedShuffleBytesBuilder_ == null) {
        compressedShuffleBytes_ = null;
        onChanged();
      } else {
        compressedShuffleBytes_ = null;
        compressedShuffleBytesBuilder_ = null;
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public cz.proto.OperatorStatistics.Builder getCompressedShuffleBytesBuilder() {
      
      onChanged();
      return getCompressedShuffleBytesFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    public cz.proto.OperatorStatisticsOrBuilder getCompressedShuffleBytesOrBuilder() {
      if (compressedShuffleBytesBuilder_ != null) {
        return compressedShuffleBytesBuilder_.getMessageOrBuilder();
      } else {
        return compressedShuffleBytes_ == null ?
            cz.proto.OperatorStatistics.getDefaultInstance() : compressedShuffleBytes_;
      }
    }
    /**
     * .cz.proto.OperatorStatistics compressed_shuffle_bytes = 1;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> 
        getCompressedShuffleBytesFieldBuilder() {
      if (compressedShuffleBytesBuilder_ == null) {
        compressedShuffleBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder>(
                getCompressedShuffleBytes(),
                getParentForChildren(),
                isClean());
        compressedShuffleBytes_ = null;
      }
      return compressedShuffleBytesBuilder_;
    }

    private cz.proto.OperatorStatistics uncompressedShuffleBytes_;
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> uncompressedShuffleBytesBuilder_;
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     * @return Whether the uncompressedShuffleBytes field is set.
     */
    public boolean hasUncompressedShuffleBytes() {
      return uncompressedShuffleBytesBuilder_ != null || uncompressedShuffleBytes_ != null;
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     * @return The uncompressedShuffleBytes.
     */
    public cz.proto.OperatorStatistics getUncompressedShuffleBytes() {
      if (uncompressedShuffleBytesBuilder_ == null) {
        return uncompressedShuffleBytes_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : uncompressedShuffleBytes_;
      } else {
        return uncompressedShuffleBytesBuilder_.getMessage();
      }
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public Builder setUncompressedShuffleBytes(cz.proto.OperatorStatistics value) {
      if (uncompressedShuffleBytesBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        uncompressedShuffleBytes_ = value;
        onChanged();
      } else {
        uncompressedShuffleBytesBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public Builder setUncompressedShuffleBytes(
        cz.proto.OperatorStatistics.Builder builderForValue) {
      if (uncompressedShuffleBytesBuilder_ == null) {
        uncompressedShuffleBytes_ = builderForValue.build();
        onChanged();
      } else {
        uncompressedShuffleBytesBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public Builder mergeUncompressedShuffleBytes(cz.proto.OperatorStatistics value) {
      if (uncompressedShuffleBytesBuilder_ == null) {
        if (uncompressedShuffleBytes_ != null) {
          uncompressedShuffleBytes_ =
            cz.proto.OperatorStatistics.newBuilder(uncompressedShuffleBytes_).mergeFrom(value).buildPartial();
        } else {
          uncompressedShuffleBytes_ = value;
        }
        onChanged();
      } else {
        uncompressedShuffleBytesBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public Builder clearUncompressedShuffleBytes() {
      if (uncompressedShuffleBytesBuilder_ == null) {
        uncompressedShuffleBytes_ = null;
        onChanged();
      } else {
        uncompressedShuffleBytes_ = null;
        uncompressedShuffleBytesBuilder_ = null;
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public cz.proto.OperatorStatistics.Builder getUncompressedShuffleBytesBuilder() {
      
      onChanged();
      return getUncompressedShuffleBytesFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    public cz.proto.OperatorStatisticsOrBuilder getUncompressedShuffleBytesOrBuilder() {
      if (uncompressedShuffleBytesBuilder_ != null) {
        return uncompressedShuffleBytesBuilder_.getMessageOrBuilder();
      } else {
        return uncompressedShuffleBytes_ == null ?
            cz.proto.OperatorStatistics.getDefaultInstance() : uncompressedShuffleBytes_;
      }
    }
    /**
     * .cz.proto.OperatorStatistics uncompressed_shuffle_bytes = 2;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> 
        getUncompressedShuffleBytesFieldBuilder() {
      if (uncompressedShuffleBytesBuilder_ == null) {
        uncompressedShuffleBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder>(
                getUncompressedShuffleBytes(),
                getParentForChildren(),
                isClean());
        uncompressedShuffleBytes_ = null;
      }
      return uncompressedShuffleBytesBuilder_;
    }

    private cz.proto.OperatorStatistics readBufferTimingWallNs_;
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> readBufferTimingWallNsBuilder_;
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     * @return Whether the readBufferTimingWallNs field is set.
     */
    public boolean hasReadBufferTimingWallNs() {
      return readBufferTimingWallNsBuilder_ != null || readBufferTimingWallNs_ != null;
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     * @return The readBufferTimingWallNs.
     */
    public cz.proto.OperatorStatistics getReadBufferTimingWallNs() {
      if (readBufferTimingWallNsBuilder_ == null) {
        return readBufferTimingWallNs_ == null ? cz.proto.OperatorStatistics.getDefaultInstance() : readBufferTimingWallNs_;
      } else {
        return readBufferTimingWallNsBuilder_.getMessage();
      }
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public Builder setReadBufferTimingWallNs(cz.proto.OperatorStatistics value) {
      if (readBufferTimingWallNsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        readBufferTimingWallNs_ = value;
        onChanged();
      } else {
        readBufferTimingWallNsBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public Builder setReadBufferTimingWallNs(
        cz.proto.OperatorStatistics.Builder builderForValue) {
      if (readBufferTimingWallNsBuilder_ == null) {
        readBufferTimingWallNs_ = builderForValue.build();
        onChanged();
      } else {
        readBufferTimingWallNsBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public Builder mergeReadBufferTimingWallNs(cz.proto.OperatorStatistics value) {
      if (readBufferTimingWallNsBuilder_ == null) {
        if (readBufferTimingWallNs_ != null) {
          readBufferTimingWallNs_ =
            cz.proto.OperatorStatistics.newBuilder(readBufferTimingWallNs_).mergeFrom(value).buildPartial();
        } else {
          readBufferTimingWallNs_ = value;
        }
        onChanged();
      } else {
        readBufferTimingWallNsBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public Builder clearReadBufferTimingWallNs() {
      if (readBufferTimingWallNsBuilder_ == null) {
        readBufferTimingWallNs_ = null;
        onChanged();
      } else {
        readBufferTimingWallNs_ = null;
        readBufferTimingWallNsBuilder_ = null;
      }

      return this;
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public cz.proto.OperatorStatistics.Builder getReadBufferTimingWallNsBuilder() {
      
      onChanged();
      return getReadBufferTimingWallNsFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    public cz.proto.OperatorStatisticsOrBuilder getReadBufferTimingWallNsOrBuilder() {
      if (readBufferTimingWallNsBuilder_ != null) {
        return readBufferTimingWallNsBuilder_.getMessageOrBuilder();
      } else {
        return readBufferTimingWallNs_ == null ?
            cz.proto.OperatorStatistics.getDefaultInstance() : readBufferTimingWallNs_;
      }
    }
    /**
     * .cz.proto.OperatorStatistics read_buffer_timing_wall_ns = 3;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder> 
        getReadBufferTimingWallNsFieldBuilder() {
      if (readBufferTimingWallNsBuilder_ == null) {
        readBufferTimingWallNsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.OperatorStatistics, cz.proto.OperatorStatistics.Builder, cz.proto.OperatorStatisticsOrBuilder>(
                getReadBufferTimingWallNs(),
                getParentForChildren(),
                isClean());
        readBufferTimingWallNs_ = null;
      }
      return readBufferTimingWallNsBuilder_;
    }
    @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:cz.proto.ExchangeSourceSummary)
  }

  // @@protoc_insertion_point(class_scope:cz.proto.ExchangeSourceSummary)
  private static final cz.proto.ExchangeSourceSummary DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new cz.proto.ExchangeSourceSummary();
  }

  public static cz.proto.ExchangeSourceSummary getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public ExchangeSourceSummary parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new ExchangeSourceSummary(input, extensionRegistry);
    }
  };

  public static com.google.protobuf.Parser parser() {
    return PARSER;
  }

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

  @java.lang.Override
  public cz.proto.ExchangeSourceSummary getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy