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

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Response message for
 * [BenchmarksService.GenerateBenchmarksMetrics][google.ads.googleads.v23.services.BenchmarksService.GenerateBenchmarksMetrics].
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.GenerateBenchmarksMetricsResponse</code>
 */
class GenerateBenchmarksMetricsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Metrics belonging to the customer.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics customer_metrics = 1;</code>
     */
    protected $customer_metrics = null;
    /**
     * Metrics for the selected benchmarks source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics average_benchmarks_metrics = 2;</code>
     */
    protected $average_benchmarks_metrics = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Ads\GoogleAds\V23\Services\Metrics $customer_metrics
     *           Metrics belonging to the customer.
     *     @type \Google\Ads\GoogleAds\V23\Services\Metrics $average_benchmarks_metrics
     *           Metrics for the selected benchmarks source.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\BenchmarksService::initOnce();
        parent::__construct($data);
    }

    /**
     * Metrics belonging to the customer.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics customer_metrics = 1;</code>
     * @return \Google\Ads\GoogleAds\V23\Services\Metrics|null
     */
    public function getCustomerMetrics()
    {
        return $this->customer_metrics;
    }

    public function hasCustomerMetrics()
    {
        return isset($this->customer_metrics);
    }

    public function clearCustomerMetrics()
    {
        unset($this->customer_metrics);
    }

    /**
     * Metrics belonging to the customer.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics customer_metrics = 1;</code>
     * @param \Google\Ads\GoogleAds\V23\Services\Metrics $var
     * @return $this
     */
    public function setCustomerMetrics($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V23\Services\Metrics::class);
        $this->customer_metrics = $var;

        return $this;
    }

    /**
     * Metrics for the selected benchmarks source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics average_benchmarks_metrics = 2;</code>
     * @return \Google\Ads\GoogleAds\V23\Services\Metrics|null
     */
    public function getAverageBenchmarksMetrics()
    {
        return $this->average_benchmarks_metrics;
    }

    public function hasAverageBenchmarksMetrics()
    {
        return isset($this->average_benchmarks_metrics);
    }

    public function clearAverageBenchmarksMetrics()
    {
        unset($this->average_benchmarks_metrics);
    }

    /**
     * Metrics for the selected benchmarks source.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v23.services.Metrics average_benchmarks_metrics = 2;</code>
     * @param \Google\Ads\GoogleAds\V23\Services\Metrics $var
     * @return $this
     */
    public function setAverageBenchmarksMetrics($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\GoogleAds\V23\Services\Metrics::class);
        $this->average_benchmarks_metrics = $var;

        return $this;
    }

}

