<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/admanager/v1/report_service.proto

namespace Google\Ads\AdManager\V1;

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

/**
 * Response message for a completed `RunReport` operation.
 *
 * Generated from protobuf message <code>google.ads.admanager.v1.RunReportResponse</code>
 */
class RunReportResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The unique name of the generated result. Use with `FetchReportResultRows`
     * to retrieve data.
     *
     * Generated from protobuf field <code>string report_result = 1;</code>
     */
    protected $report_result = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $report_result
     *           The unique name of the generated result. Use with `FetchReportResultRows`
     *           to retrieve data.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\Admanager\V1\ReportService::initOnce();
        parent::__construct($data);
    }

    /**
     * The unique name of the generated result. Use with `FetchReportResultRows`
     * to retrieve data.
     *
     * Generated from protobuf field <code>string report_result = 1;</code>
     * @return string
     */
    public function getReportResult()
    {
        return $this->report_result;
    }

    /**
     * The unique name of the generated result. Use with `FetchReportResultRows`
     * to retrieve data.
     *
     * Generated from protobuf field <code>string report_result = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setReportResult($var)
    {
        GPBUtil::checkString($var, True);
        $this->report_result = $var;

        return $this;
    }

}

