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

namespace Google\Cloud\DocumentAI\V1;

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

/**
 * Metadata of the EvaluateProcessorVersion method.
 *
 * Generated from protobuf message <code>google.cloud.documentai.v1.EvaluateProcessorVersionResponse</code>
 */
class EvaluateProcessorVersionResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The resource name of the created evaluation.
     *
     * Generated from protobuf field <code>string evaluation = 2;</code>
     */
    private $evaluation = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $evaluation
     *           The resource name of the created evaluation.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Documentai\V1\DocumentProcessorService::initOnce();
        parent::__construct($data);
    }

    /**
     * The resource name of the created evaluation.
     *
     * Generated from protobuf field <code>string evaluation = 2;</code>
     * @return string
     */
    public function getEvaluation()
    {
        return $this->evaluation;
    }

    /**
     * The resource name of the created evaluation.
     *
     * Generated from protobuf field <code>string evaluation = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setEvaluation($var)
    {
        GPBUtil::checkString($var, True);
        $this->evaluation = $var;

        return $this;
    }

}

