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

cz.proto.FileInputStreamStats 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.FileInputStreamStats}
 */
public final class FileInputStreamStats extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:cz.proto.FileInputStreamStats)
    FileInputStreamStatsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use FileInputStreamStats.newBuilder() to construct.
  private FileInputStreamStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private FileInputStreamStats() {
    fileSystemType_ = 0;
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private FileInputStreamStats(
      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: {
            int rawValue = input.readEnum();

            fileSystemType_ = rawValue;
            break;
          }
          case 34: {
            cz.proto.CacheFileInputStreamStats.Builder subBuilder = null;
            if (fileInputStreamStatsCase_ == 4) {
              subBuilder = ((cz.proto.CacheFileInputStreamStats) fileInputStreamStats_).toBuilder();
            }
            fileInputStreamStats_ =
                input.readMessage(cz.proto.CacheFileInputStreamStats.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((cz.proto.CacheFileInputStreamStats) fileInputStreamStats_);
              fileInputStreamStats_ = subBuilder.buildPartial();
            }
            fileInputStreamStatsCase_ = 4;
            break;
          }
          case 42: {
            cz.proto.COSFileInputStreamStats.Builder subBuilder = null;
            if (fileInputStreamStatsCase_ == 5) {
              subBuilder = ((cz.proto.COSFileInputStreamStats) fileInputStreamStats_).toBuilder();
            }
            fileInputStreamStats_ =
                input.readMessage(cz.proto.COSFileInputStreamStats.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((cz.proto.COSFileInputStreamStats) fileInputStreamStats_);
              fileInputStreamStats_ = subBuilder.buildPartial();
            }
            fileInputStreamStatsCase_ = 5;
            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_FileInputStreamStats_descriptor;
  }

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

  private int fileInputStreamStatsCase_ = 0;
  private java.lang.Object fileInputStreamStats_;
  public enum FileInputStreamStatsCase
      implements com.google.protobuf.Internal.EnumLite,
          com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    CACHE_FILE_INPUT_STREAM_STATS(4),
    COS_FILE_INPUT_STREAM_STATS(5),
    FILEINPUTSTREAMSTATS_NOT_SET(0);
    private final int value;
    private FileInputStreamStatsCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static FileInputStreamStatsCase valueOf(int value) {
      return forNumber(value);
    }

    public static FileInputStreamStatsCase forNumber(int value) {
      switch (value) {
        case 4: return CACHE_FILE_INPUT_STREAM_STATS;
        case 5: return COS_FILE_INPUT_STREAM_STATS;
        case 0: return FILEINPUTSTREAMSTATS_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public FileInputStreamStatsCase
  getFileInputStreamStatsCase() {
    return FileInputStreamStatsCase.forNumber(
        fileInputStreamStatsCase_);
  }

  public static final int FILE_SYSTEM_TYPE_FIELD_NUMBER = 1;
  private int fileSystemType_;
  /**
   * .cz.proto.FileSystemType file_system_type = 1;
   * @return The enum numeric value on the wire for fileSystemType.
   */
  @java.lang.Override public int getFileSystemTypeValue() {
    return fileSystemType_;
  }
  /**
   * .cz.proto.FileSystemType file_system_type = 1;
   * @return The fileSystemType.
   */
  @java.lang.Override public cz.proto.FileSystem.FileSystemType getFileSystemType() {
    @SuppressWarnings("deprecation")
    cz.proto.FileSystem.FileSystemType result = cz.proto.FileSystem.FileSystemType.valueOf(fileSystemType_);
    return result == null ? cz.proto.FileSystem.FileSystemType.UNRECOGNIZED : result;
  }

  public static final int CACHE_FILE_INPUT_STREAM_STATS_FIELD_NUMBER = 4;
  /**
   * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
   * @return Whether the cacheFileInputStreamStats field is set.
   */
  @java.lang.Override
  public boolean hasCacheFileInputStreamStats() {
    return fileInputStreamStatsCase_ == 4;
  }
  /**
   * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
   * @return The cacheFileInputStreamStats.
   */
  @java.lang.Override
  public cz.proto.CacheFileInputStreamStats getCacheFileInputStreamStats() {
    if (fileInputStreamStatsCase_ == 4) {
       return (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_;
    }
    return cz.proto.CacheFileInputStreamStats.getDefaultInstance();
  }
  /**
   * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
   */
  @java.lang.Override
  public cz.proto.CacheFileInputStreamStatsOrBuilder getCacheFileInputStreamStatsOrBuilder() {
    if (fileInputStreamStatsCase_ == 4) {
       return (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_;
    }
    return cz.proto.CacheFileInputStreamStats.getDefaultInstance();
  }

  public static final int COS_FILE_INPUT_STREAM_STATS_FIELD_NUMBER = 5;
  /**
   * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
   * @return Whether the cosFileInputStreamStats field is set.
   */
  @java.lang.Override
  public boolean hasCosFileInputStreamStats() {
    return fileInputStreamStatsCase_ == 5;
  }
  /**
   * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
   * @return The cosFileInputStreamStats.
   */
  @java.lang.Override
  public cz.proto.COSFileInputStreamStats getCosFileInputStreamStats() {
    if (fileInputStreamStatsCase_ == 5) {
       return (cz.proto.COSFileInputStreamStats) fileInputStreamStats_;
    }
    return cz.proto.COSFileInputStreamStats.getDefaultInstance();
  }
  /**
   * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
   */
  @java.lang.Override
  public cz.proto.COSFileInputStreamStatsOrBuilder getCosFileInputStreamStatsOrBuilder() {
    if (fileInputStreamStatsCase_ == 5) {
       return (cz.proto.COSFileInputStreamStats) fileInputStreamStats_;
    }
    return cz.proto.COSFileInputStreamStats.getDefaultInstance();
  }

  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 (fileSystemType_ != cz.proto.FileSystem.FileSystemType.LOCAL.getNumber()) {
      output.writeEnum(1, fileSystemType_);
    }
    if (fileInputStreamStatsCase_ == 4) {
      output.writeMessage(4, (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_);
    }
    if (fileInputStreamStatsCase_ == 5) {
      output.writeMessage(5, (cz.proto.COSFileInputStreamStats) fileInputStreamStats_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (fileSystemType_ != cz.proto.FileSystem.FileSystemType.LOCAL.getNumber()) {
      size += com.google.protobuf.CodedOutputStream
        .computeEnumSize(1, fileSystemType_);
    }
    if (fileInputStreamStatsCase_ == 4) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(4, (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_);
    }
    if (fileInputStreamStatsCase_ == 5) {
      size += com.google.protobuf.CodedOutputStream
        .computeMessageSize(5, (cz.proto.COSFileInputStreamStats) fileInputStreamStats_);
    }
    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.FileInputStreamStats)) {
      return super.equals(obj);
    }
    cz.proto.FileInputStreamStats other = (cz.proto.FileInputStreamStats) obj;

    if (fileSystemType_ != other.fileSystemType_) return false;
    if (!getFileInputStreamStatsCase().equals(other.getFileInputStreamStatsCase())) return false;
    switch (fileInputStreamStatsCase_) {
      case 4:
        if (!getCacheFileInputStreamStats()
            .equals(other.getCacheFileInputStreamStats())) return false;
        break;
      case 5:
        if (!getCosFileInputStreamStats()
            .equals(other.getCosFileInputStreamStats())) return false;
        break;
      case 0:
      default:
    }
    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) + FILE_SYSTEM_TYPE_FIELD_NUMBER;
    hash = (53 * hash) + fileSystemType_;
    switch (fileInputStreamStatsCase_) {
      case 4:
        hash = (37 * hash) + CACHE_FILE_INPUT_STREAM_STATS_FIELD_NUMBER;
        hash = (53 * hash) + getCacheFileInputStreamStats().hashCode();
        break;
      case 5:
        hash = (37 * hash) + COS_FILE_INPUT_STREAM_STATS_FIELD_NUMBER;
        hash = (53 * hash) + getCosFileInputStreamStats().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

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

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

    // Construct using cz.proto.FileInputStreamStats.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();
      fileSystemType_ = 0;

      fileInputStreamStatsCase_ = 0;
      fileInputStreamStats_ = null;
      return this;
    }

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

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

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

    @java.lang.Override
    public cz.proto.FileInputStreamStats buildPartial() {
      cz.proto.FileInputStreamStats result = new cz.proto.FileInputStreamStats(this);
      result.fileSystemType_ = fileSystemType_;
      if (fileInputStreamStatsCase_ == 4) {
        if (cacheFileInputStreamStatsBuilder_ == null) {
          result.fileInputStreamStats_ = fileInputStreamStats_;
        } else {
          result.fileInputStreamStats_ = cacheFileInputStreamStatsBuilder_.build();
        }
      }
      if (fileInputStreamStatsCase_ == 5) {
        if (cosFileInputStreamStatsBuilder_ == null) {
          result.fileInputStreamStats_ = fileInputStreamStats_;
        } else {
          result.fileInputStreamStats_ = cosFileInputStreamStatsBuilder_.build();
        }
      }
      result.fileInputStreamStatsCase_ = fileInputStreamStatsCase_;
      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.FileInputStreamStats) {
        return mergeFrom((cz.proto.FileInputStreamStats)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(cz.proto.FileInputStreamStats other) {
      if (other == cz.proto.FileInputStreamStats.getDefaultInstance()) return this;
      if (other.fileSystemType_ != 0) {
        setFileSystemTypeValue(other.getFileSystemTypeValue());
      }
      switch (other.getFileInputStreamStatsCase()) {
        case CACHE_FILE_INPUT_STREAM_STATS: {
          mergeCacheFileInputStreamStats(other.getCacheFileInputStreamStats());
          break;
        }
        case COS_FILE_INPUT_STREAM_STATS: {
          mergeCosFileInputStreamStats(other.getCosFileInputStreamStats());
          break;
        }
        case FILEINPUTSTREAMSTATS_NOT_SET: {
          break;
        }
      }
      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.FileInputStreamStats parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (cz.proto.FileInputStreamStats) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }
    private int fileInputStreamStatsCase_ = 0;
    private java.lang.Object fileInputStreamStats_;
    public FileInputStreamStatsCase
        getFileInputStreamStatsCase() {
      return FileInputStreamStatsCase.forNumber(
          fileInputStreamStatsCase_);
    }

    public Builder clearFileInputStreamStats() {
      fileInputStreamStatsCase_ = 0;
      fileInputStreamStats_ = null;
      onChanged();
      return this;
    }


    private int fileSystemType_ = 0;
    /**
     * .cz.proto.FileSystemType file_system_type = 1;
     * @return The enum numeric value on the wire for fileSystemType.
     */
    @java.lang.Override public int getFileSystemTypeValue() {
      return fileSystemType_;
    }
    /**
     * .cz.proto.FileSystemType file_system_type = 1;
     * @param value The enum numeric value on the wire for fileSystemType to set.
     * @return This builder for chaining.
     */
    public Builder setFileSystemTypeValue(int value) {
      
      fileSystemType_ = value;
      onChanged();
      return this;
    }
    /**
     * .cz.proto.FileSystemType file_system_type = 1;
     * @return The fileSystemType.
     */
    @java.lang.Override
    public cz.proto.FileSystem.FileSystemType getFileSystemType() {
      @SuppressWarnings("deprecation")
      cz.proto.FileSystem.FileSystemType result = cz.proto.FileSystem.FileSystemType.valueOf(fileSystemType_);
      return result == null ? cz.proto.FileSystem.FileSystemType.UNRECOGNIZED : result;
    }
    /**
     * .cz.proto.FileSystemType file_system_type = 1;
     * @param value The fileSystemType to set.
     * @return This builder for chaining.
     */
    public Builder setFileSystemType(cz.proto.FileSystem.FileSystemType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      fileSystemType_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .cz.proto.FileSystemType file_system_type = 1;
     * @return This builder for chaining.
     */
    public Builder clearFileSystemType() {
      
      fileSystemType_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.CacheFileInputStreamStats, cz.proto.CacheFileInputStreamStats.Builder, cz.proto.CacheFileInputStreamStatsOrBuilder> cacheFileInputStreamStatsBuilder_;
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     * @return Whether the cacheFileInputStreamStats field is set.
     */
    @java.lang.Override
    public boolean hasCacheFileInputStreamStats() {
      return fileInputStreamStatsCase_ == 4;
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     * @return The cacheFileInputStreamStats.
     */
    @java.lang.Override
    public cz.proto.CacheFileInputStreamStats getCacheFileInputStreamStats() {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 4) {
          return (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_;
        }
        return cz.proto.CacheFileInputStreamStats.getDefaultInstance();
      } else {
        if (fileInputStreamStatsCase_ == 4) {
          return cacheFileInputStreamStatsBuilder_.getMessage();
        }
        return cz.proto.CacheFileInputStreamStats.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    public Builder setCacheFileInputStreamStats(cz.proto.CacheFileInputStreamStats value) {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fileInputStreamStats_ = value;
        onChanged();
      } else {
        cacheFileInputStreamStatsBuilder_.setMessage(value);
      }
      fileInputStreamStatsCase_ = 4;
      return this;
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    public Builder setCacheFileInputStreamStats(
        cz.proto.CacheFileInputStreamStats.Builder builderForValue) {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        fileInputStreamStats_ = builderForValue.build();
        onChanged();
      } else {
        cacheFileInputStreamStatsBuilder_.setMessage(builderForValue.build());
      }
      fileInputStreamStatsCase_ = 4;
      return this;
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    public Builder mergeCacheFileInputStreamStats(cz.proto.CacheFileInputStreamStats value) {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 4 &&
            fileInputStreamStats_ != cz.proto.CacheFileInputStreamStats.getDefaultInstance()) {
          fileInputStreamStats_ = cz.proto.CacheFileInputStreamStats.newBuilder((cz.proto.CacheFileInputStreamStats) fileInputStreamStats_)
              .mergeFrom(value).buildPartial();
        } else {
          fileInputStreamStats_ = value;
        }
        onChanged();
      } else {
        if (fileInputStreamStatsCase_ == 4) {
          cacheFileInputStreamStatsBuilder_.mergeFrom(value);
        }
        cacheFileInputStreamStatsBuilder_.setMessage(value);
      }
      fileInputStreamStatsCase_ = 4;
      return this;
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    public Builder clearCacheFileInputStreamStats() {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 4) {
          fileInputStreamStatsCase_ = 0;
          fileInputStreamStats_ = null;
          onChanged();
        }
      } else {
        if (fileInputStreamStatsCase_ == 4) {
          fileInputStreamStatsCase_ = 0;
          fileInputStreamStats_ = null;
        }
        cacheFileInputStreamStatsBuilder_.clear();
      }
      return this;
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    public cz.proto.CacheFileInputStreamStats.Builder getCacheFileInputStreamStatsBuilder() {
      return getCacheFileInputStreamStatsFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    @java.lang.Override
    public cz.proto.CacheFileInputStreamStatsOrBuilder getCacheFileInputStreamStatsOrBuilder() {
      if ((fileInputStreamStatsCase_ == 4) && (cacheFileInputStreamStatsBuilder_ != null)) {
        return cacheFileInputStreamStatsBuilder_.getMessageOrBuilder();
      } else {
        if (fileInputStreamStatsCase_ == 4) {
          return (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_;
        }
        return cz.proto.CacheFileInputStreamStats.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.CacheFileInputStreamStats cache_file_input_stream_stats = 4;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.CacheFileInputStreamStats, cz.proto.CacheFileInputStreamStats.Builder, cz.proto.CacheFileInputStreamStatsOrBuilder> 
        getCacheFileInputStreamStatsFieldBuilder() {
      if (cacheFileInputStreamStatsBuilder_ == null) {
        if (!(fileInputStreamStatsCase_ == 4)) {
          fileInputStreamStats_ = cz.proto.CacheFileInputStreamStats.getDefaultInstance();
        }
        cacheFileInputStreamStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.CacheFileInputStreamStats, cz.proto.CacheFileInputStreamStats.Builder, cz.proto.CacheFileInputStreamStatsOrBuilder>(
                (cz.proto.CacheFileInputStreamStats) fileInputStreamStats_,
                getParentForChildren(),
                isClean());
        fileInputStreamStats_ = null;
      }
      fileInputStreamStatsCase_ = 4;
      onChanged();;
      return cacheFileInputStreamStatsBuilder_;
    }

    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.COSFileInputStreamStats, cz.proto.COSFileInputStreamStats.Builder, cz.proto.COSFileInputStreamStatsOrBuilder> cosFileInputStreamStatsBuilder_;
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     * @return Whether the cosFileInputStreamStats field is set.
     */
    @java.lang.Override
    public boolean hasCosFileInputStreamStats() {
      return fileInputStreamStatsCase_ == 5;
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     * @return The cosFileInputStreamStats.
     */
    @java.lang.Override
    public cz.proto.COSFileInputStreamStats getCosFileInputStreamStats() {
      if (cosFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 5) {
          return (cz.proto.COSFileInputStreamStats) fileInputStreamStats_;
        }
        return cz.proto.COSFileInputStreamStats.getDefaultInstance();
      } else {
        if (fileInputStreamStatsCase_ == 5) {
          return cosFileInputStreamStatsBuilder_.getMessage();
        }
        return cz.proto.COSFileInputStreamStats.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    public Builder setCosFileInputStreamStats(cz.proto.COSFileInputStreamStats value) {
      if (cosFileInputStreamStatsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        fileInputStreamStats_ = value;
        onChanged();
      } else {
        cosFileInputStreamStatsBuilder_.setMessage(value);
      }
      fileInputStreamStatsCase_ = 5;
      return this;
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    public Builder setCosFileInputStreamStats(
        cz.proto.COSFileInputStreamStats.Builder builderForValue) {
      if (cosFileInputStreamStatsBuilder_ == null) {
        fileInputStreamStats_ = builderForValue.build();
        onChanged();
      } else {
        cosFileInputStreamStatsBuilder_.setMessage(builderForValue.build());
      }
      fileInputStreamStatsCase_ = 5;
      return this;
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    public Builder mergeCosFileInputStreamStats(cz.proto.COSFileInputStreamStats value) {
      if (cosFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 5 &&
            fileInputStreamStats_ != cz.proto.COSFileInputStreamStats.getDefaultInstance()) {
          fileInputStreamStats_ = cz.proto.COSFileInputStreamStats.newBuilder((cz.proto.COSFileInputStreamStats) fileInputStreamStats_)
              .mergeFrom(value).buildPartial();
        } else {
          fileInputStreamStats_ = value;
        }
        onChanged();
      } else {
        if (fileInputStreamStatsCase_ == 5) {
          cosFileInputStreamStatsBuilder_.mergeFrom(value);
        }
        cosFileInputStreamStatsBuilder_.setMessage(value);
      }
      fileInputStreamStatsCase_ = 5;
      return this;
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    public Builder clearCosFileInputStreamStats() {
      if (cosFileInputStreamStatsBuilder_ == null) {
        if (fileInputStreamStatsCase_ == 5) {
          fileInputStreamStatsCase_ = 0;
          fileInputStreamStats_ = null;
          onChanged();
        }
      } else {
        if (fileInputStreamStatsCase_ == 5) {
          fileInputStreamStatsCase_ = 0;
          fileInputStreamStats_ = null;
        }
        cosFileInputStreamStatsBuilder_.clear();
      }
      return this;
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    public cz.proto.COSFileInputStreamStats.Builder getCosFileInputStreamStatsBuilder() {
      return getCosFileInputStreamStatsFieldBuilder().getBuilder();
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    @java.lang.Override
    public cz.proto.COSFileInputStreamStatsOrBuilder getCosFileInputStreamStatsOrBuilder() {
      if ((fileInputStreamStatsCase_ == 5) && (cosFileInputStreamStatsBuilder_ != null)) {
        return cosFileInputStreamStatsBuilder_.getMessageOrBuilder();
      } else {
        if (fileInputStreamStatsCase_ == 5) {
          return (cz.proto.COSFileInputStreamStats) fileInputStreamStats_;
        }
        return cz.proto.COSFileInputStreamStats.getDefaultInstance();
      }
    }
    /**
     * .cz.proto.COSFileInputStreamStats cos_file_input_stream_stats = 5;
     */
    private com.google.protobuf.SingleFieldBuilderV3<
        cz.proto.COSFileInputStreamStats, cz.proto.COSFileInputStreamStats.Builder, cz.proto.COSFileInputStreamStatsOrBuilder> 
        getCosFileInputStreamStatsFieldBuilder() {
      if (cosFileInputStreamStatsBuilder_ == null) {
        if (!(fileInputStreamStatsCase_ == 5)) {
          fileInputStreamStats_ = cz.proto.COSFileInputStreamStats.getDefaultInstance();
        }
        cosFileInputStreamStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
            cz.proto.COSFileInputStreamStats, cz.proto.COSFileInputStreamStats.Builder, cz.proto.COSFileInputStreamStatsOrBuilder>(
                (cz.proto.COSFileInputStreamStats) fileInputStreamStats_,
                getParentForChildren(),
                isClean());
        fileInputStreamStats_ = null;
      }
      fileInputStreamStatsCase_ = 5;
      onChanged();;
      return cosFileInputStreamStatsBuilder_;
    }
    @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.FileInputStreamStats)
  }

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

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

  private static final com.google.protobuf.Parser
      PARSER = new com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public FileInputStreamStats parsePartialFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return new FileInputStreamStats(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.FileInputStreamStats getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy