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

cz.proto.PrefetchStats Maven / Gradle / Ivy

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

package cz.proto;

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

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private PrefetchStats(
      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 8: {

            readCount_ = input.readUInt64();
            break;
          }
          case 16: {

            readBytes_ = input.readUInt64();
            break;
          }
          case 24: {

            readHitCache_ = input.readUInt64();
            break;
          }
          case 32: {

            readTimeElapsedUs_ = input.readUInt64();
            break;
          }
          case 40: {

            ioCount_ = input.readUInt64();
            break;
          }
          case 48: {

            ioBytes_ = input.readUInt64();
            break;
          }
          case 56: {

            ioTimeElapsedUs_ = input.readUInt64();
            break;
          }
          case 66: {
            java.lang.String s = input.readStringRequireUtf8();

            driverType_ = s;
            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.OperatorProto.internal_static_cz_proto_PrefetchStats_descriptor;
  }

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

  public static final int DRIVER_TYPE_FIELD_NUMBER = 8;
  private volatile java.lang.Object driverType_;
  /**
   * string driver_type = 8;
   * @return The driverType.
   */
  @java.lang.Override
  public java.lang.String getDriverType() {
    java.lang.Object ref = driverType_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      driverType_ = s;
      return s;
    }
  }
  /**
   * string driver_type = 8;
   * @return The bytes for driverType.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getDriverTypeBytes() {
    java.lang.Object ref = driverType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      driverType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int READ_COUNT_FIELD_NUMBER = 1;
  private long readCount_;
  /**
   * 
   * io request from outside
   * 
* * uint64 read_count = 1; * @return The readCount. */ @java.lang.Override public long getReadCount() { return readCount_; } public static final int READ_BYTES_FIELD_NUMBER = 2; private long readBytes_; /** *
   * io bytes from prefetch cache
   * 
* * uint64 read_bytes = 2; * @return The readBytes. */ @java.lang.Override public long getReadBytes() { return readBytes_; } public static final int READ_HIT_CACHE_FIELD_NUMBER = 3; private long readHitCache_; /** *
   * prefetch cache hit count
   * 
* * uint64 read_hit_cache = 3; * @return The readHitCache. */ @java.lang.Override public long getReadHitCache() { return readHitCache_; } public static final int READ_TIME_ELAPSED_US_FIELD_NUMBER = 4; private long readTimeElapsedUs_; /** *
   * total io request cost(SYNC)
   * 
* * uint64 read_time_elapsed_us = 4; * @return The readTimeElapsedUs. */ @java.lang.Override public long getReadTimeElapsedUs() { return readTimeElapsedUs_; } public static final int IO_COUNT_FIELD_NUMBER = 5; private long ioCount_; /** *
   * merged io count in prefetch thread/fiber
   * 
* * uint64 io_count = 5; * @return The ioCount. */ @java.lang.Override public long getIoCount() { return ioCount_; } public static final int IO_BYTES_FIELD_NUMBER = 6; private long ioBytes_; /** *
   * merged io bytes in prefetch thread/fiber
   * 
* * uint64 io_bytes = 6; * @return The ioBytes. */ @java.lang.Override public long getIoBytes() { return ioBytes_; } public static final int IO_TIME_ELAPSED_US_FIELD_NUMBER = 7; private long ioTimeElapsedUs_; /** *
   * merged io cost(ASYNC)
   * 
* * uint64 io_time_elapsed_us = 7; * @return The ioTimeElapsedUs. */ @java.lang.Override public long getIoTimeElapsedUs() { return ioTimeElapsedUs_; } 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 (readCount_ != 0L) { output.writeUInt64(1, readCount_); } if (readBytes_ != 0L) { output.writeUInt64(2, readBytes_); } if (readHitCache_ != 0L) { output.writeUInt64(3, readHitCache_); } if (readTimeElapsedUs_ != 0L) { output.writeUInt64(4, readTimeElapsedUs_); } if (ioCount_ != 0L) { output.writeUInt64(5, ioCount_); } if (ioBytes_ != 0L) { output.writeUInt64(6, ioBytes_); } if (ioTimeElapsedUs_ != 0L) { output.writeUInt64(7, ioTimeElapsedUs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(driverType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, driverType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (readCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, readCount_); } if (readBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, readBytes_); } if (readHitCache_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, readHitCache_); } if (readTimeElapsedUs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, readTimeElapsedUs_); } if (ioCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, ioCount_); } if (ioBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, ioBytes_); } if (ioTimeElapsedUs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, ioTimeElapsedUs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(driverType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, driverType_); } 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.PrefetchStats)) { return super.equals(obj); } cz.proto.PrefetchStats other = (cz.proto.PrefetchStats) obj; if (!getDriverType() .equals(other.getDriverType())) return false; if (getReadCount() != other.getReadCount()) return false; if (getReadBytes() != other.getReadBytes()) return false; if (getReadHitCache() != other.getReadHitCache()) return false; if (getReadTimeElapsedUs() != other.getReadTimeElapsedUs()) return false; if (getIoCount() != other.getIoCount()) return false; if (getIoBytes() != other.getIoBytes()) return false; if (getIoTimeElapsedUs() != other.getIoTimeElapsedUs()) 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(); hash = (37 * hash) + DRIVER_TYPE_FIELD_NUMBER; hash = (53 * hash) + getDriverType().hashCode(); hash = (37 * hash) + READ_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadCount()); hash = (37 * hash) + READ_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadBytes()); hash = (37 * hash) + READ_HIT_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadHitCache()); hash = (37 * hash) + READ_TIME_ELAPSED_US_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getReadTimeElapsedUs()); hash = (37 * hash) + IO_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIoCount()); hash = (37 * hash) + IO_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIoBytes()); hash = (37 * hash) + IO_TIME_ELAPSED_US_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIoTimeElapsedUs()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.PrefetchStats parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.PrefetchStats parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.PrefetchStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.PrefetchStats 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.PrefetchStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.PrefetchStats parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.PrefetchStats parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.PrefetchStats 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.PrefetchStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.PrefetchStats 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.PrefetchStats parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.PrefetchStats 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.PrefetchStats 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.PrefetchStats} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.PrefetchStats) cz.proto.PrefetchStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.OperatorProto.internal_static_cz_proto_PrefetchStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.OperatorProto.internal_static_cz_proto_PrefetchStats_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.PrefetchStats.class, cz.proto.PrefetchStats.Builder.class); } // Construct using cz.proto.PrefetchStats.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(); driverType_ = ""; readCount_ = 0L; readBytes_ = 0L; readHitCache_ = 0L; readTimeElapsedUs_ = 0L; ioCount_ = 0L; ioBytes_ = 0L; ioTimeElapsedUs_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.OperatorProto.internal_static_cz_proto_PrefetchStats_descriptor; } @java.lang.Override public cz.proto.PrefetchStats getDefaultInstanceForType() { return cz.proto.PrefetchStats.getDefaultInstance(); } @java.lang.Override public cz.proto.PrefetchStats build() { cz.proto.PrefetchStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.PrefetchStats buildPartial() { cz.proto.PrefetchStats result = new cz.proto.PrefetchStats(this); result.driverType_ = driverType_; result.readCount_ = readCount_; result.readBytes_ = readBytes_; result.readHitCache_ = readHitCache_; result.readTimeElapsedUs_ = readTimeElapsedUs_; result.ioCount_ = ioCount_; result.ioBytes_ = ioBytes_; result.ioTimeElapsedUs_ = ioTimeElapsedUs_; 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.PrefetchStats) { return mergeFrom((cz.proto.PrefetchStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.PrefetchStats other) { if (other == cz.proto.PrefetchStats.getDefaultInstance()) return this; if (!other.getDriverType().isEmpty()) { driverType_ = other.driverType_; onChanged(); } if (other.getReadCount() != 0L) { setReadCount(other.getReadCount()); } if (other.getReadBytes() != 0L) { setReadBytes(other.getReadBytes()); } if (other.getReadHitCache() != 0L) { setReadHitCache(other.getReadHitCache()); } if (other.getReadTimeElapsedUs() != 0L) { setReadTimeElapsedUs(other.getReadTimeElapsedUs()); } if (other.getIoCount() != 0L) { setIoCount(other.getIoCount()); } if (other.getIoBytes() != 0L) { setIoBytes(other.getIoBytes()); } if (other.getIoTimeElapsedUs() != 0L) { setIoTimeElapsedUs(other.getIoTimeElapsedUs()); } 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.PrefetchStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.PrefetchStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object driverType_ = ""; /** * string driver_type = 8; * @return The driverType. */ public java.lang.String getDriverType() { java.lang.Object ref = driverType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); driverType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string driver_type = 8; * @return The bytes for driverType. */ public com.google.protobuf.ByteString getDriverTypeBytes() { java.lang.Object ref = driverType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); driverType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string driver_type = 8; * @param value The driverType to set. * @return This builder for chaining. */ public Builder setDriverType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } driverType_ = value; onChanged(); return this; } /** * string driver_type = 8; * @return This builder for chaining. */ public Builder clearDriverType() { driverType_ = getDefaultInstance().getDriverType(); onChanged(); return this; } /** * string driver_type = 8; * @param value The bytes for driverType to set. * @return This builder for chaining. */ public Builder setDriverTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); driverType_ = value; onChanged(); return this; } private long readCount_ ; /** *
     * io request from outside
     * 
* * uint64 read_count = 1; * @return The readCount. */ @java.lang.Override public long getReadCount() { return readCount_; } /** *
     * io request from outside
     * 
* * uint64 read_count = 1; * @param value The readCount to set. * @return This builder for chaining. */ public Builder setReadCount(long value) { readCount_ = value; onChanged(); return this; } /** *
     * io request from outside
     * 
* * uint64 read_count = 1; * @return This builder for chaining. */ public Builder clearReadCount() { readCount_ = 0L; onChanged(); return this; } private long readBytes_ ; /** *
     * io bytes from prefetch cache
     * 
* * uint64 read_bytes = 2; * @return The readBytes. */ @java.lang.Override public long getReadBytes() { return readBytes_; } /** *
     * io bytes from prefetch cache
     * 
* * uint64 read_bytes = 2; * @param value The readBytes to set. * @return This builder for chaining. */ public Builder setReadBytes(long value) { readBytes_ = value; onChanged(); return this; } /** *
     * io bytes from prefetch cache
     * 
* * uint64 read_bytes = 2; * @return This builder for chaining. */ public Builder clearReadBytes() { readBytes_ = 0L; onChanged(); return this; } private long readHitCache_ ; /** *
     * prefetch cache hit count
     * 
* * uint64 read_hit_cache = 3; * @return The readHitCache. */ @java.lang.Override public long getReadHitCache() { return readHitCache_; } /** *
     * prefetch cache hit count
     * 
* * uint64 read_hit_cache = 3; * @param value The readHitCache to set. * @return This builder for chaining. */ public Builder setReadHitCache(long value) { readHitCache_ = value; onChanged(); return this; } /** *
     * prefetch cache hit count
     * 
* * uint64 read_hit_cache = 3; * @return This builder for chaining. */ public Builder clearReadHitCache() { readHitCache_ = 0L; onChanged(); return this; } private long readTimeElapsedUs_ ; /** *
     * total io request cost(SYNC)
     * 
* * uint64 read_time_elapsed_us = 4; * @return The readTimeElapsedUs. */ @java.lang.Override public long getReadTimeElapsedUs() { return readTimeElapsedUs_; } /** *
     * total io request cost(SYNC)
     * 
* * uint64 read_time_elapsed_us = 4; * @param value The readTimeElapsedUs to set. * @return This builder for chaining. */ public Builder setReadTimeElapsedUs(long value) { readTimeElapsedUs_ = value; onChanged(); return this; } /** *
     * total io request cost(SYNC)
     * 
* * uint64 read_time_elapsed_us = 4; * @return This builder for chaining. */ public Builder clearReadTimeElapsedUs() { readTimeElapsedUs_ = 0L; onChanged(); return this; } private long ioCount_ ; /** *
     * merged io count in prefetch thread/fiber
     * 
* * uint64 io_count = 5; * @return The ioCount. */ @java.lang.Override public long getIoCount() { return ioCount_; } /** *
     * merged io count in prefetch thread/fiber
     * 
* * uint64 io_count = 5; * @param value The ioCount to set. * @return This builder for chaining. */ public Builder setIoCount(long value) { ioCount_ = value; onChanged(); return this; } /** *
     * merged io count in prefetch thread/fiber
     * 
* * uint64 io_count = 5; * @return This builder for chaining. */ public Builder clearIoCount() { ioCount_ = 0L; onChanged(); return this; } private long ioBytes_ ; /** *
     * merged io bytes in prefetch thread/fiber
     * 
* * uint64 io_bytes = 6; * @return The ioBytes. */ @java.lang.Override public long getIoBytes() { return ioBytes_; } /** *
     * merged io bytes in prefetch thread/fiber
     * 
* * uint64 io_bytes = 6; * @param value The ioBytes to set. * @return This builder for chaining. */ public Builder setIoBytes(long value) { ioBytes_ = value; onChanged(); return this; } /** *
     * merged io bytes in prefetch thread/fiber
     * 
* * uint64 io_bytes = 6; * @return This builder for chaining. */ public Builder clearIoBytes() { ioBytes_ = 0L; onChanged(); return this; } private long ioTimeElapsedUs_ ; /** *
     * merged io cost(ASYNC)
     * 
* * uint64 io_time_elapsed_us = 7; * @return The ioTimeElapsedUs. */ @java.lang.Override public long getIoTimeElapsedUs() { return ioTimeElapsedUs_; } /** *
     * merged io cost(ASYNC)
     * 
* * uint64 io_time_elapsed_us = 7; * @param value The ioTimeElapsedUs to set. * @return This builder for chaining. */ public Builder setIoTimeElapsedUs(long value) { ioTimeElapsedUs_ = value; onChanged(); return this; } /** *
     * merged io cost(ASYNC)
     * 
* * uint64 io_time_elapsed_us = 7; * @return This builder for chaining. */ public Builder clearIoTimeElapsedUs() { ioTimeElapsedUs_ = 0L; 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:cz.proto.PrefetchStats) } // @@protoc_insertion_point(class_scope:cz.proto.PrefetchStats) private static final cz.proto.PrefetchStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.PrefetchStats(); } public static cz.proto.PrefetchStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PrefetchStats parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PrefetchStats(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.PrefetchStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy