error = $error; } /** * @return Status */ public function getError() { return $this->error; } /** * Information about the file for which this response is generated. * * @param InputConfig $inputConfig */ public function setInputConfig(InputConfig $inputConfig) { $this->inputConfig = $inputConfig; } /** * @return InputConfig */ public function getInputConfig() { return $this->inputConfig; } /** * Individual responses to images found within the file. This field will be * empty if the `error` field is set. * * @param AnnotateImageResponse[] $responses */ public function setResponses($responses) { $this->responses = $responses; } /** * @return AnnotateImageResponse[] */ public function getResponses() { return $this->responses; } /** * This field gives the total number of pages in the file. * * @param int $totalPages */ 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');