contents = $contents; } /** * @return GoogleCloudAiplatformV1Content[] */ public function getContents() { return $this->contents; } /** * @param GoogleCloudAiplatformV1GenerationConfig */ public function setGenerationConfig(GoogleCloudAiplatformV1GenerationConfig $generationConfig) { $this->generationConfig = $generationConfig; } /** * @return GoogleCloudAiplatformV1GenerationConfig */ public function getGenerationConfig() { return $this->generationConfig; } /** * @param string */ public function setModel($model) { $this->model = $model; } /** * @return string */ public function getModel() { return $this->model; } /** * @param GoogleCloudAiplatformV1SafetySetting[] */ public function setSafetySettings($safetySettings) { $this->safetySettings = $safetySettings; } /** * @return GoogleCloudAiplatformV1SafetySetting[] */ public function getSafetySettings() { return $this->safetySettings; } /** * @param GoogleCloudAiplatformV1Content */ public function setSystemInstruction(GoogleCloudAiplatformV1Content $systemInstruction) { $this->systemInstruction = $systemInstruction; } /** * @return GoogleCloudAiplatformV1Content */ public function getSystemInstruction() { return $this->systemInstruction; } /** * @param GoogleCloudAiplatformV1ToolConfig */ public function setToolConfig(GoogleCloudAiplatformV1ToolConfig $toolConfig) { $this->toolConfig = $toolConfig; } /** * @return GoogleCloudAiplatformV1ToolConfig */ public function getToolConfig() { return $this->toolConfig; } /** * @param GoogleCloudAiplatformV1Tool[] */ public function setTools($tools) { $this->tools = $tools; } /** * @return GoogleCloudAiplatformV1Tool[] */ public function getTools() { return $this->tools; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SchemaPromptSpecPromptMessage');