<?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>
     */
    private $model = '';

    /**
     * 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>`.
     * }
     */
    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;
    }

}


