error = $error; } /** * @return GoogleCloudAiplatformV1SchemaPredictionResultError */ public function getError() { return $this->error; } /** * @param array[] */ public function setInstance($instance) { $this->instance = $instance; } /** * @return array[] */ public function getInstance() { return $this->instance; } /** * @param string */ public function setKey($key) { $this->key = $key; } /** * @return string */ public function getKey() { return $this->key; } /** * @param array */ public function setPrediction($prediction) { $this->prediction = $prediction; } /** * @return array */ public function getPrediction() { return $this->prediction; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1SchemaPredictionResult::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaPredictionResult');