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 GoogleCloudDatalabelingV1beta1InputConfig extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $annotationType; 26 protected $bigquerySourceType = GoogleCloudDatalabelingV1beta1BigQuerySource::class; 27 protected $bigquerySourceDataType = ''; 28 protected $classificationMetadataType = GoogleCloudDatalabelingV1beta1ClassificationMetadata::class; 29 protected $classificationMetadataDataType = ''; 30 /** 31 * @var string 32 */ 33 public $dataType; 34 protected $gcsSourceType = GoogleCloudDatalabelingV1beta1GcsSource::class; 35 protected $gcsSourceDataType = ''; 36 protected $textMetadataType = GoogleCloudDatalabelingV1beta1TextMetadata::class; 37 protected $textMetadataDataType = ''; 38 39 /** 40 * @param string 41 */ 42 public function setAnnotationType($annotationType) 43 { 44 $this->annotationType = $annotationType; 45 } 46 /** 47 * @return string 48 */ 49 public function getAnnotationType() 50 { 51 return $this->annotationType; 52 } 53 /** 54 * @param GoogleCloudDatalabelingV1beta1BigQuerySource 55 */ 56 public function setBigquerySource(GoogleCloudDatalabelingV1beta1BigQuerySource $bigquerySource) 57 { 58 $this->bigquerySource = $bigquerySource; 59 } 60 /** 61 * @return GoogleCloudDatalabelingV1beta1BigQuerySource 62 */ 63 public function getBigquerySource() 64 { 65 return $this->bigquerySource; 66 } 67 /** 68 * @param GoogleCloudDatalabelingV1beta1ClassificationMetadata 69 */ 70 public function setClassificationMetadata(GoogleCloudDatalabelingV1beta1ClassificationMetadata $classificationMetadata) 71 { 72 $this->classificationMetadata = $classificationMetadata; 73 } 74 /** 75 * @return GoogleCloudDatalabelingV1beta1ClassificationMetadata 76 */ 77 public function getClassificationMetadata() 78 { 79 return $this->classificationMetadata; 80 } 81 /** 82 * @param string 83 */ 84 public function setDataType($dataType) 85 { 86 $this->dataType = $dataType; 87 } 88 /** 89 * @return string 90 */ 91 public function getDataType() 92 { 93 return $this->dataType; 94 } 95 /** 96 * @param GoogleCloudDatalabelingV1beta1GcsSource 97 */ 98 public function setGcsSource(GoogleCloudDatalabelingV1beta1GcsSource $gcsSource) 99 { 100 $this->gcsSource = $gcsSource; 101 } 102 /** 103 * @return GoogleCloudDatalabelingV1beta1GcsSource 104 */ 105 public function getGcsSource() 106 { 107 return $this->gcsSource; 108 } 109 /** 110 * @param GoogleCloudDatalabelingV1beta1TextMetadata 111 */ 112 public function setTextMetadata(GoogleCloudDatalabelingV1beta1TextMetadata $textMetadata) 113 { 114 $this->textMetadata = $textMetadata; 115 } 116 /** 117 * @return GoogleCloudDatalabelingV1beta1TextMetadata 118 */ 119 public function getTextMetadata() 120 { 121 return $this->textMetadata; 122 } 123} 124 125// Adding a class alias for backwards compatibility with the previous class name. 126class_alias(GoogleCloudDatalabelingV1beta1InputConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1InputConfig'); 127