<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/access_control/v1/keyapis_access_control_building_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.BuildingFilter</code>
 */
class BuildingFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * По идентификаторам МРФ
     *
     * Generated from protobuf field <code>repeated int32 mrf_ids = 1;</code>
     */
    private $mrf_ids;
    /**
     * По идентификаторам РФ
     *
     * Generated from protobuf field <code>repeated int32 rf_ids = 2;</code>
     */
    private $rf_ids;
    /**
     * По идентификаторам устройств
     *
     * Generated from protobuf field <code>repeated int32 device_ids = 3;</code>
     */
    private $device_ids;
    /**
     * По идентификаторам квартирограмм
     *
     * Generated from protobuf field <code>repeated int32 flatgramm_ids = 4;</code>
     */
    private $flatgramm_ids;
    /**
     * По орпонам
     *
     * Generated from protobuf field <code>repeated int64 orpons = 5;</code>
     */
    private $orpons;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $mrf_ids
     *           По идентификаторам МРФ
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $rf_ids
     *           По идентификаторам РФ
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $device_ids
     *           По идентификаторам устройств
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $flatgramm_ids
     *           По идентификаторам квартирограмм
     *     @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $orpons
     *           По орпонам
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\AccessControl\V1\KeyapisAccessControlBuildingV1::initOnce();
        parent::__construct($data);
    }

    /**
     * По идентификаторам МРФ
     *
     * Generated from protobuf field <code>repeated int32 mrf_ids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getMrfIds()
    {
        return $this->mrf_ids;
    }

    /**
     * По идентификаторам МРФ
     *
     * Generated from protobuf field <code>repeated int32 mrf_ids = 1;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setMrfIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->mrf_ids = $arr;

        return $this;
    }

    /**
     * По идентификаторам РФ
     *
     * Generated from protobuf field <code>repeated int32 rf_ids = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getRfIds()
    {
        return $this->rf_ids;
    }

    /**
     * По идентификаторам РФ
     *
     * Generated from protobuf field <code>repeated int32 rf_ids = 2;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setRfIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->rf_ids = $arr;

        return $this;
    }

    /**
     * По идентификаторам устройств
     *
     * Generated from protobuf field <code>repeated int32 device_ids = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getDeviceIds()
    {
        return $this->device_ids;
    }

    /**
     * По идентификаторам устройств
     *
     * Generated from protobuf field <code>repeated int32 device_ids = 3;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setDeviceIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->device_ids = $arr;

        return $this;
    }

    /**
     * По идентификаторам квартирограмм
     *
     * Generated from protobuf field <code>repeated int32 flatgramm_ids = 4;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getFlatgrammIds()
    {
        return $this->flatgramm_ids;
    }

    /**
     * По идентификаторам квартирограмм
     *
     * Generated from protobuf field <code>repeated int32 flatgramm_ids = 4;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setFlatgrammIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->flatgramm_ids = $arr;

        return $this;
    }

    /**
     * По орпонам
     *
     * Generated from protobuf field <code>repeated int64 orpons = 5;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getOrpons()
    {
        return $this->orpons;
    }

    /**
     * По орпонам
     *
     * Generated from protobuf field <code>repeated int64 orpons = 5;</code>
     * @param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setOrpons($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
        $this->orpons = $arr;

        return $this;
    }

}

