1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\DataLabeling;
19
20class GoogleCloudDatalabelingV1beta1LabelVideoRequest extends \Google\Model
21{
22  protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
23  protected $basicConfigDataType = '';
24  protected $eventConfigType = GoogleCloudDatalabelingV1beta1EventConfig::class;
25  protected $eventConfigDataType = '';
26  /**
27   * @var string
28   */
29  public $feature;
30  protected $objectDetectionConfigType = GoogleCloudDatalabelingV1beta1ObjectDetectionConfig::class;
31  protected $objectDetectionConfigDataType = '';
32  protected $objectTrackingConfigType = GoogleCloudDatalabelingV1beta1ObjectTrackingConfig::class;
33  protected $objectTrackingConfigDataType = '';
34  protected $videoClassificationConfigType = GoogleCloudDatalabelingV1beta1VideoClassificationConfig::class;
35  protected $videoClassificationConfigDataType = '';
36
37  /**
38   * @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
39   */
40  public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
41  {
42    $this->basicConfig = $basicConfig;
43  }
44  /**
45   * @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
46   */
47  public function getBasicConfig()
48  {
49    return $this->basicConfig;
50  }
51  /**
52   * @param GoogleCloudDatalabelingV1beta1EventConfig
53   */
54  public function setEventConfig(GoogleCloudDatalabelingV1beta1EventConfig $eventConfig)
55  {
56    $this->eventConfig = $eventConfig;
57  }
58  /**
59   * @return GoogleCloudDatalabelingV1beta1EventConfig
60   */
61  public function getEventConfig()
62  {
63    return $this->eventConfig;
64  }
65  /**
66   * @param string
67   */
68  public function setFeature($feature)
69  {
70    $this->feature = $feature;
71  }
72  /**
73   * @return string
74   */
75  public function getFeature()
76  {
77    return $this->feature;
78  }
79  /**
80   * @param GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
81   */
82  public function setObjectDetectionConfig(GoogleCloudDatalabelingV1beta1ObjectDetectionConfig $objectDetectionConfig)
83  {
84    $this->objectDetectionConfig = $objectDetectionConfig;
85  }
86  /**
87   * @return GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
88   */
89  public function getObjectDetectionConfig()
90  {
91    return $this->objectDetectionConfig;
92  }
93  /**
94   * @param GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
95   */
96  public function setObjectTrackingConfig(GoogleCloudDatalabelingV1beta1ObjectTrackingConfig $objectTrackingConfig)
97  {
98    $this->objectTrackingConfig = $objectTrackingConfig;
99  }
100  /**
101   * @return GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
102   */
103  public function getObjectTrackingConfig()
104  {
105    return $this->objectTrackingConfig;
106  }
107  /**
108   * @param GoogleCloudDatalabelingV1beta1VideoClassificationConfig
109   */
110  public function setVideoClassificationConfig(GoogleCloudDatalabelingV1beta1VideoClassificationConfig $videoClassificationConfig)
111  {
112    $this->videoClassificationConfig = $videoClassificationConfig;
113  }
114  /**
115   * @return GoogleCloudDatalabelingV1beta1VideoClassificationConfig
116   */
117  public function getVideoClassificationConfig()
118  {
119    return $this->videoClassificationConfig;
120  }
121}
122
123// Adding a class alias for backwards compatibility with the previous class name.
124class_alias(GoogleCloudDatalabelingV1beta1LabelVideoRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoRequest');
125