<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/datamanager/v1/user_list.proto

namespace Google\Ads\DataManager\V1;

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

/**
 * Estimated number of members in this user list in different target networks.
 *
 * Generated from protobuf message <code>google.ads.datamanager.v1.SizeInfo</code>
 */
class SizeInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Estimated number of members in this user list, on the Google
     * Display Network.
     *
     * Generated from protobuf field <code>int64 display_network_members_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $display_network_members_count = 0;
    /**
     * Output only. Estimated number of members in this user list in the
     * google.com domain. These are the members available for targeting in Search
     * campaigns.
     *
     * Generated from protobuf field <code>int64 search_network_members_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $search_network_members_count = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $display_network_members_count
     *           Output only. Estimated number of members in this user list, on the Google
     *           Display Network.
     *     @type int|string $search_network_members_count
     *           Output only. Estimated number of members in this user list in the
     *           google.com domain. These are the members available for targeting in Search
     *           campaigns.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\Datamanager\V1\UserList::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Estimated number of members in this user list, on the Google
     * Display Network.
     *
     * Generated from protobuf field <code>int64 display_network_members_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getDisplayNetworkMembersCount()
    {
        return $this->display_network_members_count;
    }

    /**
     * Output only. Estimated number of members in this user list, on the Google
     * Display Network.
     *
     * Generated from protobuf field <code>int64 display_network_members_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setDisplayNetworkMembersCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->display_network_members_count = $var;

        return $this;
    }

    /**
     * Output only. Estimated number of members in this user list in the
     * google.com domain. These are the members available for targeting in Search
     * campaigns.
     *
     * Generated from protobuf field <code>int64 search_network_members_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getSearchNetworkMembersCount()
    {
        return $this->search_network_members_count;
    }

    /**
     * Output only. Estimated number of members in this user list in the
     * google.com domain. These are the members available for targeting in Search
     * campaigns.
     *
     * Generated from protobuf field <code>int64 search_network_members_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setSearchNetworkMembersCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->search_network_members_count = $var;

        return $this;
    }

}

