<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/capacityplanner/v1beta/usage_service.proto

namespace Google\Cloud\CapacityPlanner\V1beta;

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

/**
 * A response message for [UsageService.ExportForecasts].
 *
 * Generated from protobuf message <code>google.cloud.capacityplanner.v1beta.ExportForecastsResponse</code>
 */
class ExportForecastsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The response message for the forecast export. In case of bigquery,
     * it will also contain job id.
     *
     * Generated from protobuf field <code>string response = 1;</code>
     */
    protected $response = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $response
     *           The response message for the forecast export. In case of bigquery,
     *           it will also contain job id.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Capacityplanner\V1Beta\UsageService::initOnce();
        parent::__construct($data);
    }

    /**
     * The response message for the forecast export. In case of bigquery,
     * it will also contain job id.
     *
     * Generated from protobuf field <code>string response = 1;</code>
     * @return string
     */
    public function getResponse()
    {
        return $this->response;
    }

    /**
     * The response message for the forecast export. In case of bigquery,
     * it will also contain job id.
     *
     * Generated from protobuf field <code>string response = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setResponse($var)
    {
        GPBUtil::checkString($var, True);
        $this->response = $var;

        return $this;
    }

}

