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

namespace Google\Ads\GoogleAds\V23\Common\PolicyTopicEvidence;

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

/**
 * Evidence of mismatches between the URLs of a resource.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.PolicyTopicEvidence.DestinationMismatch</code>
 */
class DestinationMismatch extends \Google\Protobuf\Internal\Message
{
    /**
     * The set of URLs that did not match each other.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1;</code>
     */
    private $url_types;

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type int[] $url_types
     *           The set of URLs that did not match each other.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\Policy::initOnce();
        parent::__construct($data);
    }

    /**
     * The set of URLs that did not match each other.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1;</code>
     *
     * @return RepeatedField<int>
     */
    public function getUrlTypes()
    {
        return $this->url_types;
    }

    /**
     * The set of URLs that did not match each other.
     *
     * Generated from protobuf field <code>repeated .google.ads.googleads.v23.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType url_types = 1;</code>
     *
     * @param  int[] $var
     * @return $this
     */
    public function setUrlTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Ads\GoogleAds\V23\Enums\PolicyTopicEvidenceDestinationMismatchUrlTypeEnum\PolicyTopicEvidenceDestinationMismatchUrlType::class);
        $this->url_types = $arr;

        return $this;
    }

}

