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

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

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

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

            break;
          }
          case 50: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (unlabeledInputsCount_ != null) {
              subBuilder = unlabeledInputsCount_.toBuilder();
            }
            unlabeledInputsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(unlabeledInputsCount_);
              unlabeledInputsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 66: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (inputsWithMetadataCount_ != null) {
              subBuilder = inputsWithMetadataCount_.toBuilder();
            }
            inputsWithMetadataCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(inputsWithMetadataCount_);
              inputsWithMetadataCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 74: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (inputsWithGeoCount_ != null) {
              subBuilder = inputsWithGeoCount_.toBuilder();
            }
            inputsWithGeoCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(inputsWithGeoCount_);
              inputsWithGeoCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 162: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (regionsCount_ != null) {
              subBuilder = regionsCount_.toBuilder();
            }
            regionsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(regionsCount_);
              regionsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 170: {
            com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder subBuilder = null;
            if (regionLocationMatrix_ != null) {
              subBuilder = regionLocationMatrix_.toBuilder();
            }
            regionLocationMatrix_ = input.readMessage(com.clarifai.grpc.api.utils.Matrix.MatrixUint64.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(regionLocationMatrix_);
              regionLocationMatrix_ = subBuilder.buildPartial();
            }

            break;
          }
          case 178: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (boundingBoxesCount_ != null) {
              subBuilder = boundingBoxesCount_.toBuilder();
            }
            boundingBoxesCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(boundingBoxesCount_);
              boundingBoxesCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 186: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (polygonsCount_ != null) {
              subBuilder = polygonsCount_.toBuilder();
            }
            polygonsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(polygonsCount_);
              polygonsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 194: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (pointsCount_ != null) {
              subBuilder = pointsCount_.toBuilder();
            }
            pointsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(pointsCount_);
              pointsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 202: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (masksCount_ != null) {
              subBuilder = masksCount_.toBuilder();
            }
            masksCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(masksCount_);
              masksCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 242: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (framesCount_ != null) {
              subBuilder = framesCount_.toBuilder();
            }
            framesCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(framesCount_);
              framesCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 322: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (embeddingsCount_ != null) {
              subBuilder = embeddingsCount_.toBuilder();
            }
            embeddingsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(embeddingsCount_);
              embeddingsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 402: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (positiveInputTagsCount_ != null) {
              subBuilder = positiveInputTagsCount_.toBuilder();
            }
            positiveInputTagsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(positiveInputTagsCount_);
              positiveInputTagsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 410: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (positiveRegionTagsCount_ != null) {
              subBuilder = positiveRegionTagsCount_.toBuilder();
            }
            positiveRegionTagsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(positiveRegionTagsCount_);
              positiveRegionTagsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 418: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (positiveFrameTagsCount_ != null) {
              subBuilder = positiveFrameTagsCount_.toBuilder();
            }
            positiveFrameTagsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(positiveFrameTagsCount_);
              positiveFrameTagsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 482: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (regionInputsCount_ != null) {
              subBuilder = regionInputsCount_.toBuilder();
            }
            regionInputsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(regionInputsCount_);
              regionInputsCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 490: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (regionFramesCount_ != null) {
              subBuilder = regionFramesCount_.toBuilder();
            }
            regionFramesCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(regionFramesCount_);
              regionFramesCount_ = subBuilder.buildPartial();
            }

            break;
          }
          case 562: {
            com.google.protobuf.UInt64Value.Builder subBuilder = null;
            if (frameInputsCount_ != null) {
              subBuilder = frameInputsCount_.toBuilder();
            }
            frameInputsCount_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(frameInputsCount_);
              frameInputsCount_ = subBuilder.buildPartial();
            }

            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_DatasetVersionMetrics_descriptor;
  }

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

  public static final int INPUTS_COUNT_FIELD_NUMBER = 1;
  private com.google.protobuf.UInt64Value inputsCount_;
  /**
   * 
   * Number of inputs
   * 
* * .google.protobuf.UInt64Value inputs_count = 1; * @return Whether the inputsCount field is set. */ @java.lang.Override public boolean hasInputsCount() { return inputsCount_ != null; } /** *
   * Number of inputs
   * 
* * .google.protobuf.UInt64Value inputs_count = 1; * @return The inputsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getInputsCount() { return inputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsCount_; } /** *
   * Number of inputs
   * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getInputsCountOrBuilder() { return getInputsCount(); } public static final int UNLABELED_INPUTS_COUNT_FIELD_NUMBER = 6; private com.google.protobuf.UInt64Value unlabeledInputsCount_; /** *
   * Number of unlabeled inputs
   * An input is considered unlabeled if it there are no annotations with positive labels for that input.
   * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; * @return Whether the unlabeledInputsCount field is set. */ @java.lang.Override public boolean hasUnlabeledInputsCount() { return unlabeledInputsCount_ != null; } /** *
   * Number of unlabeled inputs
   * An input is considered unlabeled if it there are no annotations with positive labels for that input.
   * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; * @return The unlabeledInputsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getUnlabeledInputsCount() { return unlabeledInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : unlabeledInputsCount_; } /** *
   * Number of unlabeled inputs
   * An input is considered unlabeled if it there are no annotations with positive labels for that input.
   * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getUnlabeledInputsCountOrBuilder() { return getUnlabeledInputsCount(); } public static final int INPUTS_WITH_METADATA_COUNT_FIELD_NUMBER = 8; private com.google.protobuf.UInt64Value inputsWithMetadataCount_; /** *
   * Number of inputs that have metadata
   * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; * @return Whether the inputsWithMetadataCount field is set. */ @java.lang.Override public boolean hasInputsWithMetadataCount() { return inputsWithMetadataCount_ != null; } /** *
   * Number of inputs that have metadata
   * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; * @return The inputsWithMetadataCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getInputsWithMetadataCount() { return inputsWithMetadataCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithMetadataCount_; } /** *
   * Number of inputs that have metadata
   * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getInputsWithMetadataCountOrBuilder() { return getInputsWithMetadataCount(); } public static final int INPUTS_WITH_GEO_COUNT_FIELD_NUMBER = 9; private com.google.protobuf.UInt64Value inputsWithGeoCount_; /** *
   * Number of inputs that have geo information
   * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; * @return Whether the inputsWithGeoCount field is set. */ @java.lang.Override public boolean hasInputsWithGeoCount() { return inputsWithGeoCount_ != null; } /** *
   * Number of inputs that have geo information
   * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; * @return The inputsWithGeoCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getInputsWithGeoCount() { return inputsWithGeoCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithGeoCount_; } /** *
   * Number of inputs that have geo information
   * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getInputsWithGeoCountOrBuilder() { return getInputsWithGeoCount(); } public static final int REGIONS_COUNT_FIELD_NUMBER = 20; private com.google.protobuf.UInt64Value regionsCount_; /** *
   * Number of regions
   * 
* * .google.protobuf.UInt64Value regions_count = 20; * @return Whether the regionsCount field is set. */ @java.lang.Override public boolean hasRegionsCount() { return regionsCount_ != null; } /** *
   * Number of regions
   * 
* * .google.protobuf.UInt64Value regions_count = 20; * @return The regionsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getRegionsCount() { return regionsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionsCount_; } /** *
   * Number of regions
   * 
* * .google.protobuf.UInt64Value regions_count = 20; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getRegionsCountOrBuilder() { return getRegionsCount(); } public static final int REGION_LOCATION_MATRIX_FIELD_NUMBER = 21; private com.clarifai.grpc.api.utils.Matrix.MatrixUint64 regionLocationMatrix_; /** *
   * The matrix shows where the regions are located.
   * Example: If the matrix has 2x2 dimensions, then
   * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
   * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
   * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
   * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
   * 
* * .MatrixUint64 region_location_matrix = 21; * @return Whether the regionLocationMatrix field is set. */ @java.lang.Override public boolean hasRegionLocationMatrix() { return regionLocationMatrix_ != null; } /** *
   * The matrix shows where the regions are located.
   * Example: If the matrix has 2x2 dimensions, then
   * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
   * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
   * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
   * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
   * 
* * .MatrixUint64 region_location_matrix = 21; * @return The regionLocationMatrix. */ @java.lang.Override public com.clarifai.grpc.api.utils.Matrix.MatrixUint64 getRegionLocationMatrix() { return regionLocationMatrix_ == null ? com.clarifai.grpc.api.utils.Matrix.MatrixUint64.getDefaultInstance() : regionLocationMatrix_; } /** *
   * The matrix shows where the regions are located.
   * Example: If the matrix has 2x2 dimensions, then
   * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
   * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
   * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
   * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
   * 
* * .MatrixUint64 region_location_matrix = 21; */ @java.lang.Override public com.clarifai.grpc.api.utils.Matrix.MatrixUint64OrBuilder getRegionLocationMatrixOrBuilder() { return getRegionLocationMatrix(); } public static final int BOUNDING_BOXES_COUNT_FIELD_NUMBER = 22; private com.google.protobuf.UInt64Value boundingBoxesCount_; /** *
   * Number of bounding boxes
   * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; * @return Whether the boundingBoxesCount field is set. */ @java.lang.Override public boolean hasBoundingBoxesCount() { return boundingBoxesCount_ != null; } /** *
   * Number of bounding boxes
   * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; * @return The boundingBoxesCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getBoundingBoxesCount() { return boundingBoxesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : boundingBoxesCount_; } /** *
   * Number of bounding boxes
   * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getBoundingBoxesCountOrBuilder() { return getBoundingBoxesCount(); } public static final int POLYGONS_COUNT_FIELD_NUMBER = 23; private com.google.protobuf.UInt64Value polygonsCount_; /** *
   * Number of polygons
   * 
* * .google.protobuf.UInt64Value polygons_count = 23; * @return Whether the polygonsCount field is set. */ @java.lang.Override public boolean hasPolygonsCount() { return polygonsCount_ != null; } /** *
   * Number of polygons
   * 
* * .google.protobuf.UInt64Value polygons_count = 23; * @return The polygonsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getPolygonsCount() { return polygonsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : polygonsCount_; } /** *
   * Number of polygons
   * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getPolygonsCountOrBuilder() { return getPolygonsCount(); } public static final int POINTS_COUNT_FIELD_NUMBER = 24; private com.google.protobuf.UInt64Value pointsCount_; /** *
   * Number of points
   * 
* * .google.protobuf.UInt64Value points_count = 24; * @return Whether the pointsCount field is set. */ @java.lang.Override public boolean hasPointsCount() { return pointsCount_ != null; } /** *
   * Number of points
   * 
* * .google.protobuf.UInt64Value points_count = 24; * @return The pointsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getPointsCount() { return pointsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : pointsCount_; } /** *
   * Number of points
   * 
* * .google.protobuf.UInt64Value points_count = 24; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getPointsCountOrBuilder() { return getPointsCount(); } public static final int MASKS_COUNT_FIELD_NUMBER = 25; private com.google.protobuf.UInt64Value masksCount_; /** *
   * Number of masks
   * 
* * .google.protobuf.UInt64Value masks_count = 25; * @return Whether the masksCount field is set. */ @java.lang.Override public boolean hasMasksCount() { return masksCount_ != null; } /** *
   * Number of masks
   * 
* * .google.protobuf.UInt64Value masks_count = 25; * @return The masksCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getMasksCount() { return masksCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : masksCount_; } /** *
   * Number of masks
   * 
* * .google.protobuf.UInt64Value masks_count = 25; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getMasksCountOrBuilder() { return getMasksCount(); } public static final int REGION_INPUTS_COUNT_FIELD_NUMBER = 60; private com.google.protobuf.UInt64Value regionInputsCount_; /** *
   * Number of inputs that have regions attached
   * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
   * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; * @return Whether the regionInputsCount field is set. */ @java.lang.Override public boolean hasRegionInputsCount() { return regionInputsCount_ != null; } /** *
   * Number of inputs that have regions attached
   * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
   * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; * @return The regionInputsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getRegionInputsCount() { return regionInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionInputsCount_; } /** *
   * Number of inputs that have regions attached
   * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
   * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getRegionInputsCountOrBuilder() { return getRegionInputsCount(); } public static final int REGION_FRAMES_COUNT_FIELD_NUMBER = 61; private com.google.protobuf.UInt64Value regionFramesCount_; /** *
   * Number of frames that have regions attached
   * 
* * .google.protobuf.UInt64Value region_frames_count = 61; * @return Whether the regionFramesCount field is set. */ @java.lang.Override public boolean hasRegionFramesCount() { return regionFramesCount_ != null; } /** *
   * Number of frames that have regions attached
   * 
* * .google.protobuf.UInt64Value region_frames_count = 61; * @return The regionFramesCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getRegionFramesCount() { return regionFramesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionFramesCount_; } /** *
   * Number of frames that have regions attached
   * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getRegionFramesCountOrBuilder() { return getRegionFramesCount(); } public static final int FRAMES_COUNT_FIELD_NUMBER = 30; private com.google.protobuf.UInt64Value framesCount_; /** *
   * Number of frames
   * 
* * .google.protobuf.UInt64Value frames_count = 30; * @return Whether the framesCount field is set. */ @java.lang.Override public boolean hasFramesCount() { return framesCount_ != null; } /** *
   * Number of frames
   * 
* * .google.protobuf.UInt64Value frames_count = 30; * @return The framesCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getFramesCount() { return framesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : framesCount_; } /** *
   * Number of frames
   * 
* * .google.protobuf.UInt64Value frames_count = 30; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getFramesCountOrBuilder() { return getFramesCount(); } public static final int FRAME_INPUTS_COUNT_FIELD_NUMBER = 70; private com.google.protobuf.UInt64Value frameInputsCount_; /** *
   * Number of inputs that have frames attached
   * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; * @return Whether the frameInputsCount field is set. */ @java.lang.Override public boolean hasFrameInputsCount() { return frameInputsCount_ != null; } /** *
   * Number of inputs that have frames attached
   * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; * @return The frameInputsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getFrameInputsCount() { return frameInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : frameInputsCount_; } /** *
   * Number of inputs that have frames attached
   * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getFrameInputsCountOrBuilder() { return getFrameInputsCount(); } public static final int EMBEDDINGS_COUNT_FIELD_NUMBER = 40; private com.google.protobuf.UInt64Value embeddingsCount_; /** *
   * Number of embeddings
   * 
* * .google.protobuf.UInt64Value embeddings_count = 40; * @return Whether the embeddingsCount field is set. */ @java.lang.Override public boolean hasEmbeddingsCount() { return embeddingsCount_ != null; } /** *
   * Number of embeddings
   * 
* * .google.protobuf.UInt64Value embeddings_count = 40; * @return The embeddingsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getEmbeddingsCount() { return embeddingsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : embeddingsCount_; } /** *
   * Number of embeddings
   * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getEmbeddingsCountOrBuilder() { return getEmbeddingsCount(); } public static final int POSITIVE_INPUT_TAGS_COUNT_FIELD_NUMBER = 50; private com.google.protobuf.UInt64Value positiveInputTagsCount_; /** *
   * Number of positive tags added at input-level
   * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; * @return Whether the positiveInputTagsCount field is set. */ @java.lang.Override public boolean hasPositiveInputTagsCount() { return positiveInputTagsCount_ != null; } /** *
   * Number of positive tags added at input-level
   * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; * @return The positiveInputTagsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getPositiveInputTagsCount() { return positiveInputTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveInputTagsCount_; } /** *
   * Number of positive tags added at input-level
   * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getPositiveInputTagsCountOrBuilder() { return getPositiveInputTagsCount(); } public static final int POSITIVE_REGION_TAGS_COUNT_FIELD_NUMBER = 51; private com.google.protobuf.UInt64Value positiveRegionTagsCount_; /** *
   * Number of positive tags added at region-level
   * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; * @return Whether the positiveRegionTagsCount field is set. */ @java.lang.Override public boolean hasPositiveRegionTagsCount() { return positiveRegionTagsCount_ != null; } /** *
   * Number of positive tags added at region-level
   * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; * @return The positiveRegionTagsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getPositiveRegionTagsCount() { return positiveRegionTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveRegionTagsCount_; } /** *
   * Number of positive tags added at region-level
   * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getPositiveRegionTagsCountOrBuilder() { return getPositiveRegionTagsCount(); } public static final int POSITIVE_FRAME_TAGS_COUNT_FIELD_NUMBER = 52; private com.google.protobuf.UInt64Value positiveFrameTagsCount_; /** *
   * Number of positive tags added at frame-level
   * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; * @return Whether the positiveFrameTagsCount field is set. */ @java.lang.Override public boolean hasPositiveFrameTagsCount() { return positiveFrameTagsCount_ != null; } /** *
   * Number of positive tags added at frame-level
   * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; * @return The positiveFrameTagsCount. */ @java.lang.Override public com.google.protobuf.UInt64Value getPositiveFrameTagsCount() { return positiveFrameTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveFrameTagsCount_; } /** *
   * Number of positive tags added at frame-level
   * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getPositiveFrameTagsCountOrBuilder() { return getPositiveFrameTagsCount(); } 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 (inputsCount_ != null) { output.writeMessage(1, getInputsCount()); } if (unlabeledInputsCount_ != null) { output.writeMessage(6, getUnlabeledInputsCount()); } if (inputsWithMetadataCount_ != null) { output.writeMessage(8, getInputsWithMetadataCount()); } if (inputsWithGeoCount_ != null) { output.writeMessage(9, getInputsWithGeoCount()); } if (regionsCount_ != null) { output.writeMessage(20, getRegionsCount()); } if (regionLocationMatrix_ != null) { output.writeMessage(21, getRegionLocationMatrix()); } if (boundingBoxesCount_ != null) { output.writeMessage(22, getBoundingBoxesCount()); } if (polygonsCount_ != null) { output.writeMessage(23, getPolygonsCount()); } if (pointsCount_ != null) { output.writeMessage(24, getPointsCount()); } if (masksCount_ != null) { output.writeMessage(25, getMasksCount()); } if (framesCount_ != null) { output.writeMessage(30, getFramesCount()); } if (embeddingsCount_ != null) { output.writeMessage(40, getEmbeddingsCount()); } if (positiveInputTagsCount_ != null) { output.writeMessage(50, getPositiveInputTagsCount()); } if (positiveRegionTagsCount_ != null) { output.writeMessage(51, getPositiveRegionTagsCount()); } if (positiveFrameTagsCount_ != null) { output.writeMessage(52, getPositiveFrameTagsCount()); } if (regionInputsCount_ != null) { output.writeMessage(60, getRegionInputsCount()); } if (regionFramesCount_ != null) { output.writeMessage(61, getRegionFramesCount()); } if (frameInputsCount_ != null) { output.writeMessage(70, getFrameInputsCount()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (inputsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getInputsCount()); } if (unlabeledInputsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getUnlabeledInputsCount()); } if (inputsWithMetadataCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getInputsWithMetadataCount()); } if (inputsWithGeoCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getInputsWithGeoCount()); } if (regionsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getRegionsCount()); } if (regionLocationMatrix_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getRegionLocationMatrix()); } if (boundingBoxesCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getBoundingBoxesCount()); } if (polygonsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getPolygonsCount()); } if (pointsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, getPointsCount()); } if (masksCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, getMasksCount()); } if (framesCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getFramesCount()); } if (embeddingsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, getEmbeddingsCount()); } if (positiveInputTagsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(50, getPositiveInputTagsCount()); } if (positiveRegionTagsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(51, getPositiveRegionTagsCount()); } if (positiveFrameTagsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(52, getPositiveFrameTagsCount()); } if (regionInputsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(60, getRegionInputsCount()); } if (regionFramesCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(61, getRegionFramesCount()); } if (frameInputsCount_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(70, getFrameInputsCount()); } 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.DatasetVersionMetrics)) { return super.equals(obj); } com.clarifai.grpc.api.DatasetVersionMetrics other = (com.clarifai.grpc.api.DatasetVersionMetrics) obj; if (hasInputsCount() != other.hasInputsCount()) return false; if (hasInputsCount()) { if (!getInputsCount() .equals(other.getInputsCount())) return false; } if (hasUnlabeledInputsCount() != other.hasUnlabeledInputsCount()) return false; if (hasUnlabeledInputsCount()) { if (!getUnlabeledInputsCount() .equals(other.getUnlabeledInputsCount())) return false; } if (hasInputsWithMetadataCount() != other.hasInputsWithMetadataCount()) return false; if (hasInputsWithMetadataCount()) { if (!getInputsWithMetadataCount() .equals(other.getInputsWithMetadataCount())) return false; } if (hasInputsWithGeoCount() != other.hasInputsWithGeoCount()) return false; if (hasInputsWithGeoCount()) { if (!getInputsWithGeoCount() .equals(other.getInputsWithGeoCount())) return false; } if (hasRegionsCount() != other.hasRegionsCount()) return false; if (hasRegionsCount()) { if (!getRegionsCount() .equals(other.getRegionsCount())) return false; } if (hasRegionLocationMatrix() != other.hasRegionLocationMatrix()) return false; if (hasRegionLocationMatrix()) { if (!getRegionLocationMatrix() .equals(other.getRegionLocationMatrix())) return false; } if (hasBoundingBoxesCount() != other.hasBoundingBoxesCount()) return false; if (hasBoundingBoxesCount()) { if (!getBoundingBoxesCount() .equals(other.getBoundingBoxesCount())) return false; } if (hasPolygonsCount() != other.hasPolygonsCount()) return false; if (hasPolygonsCount()) { if (!getPolygonsCount() .equals(other.getPolygonsCount())) return false; } if (hasPointsCount() != other.hasPointsCount()) return false; if (hasPointsCount()) { if (!getPointsCount() .equals(other.getPointsCount())) return false; } if (hasMasksCount() != other.hasMasksCount()) return false; if (hasMasksCount()) { if (!getMasksCount() .equals(other.getMasksCount())) return false; } if (hasRegionInputsCount() != other.hasRegionInputsCount()) return false; if (hasRegionInputsCount()) { if (!getRegionInputsCount() .equals(other.getRegionInputsCount())) return false; } if (hasRegionFramesCount() != other.hasRegionFramesCount()) return false; if (hasRegionFramesCount()) { if (!getRegionFramesCount() .equals(other.getRegionFramesCount())) return false; } if (hasFramesCount() != other.hasFramesCount()) return false; if (hasFramesCount()) { if (!getFramesCount() .equals(other.getFramesCount())) return false; } if (hasFrameInputsCount() != other.hasFrameInputsCount()) return false; if (hasFrameInputsCount()) { if (!getFrameInputsCount() .equals(other.getFrameInputsCount())) return false; } if (hasEmbeddingsCount() != other.hasEmbeddingsCount()) return false; if (hasEmbeddingsCount()) { if (!getEmbeddingsCount() .equals(other.getEmbeddingsCount())) return false; } if (hasPositiveInputTagsCount() != other.hasPositiveInputTagsCount()) return false; if (hasPositiveInputTagsCount()) { if (!getPositiveInputTagsCount() .equals(other.getPositiveInputTagsCount())) return false; } if (hasPositiveRegionTagsCount() != other.hasPositiveRegionTagsCount()) return false; if (hasPositiveRegionTagsCount()) { if (!getPositiveRegionTagsCount() .equals(other.getPositiveRegionTagsCount())) return false; } if (hasPositiveFrameTagsCount() != other.hasPositiveFrameTagsCount()) return false; if (hasPositiveFrameTagsCount()) { if (!getPositiveFrameTagsCount() .equals(other.getPositiveFrameTagsCount())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInputsCount()) { hash = (37 * hash) + INPUTS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getInputsCount().hashCode(); } if (hasUnlabeledInputsCount()) { hash = (37 * hash) + UNLABELED_INPUTS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getUnlabeledInputsCount().hashCode(); } if (hasInputsWithMetadataCount()) { hash = (37 * hash) + INPUTS_WITH_METADATA_COUNT_FIELD_NUMBER; hash = (53 * hash) + getInputsWithMetadataCount().hashCode(); } if (hasInputsWithGeoCount()) { hash = (37 * hash) + INPUTS_WITH_GEO_COUNT_FIELD_NUMBER; hash = (53 * hash) + getInputsWithGeoCount().hashCode(); } if (hasRegionsCount()) { hash = (37 * hash) + REGIONS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRegionsCount().hashCode(); } if (hasRegionLocationMatrix()) { hash = (37 * hash) + REGION_LOCATION_MATRIX_FIELD_NUMBER; hash = (53 * hash) + getRegionLocationMatrix().hashCode(); } if (hasBoundingBoxesCount()) { hash = (37 * hash) + BOUNDING_BOXES_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBoundingBoxesCount().hashCode(); } if (hasPolygonsCount()) { hash = (37 * hash) + POLYGONS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPolygonsCount().hashCode(); } if (hasPointsCount()) { hash = (37 * hash) + POINTS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPointsCount().hashCode(); } if (hasMasksCount()) { hash = (37 * hash) + MASKS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getMasksCount().hashCode(); } if (hasRegionInputsCount()) { hash = (37 * hash) + REGION_INPUTS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRegionInputsCount().hashCode(); } if (hasRegionFramesCount()) { hash = (37 * hash) + REGION_FRAMES_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRegionFramesCount().hashCode(); } if (hasFramesCount()) { hash = (37 * hash) + FRAMES_COUNT_FIELD_NUMBER; hash = (53 * hash) + getFramesCount().hashCode(); } if (hasFrameInputsCount()) { hash = (37 * hash) + FRAME_INPUTS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getFrameInputsCount().hashCode(); } if (hasEmbeddingsCount()) { hash = (37 * hash) + EMBEDDINGS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getEmbeddingsCount().hashCode(); } if (hasPositiveInputTagsCount()) { hash = (37 * hash) + POSITIVE_INPUT_TAGS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPositiveInputTagsCount().hashCode(); } if (hasPositiveRegionTagsCount()) { hash = (37 * hash) + POSITIVE_REGION_TAGS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPositiveRegionTagsCount().hashCode(); } if (hasPositiveFrameTagsCount()) { hash = (37 * hash) + POSITIVE_FRAME_TAGS_COUNT_FIELD_NUMBER; hash = (53 * hash) + getPositiveFrameTagsCount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.clarifai.grpc.api.DatasetVersionMetrics parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.DatasetVersionMetrics 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.DatasetVersionMetrics parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.DatasetVersionMetrics 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.DatasetVersionMetrics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.clarifai.grpc.api.DatasetVersionMetrics parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.clarifai.grpc.api.DatasetVersionMetrics parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.clarifai.grpc.api.DatasetVersionMetrics 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.DatasetVersionMetrics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.clarifai.grpc.api.DatasetVersionMetrics 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.DatasetVersionMetrics parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.clarifai.grpc.api.DatasetVersionMetrics 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.DatasetVersionMetrics 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.DatasetVersionMetrics} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:clarifai.api.DatasetVersionMetrics) com.clarifai.grpc.api.DatasetVersionMetricsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_DatasetVersionMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_DatasetVersionMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( com.clarifai.grpc.api.DatasetVersionMetrics.class, com.clarifai.grpc.api.DatasetVersionMetrics.Builder.class); } // Construct using com.clarifai.grpc.api.DatasetVersionMetrics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (inputsCountBuilder_ == null) { inputsCount_ = null; } else { inputsCount_ = null; inputsCountBuilder_ = null; } if (unlabeledInputsCountBuilder_ == null) { unlabeledInputsCount_ = null; } else { unlabeledInputsCount_ = null; unlabeledInputsCountBuilder_ = null; } if (inputsWithMetadataCountBuilder_ == null) { inputsWithMetadataCount_ = null; } else { inputsWithMetadataCount_ = null; inputsWithMetadataCountBuilder_ = null; } if (inputsWithGeoCountBuilder_ == null) { inputsWithGeoCount_ = null; } else { inputsWithGeoCount_ = null; inputsWithGeoCountBuilder_ = null; } if (regionsCountBuilder_ == null) { regionsCount_ = null; } else { regionsCount_ = null; regionsCountBuilder_ = null; } if (regionLocationMatrixBuilder_ == null) { regionLocationMatrix_ = null; } else { regionLocationMatrix_ = null; regionLocationMatrixBuilder_ = null; } if (boundingBoxesCountBuilder_ == null) { boundingBoxesCount_ = null; } else { boundingBoxesCount_ = null; boundingBoxesCountBuilder_ = null; } if (polygonsCountBuilder_ == null) { polygonsCount_ = null; } else { polygonsCount_ = null; polygonsCountBuilder_ = null; } if (pointsCountBuilder_ == null) { pointsCount_ = null; } else { pointsCount_ = null; pointsCountBuilder_ = null; } if (masksCountBuilder_ == null) { masksCount_ = null; } else { masksCount_ = null; masksCountBuilder_ = null; } if (regionInputsCountBuilder_ == null) { regionInputsCount_ = null; } else { regionInputsCount_ = null; regionInputsCountBuilder_ = null; } if (regionFramesCountBuilder_ == null) { regionFramesCount_ = null; } else { regionFramesCount_ = null; regionFramesCountBuilder_ = null; } if (framesCountBuilder_ == null) { framesCount_ = null; } else { framesCount_ = null; framesCountBuilder_ = null; } if (frameInputsCountBuilder_ == null) { frameInputsCount_ = null; } else { frameInputsCount_ = null; frameInputsCountBuilder_ = null; } if (embeddingsCountBuilder_ == null) { embeddingsCount_ = null; } else { embeddingsCount_ = null; embeddingsCountBuilder_ = null; } if (positiveInputTagsCountBuilder_ == null) { positiveInputTagsCount_ = null; } else { positiveInputTagsCount_ = null; positiveInputTagsCountBuilder_ = null; } if (positiveRegionTagsCountBuilder_ == null) { positiveRegionTagsCount_ = null; } else { positiveRegionTagsCount_ = null; positiveRegionTagsCountBuilder_ = null; } if (positiveFrameTagsCountBuilder_ == null) { positiveFrameTagsCount_ = null; } else { positiveFrameTagsCount_ = null; positiveFrameTagsCountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_DatasetVersionMetrics_descriptor; } @java.lang.Override public com.clarifai.grpc.api.DatasetVersionMetrics getDefaultInstanceForType() { return com.clarifai.grpc.api.DatasetVersionMetrics.getDefaultInstance(); } @java.lang.Override public com.clarifai.grpc.api.DatasetVersionMetrics build() { com.clarifai.grpc.api.DatasetVersionMetrics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.clarifai.grpc.api.DatasetVersionMetrics buildPartial() { com.clarifai.grpc.api.DatasetVersionMetrics result = new com.clarifai.grpc.api.DatasetVersionMetrics(this); if (inputsCountBuilder_ == null) { result.inputsCount_ = inputsCount_; } else { result.inputsCount_ = inputsCountBuilder_.build(); } if (unlabeledInputsCountBuilder_ == null) { result.unlabeledInputsCount_ = unlabeledInputsCount_; } else { result.unlabeledInputsCount_ = unlabeledInputsCountBuilder_.build(); } if (inputsWithMetadataCountBuilder_ == null) { result.inputsWithMetadataCount_ = inputsWithMetadataCount_; } else { result.inputsWithMetadataCount_ = inputsWithMetadataCountBuilder_.build(); } if (inputsWithGeoCountBuilder_ == null) { result.inputsWithGeoCount_ = inputsWithGeoCount_; } else { result.inputsWithGeoCount_ = inputsWithGeoCountBuilder_.build(); } if (regionsCountBuilder_ == null) { result.regionsCount_ = regionsCount_; } else { result.regionsCount_ = regionsCountBuilder_.build(); } if (regionLocationMatrixBuilder_ == null) { result.regionLocationMatrix_ = regionLocationMatrix_; } else { result.regionLocationMatrix_ = regionLocationMatrixBuilder_.build(); } if (boundingBoxesCountBuilder_ == null) { result.boundingBoxesCount_ = boundingBoxesCount_; } else { result.boundingBoxesCount_ = boundingBoxesCountBuilder_.build(); } if (polygonsCountBuilder_ == null) { result.polygonsCount_ = polygonsCount_; } else { result.polygonsCount_ = polygonsCountBuilder_.build(); } if (pointsCountBuilder_ == null) { result.pointsCount_ = pointsCount_; } else { result.pointsCount_ = pointsCountBuilder_.build(); } if (masksCountBuilder_ == null) { result.masksCount_ = masksCount_; } else { result.masksCount_ = masksCountBuilder_.build(); } if (regionInputsCountBuilder_ == null) { result.regionInputsCount_ = regionInputsCount_; } else { result.regionInputsCount_ = regionInputsCountBuilder_.build(); } if (regionFramesCountBuilder_ == null) { result.regionFramesCount_ = regionFramesCount_; } else { result.regionFramesCount_ = regionFramesCountBuilder_.build(); } if (framesCountBuilder_ == null) { result.framesCount_ = framesCount_; } else { result.framesCount_ = framesCountBuilder_.build(); } if (frameInputsCountBuilder_ == null) { result.frameInputsCount_ = frameInputsCount_; } else { result.frameInputsCount_ = frameInputsCountBuilder_.build(); } if (embeddingsCountBuilder_ == null) { result.embeddingsCount_ = embeddingsCount_; } else { result.embeddingsCount_ = embeddingsCountBuilder_.build(); } if (positiveInputTagsCountBuilder_ == null) { result.positiveInputTagsCount_ = positiveInputTagsCount_; } else { result.positiveInputTagsCount_ = positiveInputTagsCountBuilder_.build(); } if (positiveRegionTagsCountBuilder_ == null) { result.positiveRegionTagsCount_ = positiveRegionTagsCount_; } else { result.positiveRegionTagsCount_ = positiveRegionTagsCountBuilder_.build(); } if (positiveFrameTagsCountBuilder_ == null) { result.positiveFrameTagsCount_ = positiveFrameTagsCount_; } else { result.positiveFrameTagsCount_ = positiveFrameTagsCountBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.clarifai.grpc.api.DatasetVersionMetrics) { return mergeFrom((com.clarifai.grpc.api.DatasetVersionMetrics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.clarifai.grpc.api.DatasetVersionMetrics other) { if (other == com.clarifai.grpc.api.DatasetVersionMetrics.getDefaultInstance()) return this; if (other.hasInputsCount()) { mergeInputsCount(other.getInputsCount()); } if (other.hasUnlabeledInputsCount()) { mergeUnlabeledInputsCount(other.getUnlabeledInputsCount()); } if (other.hasInputsWithMetadataCount()) { mergeInputsWithMetadataCount(other.getInputsWithMetadataCount()); } if (other.hasInputsWithGeoCount()) { mergeInputsWithGeoCount(other.getInputsWithGeoCount()); } if (other.hasRegionsCount()) { mergeRegionsCount(other.getRegionsCount()); } if (other.hasRegionLocationMatrix()) { mergeRegionLocationMatrix(other.getRegionLocationMatrix()); } if (other.hasBoundingBoxesCount()) { mergeBoundingBoxesCount(other.getBoundingBoxesCount()); } if (other.hasPolygonsCount()) { mergePolygonsCount(other.getPolygonsCount()); } if (other.hasPointsCount()) { mergePointsCount(other.getPointsCount()); } if (other.hasMasksCount()) { mergeMasksCount(other.getMasksCount()); } if (other.hasRegionInputsCount()) { mergeRegionInputsCount(other.getRegionInputsCount()); } if (other.hasRegionFramesCount()) { mergeRegionFramesCount(other.getRegionFramesCount()); } if (other.hasFramesCount()) { mergeFramesCount(other.getFramesCount()); } if (other.hasFrameInputsCount()) { mergeFrameInputsCount(other.getFrameInputsCount()); } if (other.hasEmbeddingsCount()) { mergeEmbeddingsCount(other.getEmbeddingsCount()); } if (other.hasPositiveInputTagsCount()) { mergePositiveInputTagsCount(other.getPositiveInputTagsCount()); } if (other.hasPositiveRegionTagsCount()) { mergePositiveRegionTagsCount(other.getPositiveRegionTagsCount()); } if (other.hasPositiveFrameTagsCount()) { mergePositiveFrameTagsCount(other.getPositiveFrameTagsCount()); } 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.DatasetVersionMetrics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.clarifai.grpc.api.DatasetVersionMetrics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.UInt64Value inputsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> inputsCountBuilder_; /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; * @return Whether the inputsCount field is set. */ public boolean hasInputsCount() { return inputsCountBuilder_ != null || inputsCount_ != null; } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; * @return The inputsCount. */ public com.google.protobuf.UInt64Value getInputsCount() { if (inputsCountBuilder_ == null) { return inputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsCount_; } else { return inputsCountBuilder_.getMessage(); } } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public Builder setInputsCount(com.google.protobuf.UInt64Value value) { if (inputsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputsCount_ = value; onChanged(); } else { inputsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public Builder setInputsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (inputsCountBuilder_ == null) { inputsCount_ = builderForValue.build(); onChanged(); } else { inputsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public Builder mergeInputsCount(com.google.protobuf.UInt64Value value) { if (inputsCountBuilder_ == null) { if (inputsCount_ != null) { inputsCount_ = com.google.protobuf.UInt64Value.newBuilder(inputsCount_).mergeFrom(value).buildPartial(); } else { inputsCount_ = value; } onChanged(); } else { inputsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public Builder clearInputsCount() { if (inputsCountBuilder_ == null) { inputsCount_ = null; onChanged(); } else { inputsCount_ = null; inputsCountBuilder_ = null; } return this; } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public com.google.protobuf.UInt64Value.Builder getInputsCountBuilder() { onChanged(); return getInputsCountFieldBuilder().getBuilder(); } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ public com.google.protobuf.UInt64ValueOrBuilder getInputsCountOrBuilder() { if (inputsCountBuilder_ != null) { return inputsCountBuilder_.getMessageOrBuilder(); } else { return inputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsCount_; } } /** *
     * Number of inputs
     * 
* * .google.protobuf.UInt64Value inputs_count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getInputsCountFieldBuilder() { if (inputsCountBuilder_ == null) { inputsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getInputsCount(), getParentForChildren(), isClean()); inputsCount_ = null; } return inputsCountBuilder_; } private com.google.protobuf.UInt64Value unlabeledInputsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> unlabeledInputsCountBuilder_; /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; * @return Whether the unlabeledInputsCount field is set. */ public boolean hasUnlabeledInputsCount() { return unlabeledInputsCountBuilder_ != null || unlabeledInputsCount_ != null; } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; * @return The unlabeledInputsCount. */ public com.google.protobuf.UInt64Value getUnlabeledInputsCount() { if (unlabeledInputsCountBuilder_ == null) { return unlabeledInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : unlabeledInputsCount_; } else { return unlabeledInputsCountBuilder_.getMessage(); } } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public Builder setUnlabeledInputsCount(com.google.protobuf.UInt64Value value) { if (unlabeledInputsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } unlabeledInputsCount_ = value; onChanged(); } else { unlabeledInputsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public Builder setUnlabeledInputsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (unlabeledInputsCountBuilder_ == null) { unlabeledInputsCount_ = builderForValue.build(); onChanged(); } else { unlabeledInputsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public Builder mergeUnlabeledInputsCount(com.google.protobuf.UInt64Value value) { if (unlabeledInputsCountBuilder_ == null) { if (unlabeledInputsCount_ != null) { unlabeledInputsCount_ = com.google.protobuf.UInt64Value.newBuilder(unlabeledInputsCount_).mergeFrom(value).buildPartial(); } else { unlabeledInputsCount_ = value; } onChanged(); } else { unlabeledInputsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public Builder clearUnlabeledInputsCount() { if (unlabeledInputsCountBuilder_ == null) { unlabeledInputsCount_ = null; onChanged(); } else { unlabeledInputsCount_ = null; unlabeledInputsCountBuilder_ = null; } return this; } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public com.google.protobuf.UInt64Value.Builder getUnlabeledInputsCountBuilder() { onChanged(); return getUnlabeledInputsCountFieldBuilder().getBuilder(); } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ public com.google.protobuf.UInt64ValueOrBuilder getUnlabeledInputsCountOrBuilder() { if (unlabeledInputsCountBuilder_ != null) { return unlabeledInputsCountBuilder_.getMessageOrBuilder(); } else { return unlabeledInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : unlabeledInputsCount_; } } /** *
     * Number of unlabeled inputs
     * An input is considered unlabeled if it there are no annotations with positive labels for that input.
     * 
* * .google.protobuf.UInt64Value unlabeled_inputs_count = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getUnlabeledInputsCountFieldBuilder() { if (unlabeledInputsCountBuilder_ == null) { unlabeledInputsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getUnlabeledInputsCount(), getParentForChildren(), isClean()); unlabeledInputsCount_ = null; } return unlabeledInputsCountBuilder_; } private com.google.protobuf.UInt64Value inputsWithMetadataCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> inputsWithMetadataCountBuilder_; /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; * @return Whether the inputsWithMetadataCount field is set. */ public boolean hasInputsWithMetadataCount() { return inputsWithMetadataCountBuilder_ != null || inputsWithMetadataCount_ != null; } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; * @return The inputsWithMetadataCount. */ public com.google.protobuf.UInt64Value getInputsWithMetadataCount() { if (inputsWithMetadataCountBuilder_ == null) { return inputsWithMetadataCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithMetadataCount_; } else { return inputsWithMetadataCountBuilder_.getMessage(); } } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public Builder setInputsWithMetadataCount(com.google.protobuf.UInt64Value value) { if (inputsWithMetadataCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputsWithMetadataCount_ = value; onChanged(); } else { inputsWithMetadataCountBuilder_.setMessage(value); } return this; } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public Builder setInputsWithMetadataCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (inputsWithMetadataCountBuilder_ == null) { inputsWithMetadataCount_ = builderForValue.build(); onChanged(); } else { inputsWithMetadataCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public Builder mergeInputsWithMetadataCount(com.google.protobuf.UInt64Value value) { if (inputsWithMetadataCountBuilder_ == null) { if (inputsWithMetadataCount_ != null) { inputsWithMetadataCount_ = com.google.protobuf.UInt64Value.newBuilder(inputsWithMetadataCount_).mergeFrom(value).buildPartial(); } else { inputsWithMetadataCount_ = value; } onChanged(); } else { inputsWithMetadataCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public Builder clearInputsWithMetadataCount() { if (inputsWithMetadataCountBuilder_ == null) { inputsWithMetadataCount_ = null; onChanged(); } else { inputsWithMetadataCount_ = null; inputsWithMetadataCountBuilder_ = null; } return this; } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public com.google.protobuf.UInt64Value.Builder getInputsWithMetadataCountBuilder() { onChanged(); return getInputsWithMetadataCountFieldBuilder().getBuilder(); } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ public com.google.protobuf.UInt64ValueOrBuilder getInputsWithMetadataCountOrBuilder() { if (inputsWithMetadataCountBuilder_ != null) { return inputsWithMetadataCountBuilder_.getMessageOrBuilder(); } else { return inputsWithMetadataCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithMetadataCount_; } } /** *
     * Number of inputs that have metadata
     * 
* * .google.protobuf.UInt64Value inputs_with_metadata_count = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getInputsWithMetadataCountFieldBuilder() { if (inputsWithMetadataCountBuilder_ == null) { inputsWithMetadataCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getInputsWithMetadataCount(), getParentForChildren(), isClean()); inputsWithMetadataCount_ = null; } return inputsWithMetadataCountBuilder_; } private com.google.protobuf.UInt64Value inputsWithGeoCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> inputsWithGeoCountBuilder_; /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; * @return Whether the inputsWithGeoCount field is set. */ public boolean hasInputsWithGeoCount() { return inputsWithGeoCountBuilder_ != null || inputsWithGeoCount_ != null; } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; * @return The inputsWithGeoCount. */ public com.google.protobuf.UInt64Value getInputsWithGeoCount() { if (inputsWithGeoCountBuilder_ == null) { return inputsWithGeoCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithGeoCount_; } else { return inputsWithGeoCountBuilder_.getMessage(); } } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public Builder setInputsWithGeoCount(com.google.protobuf.UInt64Value value) { if (inputsWithGeoCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inputsWithGeoCount_ = value; onChanged(); } else { inputsWithGeoCountBuilder_.setMessage(value); } return this; } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public Builder setInputsWithGeoCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (inputsWithGeoCountBuilder_ == null) { inputsWithGeoCount_ = builderForValue.build(); onChanged(); } else { inputsWithGeoCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public Builder mergeInputsWithGeoCount(com.google.protobuf.UInt64Value value) { if (inputsWithGeoCountBuilder_ == null) { if (inputsWithGeoCount_ != null) { inputsWithGeoCount_ = com.google.protobuf.UInt64Value.newBuilder(inputsWithGeoCount_).mergeFrom(value).buildPartial(); } else { inputsWithGeoCount_ = value; } onChanged(); } else { inputsWithGeoCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public Builder clearInputsWithGeoCount() { if (inputsWithGeoCountBuilder_ == null) { inputsWithGeoCount_ = null; onChanged(); } else { inputsWithGeoCount_ = null; inputsWithGeoCountBuilder_ = null; } return this; } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public com.google.protobuf.UInt64Value.Builder getInputsWithGeoCountBuilder() { onChanged(); return getInputsWithGeoCountFieldBuilder().getBuilder(); } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ public com.google.protobuf.UInt64ValueOrBuilder getInputsWithGeoCountOrBuilder() { if (inputsWithGeoCountBuilder_ != null) { return inputsWithGeoCountBuilder_.getMessageOrBuilder(); } else { return inputsWithGeoCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : inputsWithGeoCount_; } } /** *
     * Number of inputs that have geo information
     * 
* * .google.protobuf.UInt64Value inputs_with_geo_count = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getInputsWithGeoCountFieldBuilder() { if (inputsWithGeoCountBuilder_ == null) { inputsWithGeoCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getInputsWithGeoCount(), getParentForChildren(), isClean()); inputsWithGeoCount_ = null; } return inputsWithGeoCountBuilder_; } private com.google.protobuf.UInt64Value regionsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> regionsCountBuilder_; /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; * @return Whether the regionsCount field is set. */ public boolean hasRegionsCount() { return regionsCountBuilder_ != null || regionsCount_ != null; } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; * @return The regionsCount. */ public com.google.protobuf.UInt64Value getRegionsCount() { if (regionsCountBuilder_ == null) { return regionsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionsCount_; } else { return regionsCountBuilder_.getMessage(); } } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public Builder setRegionsCount(com.google.protobuf.UInt64Value value) { if (regionsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } regionsCount_ = value; onChanged(); } else { regionsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public Builder setRegionsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (regionsCountBuilder_ == null) { regionsCount_ = builderForValue.build(); onChanged(); } else { regionsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public Builder mergeRegionsCount(com.google.protobuf.UInt64Value value) { if (regionsCountBuilder_ == null) { if (regionsCount_ != null) { regionsCount_ = com.google.protobuf.UInt64Value.newBuilder(regionsCount_).mergeFrom(value).buildPartial(); } else { regionsCount_ = value; } onChanged(); } else { regionsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public Builder clearRegionsCount() { if (regionsCountBuilder_ == null) { regionsCount_ = null; onChanged(); } else { regionsCount_ = null; regionsCountBuilder_ = null; } return this; } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public com.google.protobuf.UInt64Value.Builder getRegionsCountBuilder() { onChanged(); return getRegionsCountFieldBuilder().getBuilder(); } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ public com.google.protobuf.UInt64ValueOrBuilder getRegionsCountOrBuilder() { if (regionsCountBuilder_ != null) { return regionsCountBuilder_.getMessageOrBuilder(); } else { return regionsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionsCount_; } } /** *
     * Number of regions
     * 
* * .google.protobuf.UInt64Value regions_count = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getRegionsCountFieldBuilder() { if (regionsCountBuilder_ == null) { regionsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getRegionsCount(), getParentForChildren(), isClean()); regionsCount_ = null; } return regionsCountBuilder_; } private com.clarifai.grpc.api.utils.Matrix.MatrixUint64 regionLocationMatrix_; private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.utils.Matrix.MatrixUint64, com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder, com.clarifai.grpc.api.utils.Matrix.MatrixUint64OrBuilder> regionLocationMatrixBuilder_; /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; * @return Whether the regionLocationMatrix field is set. */ public boolean hasRegionLocationMatrix() { return regionLocationMatrixBuilder_ != null || regionLocationMatrix_ != null; } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; * @return The regionLocationMatrix. */ public com.clarifai.grpc.api.utils.Matrix.MatrixUint64 getRegionLocationMatrix() { if (regionLocationMatrixBuilder_ == null) { return regionLocationMatrix_ == null ? com.clarifai.grpc.api.utils.Matrix.MatrixUint64.getDefaultInstance() : regionLocationMatrix_; } else { return regionLocationMatrixBuilder_.getMessage(); } } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public Builder setRegionLocationMatrix(com.clarifai.grpc.api.utils.Matrix.MatrixUint64 value) { if (regionLocationMatrixBuilder_ == null) { if (value == null) { throw new NullPointerException(); } regionLocationMatrix_ = value; onChanged(); } else { regionLocationMatrixBuilder_.setMessage(value); } return this; } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public Builder setRegionLocationMatrix( com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder builderForValue) { if (regionLocationMatrixBuilder_ == null) { regionLocationMatrix_ = builderForValue.build(); onChanged(); } else { regionLocationMatrixBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public Builder mergeRegionLocationMatrix(com.clarifai.grpc.api.utils.Matrix.MatrixUint64 value) { if (regionLocationMatrixBuilder_ == null) { if (regionLocationMatrix_ != null) { regionLocationMatrix_ = com.clarifai.grpc.api.utils.Matrix.MatrixUint64.newBuilder(regionLocationMatrix_).mergeFrom(value).buildPartial(); } else { regionLocationMatrix_ = value; } onChanged(); } else { regionLocationMatrixBuilder_.mergeFrom(value); } return this; } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public Builder clearRegionLocationMatrix() { if (regionLocationMatrixBuilder_ == null) { regionLocationMatrix_ = null; onChanged(); } else { regionLocationMatrix_ = null; regionLocationMatrixBuilder_ = null; } return this; } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder getRegionLocationMatrixBuilder() { onChanged(); return getRegionLocationMatrixFieldBuilder().getBuilder(); } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ public com.clarifai.grpc.api.utils.Matrix.MatrixUint64OrBuilder getRegionLocationMatrixOrBuilder() { if (regionLocationMatrixBuilder_ != null) { return regionLocationMatrixBuilder_.getMessageOrBuilder(); } else { return regionLocationMatrix_ == null ? com.clarifai.grpc.api.utils.Matrix.MatrixUint64.getDefaultInstance() : regionLocationMatrix_; } } /** *
     * The matrix shows where the regions are located.
     * Example: If the matrix has 2x2 dimensions, then
     * * region_location_matrix[0][0] = the number of regions that appear in the top left corner, i.e. [0,0]..(0.5,0.5)
     * * region_location_matrix[0][1] = the number of regions that appear in the top right corner, i.e. [0,0.5]..[0.5,1]
     * * region_location_matrix[1][0] = the number of regions that appear in the bottom left corner, i.e. [0.5,0]..[1,0.5)
     * * region_location_matrix[1][1] = the number of regions that appear in the bottom right corner, i.e. [0.5,0.5]..[1,1]
     * 
* * .MatrixUint64 region_location_matrix = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.utils.Matrix.MatrixUint64, com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder, com.clarifai.grpc.api.utils.Matrix.MatrixUint64OrBuilder> getRegionLocationMatrixFieldBuilder() { if (regionLocationMatrixBuilder_ == null) { regionLocationMatrixBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.utils.Matrix.MatrixUint64, com.clarifai.grpc.api.utils.Matrix.MatrixUint64.Builder, com.clarifai.grpc.api.utils.Matrix.MatrixUint64OrBuilder>( getRegionLocationMatrix(), getParentForChildren(), isClean()); regionLocationMatrix_ = null; } return regionLocationMatrixBuilder_; } private com.google.protobuf.UInt64Value boundingBoxesCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> boundingBoxesCountBuilder_; /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; * @return Whether the boundingBoxesCount field is set. */ public boolean hasBoundingBoxesCount() { return boundingBoxesCountBuilder_ != null || boundingBoxesCount_ != null; } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; * @return The boundingBoxesCount. */ public com.google.protobuf.UInt64Value getBoundingBoxesCount() { if (boundingBoxesCountBuilder_ == null) { return boundingBoxesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : boundingBoxesCount_; } else { return boundingBoxesCountBuilder_.getMessage(); } } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public Builder setBoundingBoxesCount(com.google.protobuf.UInt64Value value) { if (boundingBoxesCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } boundingBoxesCount_ = value; onChanged(); } else { boundingBoxesCountBuilder_.setMessage(value); } return this; } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public Builder setBoundingBoxesCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (boundingBoxesCountBuilder_ == null) { boundingBoxesCount_ = builderForValue.build(); onChanged(); } else { boundingBoxesCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public Builder mergeBoundingBoxesCount(com.google.protobuf.UInt64Value value) { if (boundingBoxesCountBuilder_ == null) { if (boundingBoxesCount_ != null) { boundingBoxesCount_ = com.google.protobuf.UInt64Value.newBuilder(boundingBoxesCount_).mergeFrom(value).buildPartial(); } else { boundingBoxesCount_ = value; } onChanged(); } else { boundingBoxesCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public Builder clearBoundingBoxesCount() { if (boundingBoxesCountBuilder_ == null) { boundingBoxesCount_ = null; onChanged(); } else { boundingBoxesCount_ = null; boundingBoxesCountBuilder_ = null; } return this; } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public com.google.protobuf.UInt64Value.Builder getBoundingBoxesCountBuilder() { onChanged(); return getBoundingBoxesCountFieldBuilder().getBuilder(); } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ public com.google.protobuf.UInt64ValueOrBuilder getBoundingBoxesCountOrBuilder() { if (boundingBoxesCountBuilder_ != null) { return boundingBoxesCountBuilder_.getMessageOrBuilder(); } else { return boundingBoxesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : boundingBoxesCount_; } } /** *
     * Number of bounding boxes
     * 
* * .google.protobuf.UInt64Value bounding_boxes_count = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getBoundingBoxesCountFieldBuilder() { if (boundingBoxesCountBuilder_ == null) { boundingBoxesCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getBoundingBoxesCount(), getParentForChildren(), isClean()); boundingBoxesCount_ = null; } return boundingBoxesCountBuilder_; } private com.google.protobuf.UInt64Value polygonsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> polygonsCountBuilder_; /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; * @return Whether the polygonsCount field is set. */ public boolean hasPolygonsCount() { return polygonsCountBuilder_ != null || polygonsCount_ != null; } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; * @return The polygonsCount. */ public com.google.protobuf.UInt64Value getPolygonsCount() { if (polygonsCountBuilder_ == null) { return polygonsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : polygonsCount_; } else { return polygonsCountBuilder_.getMessage(); } } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public Builder setPolygonsCount(com.google.protobuf.UInt64Value value) { if (polygonsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } polygonsCount_ = value; onChanged(); } else { polygonsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public Builder setPolygonsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (polygonsCountBuilder_ == null) { polygonsCount_ = builderForValue.build(); onChanged(); } else { polygonsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public Builder mergePolygonsCount(com.google.protobuf.UInt64Value value) { if (polygonsCountBuilder_ == null) { if (polygonsCount_ != null) { polygonsCount_ = com.google.protobuf.UInt64Value.newBuilder(polygonsCount_).mergeFrom(value).buildPartial(); } else { polygonsCount_ = value; } onChanged(); } else { polygonsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public Builder clearPolygonsCount() { if (polygonsCountBuilder_ == null) { polygonsCount_ = null; onChanged(); } else { polygonsCount_ = null; polygonsCountBuilder_ = null; } return this; } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public com.google.protobuf.UInt64Value.Builder getPolygonsCountBuilder() { onChanged(); return getPolygonsCountFieldBuilder().getBuilder(); } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ public com.google.protobuf.UInt64ValueOrBuilder getPolygonsCountOrBuilder() { if (polygonsCountBuilder_ != null) { return polygonsCountBuilder_.getMessageOrBuilder(); } else { return polygonsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : polygonsCount_; } } /** *
     * Number of polygons
     * 
* * .google.protobuf.UInt64Value polygons_count = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getPolygonsCountFieldBuilder() { if (polygonsCountBuilder_ == null) { polygonsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getPolygonsCount(), getParentForChildren(), isClean()); polygonsCount_ = null; } return polygonsCountBuilder_; } private com.google.protobuf.UInt64Value pointsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> pointsCountBuilder_; /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; * @return Whether the pointsCount field is set. */ public boolean hasPointsCount() { return pointsCountBuilder_ != null || pointsCount_ != null; } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; * @return The pointsCount. */ public com.google.protobuf.UInt64Value getPointsCount() { if (pointsCountBuilder_ == null) { return pointsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : pointsCount_; } else { return pointsCountBuilder_.getMessage(); } } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public Builder setPointsCount(com.google.protobuf.UInt64Value value) { if (pointsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pointsCount_ = value; onChanged(); } else { pointsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public Builder setPointsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (pointsCountBuilder_ == null) { pointsCount_ = builderForValue.build(); onChanged(); } else { pointsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public Builder mergePointsCount(com.google.protobuf.UInt64Value value) { if (pointsCountBuilder_ == null) { if (pointsCount_ != null) { pointsCount_ = com.google.protobuf.UInt64Value.newBuilder(pointsCount_).mergeFrom(value).buildPartial(); } else { pointsCount_ = value; } onChanged(); } else { pointsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public Builder clearPointsCount() { if (pointsCountBuilder_ == null) { pointsCount_ = null; onChanged(); } else { pointsCount_ = null; pointsCountBuilder_ = null; } return this; } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public com.google.protobuf.UInt64Value.Builder getPointsCountBuilder() { onChanged(); return getPointsCountFieldBuilder().getBuilder(); } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ public com.google.protobuf.UInt64ValueOrBuilder getPointsCountOrBuilder() { if (pointsCountBuilder_ != null) { return pointsCountBuilder_.getMessageOrBuilder(); } else { return pointsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : pointsCount_; } } /** *
     * Number of points
     * 
* * .google.protobuf.UInt64Value points_count = 24; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getPointsCountFieldBuilder() { if (pointsCountBuilder_ == null) { pointsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getPointsCount(), getParentForChildren(), isClean()); pointsCount_ = null; } return pointsCountBuilder_; } private com.google.protobuf.UInt64Value masksCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> masksCountBuilder_; /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; * @return Whether the masksCount field is set. */ public boolean hasMasksCount() { return masksCountBuilder_ != null || masksCount_ != null; } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; * @return The masksCount. */ public com.google.protobuf.UInt64Value getMasksCount() { if (masksCountBuilder_ == null) { return masksCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : masksCount_; } else { return masksCountBuilder_.getMessage(); } } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public Builder setMasksCount(com.google.protobuf.UInt64Value value) { if (masksCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } masksCount_ = value; onChanged(); } else { masksCountBuilder_.setMessage(value); } return this; } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public Builder setMasksCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (masksCountBuilder_ == null) { masksCount_ = builderForValue.build(); onChanged(); } else { masksCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public Builder mergeMasksCount(com.google.protobuf.UInt64Value value) { if (masksCountBuilder_ == null) { if (masksCount_ != null) { masksCount_ = com.google.protobuf.UInt64Value.newBuilder(masksCount_).mergeFrom(value).buildPartial(); } else { masksCount_ = value; } onChanged(); } else { masksCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public Builder clearMasksCount() { if (masksCountBuilder_ == null) { masksCount_ = null; onChanged(); } else { masksCount_ = null; masksCountBuilder_ = null; } return this; } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public com.google.protobuf.UInt64Value.Builder getMasksCountBuilder() { onChanged(); return getMasksCountFieldBuilder().getBuilder(); } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ public com.google.protobuf.UInt64ValueOrBuilder getMasksCountOrBuilder() { if (masksCountBuilder_ != null) { return masksCountBuilder_.getMessageOrBuilder(); } else { return masksCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : masksCount_; } } /** *
     * Number of masks
     * 
* * .google.protobuf.UInt64Value masks_count = 25; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getMasksCountFieldBuilder() { if (masksCountBuilder_ == null) { masksCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getMasksCount(), getParentForChildren(), isClean()); masksCount_ = null; } return masksCountBuilder_; } private com.google.protobuf.UInt64Value regionInputsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> regionInputsCountBuilder_; /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; * @return Whether the regionInputsCount field is set. */ public boolean hasRegionInputsCount() { return regionInputsCountBuilder_ != null || regionInputsCount_ != null; } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; * @return The regionInputsCount. */ public com.google.protobuf.UInt64Value getRegionInputsCount() { if (regionInputsCountBuilder_ == null) { return regionInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionInputsCount_; } else { return regionInputsCountBuilder_.getMessage(); } } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public Builder setRegionInputsCount(com.google.protobuf.UInt64Value value) { if (regionInputsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } regionInputsCount_ = value; onChanged(); } else { regionInputsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public Builder setRegionInputsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (regionInputsCountBuilder_ == null) { regionInputsCount_ = builderForValue.build(); onChanged(); } else { regionInputsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public Builder mergeRegionInputsCount(com.google.protobuf.UInt64Value value) { if (regionInputsCountBuilder_ == null) { if (regionInputsCount_ != null) { regionInputsCount_ = com.google.protobuf.UInt64Value.newBuilder(regionInputsCount_).mergeFrom(value).buildPartial(); } else { regionInputsCount_ = value; } onChanged(); } else { regionInputsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public Builder clearRegionInputsCount() { if (regionInputsCountBuilder_ == null) { regionInputsCount_ = null; onChanged(); } else { regionInputsCount_ = null; regionInputsCountBuilder_ = null; } return this; } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public com.google.protobuf.UInt64Value.Builder getRegionInputsCountBuilder() { onChanged(); return getRegionInputsCountFieldBuilder().getBuilder(); } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ public com.google.protobuf.UInt64ValueOrBuilder getRegionInputsCountOrBuilder() { if (regionInputsCountBuilder_ != null) { return regionInputsCountBuilder_.getMessageOrBuilder(); } else { return regionInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionInputsCount_; } } /** *
     * Number of inputs that have regions attached
     * Note that this is not a recursive count: if an input contains frames that contains regions, then the region_frames_count is increased, but region_inputs_count is not increased.
     * 
* * .google.protobuf.UInt64Value region_inputs_count = 60; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getRegionInputsCountFieldBuilder() { if (regionInputsCountBuilder_ == null) { regionInputsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getRegionInputsCount(), getParentForChildren(), isClean()); regionInputsCount_ = null; } return regionInputsCountBuilder_; } private com.google.protobuf.UInt64Value regionFramesCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> regionFramesCountBuilder_; /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; * @return Whether the regionFramesCount field is set. */ public boolean hasRegionFramesCount() { return regionFramesCountBuilder_ != null || regionFramesCount_ != null; } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; * @return The regionFramesCount. */ public com.google.protobuf.UInt64Value getRegionFramesCount() { if (regionFramesCountBuilder_ == null) { return regionFramesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionFramesCount_; } else { return regionFramesCountBuilder_.getMessage(); } } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public Builder setRegionFramesCount(com.google.protobuf.UInt64Value value) { if (regionFramesCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } regionFramesCount_ = value; onChanged(); } else { regionFramesCountBuilder_.setMessage(value); } return this; } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public Builder setRegionFramesCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (regionFramesCountBuilder_ == null) { regionFramesCount_ = builderForValue.build(); onChanged(); } else { regionFramesCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public Builder mergeRegionFramesCount(com.google.protobuf.UInt64Value value) { if (regionFramesCountBuilder_ == null) { if (regionFramesCount_ != null) { regionFramesCount_ = com.google.protobuf.UInt64Value.newBuilder(regionFramesCount_).mergeFrom(value).buildPartial(); } else { regionFramesCount_ = value; } onChanged(); } else { regionFramesCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public Builder clearRegionFramesCount() { if (regionFramesCountBuilder_ == null) { regionFramesCount_ = null; onChanged(); } else { regionFramesCount_ = null; regionFramesCountBuilder_ = null; } return this; } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public com.google.protobuf.UInt64Value.Builder getRegionFramesCountBuilder() { onChanged(); return getRegionFramesCountFieldBuilder().getBuilder(); } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ public com.google.protobuf.UInt64ValueOrBuilder getRegionFramesCountOrBuilder() { if (regionFramesCountBuilder_ != null) { return regionFramesCountBuilder_.getMessageOrBuilder(); } else { return regionFramesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : regionFramesCount_; } } /** *
     * Number of frames that have regions attached
     * 
* * .google.protobuf.UInt64Value region_frames_count = 61; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getRegionFramesCountFieldBuilder() { if (regionFramesCountBuilder_ == null) { regionFramesCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getRegionFramesCount(), getParentForChildren(), isClean()); regionFramesCount_ = null; } return regionFramesCountBuilder_; } private com.google.protobuf.UInt64Value framesCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> framesCountBuilder_; /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; * @return Whether the framesCount field is set. */ public boolean hasFramesCount() { return framesCountBuilder_ != null || framesCount_ != null; } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; * @return The framesCount. */ public com.google.protobuf.UInt64Value getFramesCount() { if (framesCountBuilder_ == null) { return framesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : framesCount_; } else { return framesCountBuilder_.getMessage(); } } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public Builder setFramesCount(com.google.protobuf.UInt64Value value) { if (framesCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } framesCount_ = value; onChanged(); } else { framesCountBuilder_.setMessage(value); } return this; } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public Builder setFramesCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (framesCountBuilder_ == null) { framesCount_ = builderForValue.build(); onChanged(); } else { framesCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public Builder mergeFramesCount(com.google.protobuf.UInt64Value value) { if (framesCountBuilder_ == null) { if (framesCount_ != null) { framesCount_ = com.google.protobuf.UInt64Value.newBuilder(framesCount_).mergeFrom(value).buildPartial(); } else { framesCount_ = value; } onChanged(); } else { framesCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public Builder clearFramesCount() { if (framesCountBuilder_ == null) { framesCount_ = null; onChanged(); } else { framesCount_ = null; framesCountBuilder_ = null; } return this; } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public com.google.protobuf.UInt64Value.Builder getFramesCountBuilder() { onChanged(); return getFramesCountFieldBuilder().getBuilder(); } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ public com.google.protobuf.UInt64ValueOrBuilder getFramesCountOrBuilder() { if (framesCountBuilder_ != null) { return framesCountBuilder_.getMessageOrBuilder(); } else { return framesCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : framesCount_; } } /** *
     * Number of frames
     * 
* * .google.protobuf.UInt64Value frames_count = 30; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getFramesCountFieldBuilder() { if (framesCountBuilder_ == null) { framesCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getFramesCount(), getParentForChildren(), isClean()); framesCount_ = null; } return framesCountBuilder_; } private com.google.protobuf.UInt64Value frameInputsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> frameInputsCountBuilder_; /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; * @return Whether the frameInputsCount field is set. */ public boolean hasFrameInputsCount() { return frameInputsCountBuilder_ != null || frameInputsCount_ != null; } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; * @return The frameInputsCount. */ public com.google.protobuf.UInt64Value getFrameInputsCount() { if (frameInputsCountBuilder_ == null) { return frameInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : frameInputsCount_; } else { return frameInputsCountBuilder_.getMessage(); } } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public Builder setFrameInputsCount(com.google.protobuf.UInt64Value value) { if (frameInputsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } frameInputsCount_ = value; onChanged(); } else { frameInputsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public Builder setFrameInputsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (frameInputsCountBuilder_ == null) { frameInputsCount_ = builderForValue.build(); onChanged(); } else { frameInputsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public Builder mergeFrameInputsCount(com.google.protobuf.UInt64Value value) { if (frameInputsCountBuilder_ == null) { if (frameInputsCount_ != null) { frameInputsCount_ = com.google.protobuf.UInt64Value.newBuilder(frameInputsCount_).mergeFrom(value).buildPartial(); } else { frameInputsCount_ = value; } onChanged(); } else { frameInputsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public Builder clearFrameInputsCount() { if (frameInputsCountBuilder_ == null) { frameInputsCount_ = null; onChanged(); } else { frameInputsCount_ = null; frameInputsCountBuilder_ = null; } return this; } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public com.google.protobuf.UInt64Value.Builder getFrameInputsCountBuilder() { onChanged(); return getFrameInputsCountFieldBuilder().getBuilder(); } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ public com.google.protobuf.UInt64ValueOrBuilder getFrameInputsCountOrBuilder() { if (frameInputsCountBuilder_ != null) { return frameInputsCountBuilder_.getMessageOrBuilder(); } else { return frameInputsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : frameInputsCount_; } } /** *
     * Number of inputs that have frames attached
     * 
* * .google.protobuf.UInt64Value frame_inputs_count = 70; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getFrameInputsCountFieldBuilder() { if (frameInputsCountBuilder_ == null) { frameInputsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getFrameInputsCount(), getParentForChildren(), isClean()); frameInputsCount_ = null; } return frameInputsCountBuilder_; } private com.google.protobuf.UInt64Value embeddingsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> embeddingsCountBuilder_; /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; * @return Whether the embeddingsCount field is set. */ public boolean hasEmbeddingsCount() { return embeddingsCountBuilder_ != null || embeddingsCount_ != null; } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; * @return The embeddingsCount. */ public com.google.protobuf.UInt64Value getEmbeddingsCount() { if (embeddingsCountBuilder_ == null) { return embeddingsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : embeddingsCount_; } else { return embeddingsCountBuilder_.getMessage(); } } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public Builder setEmbeddingsCount(com.google.protobuf.UInt64Value value) { if (embeddingsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } embeddingsCount_ = value; onChanged(); } else { embeddingsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public Builder setEmbeddingsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (embeddingsCountBuilder_ == null) { embeddingsCount_ = builderForValue.build(); onChanged(); } else { embeddingsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public Builder mergeEmbeddingsCount(com.google.protobuf.UInt64Value value) { if (embeddingsCountBuilder_ == null) { if (embeddingsCount_ != null) { embeddingsCount_ = com.google.protobuf.UInt64Value.newBuilder(embeddingsCount_).mergeFrom(value).buildPartial(); } else { embeddingsCount_ = value; } onChanged(); } else { embeddingsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public Builder clearEmbeddingsCount() { if (embeddingsCountBuilder_ == null) { embeddingsCount_ = null; onChanged(); } else { embeddingsCount_ = null; embeddingsCountBuilder_ = null; } return this; } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public com.google.protobuf.UInt64Value.Builder getEmbeddingsCountBuilder() { onChanged(); return getEmbeddingsCountFieldBuilder().getBuilder(); } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ public com.google.protobuf.UInt64ValueOrBuilder getEmbeddingsCountOrBuilder() { if (embeddingsCountBuilder_ != null) { return embeddingsCountBuilder_.getMessageOrBuilder(); } else { return embeddingsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : embeddingsCount_; } } /** *
     * Number of embeddings
     * 
* * .google.protobuf.UInt64Value embeddings_count = 40; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getEmbeddingsCountFieldBuilder() { if (embeddingsCountBuilder_ == null) { embeddingsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getEmbeddingsCount(), getParentForChildren(), isClean()); embeddingsCount_ = null; } return embeddingsCountBuilder_; } private com.google.protobuf.UInt64Value positiveInputTagsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> positiveInputTagsCountBuilder_; /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; * @return Whether the positiveInputTagsCount field is set. */ public boolean hasPositiveInputTagsCount() { return positiveInputTagsCountBuilder_ != null || positiveInputTagsCount_ != null; } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; * @return The positiveInputTagsCount. */ public com.google.protobuf.UInt64Value getPositiveInputTagsCount() { if (positiveInputTagsCountBuilder_ == null) { return positiveInputTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveInputTagsCount_; } else { return positiveInputTagsCountBuilder_.getMessage(); } } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public Builder setPositiveInputTagsCount(com.google.protobuf.UInt64Value value) { if (positiveInputTagsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } positiveInputTagsCount_ = value; onChanged(); } else { positiveInputTagsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public Builder setPositiveInputTagsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (positiveInputTagsCountBuilder_ == null) { positiveInputTagsCount_ = builderForValue.build(); onChanged(); } else { positiveInputTagsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public Builder mergePositiveInputTagsCount(com.google.protobuf.UInt64Value value) { if (positiveInputTagsCountBuilder_ == null) { if (positiveInputTagsCount_ != null) { positiveInputTagsCount_ = com.google.protobuf.UInt64Value.newBuilder(positiveInputTagsCount_).mergeFrom(value).buildPartial(); } else { positiveInputTagsCount_ = value; } onChanged(); } else { positiveInputTagsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public Builder clearPositiveInputTagsCount() { if (positiveInputTagsCountBuilder_ == null) { positiveInputTagsCount_ = null; onChanged(); } else { positiveInputTagsCount_ = null; positiveInputTagsCountBuilder_ = null; } return this; } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public com.google.protobuf.UInt64Value.Builder getPositiveInputTagsCountBuilder() { onChanged(); return getPositiveInputTagsCountFieldBuilder().getBuilder(); } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ public com.google.protobuf.UInt64ValueOrBuilder getPositiveInputTagsCountOrBuilder() { if (positiveInputTagsCountBuilder_ != null) { return positiveInputTagsCountBuilder_.getMessageOrBuilder(); } else { return positiveInputTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveInputTagsCount_; } } /** *
     * Number of positive tags added at input-level
     * 
* * .google.protobuf.UInt64Value positive_input_tags_count = 50; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getPositiveInputTagsCountFieldBuilder() { if (positiveInputTagsCountBuilder_ == null) { positiveInputTagsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getPositiveInputTagsCount(), getParentForChildren(), isClean()); positiveInputTagsCount_ = null; } return positiveInputTagsCountBuilder_; } private com.google.protobuf.UInt64Value positiveRegionTagsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> positiveRegionTagsCountBuilder_; /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; * @return Whether the positiveRegionTagsCount field is set. */ public boolean hasPositiveRegionTagsCount() { return positiveRegionTagsCountBuilder_ != null || positiveRegionTagsCount_ != null; } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; * @return The positiveRegionTagsCount. */ public com.google.protobuf.UInt64Value getPositiveRegionTagsCount() { if (positiveRegionTagsCountBuilder_ == null) { return positiveRegionTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveRegionTagsCount_; } else { return positiveRegionTagsCountBuilder_.getMessage(); } } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public Builder setPositiveRegionTagsCount(com.google.protobuf.UInt64Value value) { if (positiveRegionTagsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } positiveRegionTagsCount_ = value; onChanged(); } else { positiveRegionTagsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public Builder setPositiveRegionTagsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (positiveRegionTagsCountBuilder_ == null) { positiveRegionTagsCount_ = builderForValue.build(); onChanged(); } else { positiveRegionTagsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public Builder mergePositiveRegionTagsCount(com.google.protobuf.UInt64Value value) { if (positiveRegionTagsCountBuilder_ == null) { if (positiveRegionTagsCount_ != null) { positiveRegionTagsCount_ = com.google.protobuf.UInt64Value.newBuilder(positiveRegionTagsCount_).mergeFrom(value).buildPartial(); } else { positiveRegionTagsCount_ = value; } onChanged(); } else { positiveRegionTagsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public Builder clearPositiveRegionTagsCount() { if (positiveRegionTagsCountBuilder_ == null) { positiveRegionTagsCount_ = null; onChanged(); } else { positiveRegionTagsCount_ = null; positiveRegionTagsCountBuilder_ = null; } return this; } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public com.google.protobuf.UInt64Value.Builder getPositiveRegionTagsCountBuilder() { onChanged(); return getPositiveRegionTagsCountFieldBuilder().getBuilder(); } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ public com.google.protobuf.UInt64ValueOrBuilder getPositiveRegionTagsCountOrBuilder() { if (positiveRegionTagsCountBuilder_ != null) { return positiveRegionTagsCountBuilder_.getMessageOrBuilder(); } else { return positiveRegionTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveRegionTagsCount_; } } /** *
     * Number of positive tags added at region-level
     * 
* * .google.protobuf.UInt64Value positive_region_tags_count = 51; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getPositiveRegionTagsCountFieldBuilder() { if (positiveRegionTagsCountBuilder_ == null) { positiveRegionTagsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getPositiveRegionTagsCount(), getParentForChildren(), isClean()); positiveRegionTagsCount_ = null; } return positiveRegionTagsCountBuilder_; } private com.google.protobuf.UInt64Value positiveFrameTagsCount_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> positiveFrameTagsCountBuilder_; /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; * @return Whether the positiveFrameTagsCount field is set. */ public boolean hasPositiveFrameTagsCount() { return positiveFrameTagsCountBuilder_ != null || positiveFrameTagsCount_ != null; } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; * @return The positiveFrameTagsCount. */ public com.google.protobuf.UInt64Value getPositiveFrameTagsCount() { if (positiveFrameTagsCountBuilder_ == null) { return positiveFrameTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveFrameTagsCount_; } else { return positiveFrameTagsCountBuilder_.getMessage(); } } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public Builder setPositiveFrameTagsCount(com.google.protobuf.UInt64Value value) { if (positiveFrameTagsCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } positiveFrameTagsCount_ = value; onChanged(); } else { positiveFrameTagsCountBuilder_.setMessage(value); } return this; } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public Builder setPositiveFrameTagsCount( com.google.protobuf.UInt64Value.Builder builderForValue) { if (positiveFrameTagsCountBuilder_ == null) { positiveFrameTagsCount_ = builderForValue.build(); onChanged(); } else { positiveFrameTagsCountBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public Builder mergePositiveFrameTagsCount(com.google.protobuf.UInt64Value value) { if (positiveFrameTagsCountBuilder_ == null) { if (positiveFrameTagsCount_ != null) { positiveFrameTagsCount_ = com.google.protobuf.UInt64Value.newBuilder(positiveFrameTagsCount_).mergeFrom(value).buildPartial(); } else { positiveFrameTagsCount_ = value; } onChanged(); } else { positiveFrameTagsCountBuilder_.mergeFrom(value); } return this; } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public Builder clearPositiveFrameTagsCount() { if (positiveFrameTagsCountBuilder_ == null) { positiveFrameTagsCount_ = null; onChanged(); } else { positiveFrameTagsCount_ = null; positiveFrameTagsCountBuilder_ = null; } return this; } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public com.google.protobuf.UInt64Value.Builder getPositiveFrameTagsCountBuilder() { onChanged(); return getPositiveFrameTagsCountFieldBuilder().getBuilder(); } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ public com.google.protobuf.UInt64ValueOrBuilder getPositiveFrameTagsCountOrBuilder() { if (positiveFrameTagsCountBuilder_ != null) { return positiveFrameTagsCountBuilder_.getMessageOrBuilder(); } else { return positiveFrameTagsCount_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : positiveFrameTagsCount_; } } /** *
     * Number of positive tags added at frame-level
     * 
* * .google.protobuf.UInt64Value positive_frame_tags_count = 52; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getPositiveFrameTagsCountFieldBuilder() { if (positiveFrameTagsCountBuilder_ == null) { positiveFrameTagsCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getPositiveFrameTagsCount(), getParentForChildren(), isClean()); positiveFrameTagsCount_ = null; } return positiveFrameTagsCountBuilder_; } @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.DatasetVersionMetrics) } // @@protoc_insertion_point(class_scope:clarifai.api.DatasetVersionMetrics) private static final com.clarifai.grpc.api.DatasetVersionMetrics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.clarifai.grpc.api.DatasetVersionMetrics(); } public static com.clarifai.grpc.api.DatasetVersionMetrics getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DatasetVersionMetrics parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DatasetVersionMetrics(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.DatasetVersionMetrics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy