candidateCount = $candidateCount; } /** * @return int */ public function getCandidateCount() { return $this->candidateCount; } /** * @param float */ public function setFrequencyPenalty($frequencyPenalty) { $this->frequencyPenalty = $frequencyPenalty; } /** * @return float */ public function getFrequencyPenalty() { return $this->frequencyPenalty; } /** * @param int */ public function setMaxOutputTokens($maxOutputTokens) { $this->maxOutputTokens = $maxOutputTokens; } /** * @return int */ public function getMaxOutputTokens() { return $this->maxOutputTokens; } /** * @param float */ public function setPresencePenalty($presencePenalty) { $this->presencePenalty = $presencePenalty; } /** * @return float */ public function getPresencePenalty() { return $this->presencePenalty; } /** * @param string */ public function setResponseMimeType($responseMimeType) { $this->responseMimeType = $responseMimeType; } /** * @return string */ public function getResponseMimeType() { return $this->responseMimeType; } /** * @param string */ public function setResponseStyle($responseStyle) { $this->responseStyle = $responseStyle; } /** * @return string */ public function getResponseStyle() { return $this->responseStyle; } /** * @param string[] */ public function setStopSequences($stopSequences) { $this->stopSequences = $stopSequences; } /** * @return string[] */ public function getStopSequences() { return $this->stopSequences; } /** * @param float */ public function setTemperature($temperature) { $this->temperature = $temperature; } /** * @return float */ public function getTemperature() { return $this->temperature; } /** * @param float */ public function setTopK($topK) { $this->topK = $topK; } /** * @return float */ public function getTopK() { return $this->topK; } /** * @param float */ public function setTopP($topP) { $this->topP = $topP; } /** * @return float */ public function getTopP() { return $this->topP; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1GenerationConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1GenerationConfig');