<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/vertex_rag_service.proto

namespace Google\Cloud\AIPlatform\V1\AugmentPromptRequest;

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

/**
 * Metadata of the backend deployed model.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.AugmentPromptRequest.Model</code>
 */
class Model extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. The model that the user will send the augmented prompt for
     * content generation.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $model = '';
    /**
     * Optional. The model version of the backend deployed model.
     *
     * Generated from protobuf field <code>string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $model_version = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $model
     *           Optional. The model that the user will send the augmented prompt for
     *           content generation.
     *     @type string $model_version
     *           Optional. The model version of the backend deployed model.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. The model that the user will send the augmented prompt for
     * content generation.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    public function getModel()
    {
        return $this->model;
    }

    /**
     * Optional. The model that the user will send the augmented prompt for
     * content generation.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    public function setModel($var)
    {
        GPBUtil::checkString($var, True);
        $this->model = $var;

        return $this;
    }

    /**
     * Optional. The model version of the backend deployed model.
     *
     * Generated from protobuf field <code>string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    public function getModelVersion()
    {
        return $this->model_version;
    }

    /**
     * Optional. The model version of the backend deployed model.
     *
     * Generated from protobuf field <code>string model_version = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    public function setModelVersion($var)
    {
        GPBUtil::checkString($var, True);
        $this->model_version = $var;

        return $this;
    }

}


