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

namespace Google\Cloud\Dialogflow\V2\GeneratorEvaluationConfig;

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

/**
 * The distinctive configs for dataset as the conversation source.
 *
 * Generated from protobuf message <code>google.cloud.dialogflow.v2.GeneratorEvaluationConfig.DatasetInputDataConfig</code>
 */
class DatasetInputDataConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The identifier of the dataset to be evaluated.
     * Format:
     * `projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $dataset = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $dataset
     *           Required. The identifier of the dataset to be evaluated.
     *           Format:
     *           `projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dialogflow\V2\GeneratorEvaluation::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The identifier of the dataset to be evaluated.
     * Format:
     * `projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getDataset()
    {
        return $this->dataset;
    }

    /**
     * Required. The identifier of the dataset to be evaluated.
     * Format:
     * `projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setDataset($var)
    {
        GPBUtil::checkString($var, True);
        $this->dataset = $var;

        return $this;
    }

}


