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

namespace Google\Ads\GoogleAds\V22\Common;

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

/**
 * Container for third party brand safety integration data for Customer.
 *
 * Generated from protobuf message <code>google.ads.googleads.v22.common.CustomerThirdPartyBrandSafetyIntegrationPartner</code>
 */
class CustomerThirdPartyBrandSafetyIntegrationPartner extends \Google\Protobuf\Internal\Message
{
    /**
     * Allowed third party integration partners for brand safety verification.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v22.enums.ThirdPartyBrandSafetyIntegrationPartnerEnum.ThirdPartyBrandSafetyIntegrationPartner brand_safety_integration_partner = 1;</code>
     */
    protected $brand_safety_integration_partner = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $brand_safety_integration_partner
     *           Allowed third party integration partners for brand safety verification.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V22\Common\ThirdPartyIntegrationPartners::initOnce();
        parent::__construct($data);
    }

    /**
     * Allowed third party integration partners for brand safety verification.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v22.enums.ThirdPartyBrandSafetyIntegrationPartnerEnum.ThirdPartyBrandSafetyIntegrationPartner brand_safety_integration_partner = 1;</code>
     * @return int
     */
    public function getBrandSafetyIntegrationPartner()
    {
        return $this->brand_safety_integration_partner;
    }

    /**
     * Allowed third party integration partners for brand safety verification.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v22.enums.ThirdPartyBrandSafetyIntegrationPartnerEnum.ThirdPartyBrandSafetyIntegrationPartner brand_safety_integration_partner = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setBrandSafetyIntegrationPartner($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V22\Enums\ThirdPartyBrandSafetyIntegrationPartnerEnum\ThirdPartyBrandSafetyIntegrationPartner::class);
        $this->brand_safety_integration_partner = $var;

        return $this;
    }

}

