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

com.clarifai.grpc.api.InputsExtractionJobProgress Maven / Gradle / Ivy

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

package com.clarifai.grpc.api;

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

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

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

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

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

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

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

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

            inProgressArchivesCount_ = input.readUInt64();
            break;
          }
          case 64: {

            completedArchivesCount_ = input.readUInt64();
            break;
          }
          case 72: {

            failedArchivesCount_ = input.readUInt64();
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (com.google.protobuf.UninitializedMessageException e) {
      throw e.asInvalidProtocolBufferException().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 com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputsExtractionJobProgress_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputsExtractionJobProgress_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.clarifai.grpc.api.InputsExtractionJobProgress.class, com.clarifai.grpc.api.InputsExtractionJobProgress.Builder.class);
  }

  public static final int AUDIO_INPUTS_COUNT_FIELD_NUMBER = 2;
  private long audioInputsCount_;
  /**
   * uint64 audio_inputs_count = 2;
   * @return The audioInputsCount.
   */
  @java.lang.Override
  public long getAudioInputsCount() {
    return audioInputsCount_;
  }

  public static final int IMAGE_INPUTS_COUNT_FIELD_NUMBER = 3;
  private long imageInputsCount_;
  /**
   * uint64 image_inputs_count = 3;
   * @return The imageInputsCount.
   */
  @java.lang.Override
  public long getImageInputsCount() {
    return imageInputsCount_;
  }

  public static final int VIDEO_INPUTS_COUNT_FIELD_NUMBER = 4;
  private long videoInputsCount_;
  /**
   * uint64 video_inputs_count = 4;
   * @return The videoInputsCount.
   */
  @java.lang.Override
  public long getVideoInputsCount() {
    return videoInputsCount_;
  }

  public static final int TEXT_INPUTS_COUNT_FIELD_NUMBER = 5;
  private long textInputsCount_;
  /**
   * uint64 text_inputs_count = 5;
   * @return The textInputsCount.
   */
  @java.lang.Override
  public long getTextInputsCount() {
    return textInputsCount_;
  }

  public static final int PENDING_ARCHIVES_COUNT_FIELD_NUMBER = 6;
  private long pendingArchivesCount_;
  /**
   * uint64 pending_archives_count = 6;
   * @return The pendingArchivesCount.
   */
  @java.lang.Override
  public long getPendingArchivesCount() {
    return pendingArchivesCount_;
  }

  public static final int IN_PROGRESS_ARCHIVES_COUNT_FIELD_NUMBER = 7;
  private long inProgressArchivesCount_;
  /**
   * uint64 in_progress_archives_count = 7;
   * @return The inProgressArchivesCount.
   */
  @java.lang.Override
  public long getInProgressArchivesCount() {
    return inProgressArchivesCount_;
  }

  public static final int COMPLETED_ARCHIVES_COUNT_FIELD_NUMBER = 8;
  private long completedArchivesCount_;
  /**
   * uint64 completed_archives_count = 8;
   * @return The completedArchivesCount.
   */
  @java.lang.Override
  public long getCompletedArchivesCount() {
    return completedArchivesCount_;
  }

  public static final int FAILED_ARCHIVES_COUNT_FIELD_NUMBER = 9;
  private long failedArchivesCount_;
  /**
   * uint64 failed_archives_count = 9;
   * @return The failedArchivesCount.
   */
  @java.lang.Override
  public long getFailedArchivesCount() {
    return failedArchivesCount_;
  }

  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 (audioInputsCount_ != 0L) {
      output.writeUInt64(2, audioInputsCount_);
    }
    if (imageInputsCount_ != 0L) {
      output.writeUInt64(3, imageInputsCount_);
    }
    if (videoInputsCount_ != 0L) {
      output.writeUInt64(4, videoInputsCount_);
    }
    if (textInputsCount_ != 0L) {
      output.writeUInt64(5, textInputsCount_);
    }
    if (pendingArchivesCount_ != 0L) {
      output.writeUInt64(6, pendingArchivesCount_);
    }
    if (inProgressArchivesCount_ != 0L) {
      output.writeUInt64(7, inProgressArchivesCount_);
    }
    if (completedArchivesCount_ != 0L) {
      output.writeUInt64(8, completedArchivesCount_);
    }
    if (failedArchivesCount_ != 0L) {
      output.writeUInt64(9, failedArchivesCount_);
    }
    unknownFields.writeTo(output);
  }

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

    size = 0;
    if (audioInputsCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(2, audioInputsCount_);
    }
    if (imageInputsCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(3, imageInputsCount_);
    }
    if (videoInputsCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(4, videoInputsCount_);
    }
    if (textInputsCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(5, textInputsCount_);
    }
    if (pendingArchivesCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(6, pendingArchivesCount_);
    }
    if (inProgressArchivesCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(7, inProgressArchivesCount_);
    }
    if (completedArchivesCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(8, completedArchivesCount_);
    }
    if (failedArchivesCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream
        .computeUInt64Size(9, failedArchivesCount_);
    }
    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 com.clarifai.grpc.api.InputsExtractionJobProgress)) {
      return super.equals(obj);
    }
    com.clarifai.grpc.api.InputsExtractionJobProgress other = (com.clarifai.grpc.api.InputsExtractionJobProgress) obj;

    if (getAudioInputsCount()
        != other.getAudioInputsCount()) return false;
    if (getImageInputsCount()
        != other.getImageInputsCount()) return false;
    if (getVideoInputsCount()
        != other.getVideoInputsCount()) return false;
    if (getTextInputsCount()
        != other.getTextInputsCount()) return false;
    if (getPendingArchivesCount()
        != other.getPendingArchivesCount()) return false;
    if (getInProgressArchivesCount()
        != other.getInProgressArchivesCount()) return false;
    if (getCompletedArchivesCount()
        != other.getCompletedArchivesCount()) return false;
    if (getFailedArchivesCount()
        != other.getFailedArchivesCount()) 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) + AUDIO_INPUTS_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getAudioInputsCount());
    hash = (37 * hash) + IMAGE_INPUTS_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getImageInputsCount());
    hash = (37 * hash) + VIDEO_INPUTS_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getVideoInputsCount());
    hash = (37 * hash) + TEXT_INPUTS_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getTextInputsCount());
    hash = (37 * hash) + PENDING_ARCHIVES_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getPendingArchivesCount());
    hash = (37 * hash) + IN_PROGRESS_ARCHIVES_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getInProgressArchivesCount());
    hash = (37 * hash) + COMPLETED_ARCHIVES_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getCompletedArchivesCount());
    hash = (37 * hash) + FAILED_ARCHIVES_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
        getFailedArchivesCount());
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static com.clarifai.grpc.api.InputsExtractionJobProgress parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() { return newBuilder(); }
  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }
  public static Builder newBuilder(com.clarifai.grpc.api.InputsExtractionJobProgress 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 clarifai.api.InputsExtractionJobProgress}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:clarifai.api.InputsExtractionJobProgress)
      com.clarifai.grpc.api.InputsExtractionJobProgressOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputsExtractionJobProgress_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputsExtractionJobProgress_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.clarifai.grpc.api.InputsExtractionJobProgress.class, com.clarifai.grpc.api.InputsExtractionJobProgress.Builder.class);
    }

    // Construct using com.clarifai.grpc.api.InputsExtractionJobProgress.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();
      audioInputsCount_ = 0L;

      imageInputsCount_ = 0L;

      videoInputsCount_ = 0L;

      textInputsCount_ = 0L;

      pendingArchivesCount_ = 0L;

      inProgressArchivesCount_ = 0L;

      completedArchivesCount_ = 0L;

      failedArchivesCount_ = 0L;

      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_InputsExtractionJobProgress_descriptor;
    }

    @java.lang.Override
    public com.clarifai.grpc.api.InputsExtractionJobProgress getDefaultInstanceForType() {
      return com.clarifai.grpc.api.InputsExtractionJobProgress.getDefaultInstance();
    }

    @java.lang.Override
    public com.clarifai.grpc.api.InputsExtractionJobProgress build() {
      com.clarifai.grpc.api.InputsExtractionJobProgress result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.clarifai.grpc.api.InputsExtractionJobProgress buildPartial() {
      com.clarifai.grpc.api.InputsExtractionJobProgress result = new com.clarifai.grpc.api.InputsExtractionJobProgress(this);
      result.audioInputsCount_ = audioInputsCount_;
      result.imageInputsCount_ = imageInputsCount_;
      result.videoInputsCount_ = videoInputsCount_;
      result.textInputsCount_ = textInputsCount_;
      result.pendingArchivesCount_ = pendingArchivesCount_;
      result.inProgressArchivesCount_ = inProgressArchivesCount_;
      result.completedArchivesCount_ = completedArchivesCount_;
      result.failedArchivesCount_ = failedArchivesCount_;
      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 com.clarifai.grpc.api.InputsExtractionJobProgress) {
        return mergeFrom((com.clarifai.grpc.api.InputsExtractionJobProgress)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.clarifai.grpc.api.InputsExtractionJobProgress other) {
      if (other == com.clarifai.grpc.api.InputsExtractionJobProgress.getDefaultInstance()) return this;
      if (other.getAudioInputsCount() != 0L) {
        setAudioInputsCount(other.getAudioInputsCount());
      }
      if (other.getImageInputsCount() != 0L) {
        setImageInputsCount(other.getImageInputsCount());
      }
      if (other.getVideoInputsCount() != 0L) {
        setVideoInputsCount(other.getVideoInputsCount());
      }
      if (other.getTextInputsCount() != 0L) {
        setTextInputsCount(other.getTextInputsCount());
      }
      if (other.getPendingArchivesCount() != 0L) {
        setPendingArchivesCount(other.getPendingArchivesCount());
      }
      if (other.getInProgressArchivesCount() != 0L) {
        setInProgressArchivesCount(other.getInProgressArchivesCount());
      }
      if (other.getCompletedArchivesCount() != 0L) {
        setCompletedArchivesCount(other.getCompletedArchivesCount());
      }
      if (other.getFailedArchivesCount() != 0L) {
        setFailedArchivesCount(other.getFailedArchivesCount());
      }
      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 {
      com.clarifai.grpc.api.InputsExtractionJobProgress parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (com.clarifai.grpc.api.InputsExtractionJobProgress) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private long audioInputsCount_ ;
    /**
     * uint64 audio_inputs_count = 2;
     * @return The audioInputsCount.
     */
    @java.lang.Override
    public long getAudioInputsCount() {
      return audioInputsCount_;
    }
    /**
     * uint64 audio_inputs_count = 2;
     * @param value The audioInputsCount to set.
     * @return This builder for chaining.
     */
    public Builder setAudioInputsCount(long value) {
      
      audioInputsCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 audio_inputs_count = 2;
     * @return This builder for chaining.
     */
    public Builder clearAudioInputsCount() {
      
      audioInputsCount_ = 0L;
      onChanged();
      return this;
    }

    private long imageInputsCount_ ;
    /**
     * uint64 image_inputs_count = 3;
     * @return The imageInputsCount.
     */
    @java.lang.Override
    public long getImageInputsCount() {
      return imageInputsCount_;
    }
    /**
     * uint64 image_inputs_count = 3;
     * @param value The imageInputsCount to set.
     * @return This builder for chaining.
     */
    public Builder setImageInputsCount(long value) {
      
      imageInputsCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 image_inputs_count = 3;
     * @return This builder for chaining.
     */
    public Builder clearImageInputsCount() {
      
      imageInputsCount_ = 0L;
      onChanged();
      return this;
    }

    private long videoInputsCount_ ;
    /**
     * uint64 video_inputs_count = 4;
     * @return The videoInputsCount.
     */
    @java.lang.Override
    public long getVideoInputsCount() {
      return videoInputsCount_;
    }
    /**
     * uint64 video_inputs_count = 4;
     * @param value The videoInputsCount to set.
     * @return This builder for chaining.
     */
    public Builder setVideoInputsCount(long value) {
      
      videoInputsCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 video_inputs_count = 4;
     * @return This builder for chaining.
     */
    public Builder clearVideoInputsCount() {
      
      videoInputsCount_ = 0L;
      onChanged();
      return this;
    }

    private long textInputsCount_ ;
    /**
     * uint64 text_inputs_count = 5;
     * @return The textInputsCount.
     */
    @java.lang.Override
    public long getTextInputsCount() {
      return textInputsCount_;
    }
    /**
     * uint64 text_inputs_count = 5;
     * @param value The textInputsCount to set.
     * @return This builder for chaining.
     */
    public Builder setTextInputsCount(long value) {
      
      textInputsCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 text_inputs_count = 5;
     * @return This builder for chaining.
     */
    public Builder clearTextInputsCount() {
      
      textInputsCount_ = 0L;
      onChanged();
      return this;
    }

    private long pendingArchivesCount_ ;
    /**
     * uint64 pending_archives_count = 6;
     * @return The pendingArchivesCount.
     */
    @java.lang.Override
    public long getPendingArchivesCount() {
      return pendingArchivesCount_;
    }
    /**
     * uint64 pending_archives_count = 6;
     * @param value The pendingArchivesCount to set.
     * @return This builder for chaining.
     */
    public Builder setPendingArchivesCount(long value) {
      
      pendingArchivesCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 pending_archives_count = 6;
     * @return This builder for chaining.
     */
    public Builder clearPendingArchivesCount() {
      
      pendingArchivesCount_ = 0L;
      onChanged();
      return this;
    }

    private long inProgressArchivesCount_ ;
    /**
     * uint64 in_progress_archives_count = 7;
     * @return The inProgressArchivesCount.
     */
    @java.lang.Override
    public long getInProgressArchivesCount() {
      return inProgressArchivesCount_;
    }
    /**
     * uint64 in_progress_archives_count = 7;
     * @param value The inProgressArchivesCount to set.
     * @return This builder for chaining.
     */
    public Builder setInProgressArchivesCount(long value) {
      
      inProgressArchivesCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 in_progress_archives_count = 7;
     * @return This builder for chaining.
     */
    public Builder clearInProgressArchivesCount() {
      
      inProgressArchivesCount_ = 0L;
      onChanged();
      return this;
    }

    private long completedArchivesCount_ ;
    /**
     * uint64 completed_archives_count = 8;
     * @return The completedArchivesCount.
     */
    @java.lang.Override
    public long getCompletedArchivesCount() {
      return completedArchivesCount_;
    }
    /**
     * uint64 completed_archives_count = 8;
     * @param value The completedArchivesCount to set.
     * @return This builder for chaining.
     */
    public Builder setCompletedArchivesCount(long value) {
      
      completedArchivesCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 completed_archives_count = 8;
     * @return This builder for chaining.
     */
    public Builder clearCompletedArchivesCount() {
      
      completedArchivesCount_ = 0L;
      onChanged();
      return this;
    }

    private long failedArchivesCount_ ;
    /**
     * uint64 failed_archives_count = 9;
     * @return The failedArchivesCount.
     */
    @java.lang.Override
    public long getFailedArchivesCount() {
      return failedArchivesCount_;
    }
    /**
     * uint64 failed_archives_count = 9;
     * @param value The failedArchivesCount to set.
     * @return This builder for chaining.
     */
    public Builder setFailedArchivesCount(long value) {
      
      failedArchivesCount_ = value;
      onChanged();
      return this;
    }
    /**
     * uint64 failed_archives_count = 9;
     * @return This builder for chaining.
     */
    public Builder clearFailedArchivesCount() {
      
      failedArchivesCount_ = 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:clarifai.api.InputsExtractionJobProgress)
  }

  // @@protoc_insertion_point(class_scope:clarifai.api.InputsExtractionJobProgress)
  private static final com.clarifai.grpc.api.InputsExtractionJobProgress DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new com.clarifai.grpc.api.InputsExtractionJobProgress();
  }

  public static com.clarifai.grpc.api.InputsExtractionJobProgress getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

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

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy