/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.datalabeling.v1beta1.model;

/**
 * Request message for LabelVideo.
 *
 * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
 * transmitted over HTTP when working with the Data Labeling API. For a detailed explanation see:
 * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
 * </p>
 *
 * @author Google, Inc.
 */
@SuppressWarnings("javadoc")
public final class GoogleCloudDatalabelingV1beta1LabelVideoRequest extends com.google.api.client.json.GenericJson {

  /**
   * Required. Basic human annotation config.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudDatalabelingV1beta1HumanAnnotationConfig basicConfig;

  /**
   * Configuration for video event task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudDatalabelingV1beta1EventConfig eventConfig;

  /**
   * Required. The type of video labeling task.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private java.lang.String feature;

  /**
   * Configuration for video object detection task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudDatalabelingV1beta1ObjectDetectionConfig objectDetectionConfig;

  /**
   * Configuration for video object tracking task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudDatalabelingV1beta1ObjectTrackingConfig objectTrackingConfig;

  /**
   * Configuration for video classification task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * The value may be {@code null}.
   */
  @com.google.api.client.util.Key
  private GoogleCloudDatalabelingV1beta1VideoClassificationConfig videoClassificationConfig;

  /**
   * Required. Basic human annotation config.
   * @return value or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1HumanAnnotationConfig getBasicConfig() {
    return basicConfig;
  }

  /**
   * Required. Basic human annotation config.
   * @param basicConfig basicConfig or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig basicConfig) {
    this.basicConfig = basicConfig;
    return this;
  }

  /**
   * Configuration for video event task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @return value or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1EventConfig getEventConfig() {
    return eventConfig;
  }

  /**
   * Configuration for video event task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @param eventConfig eventConfig or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setEventConfig(GoogleCloudDatalabelingV1beta1EventConfig eventConfig) {
    this.eventConfig = eventConfig;
    return this;
  }

  /**
   * Required. The type of video labeling task.
   * @return value or {@code null} for none
   */
  public java.lang.String getFeature() {
    return feature;
  }

  /**
   * Required. The type of video labeling task.
   * @param feature feature or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setFeature(java.lang.String feature) {
    this.feature = feature;
    return this;
  }

  /**
   * Configuration for video object detection task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @return value or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1ObjectDetectionConfig getObjectDetectionConfig() {
    return objectDetectionConfig;
  }

  /**
   * Configuration for video object detection task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @param objectDetectionConfig objectDetectionConfig or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setObjectDetectionConfig(GoogleCloudDatalabelingV1beta1ObjectDetectionConfig objectDetectionConfig) {
    this.objectDetectionConfig = objectDetectionConfig;
    return this;
  }

  /**
   * Configuration for video object tracking task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @return value or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1ObjectTrackingConfig getObjectTrackingConfig() {
    return objectTrackingConfig;
  }

  /**
   * Configuration for video object tracking task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @param objectTrackingConfig objectTrackingConfig or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setObjectTrackingConfig(GoogleCloudDatalabelingV1beta1ObjectTrackingConfig objectTrackingConfig) {
    this.objectTrackingConfig = objectTrackingConfig;
    return this;
  }

  /**
   * Configuration for video classification task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @return value or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1VideoClassificationConfig getVideoClassificationConfig() {
    return videoClassificationConfig;
  }

  /**
   * Configuration for video classification task. One of video_classification_config,
   * object_detection_config, object_tracking_config and event_config is required.
   * @param videoClassificationConfig videoClassificationConfig or {@code null} for none
   */
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest setVideoClassificationConfig(GoogleCloudDatalabelingV1beta1VideoClassificationConfig videoClassificationConfig) {
    this.videoClassificationConfig = videoClassificationConfig;
    return this;
  }

  @Override
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest set(String fieldName, Object value) {
    return (GoogleCloudDatalabelingV1beta1LabelVideoRequest) super.set(fieldName, value);
  }

  @Override
  public GoogleCloudDatalabelingV1beta1LabelVideoRequest clone() {
    return (GoogleCloudDatalabelingV1beta1LabelVideoRequest) super.clone();
  }

}
