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

namespace Google\Ads\GoogleAds\V24\Services;

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

/**
 * Controls forecast metrics to return.
 *
 * Generated from protobuf message <code>google.ads.googleads.v24.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\V24\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;
    }

}

