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
@@ -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\Vision;
class AddProductToProductSetRequest extends \Google\Model
{
/**
* @var string
*/
public $product;
/**
* @param string
*/
public function setProduct($product)
{
$this->product = $product;
}
/**
* @return string
*/
public function getProduct()
{
return $this->product;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AddProductToProductSetRequest::class, 'Google_Service_Vision_AddProductToProductSetRequest');
@@ -0,0 +1,93 @@
<?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\Vision;
class AnnotateFileRequest extends \Google\Collection
{
protected $collection_key = 'pages';
protected $featuresType = Feature::class;
protected $featuresDataType = 'array';
protected $imageContextType = ImageContext::class;
protected $imageContextDataType = '';
protected $inputConfigType = InputConfig::class;
protected $inputConfigDataType = '';
/**
* @var int[]
*/
public $pages;
/**
* @param Feature[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Feature[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param ImageContext
*/
public function setImageContext(ImageContext $imageContext)
{
$this->imageContext = $imageContext;
}
/**
* @return ImageContext
*/
public function getImageContext()
{
return $this->imageContext;
}
/**
* @param InputConfig
*/
public function setInputConfig(InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param int[]
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return int[]
*/
public function getPages()
{
return $this->pages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotateFileRequest::class, 'Google_Service_Vision_AnnotateFileRequest');
@@ -0,0 +1,93 @@
<?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\Vision;
class AnnotateFileResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $inputConfigType = InputConfig::class;
protected $inputConfigDataType = '';
protected $responsesType = AnnotateImageResponse::class;
protected $responsesDataType = 'array';
/**
* @var int
*/
public $totalPages;
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param InputConfig
*/
public function setInputConfig(InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param AnnotateImageResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return AnnotateImageResponse[]
*/
public function getResponses()
{
return $this->responses;
}
/**
* @param int
*/
public function setTotalPages($totalPages)
{
$this->totalPages = $totalPages;
}
/**
* @return int
*/
public function getTotalPages()
{
return $this->totalPages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotateFileResponse::class, 'Google_Service_Vision_AnnotateFileResponse');
@@ -0,0 +1,75 @@
<?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\Vision;
class AnnotateImageRequest extends \Google\Collection
{
protected $collection_key = 'features';
protected $featuresType = Feature::class;
protected $featuresDataType = 'array';
protected $imageType = Image::class;
protected $imageDataType = '';
protected $imageContextType = ImageContext::class;
protected $imageContextDataType = '';
/**
* @param Feature[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Feature[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param Image
*/
public function setImage(Image $image)
{
$this->image = $image;
}
/**
* @return Image
*/
public function getImage()
{
return $this->image;
}
/**
* @param ImageContext
*/
public function setImageContext(ImageContext $imageContext)
{
$this->imageContext = $imageContext;
}
/**
* @return ImageContext
*/
public function getImageContext()
{
return $this->imageContext;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotateImageRequest::class, 'Google_Service_Vision_AnnotateImageRequest');
@@ -0,0 +1,251 @@
<?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\Vision;
class AnnotateImageResponse extends \Google\Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = ImageAnnotationContext::class;
protected $contextDataType = '';
protected $cropHintsAnnotationType = CropHintsAnnotation::class;
protected $cropHintsAnnotationDataType = '';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $faceAnnotationsType = FaceAnnotation::class;
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = TextAnnotation::class;
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = ImageProperties::class;
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = EntityAnnotation::class;
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = EntityAnnotation::class;
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = LocalizedObjectAnnotation::class;
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = EntityAnnotation::class;
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = ProductSearchResults::class;
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = SafeSearchAnnotation::class;
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = EntityAnnotation::class;
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = WebDetection::class;
protected $webDetectionDataType = '';
/**
* @param ImageAnnotationContext
*/
public function setContext(ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param CropHintsAnnotation
*/
public function setCropHintsAnnotation(CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return CropHintsAnnotation
*/
public function getCropHintsAnnotation()
{
return $this->cropHintsAnnotation;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param TextAnnotation
*/
public function setFullTextAnnotation(TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param ImageProperties
*/
public function setImagePropertiesAnnotation(ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param EntityAnnotation[]
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param EntityAnnotation[]
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param LocalizedObjectAnnotation[]
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return LocalizedObjectAnnotation[]
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param EntityAnnotation[]
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param ProductSearchResults
*/
public function setProductSearchResults(ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param EntityAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return EntityAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param WebDetection
*/
public function setWebDetection(WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return WebDetection
*/
public function getWebDetection()
{
return $this->webDetection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnnotateImageResponse::class, 'Google_Service_Vision_AnnotateImageResponse');
@@ -0,0 +1,91 @@
<?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\Vision;
class AsyncAnnotateFileRequest extends \Google\Collection
{
protected $collection_key = 'features';
protected $featuresType = Feature::class;
protected $featuresDataType = 'array';
protected $imageContextType = ImageContext::class;
protected $imageContextDataType = '';
protected $inputConfigType = InputConfig::class;
protected $inputConfigDataType = '';
protected $outputConfigType = OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param Feature[]
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return Feature[]
*/
public function getFeatures()
{
return $this->features;
}
/**
* @param ImageContext
*/
public function setImageContext(ImageContext $imageContext)
{
$this->imageContext = $imageContext;
}
/**
* @return ImageContext
*/
public function getImageContext()
{
return $this->imageContext;
}
/**
* @param InputConfig
*/
public function setInputConfig(InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param OutputConfig
*/
public function setOutputConfig(OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncAnnotateFileRequest::class, 'Google_Service_Vision_AsyncAnnotateFileRequest');
@@ -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\Vision;
class AsyncAnnotateFileResponse extends \Google\Model
{
protected $outputConfigType = OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param OutputConfig
*/
public function setOutputConfig(OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncAnnotateFileResponse::class, 'Google_Service_Vision_AsyncAnnotateFileResponse');
@@ -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\Vision;
class AsyncBatchAnnotateFilesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $parent;
protected $requestsType = AsyncAnnotateFileRequest::class;
protected $requestsDataType = 'array';
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param AsyncAnnotateFileRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return AsyncAnnotateFileRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncBatchAnnotateFilesRequest::class, 'Google_Service_Vision_AsyncBatchAnnotateFilesRequest');
@@ -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\Vision;
class AsyncBatchAnnotateFilesResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = AsyncAnnotateFileResponse::class;
protected $responsesDataType = 'array';
/**
* @param AsyncAnnotateFileResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return AsyncAnnotateFileResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncBatchAnnotateFilesResponse::class, 'Google_Service_Vision_AsyncBatchAnnotateFilesResponse');
@@ -0,0 +1,95 @@
<?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\Vision;
class AsyncBatchAnnotateImagesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
/**
* @var string[]
*/
public $labels;
protected $outputConfigType = OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @var string
*/
public $parent;
protected $requestsType = AnnotateImageRequest::class;
protected $requestsDataType = 'array';
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param OutputConfig
*/
public function setOutputConfig(OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param AnnotateImageRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return AnnotateImageRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncBatchAnnotateImagesRequest::class, 'Google_Service_Vision_AsyncBatchAnnotateImagesRequest');
@@ -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\Vision;
class AsyncBatchAnnotateImagesResponse extends \Google\Model
{
protected $outputConfigType = OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param OutputConfig
*/
public function setOutputConfig(OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AsyncBatchAnnotateImagesResponse::class, 'Google_Service_Vision_AsyncBatchAnnotateImagesResponse');
@@ -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\Vision;
class BatchAnnotateFilesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $parent;
protected $requestsType = AnnotateFileRequest::class;
protected $requestsDataType = 'array';
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param AnnotateFileRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return AnnotateFileRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchAnnotateFilesRequest::class, 'Google_Service_Vision_BatchAnnotateFilesRequest');
@@ -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\Vision;
class BatchAnnotateFilesResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = AnnotateFileResponse::class;
protected $responsesDataType = 'array';
/**
* @param AnnotateFileResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return AnnotateFileResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchAnnotateFilesResponse::class, 'Google_Service_Vision_BatchAnnotateFilesResponse');
@@ -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\Vision;
class BatchAnnotateImagesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $parent;
protected $requestsType = AnnotateImageRequest::class;
protected $requestsDataType = 'array';
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setParent($parent)
{
$this->parent = $parent;
}
/**
* @return string
*/
public function getParent()
{
return $this->parent;
}
/**
* @param AnnotateImageRequest[]
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return AnnotateImageRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchAnnotateImagesRequest::class, 'Google_Service_Vision_BatchAnnotateImagesRequest');
@@ -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\Vision;
class BatchAnnotateImagesResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = AnnotateImageResponse::class;
protected $responsesDataType = 'array';
/**
* @param AnnotateImageResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return AnnotateImageResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchAnnotateImagesResponse::class, 'Google_Service_Vision_BatchAnnotateImagesResponse');
@@ -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\Vision;
class BatchOperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $endTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $submitTime;
/**
* @param string
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setSubmitTime($submitTime)
{
$this->submitTime = $submitTime;
}
/**
* @return string
*/
public function getSubmitTime()
{
return $this->submitTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BatchOperationMetadata::class, 'Google_Service_Vision_BatchOperationMetadata');
@@ -0,0 +1,111 @@
<?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\Vision;
class Block extends \Google\Collection
{
protected $collection_key = 'paragraphs';
/**
* @var string
*/
public $blockType;
protected $boundingBoxType = BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $paragraphsType = Paragraph::class;
protected $paragraphsDataType = 'array';
protected $propertyType = TextProperty::class;
protected $propertyDataType = '';
/**
* @param string
*/
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
/**
* @return string
*/
public function getBlockType()
{
return $this->blockType;
}
/**
* @param BoundingPoly
*/
public function setBoundingBox(BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param Paragraph[]
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return Paragraph[]
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param TextProperty
*/
public function setProperty(TextProperty $property)
{
$this->property = $property;
}
/**
* @return TextProperty
*/
public function getProperty()
{
return $this->property;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Block::class, 'Google_Service_Vision_Block');
@@ -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\Vision;
class BoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = NormalizedVertex::class;
protected $normalizedVerticesDataType = 'array';
protected $verticesType = Vertex::class;
protected $verticesDataType = 'array';
/**
* @param NormalizedVertex[]
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return NormalizedVertex[]
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param Vertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return Vertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BoundingPoly::class, 'Google_Service_Vision_BoundingPoly');
@@ -0,0 +1,25 @@
<?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\Vision;
class CancelOperationRequest extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CancelOperationRequest::class, 'Google_Service_Vision_CancelOperationRequest');
@@ -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\Vision;
class Color extends \Google\Model
{
/**
* @var float
*/
public $alpha;
/**
* @var float
*/
public $blue;
/**
* @var float
*/
public $green;
/**
* @var float
*/
public $red;
/**
* @param float
*/
public function setAlpha($alpha)
{
$this->alpha = $alpha;
}
/**
* @return float
*/
public function getAlpha()
{
return $this->alpha;
}
/**
* @param float
*/
public function setBlue($blue)
{
$this->blue = $blue;
}
/**
* @return float
*/
public function getBlue()
{
return $this->blue;
}
/**
* @param float
*/
public function setGreen($green)
{
$this->green = $green;
}
/**
* @return float
*/
public function getGreen()
{
return $this->green;
}
/**
* @param float
*/
public function setRed($red)
{
$this->red = $red;
}
/**
* @return float
*/
public function getRed()
{
return $this->red;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Color::class, 'Google_Service_Vision_Color');
@@ -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\Vision;
class ColorInfo extends \Google\Model
{
protected $colorType = Color::class;
protected $colorDataType = '';
/**
* @var float
*/
public $pixelFraction;
/**
* @var float
*/
public $score;
/**
* @param Color
*/
public function setColor(Color $color)
{
$this->color = $color;
}
/**
* @return Color
*/
public function getColor()
{
return $this->color;
}
/**
* @param float
*/
public function setPixelFraction($pixelFraction)
{
$this->pixelFraction = $pixelFraction;
}
/**
* @return float
*/
public function getPixelFraction()
{
return $this->pixelFraction;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ColorInfo::class, 'Google_Service_Vision_ColorInfo');
@@ -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\Vision;
class CropHint extends \Google\Model
{
protected $boundingPolyType = BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var float
*/
public $importanceFraction;
/**
* @param BoundingPoly
*/
public function setBoundingPoly(BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param float
*/
public function setImportanceFraction($importanceFraction)
{
$this->importanceFraction = $importanceFraction;
}
/**
* @return float
*/
public function getImportanceFraction()
{
return $this->importanceFraction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CropHint::class, 'Google_Service_Vision_CropHint');
@@ -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\Vision;
class CropHintsAnnotation extends \Google\Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = CropHint::class;
protected $cropHintsDataType = 'array';
/**
* @param CropHint[]
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return CropHint[]
*/
public function getCropHints()
{
return $this->cropHints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CropHintsAnnotation::class, 'Google_Service_Vision_CropHintsAnnotation');
@@ -0,0 +1,45 @@
<?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\Vision;
class CropHintsParams extends \Google\Collection
{
protected $collection_key = 'aspectRatios';
/**
* @var float[]
*/
public $aspectRatios;
/**
* @param float[]
*/
public function setAspectRatios($aspectRatios)
{
$this->aspectRatios = $aspectRatios;
}
/**
* @return float[]
*/
public function getAspectRatios()
{
return $this->aspectRatios;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CropHintsParams::class, 'Google_Service_Vision_CropHintsParams');
@@ -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\Vision;
class DetectedBreak extends \Google\Model
{
/**
* @var bool
*/
public $isPrefix;
/**
* @var string
*/
public $type;
/**
* @param bool
*/
public function setIsPrefix($isPrefix)
{
$this->isPrefix = $isPrefix;
}
/**
* @return bool
*/
public function getIsPrefix()
{
return $this->isPrefix;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetectedBreak::class, 'Google_Service_Vision_DetectedBreak');
@@ -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\Vision;
class DetectedLanguage extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $languageCode;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DetectedLanguage::class, 'Google_Service_Vision_DetectedLanguage');
@@ -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\Vision;
class DominantColorsAnnotation extends \Google\Collection
{
protected $collection_key = 'colors';
protected $colorsType = ColorInfo::class;
protected $colorsDataType = 'array';
/**
* @param ColorInfo[]
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return ColorInfo[]
*/
public function getColors()
{
return $this->colors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DominantColorsAnnotation::class, 'Google_Service_Vision_DominantColorsAnnotation');
@@ -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\Vision;
class EntityAnnotation extends \Google\Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $locale;
protected $locationsType = LocationInfo::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $mid;
protected $propertiesType = Property::class;
protected $propertiesDataType = 'array';
/**
* @var float
*/
public $score;
/**
* @var float
*/
public $topicality;
/**
* @param BoundingPoly
*/
public function setBoundingPoly(BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param LocationInfo[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return LocationInfo[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param Property[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return Property[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param float
*/
public function setTopicality($topicality)
{
$this->topicality = $topicality;
}
/**
* @return float
*/
public function getTopicality()
{
return $this->topicality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(EntityAnnotation::class, 'Google_Service_Vision_EntityAnnotation');
@@ -0,0 +1,291 @@
<?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\Vision;
class FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'landmarks';
/**
* @var string
*/
public $angerLikelihood;
/**
* @var string
*/
public $blurredLikelihood;
protected $boundingPolyType = BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $detectionConfidence;
protected $fdBoundingPolyType = BoundingPoly::class;
protected $fdBoundingPolyDataType = '';
/**
* @var string
*/
public $headwearLikelihood;
/**
* @var string
*/
public $joyLikelihood;
/**
* @var float
*/
public $landmarkingConfidence;
protected $landmarksType = Landmark::class;
protected $landmarksDataType = 'array';
/**
* @var float
*/
public $panAngle;
/**
* @var float
*/
public $rollAngle;
/**
* @var string
*/
public $sorrowLikelihood;
/**
* @var string
*/
public $surpriseLikelihood;
/**
* @var float
*/
public $tiltAngle;
/**
* @var string
*/
public $underExposedLikelihood;
/**
* @param string
*/
public function setAngerLikelihood($angerLikelihood)
{
$this->angerLikelihood = $angerLikelihood;
}
/**
* @return string
*/
public function getAngerLikelihood()
{
return $this->angerLikelihood;
}
/**
* @param string
*/
public function setBlurredLikelihood($blurredLikelihood)
{
$this->blurredLikelihood = $blurredLikelihood;
}
/**
* @return string
*/
public function getBlurredLikelihood()
{
return $this->blurredLikelihood;
}
/**
* @param BoundingPoly
*/
public function setBoundingPoly(BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
/**
* @return float
*/
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param BoundingPoly
*/
public function setFdBoundingPoly(BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return BoundingPoly
*/
public function getFdBoundingPoly()
{
return $this->fdBoundingPoly;
}
/**
* @param string
*/
public function setHeadwearLikelihood($headwearLikelihood)
{
$this->headwearLikelihood = $headwearLikelihood;
}
/**
* @return string
*/
public function getHeadwearLikelihood()
{
return $this->headwearLikelihood;
}
/**
* @param string
*/
public function setJoyLikelihood($joyLikelihood)
{
$this->joyLikelihood = $joyLikelihood;
}
/**
* @return string
*/
public function getJoyLikelihood()
{
return $this->joyLikelihood;
}
/**
* @param float
*/
public function setLandmarkingConfidence($landmarkingConfidence)
{
$this->landmarkingConfidence = $landmarkingConfidence;
}
/**
* @return float
*/
public function getLandmarkingConfidence()
{
return $this->landmarkingConfidence;
}
/**
* @param Landmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return Landmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
/**
* @param float
*/
public function setPanAngle($panAngle)
{
$this->panAngle = $panAngle;
}
/**
* @return float
*/
public function getPanAngle()
{
return $this->panAngle;
}
/**
* @param float
*/
public function setRollAngle($rollAngle)
{
$this->rollAngle = $rollAngle;
}
/**
* @return float
*/
public function getRollAngle()
{
return $this->rollAngle;
}
/**
* @param string
*/
public function setSorrowLikelihood($sorrowLikelihood)
{
$this->sorrowLikelihood = $sorrowLikelihood;
}
/**
* @return string
*/
public function getSorrowLikelihood()
{
return $this->sorrowLikelihood;
}
/**
* @param string
*/
public function setSurpriseLikelihood($surpriseLikelihood)
{
$this->surpriseLikelihood = $surpriseLikelihood;
}
/**
* @return string
*/
public function getSurpriseLikelihood()
{
return $this->surpriseLikelihood;
}
/**
* @param float
*/
public function setTiltAngle($tiltAngle)
{
$this->tiltAngle = $tiltAngle;
}
/**
* @return float
*/
public function getTiltAngle()
{
return $this->tiltAngle;
}
/**
* @param string
*/
public function setUnderExposedLikelihood($underExposedLikelihood)
{
$this->underExposedLikelihood = $underExposedLikelihood;
}
/**
* @return string
*/
public function getUnderExposedLikelihood()
{
return $this->underExposedLikelihood;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(FaceAnnotation::class, 'Google_Service_Vision_FaceAnnotation');
@@ -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\Vision;
class Feature extends \Google\Model
{
/**
* @var int
*/
public $maxResults;
/**
* @var string
*/
public $model;
/**
* @var string
*/
public $type;
/**
* @param int
*/
public function setMaxResults($maxResults)
{
$this->maxResults = $maxResults;
}
/**
* @return int
*/
public function getMaxResults()
{
return $this->maxResults;
}
/**
* @param string
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Feature::class, 'Google_Service_Vision_Feature');
@@ -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\Vision;
class GcsDestination extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsDestination::class, 'Google_Service_Vision_GcsDestination');
@@ -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\Vision;
class GcsSource extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GcsSource::class, 'Google_Service_Vision_GcsSource');
@@ -0,0 +1,93 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1AnnotateFileResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $inputConfigType = GoogleCloudVisionV1p1beta1InputConfig::class;
protected $inputConfigDataType = '';
protected $responsesType = GoogleCloudVisionV1p1beta1AnnotateImageResponse::class;
protected $responsesDataType = 'array';
/**
* @var int
*/
public $totalPages;
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVisionV1p1beta1InputConfig
*/
public function setInputConfig(GoogleCloudVisionV1p1beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudVisionV1p1beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param GoogleCloudVisionV1p1beta1AnnotateImageResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return GoogleCloudVisionV1p1beta1AnnotateImageResponse[]
*/
public function getResponses()
{
return $this->responses;
}
/**
* @param int
*/
public function setTotalPages($totalPages)
{
$this->totalPages = $totalPages;
}
/**
* @return int
*/
public function getTotalPages()
{
return $this->totalPages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1AnnotateFileResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AnnotateFileResponse');
@@ -0,0 +1,251 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1AnnotateImageResponse extends \Google\Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = GoogleCloudVisionV1p1beta1ImageAnnotationContext::class;
protected $contextDataType = '';
protected $cropHintsAnnotationType = GoogleCloudVisionV1p1beta1CropHintsAnnotation::class;
protected $cropHintsAnnotationDataType = '';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $faceAnnotationsType = GoogleCloudVisionV1p1beta1FaceAnnotation::class;
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = GoogleCloudVisionV1p1beta1TextAnnotation::class;
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = GoogleCloudVisionV1p1beta1ImageProperties::class;
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = GoogleCloudVisionV1p1beta1EntityAnnotation::class;
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = GoogleCloudVisionV1p1beta1EntityAnnotation::class;
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::class;
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = GoogleCloudVisionV1p1beta1EntityAnnotation::class;
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = GoogleCloudVisionV1p1beta1ProductSearchResults::class;
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = GoogleCloudVisionV1p1beta1SafeSearchAnnotation::class;
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = GoogleCloudVisionV1p1beta1EntityAnnotation::class;
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = GoogleCloudVisionV1p1beta1WebDetection::class;
protected $webDetectionDataType = '';
/**
* @param GoogleCloudVisionV1p1beta1ImageAnnotationContext
*/
public function setContext(GoogleCloudVisionV1p1beta1ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return GoogleCloudVisionV1p1beta1ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param GoogleCloudVisionV1p1beta1CropHintsAnnotation
*/
public function setCropHintsAnnotation(GoogleCloudVisionV1p1beta1CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return GoogleCloudVisionV1p1beta1CropHintsAnnotation
*/
public function getCropHintsAnnotation()
{
return $this->cropHintsAnnotation;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVisionV1p1beta1FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotation
*/
public function setFullTextAnnotation(GoogleCloudVisionV1p1beta1TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param GoogleCloudVisionV1p1beta1ImageProperties
*/
public function setImagePropertiesAnnotation(GoogleCloudVisionV1p1beta1ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return GoogleCloudVisionV1p1beta1ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation[]
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation[]
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductSearchResults
*/
public function setProductSearchResults(GoogleCloudVisionV1p1beta1ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param GoogleCloudVisionV1p1beta1SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(GoogleCloudVisionV1p1beta1SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return GoogleCloudVisionV1p1beta1SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1EntityAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetection
*/
public function setWebDetection(GoogleCloudVisionV1p1beta1WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetection
*/
public function getWebDetection()
{
return $this->webDetection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1AnnotateImageResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AnnotateImageResponse');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse extends \Google\Model
{
protected $outputConfigType = GoogleCloudVisionV1p1beta1OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param GoogleCloudVisionV1p1beta1OutputConfig
*/
public function setOutputConfig(GoogleCloudVisionV1p1beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudVisionV1p1beta1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse::class;
protected $responsesDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return GoogleCloudVisionV1p1beta1AsyncAnnotateFileResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesResponse');
@@ -0,0 +1,111 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1Block extends \Google\Collection
{
protected $collection_key = 'paragraphs';
/**
* @var string
*/
public $blockType;
protected $boundingBoxType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $paragraphsType = GoogleCloudVisionV1p1beta1Paragraph::class;
protected $paragraphsDataType = 'array';
protected $propertyType = GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
/**
* @param string
*/
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
/**
* @return string
*/
public function getBlockType()
{
return $this->blockType;
}
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVisionV1p1beta1Paragraph[]
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return GoogleCloudVisionV1p1beta1Paragraph[]
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Block::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Block');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1BoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = GoogleCloudVisionV1p1beta1NormalizedVertex::class;
protected $normalizedVerticesDataType = 'array';
protected $verticesType = GoogleCloudVisionV1p1beta1Vertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1NormalizedVertex[]
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return GoogleCloudVisionV1p1beta1NormalizedVertex[]
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param GoogleCloudVisionV1p1beta1Vertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudVisionV1p1beta1Vertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1BoundingPoly::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ColorInfo extends \Google\Model
{
protected $colorType = Color::class;
protected $colorDataType = '';
/**
* @var float
*/
public $pixelFraction;
/**
* @var float
*/
public $score;
/**
* @param Color
*/
public function setColor(Color $color)
{
$this->color = $color;
}
/**
* @return Color
*/
public function getColor()
{
return $this->color;
}
/**
* @param float
*/
public function setPixelFraction($pixelFraction)
{
$this->pixelFraction = $pixelFraction;
}
/**
* @return float
*/
public function getPixelFraction()
{
return $this->pixelFraction;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ColorInfo::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ColorInfo');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1CropHint extends \Google\Model
{
protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var float
*/
public $importanceFraction;
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param float
*/
public function setImportanceFraction($importanceFraction)
{
$this->importanceFraction = $importanceFraction;
}
/**
* @return float
*/
public function getImportanceFraction()
{
return $this->importanceFraction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1CropHint::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHint');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1CropHintsAnnotation extends \Google\Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = GoogleCloudVisionV1p1beta1CropHint::class;
protected $cropHintsDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1CropHint[]
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return GoogleCloudVisionV1p1beta1CropHint[]
*/
public function getCropHints()
{
return $this->cropHints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1CropHintsAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1CropHintsAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1DominantColorsAnnotation extends \Google\Collection
{
protected $collection_key = 'colors';
protected $colorsType = GoogleCloudVisionV1p1beta1ColorInfo::class;
protected $colorsDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1ColorInfo[]
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return GoogleCloudVisionV1p1beta1ColorInfo[]
*/
public function getColors()
{
return $this->colors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1DominantColorsAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1DominantColorsAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1EntityAnnotation extends \Google\Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $locale;
protected $locationsType = GoogleCloudVisionV1p1beta1LocationInfo::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $mid;
protected $propertiesType = GoogleCloudVisionV1p1beta1Property::class;
protected $propertiesDataType = 'array';
/**
* @var float
*/
public $score;
/**
* @var float
*/
public $topicality;
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param GoogleCloudVisionV1p1beta1LocationInfo[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return GoogleCloudVisionV1p1beta1LocationInfo[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param GoogleCloudVisionV1p1beta1Property[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudVisionV1p1beta1Property[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param float
*/
public function setTopicality($topicality)
{
$this->topicality = $topicality;
}
/**
* @return float
*/
public function getTopicality()
{
return $this->topicality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1EntityAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1EntityAnnotation');
@@ -0,0 +1,291 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'landmarks';
/**
* @var string
*/
public $angerLikelihood;
/**
* @var string
*/
public $blurredLikelihood;
protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $detectionConfidence;
protected $fdBoundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $fdBoundingPolyDataType = '';
/**
* @var string
*/
public $headwearLikelihood;
/**
* @var string
*/
public $joyLikelihood;
/**
* @var float
*/
public $landmarkingConfidence;
protected $landmarksType = GoogleCloudVisionV1p1beta1FaceAnnotationLandmark::class;
protected $landmarksDataType = 'array';
/**
* @var float
*/
public $panAngle;
/**
* @var float
*/
public $rollAngle;
/**
* @var string
*/
public $sorrowLikelihood;
/**
* @var string
*/
public $surpriseLikelihood;
/**
* @var float
*/
public $tiltAngle;
/**
* @var string
*/
public $underExposedLikelihood;
/**
* @param string
*/
public function setAngerLikelihood($angerLikelihood)
{
$this->angerLikelihood = $angerLikelihood;
}
/**
* @return string
*/
public function getAngerLikelihood()
{
return $this->angerLikelihood;
}
/**
* @param string
*/
public function setBlurredLikelihood($blurredLikelihood)
{
$this->blurredLikelihood = $blurredLikelihood;
}
/**
* @return string
*/
public function getBlurredLikelihood()
{
return $this->blurredLikelihood;
}
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
/**
* @return float
*/
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setFdBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getFdBoundingPoly()
{
return $this->fdBoundingPoly;
}
/**
* @param string
*/
public function setHeadwearLikelihood($headwearLikelihood)
{
$this->headwearLikelihood = $headwearLikelihood;
}
/**
* @return string
*/
public function getHeadwearLikelihood()
{
return $this->headwearLikelihood;
}
/**
* @param string
*/
public function setJoyLikelihood($joyLikelihood)
{
$this->joyLikelihood = $joyLikelihood;
}
/**
* @return string
*/
public function getJoyLikelihood()
{
return $this->joyLikelihood;
}
/**
* @param float
*/
public function setLandmarkingConfidence($landmarkingConfidence)
{
$this->landmarkingConfidence = $landmarkingConfidence;
}
/**
* @return float
*/
public function getLandmarkingConfidence()
{
return $this->landmarkingConfidence;
}
/**
* @param GoogleCloudVisionV1p1beta1FaceAnnotationLandmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return GoogleCloudVisionV1p1beta1FaceAnnotationLandmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
/**
* @param float
*/
public function setPanAngle($panAngle)
{
$this->panAngle = $panAngle;
}
/**
* @return float
*/
public function getPanAngle()
{
return $this->panAngle;
}
/**
* @param float
*/
public function setRollAngle($rollAngle)
{
$this->rollAngle = $rollAngle;
}
/**
* @return float
*/
public function getRollAngle()
{
return $this->rollAngle;
}
/**
* @param string
*/
public function setSorrowLikelihood($sorrowLikelihood)
{
$this->sorrowLikelihood = $sorrowLikelihood;
}
/**
* @return string
*/
public function getSorrowLikelihood()
{
return $this->sorrowLikelihood;
}
/**
* @param string
*/
public function setSurpriseLikelihood($surpriseLikelihood)
{
$this->surpriseLikelihood = $surpriseLikelihood;
}
/**
* @return string
*/
public function getSurpriseLikelihood()
{
return $this->surpriseLikelihood;
}
/**
* @param float
*/
public function setTiltAngle($tiltAngle)
{
$this->tiltAngle = $tiltAngle;
}
/**
* @return float
*/
public function getTiltAngle()
{
return $this->tiltAngle;
}
/**
* @param string
*/
public function setUnderExposedLikelihood($underExposedLikelihood)
{
$this->underExposedLikelihood = $underExposedLikelihood;
}
/**
* @return string
*/
public function getUnderExposedLikelihood()
{
return $this->underExposedLikelihood;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1FaceAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1FaceAnnotationLandmark extends \Google\Model
{
protected $positionType = GoogleCloudVisionV1p1beta1Position::class;
protected $positionDataType = '';
/**
* @var string
*/
public $type;
/**
* @param GoogleCloudVisionV1p1beta1Position
*/
public function setPosition(GoogleCloudVisionV1p1beta1Position $position)
{
$this->position = $position;
}
/**
* @return GoogleCloudVisionV1p1beta1Position
*/
public function getPosition()
{
return $this->position;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1FaceAnnotationLandmark::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1FaceAnnotationLandmark');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1GcsDestination extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1GcsDestination::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsDestination');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1GcsSource extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1GcsSource::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1GcsSource');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ImageAnnotationContext extends \Google\Model
{
/**
* @var int
*/
public $pageNumber;
/**
* @var string
*/
public $uri;
/**
* @param int
*/
public function setPageNumber($pageNumber)
{
$this->pageNumber = $pageNumber;
}
/**
* @return int
*/
public function getPageNumber()
{
return $this->pageNumber;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ImageAnnotationContext::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageAnnotationContext');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ImageProperties extends \Google\Model
{
protected $dominantColorsType = GoogleCloudVisionV1p1beta1DominantColorsAnnotation::class;
protected $dominantColorsDataType = '';
/**
* @param GoogleCloudVisionV1p1beta1DominantColorsAnnotation
*/
public function setDominantColors(GoogleCloudVisionV1p1beta1DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
/**
* @return GoogleCloudVisionV1p1beta1DominantColorsAnnotation
*/
public function getDominantColors()
{
return $this->dominantColors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ImageProperties::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ImageProperties');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1InputConfig extends \Google\Model
{
/**
* @var string
*/
public $content;
protected $gcsSourceType = GoogleCloudVisionV1p1beta1GcsSource::class;
protected $gcsSourceDataType = '';
/**
* @var string
*/
public $mimeType;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param GoogleCloudVisionV1p1beta1GcsSource
*/
public function setGcsSource(GoogleCloudVisionV1p1beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudVisionV1p1beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
/**
* @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(GoogleCloudVisionV1p1beta1InputConfig::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1InputConfig');
@@ -0,0 +1,114 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation extends \Google\Model
{
protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $mid;
/**
* @var string
*/
public $name;
/**
* @var float
*/
public $score;
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1LocalizedObjectAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1LocationInfo extends \Google\Model
{
protected $latLngType = LatLng::class;
protected $latLngDataType = '';
/**
* @param LatLng
*/
public function setLatLng(LatLng $latLng)
{
$this->latLng = $latLng;
}
/**
* @return LatLng
*/
public function getLatLng()
{
return $this->latLng;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1LocationInfo::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1LocationInfo');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1NormalizedVertex extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1NormalizedVertex::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1NormalizedVertex');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(GoogleCloudVisionV1p1beta1OperationMetadata::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1OperationMetadata');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1OutputConfig extends \Google\Model
{
/**
* @var int
*/
public $batchSize;
protected $gcsDestinationType = GoogleCloudVisionV1p1beta1GcsDestination::class;
protected $gcsDestinationDataType = '';
/**
* @param int
*/
public function setBatchSize($batchSize)
{
$this->batchSize = $batchSize;
}
/**
* @return int
*/
public function getBatchSize()
{
return $this->batchSize;
}
/**
* @param GoogleCloudVisionV1p1beta1GcsDestination
*/
public function setGcsDestination(GoogleCloudVisionV1p1beta1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return GoogleCloudVisionV1p1beta1GcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1OutputConfig::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1OutputConfig');
@@ -0,0 +1,113 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1Page extends \Google\Collection
{
protected $collection_key = 'blocks';
protected $blocksType = GoogleCloudVisionV1p1beta1Block::class;
protected $blocksDataType = 'array';
/**
* @var float
*/
public $confidence;
/**
* @var int
*/
public $height;
protected $propertyType = GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
/**
* @var int
*/
public $width;
/**
* @param GoogleCloudVisionV1p1beta1Block[]
*/
public function setBlocks($blocks)
{
$this->blocks = $blocks;
}
/**
* @return GoogleCloudVisionV1p1beta1Block[]
*/
public function getBlocks()
{
return $this->blocks;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param int
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param int
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Page::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Page');
@@ -0,0 +1,93 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1Paragraph extends \Google\Collection
{
protected $collection_key = 'words';
protected $boundingBoxType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $propertyType = GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
protected $wordsType = GoogleCloudVisionV1p1beta1Word::class;
protected $wordsDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param GoogleCloudVisionV1p1beta1Word[]
*/
public function setWords($words)
{
$this->words = $words;
}
/**
* @return GoogleCloudVisionV1p1beta1Word[]
*/
public function getWords()
{
return $this->words;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Paragraph::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Paragraph');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1Position extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @var float
*/
public $z;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
/**
* @param float
*/
public function setZ($z)
{
$this->z = $z;
}
/**
* @return float
*/
public function getZ()
{
return $this->z;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Position::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Position');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1Product extends \Google\Collection
{
protected $collection_key = 'productLabels';
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $displayName;
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $productCategory;
protected $productLabelsType = GoogleCloudVisionV1p1beta1ProductKeyValue::class;
protected $productLabelsDataType = 'array';
/**
* @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 string
*/
public function setProductCategory($productCategory)
{
$this->productCategory = $productCategory;
}
/**
* @return string
*/
public function getProductCategory()
{
return $this->productCategory;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductKeyValue[]
*/
public function setProductLabels($productLabels)
{
$this->productLabels = $productLabels;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductKeyValue[]
*/
public function getProductLabels()
{
return $this->productLabels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Product::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Product');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ProductKeyValue extends \Google\Model
{
/**
* @var string
*/
public $key;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setKey($key)
{
$this->key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ProductKeyValue::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductKeyValue');
@@ -0,0 +1,77 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1ProductSearchResults extends \Google\Collection
{
protected $collection_key = 'results';
/**
* @var string
*/
public $indexTime;
protected $productGroupedResultsType = GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult::class;
protected $productGroupedResultsDataType = 'array';
protected $resultsType = GoogleCloudVisionV1p1beta1ProductSearchResultsResult::class;
protected $resultsDataType = 'array';
/**
* @param string
*/
public function setIndexTime($indexTime)
{
$this->indexTime = $indexTime;
}
/**
* @return string
*/
public function getIndexTime()
{
return $this->indexTime;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult[]
*/
public function setProductGroupedResults($productGroupedResults)
{
$this->productGroupedResults = $productGroupedResults;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult[]
*/
public function getProductGroupedResults()
{
return $this->productGroupedResults;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductSearchResultsResult[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductSearchResultsResult[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ProductSearchResults::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResults');
@@ -0,0 +1,75 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult extends \Google\Collection
{
protected $collection_key = 'results';
protected $boundingPolyType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
protected $objectAnnotationsType = GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation::class;
protected $objectAnnotationsDataType = 'array';
protected $resultsType = GoogleCloudVisionV1p1beta1ProductSearchResultsResult::class;
protected $resultsDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p1beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation[]
*/
public function setObjectAnnotations($objectAnnotations)
{
$this->objectAnnotations = $objectAnnotations;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation[]
*/
public function getObjectAnnotations()
{
return $this->objectAnnotations;
}
/**
* @param GoogleCloudVisionV1p1beta1ProductSearchResultsResult[]
*/
public function setResults($results)
{
$this->results = $results;
}
/**
* @return GoogleCloudVisionV1p1beta1ProductSearchResultsResult[]
*/
public function getResults()
{
return $this->results;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation extends \Google\Model
{
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $mid;
/**
* @var string
*/
public $name;
/**
* @var float
*/
public $score;
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1ProductSearchResultsResult extends \Google\Model
{
/**
* @var string
*/
public $image;
protected $productType = GoogleCloudVisionV1p1beta1Product::class;
protected $productDataType = '';
/**
* @var float
*/
public $score;
/**
* @param string
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* @param GoogleCloudVisionV1p1beta1Product
*/
public function setProduct(GoogleCloudVisionV1p1beta1Product $product)
{
$this->product = $product;
}
/**
* @return GoogleCloudVisionV1p1beta1Product
*/
public function getProduct()
{
return $this->product;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1ProductSearchResultsResult::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1ProductSearchResultsResult');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1Property extends \Google\Model
{
/**
* @var string
*/
public $name;
/**
* @var string
*/
public $uint64Value;
/**
* @var string
*/
public $value;
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string
*/
public function setUint64Value($uint64Value)
{
$this->uint64Value = $uint64Value;
}
/**
* @return string
*/
public function getUint64Value()
{
return $this->uint64Value;
}
/**
* @param string
*/
public function setValue($value)
{
$this->value = $value;
}
/**
* @return string
*/
public function getValue()
{
return $this->value;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Property::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Property');
@@ -0,0 +1,116 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1SafeSearchAnnotation extends \Google\Model
{
/**
* @var string
*/
public $adult;
/**
* @var string
*/
public $medical;
/**
* @var string
*/
public $racy;
/**
* @var string
*/
public $spoof;
/**
* @var string
*/
public $violence;
/**
* @param string
*/
public function setAdult($adult)
{
$this->adult = $adult;
}
/**
* @return string
*/
public function getAdult()
{
return $this->adult;
}
/**
* @param string
*/
public function setMedical($medical)
{
$this->medical = $medical;
}
/**
* @return string
*/
public function getMedical()
{
return $this->medical;
}
/**
* @param string
*/
public function setRacy($racy)
{
$this->racy = $racy;
}
/**
* @return string
*/
public function getRacy()
{
return $this->racy;
}
/**
* @param string
*/
public function setSpoof($spoof)
{
$this->spoof = $spoof;
}
/**
* @return string
*/
public function getSpoof()
{
return $this->spoof;
}
/**
* @param string
*/
public function setViolence($violence)
{
$this->violence = $violence;
}
/**
* @return string
*/
public function getViolence()
{
return $this->violence;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1SafeSearchAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1SafeSearchAnnotation');
@@ -0,0 +1,94 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1Symbol extends \Google\Model
{
protected $boundingBoxType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $propertyType = GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
/**
* @var string
*/
public $text;
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Symbol::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Symbol');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1TextAnnotation extends \Google\Collection
{
protected $collection_key = 'pages';
protected $pagesType = GoogleCloudVisionV1p1beta1Page::class;
protected $pagesDataType = 'array';
/**
* @var string
*/
public $text;
/**
* @param GoogleCloudVisionV1p1beta1Page[]
*/
public function setPages($pages)
{
$this->pages = $pages;
}
/**
* @return GoogleCloudVisionV1p1beta1Page[]
*/
public function getPages()
{
return $this->pages;
}
/**
* @param string
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1TextAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak extends \Google\Model
{
/**
* @var bool
*/
public $isPrefix;
/**
* @var string
*/
public $type;
/**
* @param bool
*/
public function setIsPrefix($isPrefix)
{
$this->isPrefix = $isPrefix;
}
/**
* @return bool
*/
public function getIsPrefix()
{
return $this->isPrefix;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage extends \Google\Model
{
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $languageCode;
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1TextAnnotationTextProperty extends \Google\Collection
{
protected $collection_key = 'detectedLanguages';
protected $detectedBreakType = GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak::class;
protected $detectedBreakDataType = '';
protected $detectedLanguagesType = GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage::class;
protected $detectedLanguagesDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
*/
public function setDetectedBreak(GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak $detectedBreak)
{
$this->detectedBreak = $detectedBreak;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationDetectedBreak
*/
public function getDetectedBreak()
{
return $this->detectedBreak;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage[]
*/
public function setDetectedLanguages($detectedLanguages)
{
$this->detectedLanguages = $detectedLanguages;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationDetectedLanguage[]
*/
public function getDetectedLanguages()
{
return $this->detectedLanguages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1Vertex extends \Google\Model
{
/**
* @var int
*/
public $x;
/**
* @var int
*/
public $y;
/**
* @param int
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return int
*/
public function getX()
{
return $this->x;
}
/**
* @param int
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return int
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Vertex::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Vertex');
@@ -0,0 +1,123 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1WebDetection extends \Google\Collection
{
protected $collection_key = 'webEntities';
protected $bestGuessLabelsType = GoogleCloudVisionV1p1beta1WebDetectionWebLabel::class;
protected $bestGuessLabelsDataType = 'array';
protected $fullMatchingImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebImage::class;
protected $fullMatchingImagesDataType = 'array';
protected $pagesWithMatchingImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebPage::class;
protected $pagesWithMatchingImagesDataType = 'array';
protected $partialMatchingImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebImage::class;
protected $partialMatchingImagesDataType = 'array';
protected $visuallySimilarImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebImage::class;
protected $visuallySimilarImagesDataType = 'array';
protected $webEntitiesType = GoogleCloudVisionV1p1beta1WebDetectionWebEntity::class;
protected $webEntitiesDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebLabel[]
*/
public function setBestGuessLabels($bestGuessLabels)
{
$this->bestGuessLabels = $bestGuessLabels;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebLabel[]
*/
public function getBestGuessLabels()
{
return $this->bestGuessLabels;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebPage[]
*/
public function setPagesWithMatchingImages($pagesWithMatchingImages)
{
$this->pagesWithMatchingImages = $pagesWithMatchingImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebPage[]
*/
public function getPagesWithMatchingImages()
{
return $this->pagesWithMatchingImages;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function setVisuallySimilarImages($visuallySimilarImages)
{
$this->visuallySimilarImages = $visuallySimilarImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function getVisuallySimilarImages()
{
return $this->visuallySimilarImages;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebEntity[]
*/
public function setWebEntities($webEntities)
{
$this->webEntities = $webEntities;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebEntity[]
*/
public function getWebEntities()
{
return $this->webEntities;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1WebDetection::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetection');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1WebDetectionWebEntity extends \Google\Model
{
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $entityId;
/**
* @var float
*/
public $score;
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setEntityId($entityId)
{
$this->entityId = $entityId;
}
/**
* @return string
*/
public function getEntityId()
{
return $this->entityId;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1WebDetectionWebEntity::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebEntity');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1WebDetectionWebImage extends \Google\Model
{
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $url;
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1WebDetectionWebImage::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebImage');
@@ -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\Vision;
class GoogleCloudVisionV1p1beta1WebDetectionWebLabel extends \Google\Model
{
/**
* @var string
*/
public $label;
/**
* @var string
*/
public $languageCode;
/**
* @param string
*/
public function setLabel($label)
{
$this->label = $label;
}
/**
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1WebDetectionWebLabel::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebLabel');
@@ -0,0 +1,113 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1WebDetectionWebPage extends \Google\Collection
{
protected $collection_key = 'partialMatchingImages';
protected $fullMatchingImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebImage::class;
protected $fullMatchingImagesDataType = 'array';
/**
* @var string
*/
public $pageTitle;
protected $partialMatchingImagesType = GoogleCloudVisionV1p1beta1WebDetectionWebImage::class;
protected $partialMatchingImagesDataType = 'array';
/**
* @var float
*/
public $score;
/**
* @var string
*/
public $url;
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function setFullMatchingImages($fullMatchingImages)
{
$this->fullMatchingImages = $fullMatchingImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function getFullMatchingImages()
{
return $this->fullMatchingImages;
}
/**
* @param string
*/
public function setPageTitle($pageTitle)
{
$this->pageTitle = $pageTitle;
}
/**
* @return string
*/
public function getPageTitle()
{
return $this->pageTitle;
}
/**
* @param GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function setPartialMatchingImages($partialMatchingImages)
{
$this->partialMatchingImages = $partialMatchingImages;
}
/**
* @return GoogleCloudVisionV1p1beta1WebDetectionWebImage[]
*/
public function getPartialMatchingImages()
{
return $this->partialMatchingImages;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param string
*/
public function setUrl($url)
{
$this->url = $url;
}
/**
* @return string
*/
public function getUrl()
{
return $this->url;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1WebDetectionWebPage::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1WebDetectionWebPage');
@@ -0,0 +1,93 @@
<?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\Vision;
class GoogleCloudVisionV1p1beta1Word extends \Google\Collection
{
protected $collection_key = 'symbols';
protected $boundingBoxType = GoogleCloudVisionV1p1beta1BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $propertyType = GoogleCloudVisionV1p1beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
protected $symbolsType = GoogleCloudVisionV1p1beta1Symbol::class;
protected $symbolsDataType = 'array';
/**
* @param GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function setBoundingBox(GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return GoogleCloudVisionV1p1beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
/**
* @param GoogleCloudVisionV1p1beta1Symbol[]
*/
public function setSymbols($symbols)
{
$this->symbols = $symbols;
}
/**
* @return GoogleCloudVisionV1p1beta1Symbol[]
*/
public function getSymbols()
{
return $this->symbols;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p1beta1Word::class, 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Word');
@@ -0,0 +1,93 @@
<?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\Vision;
class GoogleCloudVisionV1p2beta1AnnotateFileResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $inputConfigType = GoogleCloudVisionV1p2beta1InputConfig::class;
protected $inputConfigDataType = '';
protected $responsesType = GoogleCloudVisionV1p2beta1AnnotateImageResponse::class;
protected $responsesDataType = 'array';
/**
* @var int
*/
public $totalPages;
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVisionV1p2beta1InputConfig
*/
public function setInputConfig(GoogleCloudVisionV1p2beta1InputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudVisionV1p2beta1InputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* @param GoogleCloudVisionV1p2beta1AnnotateImageResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return GoogleCloudVisionV1p2beta1AnnotateImageResponse[]
*/
public function getResponses()
{
return $this->responses;
}
/**
* @param int
*/
public function setTotalPages($totalPages)
{
$this->totalPages = $totalPages;
}
/**
* @return int
*/
public function getTotalPages()
{
return $this->totalPages;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1AnnotateFileResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateFileResponse');
@@ -0,0 +1,251 @@
<?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\Vision;
class GoogleCloudVisionV1p2beta1AnnotateImageResponse extends \Google\Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = GoogleCloudVisionV1p2beta1ImageAnnotationContext::class;
protected $contextDataType = '';
protected $cropHintsAnnotationType = GoogleCloudVisionV1p2beta1CropHintsAnnotation::class;
protected $cropHintsAnnotationDataType = '';
protected $errorType = Status::class;
protected $errorDataType = '';
protected $faceAnnotationsType = GoogleCloudVisionV1p2beta1FaceAnnotation::class;
protected $faceAnnotationsDataType = 'array';
protected $fullTextAnnotationType = GoogleCloudVisionV1p2beta1TextAnnotation::class;
protected $fullTextAnnotationDataType = '';
protected $imagePropertiesAnnotationType = GoogleCloudVisionV1p2beta1ImageProperties::class;
protected $imagePropertiesAnnotationDataType = '';
protected $labelAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
protected $labelAnnotationsDataType = 'array';
protected $landmarkAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
protected $landmarkAnnotationsDataType = 'array';
protected $localizedObjectAnnotationsType = GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::class;
protected $localizedObjectAnnotationsDataType = 'array';
protected $logoAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
protected $logoAnnotationsDataType = 'array';
protected $productSearchResultsType = GoogleCloudVisionV1p2beta1ProductSearchResults::class;
protected $productSearchResultsDataType = '';
protected $safeSearchAnnotationType = GoogleCloudVisionV1p2beta1SafeSearchAnnotation::class;
protected $safeSearchAnnotationDataType = '';
protected $textAnnotationsType = GoogleCloudVisionV1p2beta1EntityAnnotation::class;
protected $textAnnotationsDataType = 'array';
protected $webDetectionType = GoogleCloudVisionV1p2beta1WebDetection::class;
protected $webDetectionDataType = '';
/**
* @param GoogleCloudVisionV1p2beta1ImageAnnotationContext
*/
public function setContext(GoogleCloudVisionV1p2beta1ImageAnnotationContext $context)
{
$this->context = $context;
}
/**
* @return GoogleCloudVisionV1p2beta1ImageAnnotationContext
*/
public function getContext()
{
return $this->context;
}
/**
* @param GoogleCloudVisionV1p2beta1CropHintsAnnotation
*/
public function setCropHintsAnnotation(GoogleCloudVisionV1p2beta1CropHintsAnnotation $cropHintsAnnotation)
{
$this->cropHintsAnnotation = $cropHintsAnnotation;
}
/**
* @return GoogleCloudVisionV1p2beta1CropHintsAnnotation
*/
public function getCropHintsAnnotation()
{
return $this->cropHintsAnnotation;
}
/**
* @param Status
*/
public function setError(Status $error)
{
$this->error = $error;
}
/**
* @return Status
*/
public function getError()
{
return $this->error;
}
/**
* @param GoogleCloudVisionV1p2beta1FaceAnnotation[]
*/
public function setFaceAnnotations($faceAnnotations)
{
$this->faceAnnotations = $faceAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1FaceAnnotation[]
*/
public function getFaceAnnotations()
{
return $this->faceAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1TextAnnotation
*/
public function setFullTextAnnotation(GoogleCloudVisionV1p2beta1TextAnnotation $fullTextAnnotation)
{
$this->fullTextAnnotation = $fullTextAnnotation;
}
/**
* @return GoogleCloudVisionV1p2beta1TextAnnotation
*/
public function getFullTextAnnotation()
{
return $this->fullTextAnnotation;
}
/**
* @param GoogleCloudVisionV1p2beta1ImageProperties
*/
public function setImagePropertiesAnnotation(GoogleCloudVisionV1p2beta1ImageProperties $imagePropertiesAnnotation)
{
$this->imagePropertiesAnnotation = $imagePropertiesAnnotation;
}
/**
* @return GoogleCloudVisionV1p2beta1ImageProperties
*/
public function getImagePropertiesAnnotation()
{
return $this->imagePropertiesAnnotation;
}
/**
* @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function setLabelAnnotations($labelAnnotations)
{
$this->labelAnnotations = $labelAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function getLabelAnnotations()
{
return $this->labelAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function setLandmarkAnnotations($landmarkAnnotations)
{
$this->landmarkAnnotations = $landmarkAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function getLandmarkAnnotations()
{
return $this->landmarkAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[]
*/
public function setLocalizedObjectAnnotations($localizedObjectAnnotations)
{
$this->localizedObjectAnnotations = $localizedObjectAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation[]
*/
public function getLocalizedObjectAnnotations()
{
return $this->localizedObjectAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function setLogoAnnotations($logoAnnotations)
{
$this->logoAnnotations = $logoAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function getLogoAnnotations()
{
return $this->logoAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1ProductSearchResults
*/
public function setProductSearchResults(GoogleCloudVisionV1p2beta1ProductSearchResults $productSearchResults)
{
$this->productSearchResults = $productSearchResults;
}
/**
* @return GoogleCloudVisionV1p2beta1ProductSearchResults
*/
public function getProductSearchResults()
{
return $this->productSearchResults;
}
/**
* @param GoogleCloudVisionV1p2beta1SafeSearchAnnotation
*/
public function setSafeSearchAnnotation(GoogleCloudVisionV1p2beta1SafeSearchAnnotation $safeSearchAnnotation)
{
$this->safeSearchAnnotation = $safeSearchAnnotation;
}
/**
* @return GoogleCloudVisionV1p2beta1SafeSearchAnnotation
*/
public function getSafeSearchAnnotation()
{
return $this->safeSearchAnnotation;
}
/**
* @param GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function setTextAnnotations($textAnnotations)
{
$this->textAnnotations = $textAnnotations;
}
/**
* @return GoogleCloudVisionV1p2beta1EntityAnnotation[]
*/
public function getTextAnnotations()
{
return $this->textAnnotations;
}
/**
* @param GoogleCloudVisionV1p2beta1WebDetection
*/
public function setWebDetection(GoogleCloudVisionV1p2beta1WebDetection $webDetection)
{
$this->webDetection = $webDetection;
}
/**
* @return GoogleCloudVisionV1p2beta1WebDetection
*/
public function getWebDetection()
{
return $this->webDetection;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1AnnotateImageResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse extends \Google\Model
{
protected $outputConfigType = GoogleCloudVisionV1p2beta1OutputConfig::class;
protected $outputConfigDataType = '';
/**
* @param GoogleCloudVisionV1p2beta1OutputConfig
*/
public function setOutputConfig(GoogleCloudVisionV1p2beta1OutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudVisionV1p2beta1OutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse extends \Google\Collection
{
protected $collection_key = 'responses';
protected $responsesType = GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse::class;
protected $responsesDataType = 'array';
/**
* @param GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse[]
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return GoogleCloudVisionV1p2beta1AsyncAnnotateFileResponse[]
*/
public function getResponses()
{
return $this->responses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1AsyncBatchAnnotateFilesResponse');
@@ -0,0 +1,111 @@
<?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\Vision;
class GoogleCloudVisionV1p2beta1Block extends \Google\Collection
{
protected $collection_key = 'paragraphs';
/**
* @var string
*/
public $blockType;
protected $boundingBoxType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $boundingBoxDataType = '';
/**
* @var float
*/
public $confidence;
protected $paragraphsType = GoogleCloudVisionV1p2beta1Paragraph::class;
protected $paragraphsDataType = 'array';
protected $propertyType = GoogleCloudVisionV1p2beta1TextAnnotationTextProperty::class;
protected $propertyDataType = '';
/**
* @param string
*/
public function setBlockType($blockType)
{
$this->blockType = $blockType;
}
/**
* @return string
*/
public function getBlockType()
{
return $this->blockType;
}
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingBox(GoogleCloudVisionV1p2beta1BoundingPoly $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param GoogleCloudVisionV1p2beta1Paragraph[]
*/
public function setParagraphs($paragraphs)
{
$this->paragraphs = $paragraphs;
}
/**
* @return GoogleCloudVisionV1p2beta1Paragraph[]
*/
public function getParagraphs()
{
return $this->paragraphs;
}
/**
* @param GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function setProperty(GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property)
{
$this->property = $property;
}
/**
* @return GoogleCloudVisionV1p2beta1TextAnnotationTextProperty
*/
public function getProperty()
{
return $this->property;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1Block::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Block');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1BoundingPoly extends \Google\Collection
{
protected $collection_key = 'vertices';
protected $normalizedVerticesType = GoogleCloudVisionV1p2beta1NormalizedVertex::class;
protected $normalizedVerticesDataType = 'array';
protected $verticesType = GoogleCloudVisionV1p2beta1Vertex::class;
protected $verticesDataType = 'array';
/**
* @param GoogleCloudVisionV1p2beta1NormalizedVertex[]
*/
public function setNormalizedVertices($normalizedVertices)
{
$this->normalizedVertices = $normalizedVertices;
}
/**
* @return GoogleCloudVisionV1p2beta1NormalizedVertex[]
*/
public function getNormalizedVertices()
{
return $this->normalizedVertices;
}
/**
* @param GoogleCloudVisionV1p2beta1Vertex[]
*/
public function setVertices($vertices)
{
$this->vertices = $vertices;
}
/**
* @return GoogleCloudVisionV1p2beta1Vertex[]
*/
public function getVertices()
{
return $this->vertices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1BoundingPoly::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1BoundingPoly');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1ColorInfo extends \Google\Model
{
protected $colorType = Color::class;
protected $colorDataType = '';
/**
* @var float
*/
public $pixelFraction;
/**
* @var float
*/
public $score;
/**
* @param Color
*/
public function setColor(Color $color)
{
$this->color = $color;
}
/**
* @return Color
*/
public function getColor()
{
return $this->color;
}
/**
* @param float
*/
public function setPixelFraction($pixelFraction)
{
$this->pixelFraction = $pixelFraction;
}
/**
* @return float
*/
public function getPixelFraction()
{
return $this->pixelFraction;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1ColorInfo::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ColorInfo');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1CropHint extends \Google\Model
{
protected $boundingPolyType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var float
*/
public $importanceFraction;
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param float
*/
public function setImportanceFraction($importanceFraction)
{
$this->importanceFraction = $importanceFraction;
}
/**
* @return float
*/
public function getImportanceFraction()
{
return $this->importanceFraction;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1CropHint::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHint');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1CropHintsAnnotation extends \Google\Collection
{
protected $collection_key = 'cropHints';
protected $cropHintsType = GoogleCloudVisionV1p2beta1CropHint::class;
protected $cropHintsDataType = 'array';
/**
* @param GoogleCloudVisionV1p2beta1CropHint[]
*/
public function setCropHints($cropHints)
{
$this->cropHints = $cropHints;
}
/**
* @return GoogleCloudVisionV1p2beta1CropHint[]
*/
public function getCropHints()
{
return $this->cropHints;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1CropHintsAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1CropHintsAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1DominantColorsAnnotation extends \Google\Collection
{
protected $collection_key = 'colors';
protected $colorsType = GoogleCloudVisionV1p2beta1ColorInfo::class;
protected $colorsDataType = 'array';
/**
* @param GoogleCloudVisionV1p2beta1ColorInfo[]
*/
public function setColors($colors)
{
$this->colors = $colors;
}
/**
* @return GoogleCloudVisionV1p2beta1ColorInfo[]
*/
public function getColors()
{
return $this->colors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1DominantColorsAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1DominantColorsAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1EntityAnnotation extends \Google\Collection
{
protected $collection_key = 'properties';
protected $boundingPolyType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $confidence;
/**
* @var string
*/
public $description;
/**
* @var string
*/
public $locale;
protected $locationsType = GoogleCloudVisionV1p2beta1LocationInfo::class;
protected $locationsDataType = 'array';
/**
* @var string
*/
public $mid;
protected $propertiesType = GoogleCloudVisionV1p2beta1Property::class;
protected $propertiesDataType = 'array';
/**
* @var float
*/
public $score;
/**
* @var float
*/
public $topicality;
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return float
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* @param string
*/
public function setLocale($locale)
{
$this->locale = $locale;
}
/**
* @return string
*/
public function getLocale()
{
return $this->locale;
}
/**
* @param GoogleCloudVisionV1p2beta1LocationInfo[]
*/
public function setLocations($locations)
{
$this->locations = $locations;
}
/**
* @return GoogleCloudVisionV1p2beta1LocationInfo[]
*/
public function getLocations()
{
return $this->locations;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param GoogleCloudVisionV1p2beta1Property[]
*/
public function setProperties($properties)
{
$this->properties = $properties;
}
/**
* @return GoogleCloudVisionV1p2beta1Property[]
*/
public function getProperties()
{
return $this->properties;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
/**
* @param float
*/
public function setTopicality($topicality)
{
$this->topicality = $topicality;
}
/**
* @return float
*/
public function getTopicality()
{
return $this->topicality;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1EntityAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1EntityAnnotation');
@@ -0,0 +1,291 @@
<?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\Vision;
class GoogleCloudVisionV1p2beta1FaceAnnotation extends \Google\Collection
{
protected $collection_key = 'landmarks';
/**
* @var string
*/
public $angerLikelihood;
/**
* @var string
*/
public $blurredLikelihood;
protected $boundingPolyType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var float
*/
public $detectionConfidence;
protected $fdBoundingPolyType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $fdBoundingPolyDataType = '';
/**
* @var string
*/
public $headwearLikelihood;
/**
* @var string
*/
public $joyLikelihood;
/**
* @var float
*/
public $landmarkingConfidence;
protected $landmarksType = GoogleCloudVisionV1p2beta1FaceAnnotationLandmark::class;
protected $landmarksDataType = 'array';
/**
* @var float
*/
public $panAngle;
/**
* @var float
*/
public $rollAngle;
/**
* @var string
*/
public $sorrowLikelihood;
/**
* @var string
*/
public $surpriseLikelihood;
/**
* @var float
*/
public $tiltAngle;
/**
* @var string
*/
public $underExposedLikelihood;
/**
* @param string
*/
public function setAngerLikelihood($angerLikelihood)
{
$this->angerLikelihood = $angerLikelihood;
}
/**
* @return string
*/
public function getAngerLikelihood()
{
return $this->angerLikelihood;
}
/**
* @param string
*/
public function setBlurredLikelihood($blurredLikelihood)
{
$this->blurredLikelihood = $blurredLikelihood;
}
/**
* @return string
*/
public function getBlurredLikelihood()
{
return $this->blurredLikelihood;
}
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param float
*/
public function setDetectionConfidence($detectionConfidence)
{
$this->detectionConfidence = $detectionConfidence;
}
/**
* @return float
*/
public function getDetectionConfidence()
{
return $this->detectionConfidence;
}
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setFdBoundingPoly(GoogleCloudVisionV1p2beta1BoundingPoly $fdBoundingPoly)
{
$this->fdBoundingPoly = $fdBoundingPoly;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getFdBoundingPoly()
{
return $this->fdBoundingPoly;
}
/**
* @param string
*/
public function setHeadwearLikelihood($headwearLikelihood)
{
$this->headwearLikelihood = $headwearLikelihood;
}
/**
* @return string
*/
public function getHeadwearLikelihood()
{
return $this->headwearLikelihood;
}
/**
* @param string
*/
public function setJoyLikelihood($joyLikelihood)
{
$this->joyLikelihood = $joyLikelihood;
}
/**
* @return string
*/
public function getJoyLikelihood()
{
return $this->joyLikelihood;
}
/**
* @param float
*/
public function setLandmarkingConfidence($landmarkingConfidence)
{
$this->landmarkingConfidence = $landmarkingConfidence;
}
/**
* @return float
*/
public function getLandmarkingConfidence()
{
return $this->landmarkingConfidence;
}
/**
* @param GoogleCloudVisionV1p2beta1FaceAnnotationLandmark[]
*/
public function setLandmarks($landmarks)
{
$this->landmarks = $landmarks;
}
/**
* @return GoogleCloudVisionV1p2beta1FaceAnnotationLandmark[]
*/
public function getLandmarks()
{
return $this->landmarks;
}
/**
* @param float
*/
public function setPanAngle($panAngle)
{
$this->panAngle = $panAngle;
}
/**
* @return float
*/
public function getPanAngle()
{
return $this->panAngle;
}
/**
* @param float
*/
public function setRollAngle($rollAngle)
{
$this->rollAngle = $rollAngle;
}
/**
* @return float
*/
public function getRollAngle()
{
return $this->rollAngle;
}
/**
* @param string
*/
public function setSorrowLikelihood($sorrowLikelihood)
{
$this->sorrowLikelihood = $sorrowLikelihood;
}
/**
* @return string
*/
public function getSorrowLikelihood()
{
return $this->sorrowLikelihood;
}
/**
* @param string
*/
public function setSurpriseLikelihood($surpriseLikelihood)
{
$this->surpriseLikelihood = $surpriseLikelihood;
}
/**
* @return string
*/
public function getSurpriseLikelihood()
{
return $this->surpriseLikelihood;
}
/**
* @param float
*/
public function setTiltAngle($tiltAngle)
{
$this->tiltAngle = $tiltAngle;
}
/**
* @return float
*/
public function getTiltAngle()
{
return $this->tiltAngle;
}
/**
* @param string
*/
public function setUnderExposedLikelihood($underExposedLikelihood)
{
$this->underExposedLikelihood = $underExposedLikelihood;
}
/**
* @return string
*/
public function getUnderExposedLikelihood()
{
return $this->underExposedLikelihood;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1FaceAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1FaceAnnotationLandmark extends \Google\Model
{
protected $positionType = GoogleCloudVisionV1p2beta1Position::class;
protected $positionDataType = '';
/**
* @var string
*/
public $type;
/**
* @param GoogleCloudVisionV1p2beta1Position
*/
public function setPosition(GoogleCloudVisionV1p2beta1Position $position)
{
$this->position = $position;
}
/**
* @return GoogleCloudVisionV1p2beta1Position
*/
public function getPosition()
{
return $this->position;
}
/**
* @param string
*/
public function setType($type)
{
$this->type = $type;
}
/**
* @return string
*/
public function getType()
{
return $this->type;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1FaceAnnotationLandmark::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1FaceAnnotationLandmark');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1GcsDestination extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1GcsDestination::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsDestination');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1GcsSource extends \Google\Model
{
/**
* @var string
*/
public $uri;
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1GcsSource::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1GcsSource');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1ImageAnnotationContext extends \Google\Model
{
/**
* @var int
*/
public $pageNumber;
/**
* @var string
*/
public $uri;
/**
* @param int
*/
public function setPageNumber($pageNumber)
{
$this->pageNumber = $pageNumber;
}
/**
* @return int
*/
public function getPageNumber()
{
return $this->pageNumber;
}
/**
* @param string
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1ImageAnnotationContext::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1ImageProperties extends \Google\Model
{
protected $dominantColorsType = GoogleCloudVisionV1p2beta1DominantColorsAnnotation::class;
protected $dominantColorsDataType = '';
/**
* @param GoogleCloudVisionV1p2beta1DominantColorsAnnotation
*/
public function setDominantColors(GoogleCloudVisionV1p2beta1DominantColorsAnnotation $dominantColors)
{
$this->dominantColors = $dominantColors;
}
/**
* @return GoogleCloudVisionV1p2beta1DominantColorsAnnotation
*/
public function getDominantColors()
{
return $this->dominantColors;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1ImageProperties::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageProperties');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1InputConfig extends \Google\Model
{
/**
* @var string
*/
public $content;
protected $gcsSourceType = GoogleCloudVisionV1p2beta1GcsSource::class;
protected $gcsSourceDataType = '';
/**
* @var string
*/
public $mimeType;
/**
* @param string
*/
public function setContent($content)
{
$this->content = $content;
}
/**
* @return string
*/
public function getContent()
{
return $this->content;
}
/**
* @param GoogleCloudVisionV1p2beta1GcsSource
*/
public function setGcsSource(GoogleCloudVisionV1p2beta1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudVisionV1p2beta1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
/**
* @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(GoogleCloudVisionV1p2beta1InputConfig::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1InputConfig');
@@ -0,0 +1,114 @@
<?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\Vision;
class GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation extends \Google\Model
{
protected $boundingPolyType = GoogleCloudVisionV1p2beta1BoundingPoly::class;
protected $boundingPolyDataType = '';
/**
* @var string
*/
public $languageCode;
/**
* @var string
*/
public $mid;
/**
* @var string
*/
public $name;
/**
* @var float
*/
public $score;
/**
* @param GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function setBoundingPoly(GoogleCloudVisionV1p2beta1BoundingPoly $boundingPoly)
{
$this->boundingPoly = $boundingPoly;
}
/**
* @return GoogleCloudVisionV1p2beta1BoundingPoly
*/
public function getBoundingPoly()
{
return $this->boundingPoly;
}
/**
* @param string
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* @param string
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param float
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1LocalizedObjectAnnotation');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1LocationInfo extends \Google\Model
{
protected $latLngType = LatLng::class;
protected $latLngDataType = '';
/**
* @param LatLng
*/
public function setLatLng(LatLng $latLng)
{
$this->latLng = $latLng;
}
/**
* @return LatLng
*/
public function getLatLng()
{
return $this->latLng;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1LocationInfo::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1LocationInfo');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1NormalizedVertex extends \Google\Model
{
/**
* @var float
*/
public $x;
/**
* @var float
*/
public $y;
/**
* @param float
*/
public function setX($x)
{
$this->x = $x;
}
/**
* @return float
*/
public function getX()
{
return $this->x;
}
/**
* @param float
*/
public function setY($y)
{
$this->y = $y;
}
/**
* @return float
*/
public function getY()
{
return $this->y;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudVisionV1p2beta1NormalizedVertex::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1NormalizedVertex');
@@ -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\Vision;
class GoogleCloudVisionV1p2beta1OperationMetadata extends \Google\Model
{
/**
* @var string
*/
public $createTime;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @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(GoogleCloudVisionV1p2beta1OperationMetadata::class, 'Google_Service_Vision_GoogleCloudVisionV1p2beta1OperationMetadata');

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