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

namespace Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig;

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

/**
 * Custom conversation models used in agent assist feature.
 * Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
 * CONVERSATION_SUMMARIZATION.
 *
 * Generated from protobuf message <code>google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig</code>
 */
class ConversationModelConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Conversation model resource name. Format: `projects/<Project
     * ID>/conversationModels/<Model ID>`.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.resource_reference) = {</code>
     */
    protected $model = '';
    /**
     * Version of current baseline model. It will be ignored if
     * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model]
     * is set. Valid versions are:
     *   Article Suggestion baseline model:
     *     - 0.9
     *     - 1.0 (default)
     *   Summarization baseline model:
     *     - 1.0
     *
     * Generated from protobuf field <code>string baseline_model_version = 8;</code>
     */
    protected $baseline_model_version = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $model
     *           Conversation model resource name. Format: `projects/<Project
     *           ID>/conversationModels/<Model ID>`.
     *     @type string $baseline_model_version
     *           Version of current baseline model. It will be ignored if
     *           [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model]
     *           is set. Valid versions are:
     *             Article Suggestion baseline model:
     *               - 0.9
     *               - 1.0 (default)
     *             Summarization baseline model:
     *               - 1.0
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dialogflow\V2\ConversationProfile::initOnce();
        parent::__construct($data);
    }

    /**
     * Conversation model resource name. Format: `projects/<Project
     * ID>/conversationModels/<Model ID>`.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getModel()
    {
        return $this->model;
    }

    /**
     * Conversation model resource name. Format: `projects/<Project
     * ID>/conversationModels/<Model ID>`.
     *
     * Generated from protobuf field <code>string model = 1 [(.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setModel($var)
    {
        GPBUtil::checkString($var, True);
        $this->model = $var;

        return $this;
    }

    /**
     * Version of current baseline model. It will be ignored if
     * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model]
     * is set. Valid versions are:
     *   Article Suggestion baseline model:
     *     - 0.9
     *     - 1.0 (default)
     *   Summarization baseline model:
     *     - 1.0
     *
     * Generated from protobuf field <code>string baseline_model_version = 8;</code>
     * @return string
     */
    public function getBaselineModelVersion()
    {
        return $this->baseline_model_version;
    }

    /**
     * Version of current baseline model. It will be ignored if
     * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model]
     * is set. Valid versions are:
     *   Article Suggestion baseline model:
     *     - 0.9
     *     - 1.0 (default)
     *   Summarization baseline model:
     *     - 1.0
     *
     * Generated from protobuf field <code>string baseline_model_version = 8;</code>
     * @param string $var
     * @return $this
     */
    public function setBaselineModelVersion($var)
    {
        GPBUtil::checkString($var, True);
        $this->baseline_model_version = $var;

        return $this;
    }

}


