<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v20/services/reach_plan_service.proto

namespace Google\Ads\GoogleAds\V20\Services;

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

/**
 * Controls forecast metrics to return.
 *
 * Generated from protobuf message <code>google.ads.googleads.v20.services.ForecastMetricOptions</code>
 */
class ForecastMetricOptions extends \Google\Protobuf\Internal\Message
{
    /**
     * Indicates whether to include co-view metrics in the response forecast.
     *
     * Generated from protobuf field <code>bool include_coview = 1;</code>
     */
    protected $include_coview = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $include_coview
     *           Indicates whether to include co-view metrics in the response forecast.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V20\Services\ReachPlanService::initOnce();
        parent::__construct($data);
    }

    /**
     * Indicates whether to include co-view metrics in the response forecast.
     *
     * Generated from protobuf field <code>bool include_coview = 1;</code>
     * @return bool
     */
    public function getIncludeCoview()
    {
        return $this->include_coview;
    }

    /**
     * Indicates whether to include co-view metrics in the response forecast.
     *
     * Generated from protobuf field <code>bool include_coview = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIncludeCoview($var)
    {
        GPBUtil::checkBool($var);
        $this->include_coview = $var;

        return $this;
    }

}

