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

namespace Google\Ads\GoogleAds\V23\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.v23.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.v23.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\V23\Common\ThirdPartyIntegrationPartners::initOnce();
        parent::__construct($data);
    }

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

        return $this;
    }

}

