/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/datalabeling/v1beta1/data_labeling_service.proto

package com.google.cloud.datalabeling.v1beta1;

public interface LabelImageRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.datalabeling.v1beta1.LabelImageRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Configuration for image classification task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
   * </code>
   *
   * @return Whether the imageClassificationConfig field is set.
   */
  boolean hasImageClassificationConfig();
  /**
   *
   *
   * <pre>
   * Configuration for image classification task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
   * </code>
   *
   * @return The imageClassificationConfig.
   */
  com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig getImageClassificationConfig();
  /**
   *
   *
   * <pre>
   * Configuration for image classification task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
   * </code>
   */
  com.google.cloud.datalabeling.v1beta1.ImageClassificationConfigOrBuilder
      getImageClassificationConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Configuration for bounding box and bounding poly task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;</code>
   *
   * @return Whether the boundingPolyConfig field is set.
   */
  boolean hasBoundingPolyConfig();
  /**
   *
   *
   * <pre>
   * Configuration for bounding box and bounding poly task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;</code>
   *
   * @return The boundingPolyConfig.
   */
  com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig getBoundingPolyConfig();
  /**
   *
   *
   * <pre>
   * Configuration for bounding box and bounding poly task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;</code>
   */
  com.google.cloud.datalabeling.v1beta1.BoundingPolyConfigOrBuilder
      getBoundingPolyConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Configuration for polyline task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;</code>
   *
   * @return Whether the polylineConfig field is set.
   */
  boolean hasPolylineConfig();
  /**
   *
   *
   * <pre>
   * Configuration for polyline task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;</code>
   *
   * @return The polylineConfig.
   */
  com.google.cloud.datalabeling.v1beta1.PolylineConfig getPolylineConfig();
  /**
   *
   *
   * <pre>
   * Configuration for polyline task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.PolylineConfig polyline_config = 6;</code>
   */
  com.google.cloud.datalabeling.v1beta1.PolylineConfigOrBuilder getPolylineConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Configuration for segmentation task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;</code>
   *
   * @return Whether the segmentationConfig field is set.
   */
  boolean hasSegmentationConfig();
  /**
   *
   *
   * <pre>
   * Configuration for segmentation task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;</code>
   *
   * @return The segmentationConfig.
   */
  com.google.cloud.datalabeling.v1beta1.SegmentationConfig getSegmentationConfig();
  /**
   *
   *
   * <pre>
   * Configuration for segmentation task.
   * One of image_classification_config, bounding_poly_config,
   * polyline_config and segmentation_config are required.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.SegmentationConfig segmentation_config = 7;</code>
   */
  com.google.cloud.datalabeling.v1beta1.SegmentationConfigOrBuilder
      getSegmentationConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. Name of the dataset to request labeling task, format:
   * projects/{project_id}/datasets/{dataset_id}
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The parent.
   */
  java.lang.String getParent();
  /**
   *
   *
   * <pre>
   * Required. Name of the dataset to request labeling task, format:
   * projects/{project_id}/datasets/{dataset_id}
   * </pre>
   *
   * <code>
   * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
   * </code>
   *
   * @return The bytes for parent.
   */
  com.google.protobuf.ByteString getParentBytes();

  /**
   *
   *
   * <pre>
   * Required. Basic human annotation config.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the basicConfig field is set.
   */
  boolean hasBasicConfig();
  /**
   *
   *
   * <pre>
   * Required. Basic human annotation config.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The basicConfig.
   */
  com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig getBasicConfig();
  /**
   *
   *
   * <pre>
   * Required. Basic human annotation config.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. The type of image labeling task.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The enum numeric value on the wire for feature.
   */
  int getFeatureValue();
  /**
   *
   *
   * <pre>
   * Required. The type of image labeling task.
   * </pre>
   *
   * <code>
   * .google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature feature = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The feature.
   */
  com.google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature getFeature();

  public com.google.cloud.datalabeling.v1beta1.LabelImageRequest.RequestConfigCase
      getRequestConfigCase();
}
