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');