detectedLanguages = $detectedLanguages; } /** * @return GoogleCloudDocumentaiV1DocumentPageDetectedLanguage[] */ public function getDetectedLanguages() { return $this->detectedLanguages; } /** * @param GoogleCloudDocumentaiV1DocumentPageLayout */ public function setLayout(GoogleCloudDocumentaiV1DocumentPageLayout $layout) { $this->layout = $layout; } /** * @return GoogleCloudDocumentaiV1DocumentPageLayout */ public function getLayout() { return $this->layout; } /** * @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(GoogleCloudDocumentaiV1DocumentPageVisualElement::class, 'Google_Service_Document_GoogleCloudDocumentaiV1DocumentPageVisualElement');