// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto

package com.google.cloud.vision.v1;

public interface FeatureOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.Feature)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The feature type.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.Feature.Type type = 1;</code>
   */
  int getTypeValue();
  /**
   * <pre>
   * The feature type.
   * </pre>
   *
   * <code>.google.cloud.vision.v1.Feature.Type type = 1;</code>
   */
  com.google.cloud.vision.v1.Feature.Type getType();

  /**
   * <pre>
   * Maximum number of results of this type. Does not apply to
   * `TEXT_DETECTION`, `DOCUMENT_TEXT_DETECTION`, or `CROP_HINTS`.
   * </pre>
   *
   * <code>int32 max_results = 2;</code>
   */
  int getMaxResults();

  /**
   * <pre>
   * Model to use for the feature.
   * Supported values: "builtin/stable" (the default if unset) and
   * "builtin/latest".
   * </pre>
   *
   * <code>string model = 3;</code>
   */
  java.lang.String getModel();
  /**
   * <pre>
   * Model to use for the feature.
   * Supported values: "builtin/stable" (the default if unset) and
   * "builtin/latest".
   * </pre>
   *
   * <code>string model = 3;</code>
   */
  com.google.protobuf.ByteString
      getModelBytes();
}
