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

namespace Google\Cloud\Dialogflow\V2;

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

/**
 * Metadata for a
 * [GeneratorEvaluations.CreateGeneratorEvaluation][google.cloud.dialogflow.v2.GeneratorEvaluations.CreateGeneratorEvaluation]
 * operation.
 *
 * Generated from protobuf message <code>google.cloud.dialogflow.v2.GeneratorEvaluationOperationMetadata</code>
 */
class GeneratorEvaluationOperationMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The resource name of the generator evaluation. Format:
     * `projects/<Project ID>/locations/<Location
     * ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
     *
     * Generated from protobuf field <code>string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $generator_evaluation = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $generator_evaluation
     *           Output only. The resource name of the generator evaluation. Format:
     *           `projects/<Project ID>/locations/<Location
     *           ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dialogflow\V2\Operations::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The resource name of the generator evaluation. Format:
     * `projects/<Project ID>/locations/<Location
     * ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
     *
     * Generated from protobuf field <code>string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getGeneratorEvaluation()
    {
        return $this->generator_evaluation;
    }

    /**
     * Output only. The resource name of the generator evaluation. Format:
     * `projects/<Project ID>/locations/<Location
     * ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
     *
     * Generated from protobuf field <code>string generator_evaluation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setGeneratorEvaluation($var)
    {
        GPBUtil::checkString($var, True);
        $this->generator_evaluation = $var;

        return $this;
    }

}

