<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dialogflow/cx/v3/generative_settings.proto

namespace Google\Cloud\Dialogflow\Cx\V3;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Settings for LLM models.
 *
 * Generated from protobuf message <code>google.cloud.dialogflow.cx.v3.LlmModelSettings</code>
 */
class LlmModelSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * The selected LLM model.
     *
     * Generated from protobuf field <code>string model = 1;</code>
     */
    protected $model = '';
    /**
     * The custom prompt to use.
     *
     * Generated from protobuf field <code>string prompt_text = 2;</code>
     */
    protected $prompt_text = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $model
     *           The selected LLM model.
     *     @type string $prompt_text
     *           The custom prompt to use.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dialogflow\Cx\V3\GenerativeSettings::initOnce();
        parent::__construct($data);
    }

    /**
     * The selected LLM model.
     *
     * Generated from protobuf field <code>string model = 1;</code>
     * @return string
     */
    public function getModel()
    {
        return $this->model;
    }

    /**
     * The selected LLM model.
     *
     * Generated from protobuf field <code>string model = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setModel($var)
    {
        GPBUtil::checkString($var, True);
        $this->model = $var;

        return $this;
    }

    /**
     * The custom prompt to use.
     *
     * Generated from protobuf field <code>string prompt_text = 2;</code>
     * @return string
     */
    public function getPromptText()
    {
        return $this->prompt_text;
    }

    /**
     * The custom prompt to use.
     *
     * Generated from protobuf field <code>string prompt_text = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setPromptText($var)
    {
        GPBUtil::checkString($var, True);
        $this->prompt_text = $var;

        return $this;
    }

}

