<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/access_control/v1/keyapis_access_control_access_point_group_v1.proto

namespace Keyapis\AccessControl\V1;

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

/**
 * Фильтр по связям точек доступа и групп
 *
 * Generated from protobuf message <code>keyapis.access_control.v1.AccessPointGroupFilter</code>
 */
class AccessPointGroupFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * По идентификаторам точки доступа.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string access_point_ids = 1;</code>
     */
    private $access_point_ids;
    /**
     * По идентификаторам группы.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string group_ids = 2;</code>
     */
    private $group_ids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $access_point_ids
     *           По идентификаторам точки доступа.
     *           # Тип: Guid
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $group_ids
     *           По идентификаторам группы.
     *           # Тип: Guid
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\AccessControl\V1\KeyapisAccessControlAccessPointGroupV1::initOnce();
        parent::__construct($data);
    }

    /**
     * По идентификаторам точки доступа.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string access_point_ids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getAccessPointIds()
    {
        return $this->access_point_ids;
    }

    /**
     * По идентификаторам точки доступа.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string access_point_ids = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setAccessPointIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->access_point_ids = $arr;

        return $this;
    }

    /**
     * По идентификаторам группы.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string group_ids = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getGroupIds()
    {
        return $this->group_ids;
    }

    /**
     * По идентификаторам группы.
     * # Тип: Guid
     *
     * Generated from protobuf field <code>repeated string group_ids = 2;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setGroupIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->group_ids = $arr;

        return $this;
    }

}

