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 GoogleCloudDatalabelingV1beta1LabelImageRequest extends \Google\Model 21{ 22 protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class; 23 protected $basicConfigDataType = ''; 24 protected $boundingPolyConfigType = GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class; 25 protected $boundingPolyConfigDataType = ''; 26 /** 27 * @var string 28 */ 29 public $feature; 30 protected $imageClassificationConfigType = GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class; 31 protected $imageClassificationConfigDataType = ''; 32 protected $polylineConfigType = GoogleCloudDatalabelingV1beta1PolylineConfig::class; 33 protected $polylineConfigDataType = ''; 34 protected $segmentationConfigType = GoogleCloudDatalabelingV1beta1SegmentationConfig::class; 35 protected $segmentationConfigDataType = ''; 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 GoogleCloudDatalabelingV1beta1BoundingPolyConfig 53 */ 54 public function setBoundingPolyConfig(GoogleCloudDatalabelingV1beta1BoundingPolyConfig $boundingPolyConfig) 55 { 56 $this->boundingPolyConfig = $boundingPolyConfig; 57 } 58 /** 59 * @return GoogleCloudDatalabelingV1beta1BoundingPolyConfig 60 */ 61 public function getBoundingPolyConfig() 62 { 63 return $this->boundingPolyConfig; 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 GoogleCloudDatalabelingV1beta1ImageClassificationConfig 81 */ 82 public function setImageClassificationConfig(GoogleCloudDatalabelingV1beta1ImageClassificationConfig $imageClassificationConfig) 83 { 84 $this->imageClassificationConfig = $imageClassificationConfig; 85 } 86 /** 87 * @return GoogleCloudDatalabelingV1beta1ImageClassificationConfig 88 */ 89 public function getImageClassificationConfig() 90 { 91 return $this->imageClassificationConfig; 92 } 93 /** 94 * @param GoogleCloudDatalabelingV1beta1PolylineConfig 95 */ 96 public function setPolylineConfig(GoogleCloudDatalabelingV1beta1PolylineConfig $polylineConfig) 97 { 98 $this->polylineConfig = $polylineConfig; 99 } 100 /** 101 * @return GoogleCloudDatalabelingV1beta1PolylineConfig 102 */ 103 public function getPolylineConfig() 104 { 105 return $this->polylineConfig; 106 } 107 /** 108 * @param GoogleCloudDatalabelingV1beta1SegmentationConfig 109 */ 110 public function setSegmentationConfig(GoogleCloudDatalabelingV1beta1SegmentationConfig $segmentationConfig) 111 { 112 $this->segmentationConfig = $segmentationConfig; 113 } 114 /** 115 * @return GoogleCloudDatalabelingV1beta1SegmentationConfig 116 */ 117 public function getSegmentationConfig() 118 { 119 return $this->segmentationConfig; 120 } 121} 122 123// Adding a class alias for backwards compatibility with the previous class name. 124class_alias(GoogleCloudDatalabelingV1beta1LabelImageRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageRequest'); 125