Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $instruction;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setInstruction($instruction)
{
$this->instruction = $instruction;
}
/**
* @return string
*/
public function getInstruction()
{
return $this->instruction;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1CreateInstructionMetadata');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1ExportDataOperationMetadata');

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse extends \Google\Model
{
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $dataset;
/**
* @var int
*/
public $exportCount;
protected $labelStatsType = GoogleCloudDatalabelingV1alpha1LabelStats::class;
protected $labelStatsDataType = '';
protected $outputConfigType = GoogleCloudDatalabelingV1alpha1OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @var int
*/
public $totalCount;
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param int
*/
public function setExportCount($exportCount)
{
$this->exportCount = $exportCount;
}
/**
* @return int
*/
public function getExportCount()
{
return $this->exportCount;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelStats
*/
public function setLabelStats(GoogleCloudDatalabelingV1alpha1LabelStats $labelStats)
{
$this->labelStats = $labelStats;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelStats
*/
public function getLabelStats()
{
return $this->labelStats;
}
/**
* @param GoogleCloudDatalabelingV1alpha1OutputConfig
*/
public function setOutputConfig(GoogleCloudDatalabelingV1alpha1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
/**
* @param int
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return int
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1GcsDestination extends \Google\Model
{
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $outputUri;
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1GcsDestination::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1GcsDestination');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1GcsFolderDestination extends \Google\Model
{
/**
* @var string
*/
public $outputFolderUri;
/**
* @param string
*/
public function setOutputFolderUri($outputFolderUri)
{
$this->outputFolderUri = $outputFolderUri;
}
/**
* @return string
*/
public function getOutputFolderUri()
{
return $this->outputFolderUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1GcsFolderDestination::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1GcsFolderDestination');

View File

@@ -0,0 +1,189 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig extends \Google\Collection
{
protected $collection_key = 'contributorEmails';
/**
* @var string
*/
public $annotatedDatasetDescription;
/**
* @var string
*/
public $annotatedDatasetDisplayName;
/**
* @var string[]
*/
public $contributorEmails;
/**
* @var string
*/
public $instruction;
/**
* @var string
*/
public $labelGroup;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $questionDuration;
/**
* @var int
*/
public $replicaCount;
/**
* @var string
*/
public $userEmailAddress;
/**
* @param string
*/
public function setAnnotatedDatasetDescription($annotatedDatasetDescription)
{
$this->annotatedDatasetDescription = $annotatedDatasetDescription;
}
/**
* @return string
*/
public function getAnnotatedDatasetDescription()
{
return $this->annotatedDatasetDescription;
}
/**
* @param string
*/
public function setAnnotatedDatasetDisplayName($annotatedDatasetDisplayName)
{
$this->annotatedDatasetDisplayName = $annotatedDatasetDisplayName;
}
/**
* @return string
*/
public function getAnnotatedDatasetDisplayName()
{
return $this->annotatedDatasetDisplayName;
}
/**
* @param string[]
*/
public function setContributorEmails($contributorEmails)
{
$this->contributorEmails = $contributorEmails;
}
/**
* @return string[]
*/
public function getContributorEmails()
{
return $this->contributorEmails;
}
/**
* @param string
*/
public function setInstruction($instruction)
{
$this->instruction = $instruction;
}
/**
* @return string
*/
public function getInstruction()
{
return $this->instruction;
}
/**
* @param string
*/
public function setLabelGroup($labelGroup)
{
$this->labelGroup = $labelGroup;
}
/**
* @return string
*/
public function getLabelGroup()
{
return $this->labelGroup;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setQuestionDuration($questionDuration)
{
$this->questionDuration = $questionDuration;
}
/**
* @return string
*/
public function getQuestionDuration()
{
return $this->questionDuration;
}
/**
* @param int
*/
public function setReplicaCount($replicaCount)
{
$this->replicaCount = $replicaCount;
}
/**
* @return int
*/
public function getReplicaCount()
{
return $this->replicaCount;
}
/**
* @param string
*/
public function setUserEmailAddress($userEmailAddress)
{
$this->userEmailAddress = $userEmailAddress;
}
/**
* @return string
*/
public function getUserEmailAddress()
{
return $this->userEmailAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse extends \Google\Model
{
/**
* @var string
*/
public $dataset;
/**
* @var int
*/
public $importCount;
/**
* @var int
*/
public $totalCount;
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param int
*/
public function setImportCount($importCount)
{
$this->importCount = $importCount;
}
/**
* @return int
*/
public function getImportCount()
{
return $this->importCount;
}
/**
* @param int
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return int
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1ImportDataOperationResponse');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata');

View File

@@ -0,0 +1,307 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $imageBoundingBoxDetailsType = GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata::class;
protected $imageBoundingBoxDetailsDataType = '';
protected $imageBoundingPolyDetailsType = GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata::class;
protected $imageBoundingPolyDetailsDataType = '';
protected $imageClassificationDetailsType = GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata::class;
protected $imageClassificationDetailsDataType = '';
protected $imageOrientedBoundingBoxDetailsType = GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata::class;
protected $imageOrientedBoundingBoxDetailsDataType = '';
protected $imagePolylineDetailsType = GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata::class;
protected $imagePolylineDetailsDataType = '';
protected $imageSegmentationDetailsType = GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata::class;
protected $imageSegmentationDetailsDataType = '';
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @var int
*/
public $progressPercent;
protected $textClassificationDetailsType = GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata::class;
protected $textClassificationDetailsDataType = '';
protected $textEntityExtractionDetailsType = GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata::class;
protected $textEntityExtractionDetailsDataType = '';
protected $videoClassificationDetailsType = GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata::class;
protected $videoClassificationDetailsDataType = '';
protected $videoEventDetailsType = GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata::class;
protected $videoEventDetailsDataType = '';
protected $videoObjectDetectionDetailsType = GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata::class;
protected $videoObjectDetectionDetailsDataType = '';
protected $videoObjectTrackingDetailsType = GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata::class;
protected $videoObjectTrackingDetailsDataType = '';
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata
*/
public function setImageBoundingBoxDetails(GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata $imageBoundingBoxDetails)
{
$this->imageBoundingBoxDetails = $imageBoundingBoxDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImageBoundingBoxOperationMetadata
*/
public function getImageBoundingBoxDetails()
{
return $this->imageBoundingBoxDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata
*/
public function setImageBoundingPolyDetails(GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata $imageBoundingPolyDetails)
{
$this->imageBoundingPolyDetails = $imageBoundingPolyDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImageBoundingPolyOperationMetadata
*/
public function getImageBoundingPolyDetails()
{
return $this->imageBoundingPolyDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata
*/
public function setImageClassificationDetails(GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata $imageClassificationDetails)
{
$this->imageClassificationDetails = $imageClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImageClassificationOperationMetadata
*/
public function getImageClassificationDetails()
{
return $this->imageClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata
*/
public function setImageOrientedBoundingBoxDetails(GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata $imageOrientedBoundingBoxDetails)
{
$this->imageOrientedBoundingBoxDetails = $imageOrientedBoundingBoxDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImageOrientedBoundingBoxOperationMetadata
*/
public function getImageOrientedBoundingBoxDetails()
{
return $this->imageOrientedBoundingBoxDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata
*/
public function setImagePolylineDetails(GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata $imagePolylineDetails)
{
$this->imagePolylineDetails = $imagePolylineDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImagePolylineOperationMetadata
*/
public function getImagePolylineDetails()
{
return $this->imagePolylineDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata
*/
public function setImageSegmentationDetails(GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata $imageSegmentationDetails)
{
$this->imageSegmentationDetails = $imageSegmentationDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelImageSegmentationOperationMetadata
*/
public function getImageSegmentationDetails()
{
return $this->imageSegmentationDetails;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata
*/
public function setTextClassificationDetails(GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata $textClassificationDetails)
{
$this->textClassificationDetails = $textClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata
*/
public function getTextClassificationDetails()
{
return $this->textClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata
*/
public function setTextEntityExtractionDetails(GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata $textEntityExtractionDetails)
{
$this->textEntityExtractionDetails = $textEntityExtractionDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata
*/
public function getTextEntityExtractionDetails()
{
return $this->textEntityExtractionDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata
*/
public function setVideoClassificationDetails(GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata $videoClassificationDetails)
{
$this->videoClassificationDetails = $videoClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata
*/
public function getVideoClassificationDetails()
{
return $this->videoClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata
*/
public function setVideoEventDetails(GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata $videoEventDetails)
{
$this->videoEventDetails = $videoEventDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata
*/
public function getVideoEventDetails()
{
return $this->videoEventDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata
*/
public function setVideoObjectDetectionDetails(GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata $videoObjectDetectionDetails)
{
$this->videoObjectDetectionDetails = $videoObjectDetectionDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata
*/
public function getVideoObjectDetectionDetails()
{
return $this->videoObjectDetectionDetails;
}
/**
* @param GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata
*/
public function setVideoObjectTrackingDetails(GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata $videoObjectTrackingDetails)
{
$this->videoObjectTrackingDetails = $videoObjectTrackingDetails;
}
/**
* @return GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata
*/
public function getVideoObjectTrackingDetails()
{
return $this->videoObjectTrackingDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelOperationMetadata');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelStats extends \Google\Model
{
/**
* @var string[]
*/
public $exampleCount;
/**
* @param string[]
*/
public function setExampleCount($exampleCount)
{
$this->exampleCount = $exampleCount;
}
/**
* @return string[]
*/
public function getExampleCount()
{
return $this->exampleCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelStats::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelStats');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelTextClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelTextEntityExtractionOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelVideoClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelVideoEventOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelVideoObjectDetectionOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1alpha1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1LabelVideoObjectTrackingOperationMetadata');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1alpha1OutputConfig extends \Google\Model
{
protected $gcsDestinationType = GoogleCloudDatalabelingV1alpha1GcsDestination::class;
protected $gcsDestinationDataType = '';
protected $gcsFolderDestinationType = GoogleCloudDatalabelingV1alpha1GcsFolderDestination::class;
protected $gcsFolderDestinationDataType = '';
/**
* @param GoogleCloudDatalabelingV1alpha1GcsDestination
*/
public function setGcsDestination(GoogleCloudDatalabelingV1alpha1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return GoogleCloudDatalabelingV1alpha1GcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
/**
* @param GoogleCloudDatalabelingV1alpha1GcsFolderDestination
*/
public function setGcsFolderDestination(GoogleCloudDatalabelingV1alpha1GcsFolderDestination $gcsFolderDestination)
{
$this->gcsFolderDestination = $gcsFolderDestination;
}
/**
* @return GoogleCloudDatalabelingV1alpha1GcsFolderDestination
*/
public function getGcsFolderDestination()
{
return $this->gcsFolderDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1alpha1OutputConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1alpha1OutputConfig');

View File

@@ -0,0 +1,221 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotatedDataset extends \Google\Collection
{
protected $collection_key = 'blockingResources';
/**
* @var string
*/
public $annotationSource;
/**
* @var string
*/
public $annotationType;
/**
* @var string[]
*/
public $blockingResources;
/**
* @var string
*/
public $completedExampleCount;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $exampleCount;
protected $labelStatsType = GoogleCloudDatalabelingV1beta1LabelStats::class;
protected $labelStatsDataType = '';
protected $metadataType = GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata::class;
protected $metadataDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAnnotationSource($annotationSource)
{
$this->annotationSource = $annotationSource;
}
/**
* @return string
*/
public function getAnnotationSource()
{
return $this->annotationSource;
}
/**
* @param string
*/
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
/**
* @return string
*/
public function getAnnotationType()
{
return $this->annotationType;
}
/**
* @param string[]
*/
public function setBlockingResources($blockingResources)
{
$this->blockingResources = $blockingResources;
}
/**
* @return string[]
*/
public function getBlockingResources()
{
return $this->blockingResources;
}
/**
* @param string
*/
public function setCompletedExampleCount($completedExampleCount)
{
$this->completedExampleCount = $completedExampleCount;
}
/**
* @return string
*/
public function getCompletedExampleCount()
{
return $this->completedExampleCount;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setExampleCount($exampleCount)
{
$this->exampleCount = $exampleCount;
}
/**
* @return string
*/
public function getExampleCount()
{
return $this->exampleCount;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelStats
*/
public function setLabelStats(GoogleCloudDatalabelingV1beta1LabelStats $labelStats)
{
$this->labelStats = $labelStats;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelStats
*/
public function getLabelStats()
{
return $this->labelStats;
}
/**
* @param GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
*/
public function setMetadata(GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotatedDataset::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotatedDataset');

View File

@@ -0,0 +1,202 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata extends \Google\Model
{
protected $boundingPolyConfigType = GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class;
protected $boundingPolyConfigDataType = '';
protected $eventConfigType = GoogleCloudDatalabelingV1beta1EventConfig::class;
protected $eventConfigDataType = '';
protected $humanAnnotationConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $humanAnnotationConfigDataType = '';
protected $imageClassificationConfigType = GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class;
protected $imageClassificationConfigDataType = '';
protected $objectDetectionConfigType = GoogleCloudDatalabelingV1beta1ObjectDetectionConfig::class;
protected $objectDetectionConfigDataType = '';
protected $objectTrackingConfigType = GoogleCloudDatalabelingV1beta1ObjectTrackingConfig::class;
protected $objectTrackingConfigDataType = '';
protected $polylineConfigType = GoogleCloudDatalabelingV1beta1PolylineConfig::class;
protected $polylineConfigDataType = '';
protected $segmentationConfigType = GoogleCloudDatalabelingV1beta1SegmentationConfig::class;
protected $segmentationConfigDataType = '';
protected $textClassificationConfigType = GoogleCloudDatalabelingV1beta1TextClassificationConfig::class;
protected $textClassificationConfigDataType = '';
protected $textEntityExtractionConfigType = GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig::class;
protected $textEntityExtractionConfigDataType = '';
protected $videoClassificationConfigType = GoogleCloudDatalabelingV1beta1VideoClassificationConfig::class;
protected $videoClassificationConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function setBoundingPolyConfig(GoogleCloudDatalabelingV1beta1BoundingPolyConfig $boundingPolyConfig)
{
$this->boundingPolyConfig = $boundingPolyConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function getBoundingPolyConfig()
{
return $this->boundingPolyConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1EventConfig
*/
public function setEventConfig(GoogleCloudDatalabelingV1beta1EventConfig $eventConfig)
{
$this->eventConfig = $eventConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1EventConfig
*/
public function getEventConfig()
{
return $this->eventConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setHumanAnnotationConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $humanAnnotationConfig)
{
$this->humanAnnotationConfig = $humanAnnotationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getHumanAnnotationConfig()
{
return $this->humanAnnotationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function setImageClassificationConfig(GoogleCloudDatalabelingV1beta1ImageClassificationConfig $imageClassificationConfig)
{
$this->imageClassificationConfig = $imageClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function getImageClassificationConfig()
{
return $this->imageClassificationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
*/
public function setObjectDetectionConfig(GoogleCloudDatalabelingV1beta1ObjectDetectionConfig $objectDetectionConfig)
{
$this->objectDetectionConfig = $objectDetectionConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
*/
public function getObjectDetectionConfig()
{
return $this->objectDetectionConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
*/
public function setObjectTrackingConfig(GoogleCloudDatalabelingV1beta1ObjectTrackingConfig $objectTrackingConfig)
{
$this->objectTrackingConfig = $objectTrackingConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
*/
public function getObjectTrackingConfig()
{
return $this->objectTrackingConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1PolylineConfig
*/
public function setPolylineConfig(GoogleCloudDatalabelingV1beta1PolylineConfig $polylineConfig)
{
$this->polylineConfig = $polylineConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1PolylineConfig
*/
public function getPolylineConfig()
{
return $this->polylineConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1SegmentationConfig
*/
public function setSegmentationConfig(GoogleCloudDatalabelingV1beta1SegmentationConfig $segmentationConfig)
{
$this->segmentationConfig = $segmentationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1SegmentationConfig
*/
public function getSegmentationConfig()
{
return $this->segmentationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function setTextClassificationConfig(GoogleCloudDatalabelingV1beta1TextClassificationConfig $textClassificationConfig)
{
$this->textClassificationConfig = $textClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function getTextClassificationConfig()
{
return $this->textClassificationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
*/
public function setTextEntityExtractionConfig(GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig $textEntityExtractionConfig)
{
$this->textEntityExtractionConfig = $textEntityExtractionConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
*/
public function getTextEntityExtractionConfig()
{
return $this->textEntityExtractionConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoClassificationConfig
*/
public function setVideoClassificationConfig(GoogleCloudDatalabelingV1beta1VideoClassificationConfig $videoClassificationConfig)
{
$this->videoClassificationConfig = $videoClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoClassificationConfig
*/
public function getVideoClassificationConfig()
{
return $this->videoClassificationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata');

View File

@@ -0,0 +1,112 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Annotation extends \Google\Model
{
protected $annotationMetadataType = GoogleCloudDatalabelingV1beta1AnnotationMetadata::class;
protected $annotationMetadataDataType = '';
/**
* @var string
*/
public $annotationSentiment;
/**
* @var string
*/
public $annotationSource;
protected $annotationValueType = GoogleCloudDatalabelingV1beta1AnnotationValue::class;
protected $annotationValueDataType = '';
/**
* @var string
*/
public $name;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationMetadata
*/
public function setAnnotationMetadata(GoogleCloudDatalabelingV1beta1AnnotationMetadata $annotationMetadata)
{
$this->annotationMetadata = $annotationMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationMetadata
*/
public function getAnnotationMetadata()
{
return $this->annotationMetadata;
}
/**
* @param string
*/
public function setAnnotationSentiment($annotationSentiment)
{
$this->annotationSentiment = $annotationSentiment;
}
/**
* @return string
*/
public function getAnnotationSentiment()
{
return $this->annotationSentiment;
}
/**
* @param string
*/
public function setAnnotationSource($annotationSource)
{
$this->annotationSource = $annotationSource;
}
/**
* @return string
*/
public function getAnnotationSource()
{
return $this->annotationSource;
}
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationValue
*/
public function setAnnotationValue(GoogleCloudDatalabelingV1beta1AnnotationValue $annotationValue)
{
$this->annotationValue = $annotationValue;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationValue
*/
public function getAnnotationValue()
{
return $this->annotationValue;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Annotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Annotation');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotationMetadata extends \Google\Model
{
protected $operatorMetadataType = GoogleCloudDatalabelingV1beta1OperatorMetadata::class;
protected $operatorMetadataDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1OperatorMetadata
*/
public function setOperatorMetadata(GoogleCloudDatalabelingV1beta1OperatorMetadata $operatorMetadata)
{
$this->operatorMetadata = $operatorMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1OperatorMetadata
*/
public function getOperatorMetadata()
{
return $this->operatorMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationMetadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotationSpec extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var int
*/
public $index;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param int
*/
public function setIndex($index)
{
$this->index = $index;
}
/**
* @return int
*/
public function getIndex()
{
return $this->index;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotationSpec::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationSpec');

View File

@@ -0,0 +1,115 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotationSpecSet extends \Google\Collection
{
protected $collection_key = 'blockingResources';
protected $annotationSpecsType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationSpecsDataType = 'array';
/**
* @var string[]
*/
public $blockingResources;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec[]
*/
public function setAnnotationSpecs($annotationSpecs)
{
$this->annotationSpecs = $annotationSpecs;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec[]
*/
public function getAnnotationSpecs()
{
return $this->annotationSpecs;
}
/**
* @param string[]
*/
public function setBlockingResources($blockingResources)
{
$this->blockingResources = $blockingResources;
}
/**
* @return string[]
*/
public function getBlockingResources()
{
return $this->blockingResources;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotationSpecSet::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationSpecSet');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig extends \Google\Model
{
/**
* @var bool
*/
public $allowMultiLabel;
/**
* @var string
*/
public $annotationSpecSet;
/**
* @param bool
*/
public function setAllowMultiLabel($allowMultiLabel)
{
$this->allowMultiLabel = $allowMultiLabel;
}
/**
* @return bool
*/
public function getAllowMultiLabel()
{
return $this->allowMultiLabel;
}
/**
* @param string
*/
public function setAnnotationSpecSet($annotationSpecSet)
{
$this->annotationSpecSet = $annotationSpecSet;
}
/**
* @return string
*/
public function getAnnotationSpecSet()
{
return $this->annotationSpecSet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationSpecSetConfig');

View File

@@ -0,0 +1,170 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1AnnotationValue extends \Google\Model
{
protected $imageBoundingPolyAnnotationType = GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation::class;
protected $imageBoundingPolyAnnotationDataType = '';
protected $imageClassificationAnnotationType = GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation::class;
protected $imageClassificationAnnotationDataType = '';
protected $imagePolylineAnnotationType = GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation::class;
protected $imagePolylineAnnotationDataType = '';
protected $imageSegmentationAnnotationType = GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation::class;
protected $imageSegmentationAnnotationDataType = '';
protected $textClassificationAnnotationType = GoogleCloudDatalabelingV1beta1TextClassificationAnnotation::class;
protected $textClassificationAnnotationDataType = '';
protected $textEntityExtractionAnnotationType = GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation::class;
protected $textEntityExtractionAnnotationDataType = '';
protected $videoClassificationAnnotationType = GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation::class;
protected $videoClassificationAnnotationDataType = '';
protected $videoEventAnnotationType = GoogleCloudDatalabelingV1beta1VideoEventAnnotation::class;
protected $videoEventAnnotationDataType = '';
protected $videoObjectTrackingAnnotationType = GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation::class;
protected $videoObjectTrackingAnnotationDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
*/
public function setImageBoundingPolyAnnotation(GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation $imageBoundingPolyAnnotation)
{
$this->imageBoundingPolyAnnotation = $imageBoundingPolyAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation
*/
public function getImageBoundingPolyAnnotation()
{
return $this->imageBoundingPolyAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
*/
public function setImageClassificationAnnotation(GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation $imageClassificationAnnotation)
{
$this->imageClassificationAnnotation = $imageClassificationAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation
*/
public function getImageClassificationAnnotation()
{
return $this->imageClassificationAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
*/
public function setImagePolylineAnnotation(GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation $imagePolylineAnnotation)
{
$this->imagePolylineAnnotation = $imagePolylineAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation
*/
public function getImagePolylineAnnotation()
{
return $this->imagePolylineAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
*/
public function setImageSegmentationAnnotation(GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation $imageSegmentationAnnotation)
{
$this->imageSegmentationAnnotation = $imageSegmentationAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation
*/
public function getImageSegmentationAnnotation()
{
return $this->imageSegmentationAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
*/
public function setTextClassificationAnnotation(GoogleCloudDatalabelingV1beta1TextClassificationAnnotation $textClassificationAnnotation)
{
$this->textClassificationAnnotation = $textClassificationAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextClassificationAnnotation
*/
public function getTextClassificationAnnotation()
{
return $this->textClassificationAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
*/
public function setTextEntityExtractionAnnotation(GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation $textEntityExtractionAnnotation)
{
$this->textEntityExtractionAnnotation = $textEntityExtractionAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation
*/
public function getTextEntityExtractionAnnotation()
{
return $this->textEntityExtractionAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
*/
public function setVideoClassificationAnnotation(GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation $videoClassificationAnnotation)
{
$this->videoClassificationAnnotation = $videoClassificationAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation
*/
public function getVideoClassificationAnnotation()
{
return $this->videoClassificationAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoEventAnnotation
*/
public function setVideoEventAnnotation(GoogleCloudDatalabelingV1beta1VideoEventAnnotation $videoEventAnnotation)
{
$this->videoEventAnnotation = $videoEventAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoEventAnnotation
*/
public function getVideoEventAnnotation()
{
return $this->videoEventAnnotation;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
*/
public function setVideoObjectTrackingAnnotation(GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation $videoObjectTrackingAnnotation)
{
$this->videoObjectTrackingAnnotation = $videoObjectTrackingAnnotation;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation
*/
public function getVideoObjectTrackingAnnotation()
{
return $this->videoObjectTrackingAnnotation;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1AnnotationValue::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1AnnotationValue');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Attempt extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $attemptTime;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setAttemptTime($attemptTime)
{
$this->attemptTime = $attemptTime;
}
/**
* @return string
*/
public function getAttemptTime()
{
return $this->attemptTime;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Attempt::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Attempt');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1BigQuerySource extends \Google\Model
{
/**
* @var string
*/
public $inputUri;
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1BigQuerySource::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1BigQuerySource');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions extends \Google\Model
{
/**
* @var float
*/
public $iouThreshold;
/**
* @param float
*/
public function setIouThreshold($iouThreshold)
{
$this->iouThreshold = $iouThreshold;
}
/**
* @return float
*/
public function getIouThreshold()
{
return $this->iouThreshold;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1BoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $verticesType = GoogleCloudDatalabelingV1beta1Vertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudDatalabelingV1beta1Vertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudDatalabelingV1beta1Vertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1BoundingPoly::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1BoundingPoly');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1BoundingPolyConfig extends \Google\Model
{
/**
* @var string
*/
public $annotationSpecSet;
/**
* @var string
*/
public $instructionMessage;
/**
* @param string
*/
public function setAnnotationSpecSet($annotationSpecSet)
{
$this->annotationSpecSet = $annotationSpecSet;
}
/**
* @return string
*/
public function getAnnotationSpecSet()
{
return $this->annotationSpecSet;
}
/**
* @param string
*/
public function setInstructionMessage($instructionMessage)
{
$this->instructionMessage = $instructionMessage;
}
/**
* @return string
*/
public function getInstructionMessage()
{
return $this->instructionMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1BoundingPolyConfig');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ClassificationMetadata extends \Google\Model
{
/**
* @var bool
*/
public $isMultiLabel;
/**
* @param bool
*/
public function setIsMultiLabel($isMultiLabel)
{
$this->isMultiLabel = $isMultiLabel;
}
/**
* @return bool
*/
public function getIsMultiLabel()
{
return $this->isMultiLabel;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ClassificationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ClassificationMetadata');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ClassificationMetrics extends \Google\Model
{
protected $confusionMatrixType = GoogleCloudDatalabelingV1beta1ConfusionMatrix::class;
protected $confusionMatrixDataType = '';
protected $prCurveType = GoogleCloudDatalabelingV1beta1PrCurve::class;
protected $prCurveDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1ConfusionMatrix
*/
public function setConfusionMatrix(GoogleCloudDatalabelingV1beta1ConfusionMatrix $confusionMatrix)
{
$this->confusionMatrix = $confusionMatrix;
}
/**
* @return GoogleCloudDatalabelingV1beta1ConfusionMatrix
*/
public function getConfusionMatrix()
{
return $this->confusionMatrix;
}
/**
* @param GoogleCloudDatalabelingV1beta1PrCurve
*/
public function setPrCurve(GoogleCloudDatalabelingV1beta1PrCurve $prCurve)
{
$this->prCurve = $prCurve;
}
/**
* @return GoogleCloudDatalabelingV1beta1PrCurve
*/
public function getPrCurve()
{
return $this->prCurve;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ClassificationMetrics::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ClassificationMetrics');

View File

@@ -0,0 +1,206 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry extends \Google\Model
{
/**
* @var float
*/
public $confidenceThreshold;
/**
* @var float
*/
public $f1Score;
/**
* @var float
*/
public $f1ScoreAt1;
/**
* @var float
*/
public $f1ScoreAt5;
/**
* @var float
*/
public $precision;
/**
* @var float
*/
public $precisionAt1;
/**
* @var float
*/
public $precisionAt5;
/**
* @var float
*/
public $recall;
/**
* @var float
*/
public $recallAt1;
/**
* @var float
*/
public $recallAt5;
/**
* @param float
*/
public function setConfidenceThreshold($confidenceThreshold)
{
$this->confidenceThreshold = $confidenceThreshold;
}
/**
* @return float
*/
public function getConfidenceThreshold()
{
return $this->confidenceThreshold;
}
/**
* @param float
*/
public function setF1Score($f1Score)
{
$this->f1Score = $f1Score;
}
/**
* @return float
*/
public function getF1Score()
{
return $this->f1Score;
}
/**
* @param float
*/
public function setF1ScoreAt1($f1ScoreAt1)
{
$this->f1ScoreAt1 = $f1ScoreAt1;
}
/**
* @return float
*/
public function getF1ScoreAt1()
{
return $this->f1ScoreAt1;
}
/**
* @param float
*/
public function setF1ScoreAt5($f1ScoreAt5)
{
$this->f1ScoreAt5 = $f1ScoreAt5;
}
/**
* @return float
*/
public function getF1ScoreAt5()
{
return $this->f1ScoreAt5;
}
/**
* @param float
*/
public function setPrecision($precision)
{
$this->precision = $precision;
}
/**
* @return float
*/
public function getPrecision()
{
return $this->precision;
}
/**
* @param float
*/
public function setPrecisionAt1($precisionAt1)
{
$this->precisionAt1 = $precisionAt1;
}
/**
* @return float
*/
public function getPrecisionAt1()
{
return $this->precisionAt1;
}
/**
* @param float
*/
public function setPrecisionAt5($precisionAt5)
{
$this->precisionAt5 = $precisionAt5;
}
/**
* @return float
*/
public function getPrecisionAt5()
{
return $this->precisionAt5;
}
/**
* @param float
*/
public function setRecall($recall)
{
$this->recall = $recall;
}
/**
* @return float
*/
public function getRecall()
{
return $this->recall;
}
/**
* @param float
*/
public function setRecallAt1($recallAt1)
{
$this->recallAt1 = $recallAt1;
}
/**
* @return float
*/
public function getRecallAt1()
{
return $this->recallAt1;
}
/**
* @param float
*/
public function setRecallAt5($recallAt5)
{
$this->recallAt5 = $recallAt5;
}
/**
* @return float
*/
public function getRecallAt5()
{
return $this->recallAt5;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry');

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ConfusionMatrix extends \Google\Collection
{
protected $collection_key = 'row';
protected $rowType = GoogleCloudDatalabelingV1beta1Row::class;
protected $rowDataType = 'array';
/**
* @param GoogleCloudDatalabelingV1beta1Row[]
*/
public function setRow($row)
{
$this->row = $row;
}
/**
* @return GoogleCloudDatalabelingV1beta1Row[]
*/
public function getRow()
{
return $this->row;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ConfusionMatrix::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ConfusionMatrix');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry extends \Google\Model
{
protected $annotationSpecType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationSpecDataType = '';
/**
* @var int
*/
public $itemCount;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function setAnnotationSpec(GoogleCloudDatalabelingV1beta1AnnotationSpec $annotationSpec)
{
$this->annotationSpec = $annotationSpec;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function getAnnotationSpec()
{
return $this->annotationSpec;
}
/**
* @param int
*/
public function setItemCount($itemCount)
{
$this->itemCount = $itemCount;
}
/**
* @return int
*/
public function getItemCount()
{
return $this->itemCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ConfusionMatrixEntry');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest extends \Google\Model
{
protected $annotationSpecSetType = GoogleCloudDatalabelingV1beta1AnnotationSpecSet::class;
protected $annotationSpecSetDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpecSet
*/
public function setAnnotationSpecSet(GoogleCloudDatalabelingV1beta1AnnotationSpecSet $annotationSpecSet)
{
$this->annotationSpecSet = $annotationSpecSet;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpecSet
*/
public function getAnnotationSpecSet()
{
return $this->annotationSpecSet;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CreateAnnotationSpecSetRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CreateDatasetRequest extends \Google\Model
{
protected $datasetType = GoogleCloudDatalabelingV1beta1Dataset::class;
protected $datasetDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1Dataset
*/
public function setDataset(GoogleCloudDatalabelingV1beta1Dataset $dataset)
{
$this->dataset = $dataset;
}
/**
* @return GoogleCloudDatalabelingV1beta1Dataset
*/
public function getDataset()
{
return $this->dataset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CreateDatasetRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CreateDatasetRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest extends \Google\Model
{
protected $jobType = GoogleCloudDatalabelingV1beta1EvaluationJob::class;
protected $jobDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationJob
*/
public function setJob(GoogleCloudDatalabelingV1beta1EvaluationJob $job)
{
$this->job = $job;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationJob
*/
public function getJob()
{
return $this->job;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CreateEvaluationJobRequest');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CreateInstructionMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $instruction;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setInstruction($instruction)
{
$this->instruction = $instruction;
}
/**
* @return string
*/
public function getInstruction()
{
return $this->instruction;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CreateInstructionMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CreateInstructionMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CreateInstructionRequest extends \Google\Model
{
protected $instructionType = GoogleCloudDatalabelingV1beta1Instruction::class;
protected $instructionDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1Instruction
*/
public function setInstruction(GoogleCloudDatalabelingV1beta1Instruction $instruction)
{
$this->instruction = $instruction;
}
/**
* @return GoogleCloudDatalabelingV1beta1Instruction
*/
public function getInstruction()
{
return $this->instruction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CreateInstructionRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CreateInstructionRequest');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1CsvInstruction extends \Google\Model
{
/**
* @var string
*/
public $gcsFileUri;
/**
* @param string
*/
public function setGcsFileUri($gcsFileUri)
{
$this->gcsFileUri = $gcsFileUri;
}
/**
* @return string
*/
public function getGcsFileUri()
{
return $this->gcsFileUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1CsvInstruction::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1CsvInstruction');

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1DataItem extends \Google\Model
{
protected $imagePayloadType = GoogleCloudDatalabelingV1beta1ImagePayload::class;
protected $imagePayloadDataType = '';
/**
* @var string
*/
public $name;
protected $textPayloadType = GoogleCloudDatalabelingV1beta1TextPayload::class;
protected $textPayloadDataType = '';
protected $videoPayloadType = GoogleCloudDatalabelingV1beta1VideoPayload::class;
protected $videoPayloadDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1ImagePayload
*/
public function setImagePayload(GoogleCloudDatalabelingV1beta1ImagePayload $imagePayload)
{
$this->imagePayload = $imagePayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImagePayload
*/
public function getImagePayload()
{
return $this->imagePayload;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextPayload
*/
public function setTextPayload(GoogleCloudDatalabelingV1beta1TextPayload $textPayload)
{
$this->textPayload = $textPayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextPayload
*/
public function getTextPayload()
{
return $this->textPayload;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoPayload
*/
public function setVideoPayload(GoogleCloudDatalabelingV1beta1VideoPayload $videoPayload)
{
$this->videoPayload = $videoPayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoPayload
*/
public function getVideoPayload()
{
return $this->videoPayload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1DataItem::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1DataItem');

View File

@@ -0,0 +1,169 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Dataset extends \Google\Collection
{
protected $collection_key = 'inputConfigs';
/**
* @var string[]
*/
public $blockingResources;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataItemCount;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
protected $inputConfigsType = GoogleCloudDatalabelingV1beta1InputConfig::class;
protected $inputConfigsDataType = 'array';
/**
* @var string
*/
public $lastMigrateTime;
/**
* @var string
*/
public $name;
/**
* @param string[]
*/
public function setBlockingResources($blockingResources)
{
$this->blockingResources = $blockingResources;
}
/**
* @return string[]
*/
public function getBlockingResources()
{
return $this->blockingResources;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataItemCount($dataItemCount)
{
$this->dataItemCount = $dataItemCount;
}
/**
* @return string
*/
public function getDataItemCount()
{
return $this->dataItemCount;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudDatalabelingV1beta1InputConfig[]
*/
public function setInputConfigs($inputConfigs)
{
$this->inputConfigs = $inputConfigs;
}
/**
* @return GoogleCloudDatalabelingV1beta1InputConfig[]
*/
public function getInputConfigs()
{
return $this->inputConfigs;
}
/**
* @param string
*/
public function setLastMigrateTime($lastMigrateTime)
{
$this->lastMigrateTime = $lastMigrateTime;
}
/**
* @return string
*/
public function getLastMigrateTime()
{
return $this->lastMigrateTime;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Dataset::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Dataset');

View File

@@ -0,0 +1,148 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Evaluation extends \Google\Model
{
/**
* @var string
*/
public $annotationType;
protected $configType = GoogleCloudDatalabelingV1beta1EvaluationConfig::class;
protected $configDataType = '';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $evaluatedItemCount;
/**
* @var string
*/
public $evaluationJobRunTime;
protected $evaluationMetricsType = GoogleCloudDatalabelingV1beta1EvaluationMetrics::class;
protected $evaluationMetricsDataType = '';
/**
* @var string
*/
public $name;
/**
* @param string
*/
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
/**
* @return string
*/
public function getAnnotationType()
{
return $this->annotationType;
}
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationConfig
*/
public function setConfig(GoogleCloudDatalabelingV1beta1EvaluationConfig $config)
{
$this->config = $config;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationConfig
*/
public function getConfig()
{
return $this->config;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setEvaluatedItemCount($evaluatedItemCount)
{
$this->evaluatedItemCount = $evaluatedItemCount;
}
/**
* @return string
*/
public function getEvaluatedItemCount()
{
return $this->evaluatedItemCount;
}
/**
* @param string
*/
public function setEvaluationJobRunTime($evaluationJobRunTime)
{
$this->evaluationJobRunTime = $evaluationJobRunTime;
}
/**
* @return string
*/
public function getEvaluationJobRunTime()
{
return $this->evaluationJobRunTime;
}
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationMetrics
*/
public function setEvaluationMetrics(GoogleCloudDatalabelingV1beta1EvaluationMetrics $evaluationMetrics)
{
$this->evaluationMetrics = $evaluationMetrics;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationMetrics
*/
public function getEvaluationMetrics()
{
return $this->evaluationMetrics;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Evaluation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Evaluation');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EvaluationConfig extends \Google\Model
{
protected $boundingBoxEvaluationOptionsType = GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions::class;
protected $boundingBoxEvaluationOptionsDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
*/
public function setBoundingBoxEvaluationOptions(GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions $boundingBoxEvaluationOptions)
{
$this->boundingBoxEvaluationOptions = $boundingBoxEvaluationOptions;
}
/**
* @return GoogleCloudDatalabelingV1beta1BoundingBoxEvaluationOptions
*/
public function getBoundingBoxEvaluationOptions()
{
return $this->boundingBoxEvaluationOptions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EvaluationConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationConfig');

View File

@@ -0,0 +1,203 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EvaluationJob extends \Google\Collection
{
protected $collection_key = 'attempts';
/**
* @var string
*/
public $annotationSpecSet;
protected $attemptsType = GoogleCloudDatalabelingV1beta1Attempt::class;
protected $attemptsDataType = 'array';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $description;
protected $evaluationJobConfigType = GoogleCloudDatalabelingV1beta1EvaluationJobConfig::class;
protected $evaluationJobConfigDataType = '';
/**
* @var bool
*/
public $labelMissingGroundTruth;
/**
* @var string
*/
public $modelVersion;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $schedule;
/**
* @var string
*/
public $state;
/**
* @param string
*/
public function setAnnotationSpecSet($annotationSpecSet)
{
$this->annotationSpecSet = $annotationSpecSet;
}
/**
* @return string
*/
public function getAnnotationSpecSet()
{
return $this->annotationSpecSet;
}
/**
* @param GoogleCloudDatalabelingV1beta1Attempt[]
*/
public function setAttempts($attempts)
{
$this->attempts = $attempts;
}
/**
* @return GoogleCloudDatalabelingV1beta1Attempt[]
*/
public function getAttempts()
{
return $this->attempts;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationJobConfig
*/
public function setEvaluationJobConfig(GoogleCloudDatalabelingV1beta1EvaluationJobConfig $evaluationJobConfig)
{
$this->evaluationJobConfig = $evaluationJobConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationJobConfig
*/
public function getEvaluationJobConfig()
{
return $this->evaluationJobConfig;
}
/**
* @param bool
*/
public function setLabelMissingGroundTruth($labelMissingGroundTruth)
{
$this->labelMissingGroundTruth = $labelMissingGroundTruth;
}
/**
* @return bool
*/
public function getLabelMissingGroundTruth()
{
return $this->labelMissingGroundTruth;
}
/**
* @param string
*/
public function setModelVersion($modelVersion)
{
$this->modelVersion = $modelVersion;
}
/**
* @return string
*/
public function getModelVersion()
{
return $this->modelVersion;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setSchedule($schedule)
{
$this->schedule = $schedule;
}
/**
* @return string
*/
public function getSchedule()
{
return $this->schedule;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EvaluationJob::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationJob');

View File

@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig extends \Google\Model
{
/**
* @var string
*/
public $email;
public $minAcceptableMeanAveragePrecision;
/**
* @param string
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* @return string
*/
public function getEmail()
{
return $this->email;
}
public function setMinAcceptableMeanAveragePrecision($minAcceptableMeanAveragePrecision)
{
$this->minAcceptableMeanAveragePrecision = $minAcceptableMeanAveragePrecision;
}
public function getMinAcceptableMeanAveragePrecision()
{
return $this->minAcceptableMeanAveragePrecision;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig');

View File

@@ -0,0 +1,183 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EvaluationJobConfig extends \Google\Model
{
/**
* @var string[]
*/
public $bigqueryImportKeys;
protected $boundingPolyConfigType = GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class;
protected $boundingPolyConfigDataType = '';
protected $evaluationConfigType = GoogleCloudDatalabelingV1beta1EvaluationConfig::class;
protected $evaluationConfigDataType = '';
protected $evaluationJobAlertConfigType = GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig::class;
protected $evaluationJobAlertConfigDataType = '';
/**
* @var int
*/
public $exampleCount;
public $exampleSamplePercentage;
protected $humanAnnotationConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $humanAnnotationConfigDataType = '';
protected $imageClassificationConfigType = GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class;
protected $imageClassificationConfigDataType = '';
protected $inputConfigType = GoogleCloudDatalabelingV1beta1InputConfig::class;
protected $inputConfigDataType = '';
protected $textClassificationConfigType = GoogleCloudDatalabelingV1beta1TextClassificationConfig::class;
protected $textClassificationConfigDataType = '';
/**
* @param string[]
*/
public function setBigqueryImportKeys($bigqueryImportKeys)
{
$this->bigqueryImportKeys = $bigqueryImportKeys;
}
/**
* @return string[]
*/
public function getBigqueryImportKeys()
{
return $this->bigqueryImportKeys;
}
/**
* @param GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function setBoundingPolyConfig(GoogleCloudDatalabelingV1beta1BoundingPolyConfig $boundingPolyConfig)
{
$this->boundingPolyConfig = $boundingPolyConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function getBoundingPolyConfig()
{
return $this->boundingPolyConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationConfig
*/
public function setEvaluationConfig(GoogleCloudDatalabelingV1beta1EvaluationConfig $evaluationConfig)
{
$this->evaluationConfig = $evaluationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationConfig
*/
public function getEvaluationConfig()
{
return $this->evaluationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig
*/
public function setEvaluationJobAlertConfig(GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig $evaluationJobAlertConfig)
{
$this->evaluationJobAlertConfig = $evaluationJobAlertConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1EvaluationJobAlertConfig
*/
public function getEvaluationJobAlertConfig()
{
return $this->evaluationJobAlertConfig;
}
/**
* @param int
*/
public function setExampleCount($exampleCount)
{
$this->exampleCount = $exampleCount;
}
/**
* @return int
*/
public function getExampleCount()
{
return $this->exampleCount;
}
public function setExampleSamplePercentage($exampleSamplePercentage)
{
$this->exampleSamplePercentage = $exampleSamplePercentage;
}
public function getExampleSamplePercentage()
{
return $this->exampleSamplePercentage;
}
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setHumanAnnotationConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $humanAnnotationConfig)
{
$this->humanAnnotationConfig = $humanAnnotationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getHumanAnnotationConfig()
{
return $this->humanAnnotationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function setImageClassificationConfig(GoogleCloudDatalabelingV1beta1ImageClassificationConfig $imageClassificationConfig)
{
$this->imageClassificationConfig = $imageClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function getImageClassificationConfig()
{
return $this->imageClassificationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1InputConfig
*/
public function setInputConfig(GoogleCloudDatalabelingV1beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function setTextClassificationConfig(GoogleCloudDatalabelingV1beta1TextClassificationConfig $textClassificationConfig)
{
$this->textClassificationConfig = $textClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function getTextClassificationConfig()
{
return $this->textClassificationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EvaluationJobConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationJobConfig');

View File

@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EvaluationMetrics extends \Google\Model
{
protected $classificationMetricsType = GoogleCloudDatalabelingV1beta1ClassificationMetrics::class;
protected $classificationMetricsDataType = '';
protected $objectDetectionMetricsType = GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics::class;
protected $objectDetectionMetricsDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1ClassificationMetrics
*/
public function setClassificationMetrics(GoogleCloudDatalabelingV1beta1ClassificationMetrics $classificationMetrics)
{
$this->classificationMetrics = $classificationMetrics;
}
/**
* @return GoogleCloudDatalabelingV1beta1ClassificationMetrics
*/
public function getClassificationMetrics()
{
return $this->classificationMetrics;
}
/**
* @param GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics
*/
public function setObjectDetectionMetrics(GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics $objectDetectionMetrics)
{
$this->objectDetectionMetrics = $objectDetectionMetrics;
}
/**
* @return GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics
*/
public function getObjectDetectionMetrics()
{
return $this->objectDetectionMetrics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EvaluationMetrics::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EvaluationMetrics');

View File

@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1EventConfig extends \Google\Collection
{
protected $collection_key = 'annotationSpecSets';
/**
* @var string[]
*/
public $annotationSpecSets;
/**
* @var int
*/
public $clipLength;
/**
* @var int
*/
public $overlapLength;
/**
* @param string[]
*/
public function setAnnotationSpecSets($annotationSpecSets)
{
$this->annotationSpecSets = $annotationSpecSets;
}
/**
* @return string[]
*/
public function getAnnotationSpecSets()
{
return $this->annotationSpecSets;
}
/**
* @param int
*/
public function setClipLength($clipLength)
{
$this->clipLength = $clipLength;
}
/**
* @return int
*/
public function getClipLength()
{
return $this->clipLength;
}
/**
* @param int
*/
public function setOverlapLength($overlapLength)
{
$this->overlapLength = $overlapLength;
}
/**
* @return int
*/
public function getOverlapLength()
{
return $this->overlapLength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1EventConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1EventConfig');

View File

@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Example extends \Google\Collection
{
protected $collection_key = 'annotations';
protected $annotationsType = GoogleCloudDatalabelingV1beta1Annotation::class;
protected $annotationsDataType = 'array';
protected $imagePayloadType = GoogleCloudDatalabelingV1beta1ImagePayload::class;
protected $imagePayloadDataType = '';
/**
* @var string
*/
public $name;
protected $textPayloadType = GoogleCloudDatalabelingV1beta1TextPayload::class;
protected $textPayloadDataType = '';
protected $videoPayloadType = GoogleCloudDatalabelingV1beta1VideoPayload::class;
protected $videoPayloadDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1Annotation[]
*/
public function setAnnotations($annotations)
{
$this->annotations = $annotations;
}
/**
* @return GoogleCloudDatalabelingV1beta1Annotation[]
*/
public function getAnnotations()
{
return $this->annotations;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImagePayload
*/
public function setImagePayload(GoogleCloudDatalabelingV1beta1ImagePayload $imagePayload)
{
$this->imagePayload = $imagePayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImagePayload
*/
public function getImagePayload()
{
return $this->imagePayload;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextPayload
*/
public function setTextPayload(GoogleCloudDatalabelingV1beta1TextPayload $textPayload)
{
$this->textPayload = $textPayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextPayload
*/
public function getTextPayload()
{
return $this->textPayload;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoPayload
*/
public function setVideoPayload(GoogleCloudDatalabelingV1beta1VideoPayload $videoPayload)
{
$this->videoPayload = $videoPayload;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoPayload
*/
public function getVideoPayload()
{
return $this->videoPayload;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Example::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Example');

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ExampleComparison extends \Google\Collection
{
protected $collection_key = 'modelCreatedExamples';
protected $groundTruthExampleType = GoogleCloudDatalabelingV1beta1Example::class;
protected $groundTruthExampleDataType = '';
protected $modelCreatedExamplesType = GoogleCloudDatalabelingV1beta1Example::class;
protected $modelCreatedExamplesDataType = 'array';
/**
* @param GoogleCloudDatalabelingV1beta1Example
*/
public function setGroundTruthExample(GoogleCloudDatalabelingV1beta1Example $groundTruthExample)
{
$this->groundTruthExample = $groundTruthExample;
}
/**
* @return GoogleCloudDatalabelingV1beta1Example
*/
public function getGroundTruthExample()
{
return $this->groundTruthExample;
}
/**
* @param GoogleCloudDatalabelingV1beta1Example[]
*/
public function setModelCreatedExamples($modelCreatedExamples)
{
$this->modelCreatedExamples = $modelCreatedExamples;
}
/**
* @return GoogleCloudDatalabelingV1beta1Example[]
*/
public function getModelCreatedExamples()
{
return $this->modelCreatedExamples;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ExampleComparison::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ExampleComparison');

View File

@@ -0,0 +1,97 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ExportDataOperationMetadata');

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ExportDataOperationResponse extends \Google\Model
{
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $dataset;
/**
* @var int
*/
public $exportCount;
protected $labelStatsType = GoogleCloudDatalabelingV1beta1LabelStats::class;
protected $labelStatsDataType = '';
protected $outputConfigType = GoogleCloudDatalabelingV1beta1OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @var int
*/
public $totalCount;
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param int
*/
public function setExportCount($exportCount)
{
$this->exportCount = $exportCount;
}
/**
* @return int
*/
public function getExportCount()
{
return $this->exportCount;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelStats
*/
public function setLabelStats(GoogleCloudDatalabelingV1beta1LabelStats $labelStats)
{
$this->labelStats = $labelStats;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelStats
*/
public function getLabelStats()
{
return $this->labelStats;
}
/**
* @param GoogleCloudDatalabelingV1beta1OutputConfig
*/
public function setOutputConfig(GoogleCloudDatalabelingV1beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
/**
* @param int
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return int
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ExportDataOperationResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ExportDataOperationResponse');

View File

@@ -0,0 +1,96 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ExportDataRequest extends \Google\Model
{
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $filter;
protected $outputConfigType = GoogleCloudDatalabelingV1beta1OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @var string
*/
public $userEmailAddress;
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setFilter($filter)
{
$this->filter = $filter;
}
/**
* @return string
*/
public function getFilter()
{
return $this->filter;
}
/**
* @param GoogleCloudDatalabelingV1beta1OutputConfig
*/
public function setOutputConfig(GoogleCloudDatalabelingV1beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
/**
* @param string
*/
public function setUserEmailAddress($userEmailAddress)
{
$this->userEmailAddress = $userEmailAddress;
}
/**
* @return string
*/
public function getUserEmailAddress()
{
return $this->userEmailAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ExportDataRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ExportDataRequest');

View File

@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1FeedbackMessage extends \Google\Model
{
/**
* @var string
*/
public $body;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $image;
/**
* @var string
*/
public $name;
protected $operatorFeedbackMetadataType = GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata::class;
protected $operatorFeedbackMetadataDataType = '';
protected $requesterFeedbackMetadataType = GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata::class;
protected $requesterFeedbackMetadataDataType = '';
/**
* @param string
*/
public function setBody($body)
{
$this->body = $body;
}
/**
* @return string
*/
public function getBody()
{
return $this->body;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
*/
public function setOperatorFeedbackMetadata(GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata $operatorFeedbackMetadata)
{
$this->operatorFeedbackMetadata = $operatorFeedbackMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
*/
public function getOperatorFeedbackMetadata()
{
return $this->operatorFeedbackMetadata;
}
/**
* @param GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
*/
public function setRequesterFeedbackMetadata(GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata $requesterFeedbackMetadata)
{
$this->requesterFeedbackMetadata = $requesterFeedbackMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
*/
public function getRequesterFeedbackMetadata()
{
return $this->requesterFeedbackMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1FeedbackMessage::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1FeedbackMessage');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1FeedbackThread extends \Google\Model
{
protected $feedbackThreadMetadataType = GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata::class;
protected $feedbackThreadMetadataDataType = '';
/**
* @var string
*/
public $name;
/**
* @param GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata
*/
public function setFeedbackThreadMetadata(GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata $feedbackThreadMetadata)
{
$this->feedbackThreadMetadata = $feedbackThreadMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata
*/
public function getFeedbackThreadMetadata()
{
return $this->feedbackThreadMetadata;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1FeedbackThread::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1FeedbackThread');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $lastUpdateTime;
/**
* @var string
*/
public $status;
/**
* @var string
*/
public $thumbnail;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setLastUpdateTime($lastUpdateTime)
{
$this->lastUpdateTime = $lastUpdateTime;
}
/**
* @return string
*/
public function getLastUpdateTime()
{
return $this->lastUpdateTime;
}
/**
* @param string
*/
public function setStatus($status)
{
$this->status = $status;
}
/**
* @return string
*/
public function getStatus()
{
return $this->status;
}
/**
* @param string
*/
public function setThumbnail($thumbnail)
{
$this->thumbnail = $thumbnail;
}
/**
* @return string
*/
public function getThumbnail()
{
return $this->thumbnail;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1GcsDestination extends \Google\Model
{
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $outputUri;
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1GcsDestination::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1GcsDestination');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1GcsFolderDestination extends \Google\Model
{
/**
* @var string
*/
public $outputFolderUri;
/**
* @param string
*/
public function setOutputFolderUri($outputFolderUri)
{
$this->outputFolderUri = $outputFolderUri;
}
/**
* @return string
*/
public function getOutputFolderUri()
{
return $this->outputFolderUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1GcsFolderDestination::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1GcsFolderDestination');

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1GcsSource extends \Google\Model
{
/**
* @var string
*/
public $inputUri;
/**
* @var string
*/
public $mimeType;
/**
* @param string
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1GcsSource::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1GcsSource');

View File

@@ -0,0 +1,189 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1HumanAnnotationConfig extends \Google\Collection
{
protected $collection_key = 'contributorEmails';
/**
* @var string
*/
public $annotatedDatasetDescription;
/**
* @var string
*/
public $annotatedDatasetDisplayName;
/**
* @var string[]
*/
public $contributorEmails;
/**
* @var string
*/
public $instruction;
/**
* @var string
*/
public $labelGroup;
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $questionDuration;
/**
* @var int
*/
public $replicaCount;
/**
* @var string
*/
public $userEmailAddress;
/**
* @param string
*/
public function setAnnotatedDatasetDescription($annotatedDatasetDescription)
{
$this->annotatedDatasetDescription = $annotatedDatasetDescription;
}
/**
* @return string
*/
public function getAnnotatedDatasetDescription()
{
return $this->annotatedDatasetDescription;
}
/**
* @param string
*/
public function setAnnotatedDatasetDisplayName($annotatedDatasetDisplayName)
{
$this->annotatedDatasetDisplayName = $annotatedDatasetDisplayName;
}
/**
* @return string
*/
public function getAnnotatedDatasetDisplayName()
{
return $this->annotatedDatasetDisplayName;
}
/**
* @param string[]
*/
public function setContributorEmails($contributorEmails)
{
$this->contributorEmails = $contributorEmails;
}
/**
* @return string[]
*/
public function getContributorEmails()
{
return $this->contributorEmails;
}
/**
* @param string
*/
public function setInstruction($instruction)
{
$this->instruction = $instruction;
}
/**
* @return string
*/
public function getInstruction()
{
return $this->instruction;
}
/**
* @param string
*/
public function setLabelGroup($labelGroup)
{
$this->labelGroup = $labelGroup;
}
/**
* @return string
*/
public function getLabelGroup()
{
return $this->labelGroup;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setQuestionDuration($questionDuration)
{
$this->questionDuration = $questionDuration;
}
/**
* @return string
*/
public function getQuestionDuration()
{
return $this->questionDuration;
}
/**
* @param int
*/
public function setReplicaCount($replicaCount)
{
$this->replicaCount = $replicaCount;
}
/**
* @return int
*/
public function getReplicaCount()
{
return $this->replicaCount;
}
/**
* @param string
*/
public function setUserEmailAddress($userEmailAddress)
{
$this->userEmailAddress = $userEmailAddress;
}
/**
* @return string
*/
public function getUserEmailAddress()
{
return $this->userEmailAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1HumanAnnotationConfig');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation extends \Google\Model
{
protected $annotationSpecType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationSpecDataType = '';
protected $boundingPolyType = GoogleCloudDatalabelingV1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
protected $normalizedBoundingPolyType = GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly::class;
protected $normalizedBoundingPolyDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function setAnnotationSpec(GoogleCloudDatalabelingV1beta1AnnotationSpec $annotationSpec)
{
$this->annotationSpec = $annotationSpec;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function getAnnotationSpec()
{
return $this->annotationSpec;
}
/**
* @param GoogleCloudDatalabelingV1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudDatalabelingV1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudDatalabelingV1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
*/
public function setNormalizedBoundingPoly(GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly $normalizedBoundingPoly)
{
$this->normalizedBoundingPoly = $normalizedBoundingPoly;
}
/**
* @return GoogleCloudDatalabelingV1beta1NormalizedBoundingPoly
*/
public function getNormalizedBoundingPoly()
{
return $this->normalizedBoundingPoly;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation extends \Google\Model
{
protected $annotationSpecType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationSpecDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function setAnnotationSpec(GoogleCloudDatalabelingV1beta1AnnotationSpec $annotationSpec)
{
$this->annotationSpec = $annotationSpec;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function getAnnotationSpec()
{
return $this->annotationSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImageClassificationConfig extends \Google\Model
{
/**
* @var bool
*/
public $allowMultiLabel;
/**
* @var string
*/
public $annotationSpecSet;
/**
* @var string
*/
public $answerAggregationType;
/**
* @param bool
*/
public function setAllowMultiLabel($allowMultiLabel)
{
$this->allowMultiLabel = $allowMultiLabel;
}
/**
* @return bool
*/
public function getAllowMultiLabel()
{
return $this->allowMultiLabel;
}
/**
* @param string
*/
public function setAnnotationSpecSet($annotationSpecSet)
{
$this->annotationSpecSet = $annotationSpecSet;
}
/**
* @return string
*/
public function getAnnotationSpecSet()
{
return $this->annotationSpecSet;
}
/**
* @param string
*/
public function setAnswerAggregationType($answerAggregationType)
{
$this->answerAggregationType = $answerAggregationType;
}
/**
* @return string
*/
public function getAnswerAggregationType()
{
return $this->answerAggregationType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImageClassificationConfig');

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImagePayload extends \Google\Model
{
/**
* @var string
*/
public $imageThumbnail;
/**
* @var string
*/
public $imageUri;
/**
* @var string
*/
public $mimeType;
/**
* @var string
*/
public $signedUri;
/**
* @param string
*/
public function setImageThumbnail($imageThumbnail)
{
$this->imageThumbnail = $imageThumbnail;
}
/**
* @return string
*/
public function getImageThumbnail()
{
return $this->imageThumbnail;
}
/**
* @param string
*/
public function setImageUri($imageUri)
{
$this->imageUri = $imageUri;
}
/**
* @return string
*/
public function getImageUri()
{
return $this->imageUri;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
/**
* @param string
*/
public function setSignedUri($signedUri)
{
$this->signedUri = $signedUri;
}
/**
* @return string
*/
public function getSignedUri()
{
return $this->signedUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImagePayload::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImagePayload');

View File

@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation extends \Google\Model
{
protected $annotationSpecType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationSpecDataType = '';
protected $normalizedPolylineType = GoogleCloudDatalabelingV1beta1NormalizedPolyline::class;
protected $normalizedPolylineDataType = '';
protected $polylineType = GoogleCloudDatalabelingV1beta1Polyline::class;
protected $polylineDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function setAnnotationSpec(GoogleCloudDatalabelingV1beta1AnnotationSpec $annotationSpec)
{
$this->annotationSpec = $annotationSpec;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec
*/
public function getAnnotationSpec()
{
return $this->annotationSpec;
}
/**
* @param GoogleCloudDatalabelingV1beta1NormalizedPolyline
*/
public function setNormalizedPolyline(GoogleCloudDatalabelingV1beta1NormalizedPolyline $normalizedPolyline)
{
$this->normalizedPolyline = $normalizedPolyline;
}
/**
* @return GoogleCloudDatalabelingV1beta1NormalizedPolyline
*/
public function getNormalizedPolyline()
{
return $this->normalizedPolyline;
}
/**
* @param GoogleCloudDatalabelingV1beta1Polyline
*/
public function setPolyline(GoogleCloudDatalabelingV1beta1Polyline $polyline)
{
$this->polyline = $polyline;
}
/**
* @return GoogleCloudDatalabelingV1beta1Polyline
*/
public function getPolyline()
{
return $this->polyline;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation');

View File

@@ -0,0 +1,78 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation extends \Google\Model
{
protected $annotationColorsType = GoogleCloudDatalabelingV1beta1AnnotationSpec::class;
protected $annotationColorsDataType = 'map';
/**
* @var string
*/
public $imageBytes;
/**
* @var string
*/
public $mimeType;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpec[]
*/
public function setAnnotationColors($annotationColors)
{
$this->annotationColors = $annotationColors;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpec[]
*/
public function getAnnotationColors()
{
return $this->annotationColors;
}
/**
* @param string
*/
public function setImageBytes($imageBytes)
{
$this->imageBytes = $imageBytes;
}
/**
* @return string
*/
public function getImageBytes()
{
return $this->imageBytes;
}
/**
* @param string
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation');

View File

@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImportDataOperationResponse extends \Google\Model
{
/**
* @var string
*/
public $dataset;
/**
* @var int
*/
public $importCount;
/**
* @var int
*/
public $totalCount;
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param int
*/
public function setImportCount($importCount)
{
$this->importCount = $importCount;
}
/**
* @return int
*/
public function getImportCount()
{
return $this->importCount;
}
/**
* @param int
*/
public function setTotalCount($totalCount)
{
$this->totalCount = $totalCount;
}
/**
* @return int
*/
public function getTotalCount()
{
return $this->totalCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImportDataOperationResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImportDataOperationResponse');

View File

@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ImportDataRequest extends \Google\Model
{
protected $inputConfigType = GoogleCloudDatalabelingV1beta1InputConfig::class;
protected $inputConfigDataType = '';
/**
* @var string
*/
public $userEmailAddress;
/**
* @param GoogleCloudDatalabelingV1beta1InputConfig
*/
public function setInputConfig(GoogleCloudDatalabelingV1beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param string
*/
public function setUserEmailAddress($userEmailAddress)
{
$this->userEmailAddress = $userEmailAddress;
}
/**
* @return string
*/
public function getUserEmailAddress()
{
return $this->userEmailAddress;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ImportDataRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImportDataRequest');

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1InputConfig extends \Google\Model
{
/**
* @var string
*/
public $annotationType;
protected $bigquerySourceType = GoogleCloudDatalabelingV1beta1BigQuerySource::class;
protected $bigquerySourceDataType = '';
protected $classificationMetadataType = GoogleCloudDatalabelingV1beta1ClassificationMetadata::class;
protected $classificationMetadataDataType = '';
/**
* @var string
*/
public $dataType;
protected $gcsSourceType = GoogleCloudDatalabelingV1beta1GcsSource::class;
protected $gcsSourceDataType = '';
protected $textMetadataType = GoogleCloudDatalabelingV1beta1TextMetadata::class;
protected $textMetadataDataType = '';
/**
* @param string
*/
public function setAnnotationType($annotationType)
{
$this->annotationType = $annotationType;
}
/**
* @return string
*/
public function getAnnotationType()
{
return $this->annotationType;
}
/**
* @param GoogleCloudDatalabelingV1beta1BigQuerySource
*/
public function setBigquerySource(GoogleCloudDatalabelingV1beta1BigQuerySource $bigquerySource)
{
$this->bigquerySource = $bigquerySource;
}
/**
* @return GoogleCloudDatalabelingV1beta1BigQuerySource
*/
public function getBigquerySource()
{
return $this->bigquerySource;
}
/**
* @param GoogleCloudDatalabelingV1beta1ClassificationMetadata
*/
public function setClassificationMetadata(GoogleCloudDatalabelingV1beta1ClassificationMetadata $classificationMetadata)
{
$this->classificationMetadata = $classificationMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1ClassificationMetadata
*/
public function getClassificationMetadata()
{
return $this->classificationMetadata;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param GoogleCloudDatalabelingV1beta1GcsSource
*/
public function setGcsSource(GoogleCloudDatalabelingV1beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudDatalabelingV1beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextMetadata
*/
public function setTextMetadata(GoogleCloudDatalabelingV1beta1TextMetadata $textMetadata)
{
$this->textMetadata = $textMetadata;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextMetadata
*/
public function getTextMetadata()
{
return $this->textMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1InputConfig::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1InputConfig');

View File

@@ -0,0 +1,185 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1Instruction extends \Google\Collection
{
protected $collection_key = 'blockingResources';
/**
* @var string[]
*/
public $blockingResources;
/**
* @var string
*/
public $createTime;
protected $csvInstructionType = GoogleCloudDatalabelingV1beta1CsvInstruction::class;
protected $csvInstructionDataType = '';
/**
* @var string
*/
public $dataType;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
protected $pdfInstructionType = GoogleCloudDatalabelingV1beta1PdfInstruction::class;
protected $pdfInstructionDataType = '';
/**
* @var string
*/
public $updateTime;
/**
* @param string[]
*/
public function setBlockingResources($blockingResources)
{
$this->blockingResources = $blockingResources;
}
/**
* @return string[]
*/
public function getBlockingResources()
{
return $this->blockingResources;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleCloudDatalabelingV1beta1CsvInstruction
*/
public function setCsvInstruction(GoogleCloudDatalabelingV1beta1CsvInstruction $csvInstruction)
{
$this->csvInstruction = $csvInstruction;
}
/**
* @return GoogleCloudDatalabelingV1beta1CsvInstruction
*/
public function getCsvInstruction()
{
return $this->csvInstruction;
}
/**
* @param string
*/
public function setDataType($dataType)
{
$this->dataType = $dataType;
}
/**
* @return string
*/
public function getDataType()
{
return $this->dataType;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param GoogleCloudDatalabelingV1beta1PdfInstruction
*/
public function setPdfInstruction(GoogleCloudDatalabelingV1beta1PdfInstruction $pdfInstruction)
{
$this->pdfInstruction = $pdfInstruction;
}
/**
* @return GoogleCloudDatalabelingV1beta1PdfInstruction
*/
public function getPdfInstruction()
{
return $this->pdfInstruction;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1Instruction::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1Instruction');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata');

View File

@@ -0,0 +1,124 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageRequest extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
protected $boundingPolyConfigType = GoogleCloudDatalabelingV1beta1BoundingPolyConfig::class;
protected $boundingPolyConfigDataType = '';
/**
* @var string
*/
public $feature;
protected $imageClassificationConfigType = GoogleCloudDatalabelingV1beta1ImageClassificationConfig::class;
protected $imageClassificationConfigDataType = '';
protected $polylineConfigType = GoogleCloudDatalabelingV1beta1PolylineConfig::class;
protected $polylineConfigDataType = '';
protected $segmentationConfigType = GoogleCloudDatalabelingV1beta1SegmentationConfig::class;
protected $segmentationConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function setBoundingPolyConfig(GoogleCloudDatalabelingV1beta1BoundingPolyConfig $boundingPolyConfig)
{
$this->boundingPolyConfig = $boundingPolyConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1BoundingPolyConfig
*/
public function getBoundingPolyConfig()
{
return $this->boundingPolyConfig;
}
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function setImageClassificationConfig(GoogleCloudDatalabelingV1beta1ImageClassificationConfig $imageClassificationConfig)
{
$this->imageClassificationConfig = $imageClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ImageClassificationConfig
*/
public function getImageClassificationConfig()
{
return $this->imageClassificationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1PolylineConfig
*/
public function setPolylineConfig(GoogleCloudDatalabelingV1beta1PolylineConfig $polylineConfig)
{
$this->polylineConfig = $polylineConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1PolylineConfig
*/
public function getPolylineConfig()
{
return $this->polylineConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1SegmentationConfig
*/
public function setSegmentationConfig(GoogleCloudDatalabelingV1beta1SegmentationConfig $segmentationConfig)
{
$this->segmentationConfig = $segmentationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1SegmentationConfig
*/
public function getSegmentationConfig()
{
return $this->segmentationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata');

View File

@@ -0,0 +1,307 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialFailures';
/**
* @var string
*/
public $annotatedDataset;
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $dataset;
protected $imageBoundingBoxDetailsType = GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata::class;
protected $imageBoundingBoxDetailsDataType = '';
protected $imageBoundingPolyDetailsType = GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata::class;
protected $imageBoundingPolyDetailsDataType = '';
protected $imageClassificationDetailsType = GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata::class;
protected $imageClassificationDetailsDataType = '';
protected $imageOrientedBoundingBoxDetailsType = GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata::class;
protected $imageOrientedBoundingBoxDetailsDataType = '';
protected $imagePolylineDetailsType = GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata::class;
protected $imagePolylineDetailsDataType = '';
protected $imageSegmentationDetailsType = GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata::class;
protected $imageSegmentationDetailsDataType = '';
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
/**
* @var int
*/
public $progressPercent;
protected $textClassificationDetailsType = GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata::class;
protected $textClassificationDetailsDataType = '';
protected $textEntityExtractionDetailsType = GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata::class;
protected $textEntityExtractionDetailsDataType = '';
protected $videoClassificationDetailsType = GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata::class;
protected $videoClassificationDetailsDataType = '';
protected $videoEventDetailsType = GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata::class;
protected $videoEventDetailsDataType = '';
protected $videoObjectDetectionDetailsType = GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata::class;
protected $videoObjectDetectionDetailsDataType = '';
protected $videoObjectTrackingDetailsType = GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata::class;
protected $videoObjectTrackingDetailsDataType = '';
/**
* @param string
*/
public function setAnnotatedDataset($annotatedDataset)
{
$this->annotatedDataset = $annotatedDataset;
}
/**
* @return string
*/
public function getAnnotatedDataset()
{
return $this->annotatedDataset;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata
*/
public function setImageBoundingBoxDetails(GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata $imageBoundingBoxDetails)
{
$this->imageBoundingBoxDetails = $imageBoundingBoxDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImageBoundingBoxOperationMetadata
*/
public function getImageBoundingBoxDetails()
{
return $this->imageBoundingBoxDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata
*/
public function setImageBoundingPolyDetails(GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata $imageBoundingPolyDetails)
{
$this->imageBoundingPolyDetails = $imageBoundingPolyDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImageBoundingPolyOperationMetadata
*/
public function getImageBoundingPolyDetails()
{
return $this->imageBoundingPolyDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata
*/
public function setImageClassificationDetails(GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata $imageClassificationDetails)
{
$this->imageClassificationDetails = $imageClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImageClassificationOperationMetadata
*/
public function getImageClassificationDetails()
{
return $this->imageClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata
*/
public function setImageOrientedBoundingBoxDetails(GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata $imageOrientedBoundingBoxDetails)
{
$this->imageOrientedBoundingBoxDetails = $imageOrientedBoundingBoxDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImageOrientedBoundingBoxOperationMetadata
*/
public function getImageOrientedBoundingBoxDetails()
{
return $this->imageOrientedBoundingBoxDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata
*/
public function setImagePolylineDetails(GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata $imagePolylineDetails)
{
$this->imagePolylineDetails = $imagePolylineDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImagePolylineOperationMetadata
*/
public function getImagePolylineDetails()
{
return $this->imagePolylineDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata
*/
public function setImageSegmentationDetails(GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata $imageSegmentationDetails)
{
$this->imageSegmentationDetails = $imageSegmentationDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelImageSegmentationOperationMetadata
*/
public function getImageSegmentationDetails()
{
return $this->imageSegmentationDetails;
}
/**
* @param GoogleRpcStatus[]
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
/**
* @param int
*/
public function setProgressPercent($progressPercent)
{
$this->progressPercent = $progressPercent;
}
/**
* @return int
*/
public function getProgressPercent()
{
return $this->progressPercent;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata
*/
public function setTextClassificationDetails(GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata $textClassificationDetails)
{
$this->textClassificationDetails = $textClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata
*/
public function getTextClassificationDetails()
{
return $this->textClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata
*/
public function setTextEntityExtractionDetails(GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata $textEntityExtractionDetails)
{
$this->textEntityExtractionDetails = $textEntityExtractionDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata
*/
public function getTextEntityExtractionDetails()
{
return $this->textEntityExtractionDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata
*/
public function setVideoClassificationDetails(GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata $videoClassificationDetails)
{
$this->videoClassificationDetails = $videoClassificationDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata
*/
public function getVideoClassificationDetails()
{
return $this->videoClassificationDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata
*/
public function setVideoEventDetails(GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata $videoEventDetails)
{
$this->videoEventDetails = $videoEventDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata
*/
public function getVideoEventDetails()
{
return $this->videoEventDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata
*/
public function setVideoObjectDetectionDetails(GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata $videoObjectDetectionDetails)
{
$this->videoObjectDetectionDetails = $videoObjectDetectionDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata
*/
public function getVideoObjectDetectionDetails()
{
return $this->videoObjectDetectionDetails;
}
/**
* @param GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata
*/
public function setVideoObjectTrackingDetails(GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata $videoObjectTrackingDetails)
{
$this->videoObjectTrackingDetails = $videoObjectTrackingDetails;
}
/**
* @return GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata
*/
public function getVideoObjectTrackingDetails()
{
return $this->videoObjectTrackingDetails;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelOperationMetadata');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelStats extends \Google\Model
{
/**
* @var string[]
*/
public $exampleCount;
/**
* @param string[]
*/
public function setExampleCount($exampleCount)
{
$this->exampleCount = $exampleCount;
}
/**
* @return string[]
*/
public function getExampleCount()
{
return $this->exampleCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelStats::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelStats');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelTextClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelTextEntityExtractionOperationMetadata');

View File

@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelTextRequest extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @var string
*/
public $feature;
protected $textClassificationConfigType = GoogleCloudDatalabelingV1beta1TextClassificationConfig::class;
protected $textClassificationConfigDataType = '';
protected $textEntityExtractionConfigType = GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig::class;
protected $textEntityExtractionConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function setTextClassificationConfig(GoogleCloudDatalabelingV1beta1TextClassificationConfig $textClassificationConfig)
{
$this->textClassificationConfig = $textClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextClassificationConfig
*/
public function getTextClassificationConfig()
{
return $this->textClassificationConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
*/
public function setTextEntityExtractionConfig(GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig $textEntityExtractionConfig)
{
$this->textEntityExtractionConfig = $textEntityExtractionConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1TextEntityExtractionConfig
*/
public function getTextEntityExtractionConfig()
{
return $this->textEntityExtractionConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelTextRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelTextRequest');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoClassificationOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoEventOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoObjectDetectionOperationMetadata');

View File

@@ -0,0 +1,42 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoObjectTrackingOperationMetadata');

View File

@@ -0,0 +1,124 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1LabelVideoRequest extends \Google\Model
{
protected $basicConfigType = GoogleCloudDatalabelingV1beta1HumanAnnotationConfig::class;
protected $basicConfigDataType = '';
protected $eventConfigType = GoogleCloudDatalabelingV1beta1EventConfig::class;
protected $eventConfigDataType = '';
/**
* @var string
*/
public $feature;
protected $objectDetectionConfigType = GoogleCloudDatalabelingV1beta1ObjectDetectionConfig::class;
protected $objectDetectionConfigDataType = '';
protected $objectTrackingConfigType = GoogleCloudDatalabelingV1beta1ObjectTrackingConfig::class;
protected $objectTrackingConfigDataType = '';
protected $videoClassificationConfigType = GoogleCloudDatalabelingV1beta1VideoClassificationConfig::class;
protected $videoClassificationConfigDataType = '';
/**
* @param GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function setBasicConfig(GoogleCloudDatalabelingV1beta1HumanAnnotationConfig $basicConfig)
{
$this->basicConfig = $basicConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1HumanAnnotationConfig
*/
public function getBasicConfig()
{
return $this->basicConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1EventConfig
*/
public function setEventConfig(GoogleCloudDatalabelingV1beta1EventConfig $eventConfig)
{
$this->eventConfig = $eventConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1EventConfig
*/
public function getEventConfig()
{
return $this->eventConfig;
}
/**
* @param string
*/
public function setFeature($feature)
{
$this->feature = $feature;
}
/**
* @return string
*/
public function getFeature()
{
return $this->feature;
}
/**
* @param GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
*/
public function setObjectDetectionConfig(GoogleCloudDatalabelingV1beta1ObjectDetectionConfig $objectDetectionConfig)
{
$this->objectDetectionConfig = $objectDetectionConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ObjectDetectionConfig
*/
public function getObjectDetectionConfig()
{
return $this->objectDetectionConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
*/
public function setObjectTrackingConfig(GoogleCloudDatalabelingV1beta1ObjectTrackingConfig $objectTrackingConfig)
{
$this->objectTrackingConfig = $objectTrackingConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1ObjectTrackingConfig
*/
public function getObjectTrackingConfig()
{
return $this->objectTrackingConfig;
}
/**
* @param GoogleCloudDatalabelingV1beta1VideoClassificationConfig
*/
public function setVideoClassificationConfig(GoogleCloudDatalabelingV1beta1VideoClassificationConfig $videoClassificationConfig)
{
$this->videoClassificationConfig = $videoClassificationConfig;
}
/**
* @return GoogleCloudDatalabelingV1beta1VideoClassificationConfig
*/
public function getVideoClassificationConfig()
{
return $this->videoClassificationConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1LabelVideoRequest::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1LabelVideoRequest');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse extends \Google\Collection
{
protected $collection_key = 'annotatedDatasets';
protected $annotatedDatasetsType = GoogleCloudDatalabelingV1beta1AnnotatedDataset::class;
protected $annotatedDatasetsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotatedDataset[]
*/
public function setAnnotatedDatasets($annotatedDatasets)
{
$this->annotatedDatasets = $annotatedDatasets;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotatedDataset[]
*/
public function getAnnotatedDatasets()
{
return $this->annotatedDatasets;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ListAnnotatedDatasetsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse extends \Google\Collection
{
protected $collection_key = 'annotationSpecSets';
protected $annotationSpecSetsType = GoogleCloudDatalabelingV1beta1AnnotationSpecSet::class;
protected $annotationSpecSetsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatalabelingV1beta1AnnotationSpecSet[]
*/
public function setAnnotationSpecSets($annotationSpecSets)
{
$this->annotationSpecSets = $annotationSpecSets;
}
/**
* @return GoogleCloudDatalabelingV1beta1AnnotationSpecSet[]
*/
public function getAnnotationSpecSets()
{
return $this->annotationSpecSets;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ListAnnotationSpecSetsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ListDataItemsResponse extends \Google\Collection
{
protected $collection_key = 'dataItems';
protected $dataItemsType = GoogleCloudDatalabelingV1beta1DataItem::class;
protected $dataItemsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatalabelingV1beta1DataItem[]
*/
public function setDataItems($dataItems)
{
$this->dataItems = $dataItems;
}
/**
* @return GoogleCloudDatalabelingV1beta1DataItem[]
*/
public function getDataItems()
{
return $this->dataItems;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ListDataItemsResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ListDataItemsResponse');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* 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.
*/
namespace Google\Service\DataLabeling;
class GoogleCloudDatalabelingV1beta1ListDatasetsResponse extends \Google\Collection
{
protected $collection_key = 'datasets';
protected $datasetsType = GoogleCloudDatalabelingV1beta1Dataset::class;
protected $datasetsDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleCloudDatalabelingV1beta1Dataset[]
*/
public function setDatasets($datasets)
{
$this->datasets = $datasets;
}
/**
* @return GoogleCloudDatalabelingV1beta1Dataset[]
*/
public function getDatasets()
{
return $this->datasets;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDatalabelingV1beta1ListDatasetsResponse::class, 'Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ListDatasetsResponse');

Some files were not shown because too many files have changed in this diff Show More