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

namespace Keyapis\Bell\V1;

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

/**
 * Фильтр уведомлений
 *
 * Generated from protobuf message <code>keyapis.bell.v1.NotificationFilter</code>
 */
class NotificationFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</code>
     */
    private $orpons;
    /**
     * По номерам квартир
     *
     * Generated from protobuf field <code>repeated string room_numbers = 2;</code>
     */
    private $room_numbers;
    /**
     * По статусам
     *
     * Generated from protobuf field <code>repeated .keyapis.bell.v1.Notification.StatusType status_types = 3;</code>
     */
    private $status_types;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $orpons
     *           По ОРПОН
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $room_numbers
     *           По номерам квартир
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $status_types
     *           По статусам
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Bell\V1\KeyapisBellNotificationV1::initOnce();
        parent::__construct($data);
    }

    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getOrpons()
    {
        return $this->orpons;
    }

    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</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;
    }

    /**
     * По номерам квартир
     *
     * Generated from protobuf field <code>repeated string room_numbers = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getRoomNumbers()
    {
        return $this->room_numbers;
    }

    /**
     * По номерам квартир
     *
     * Generated from protobuf field <code>repeated string room_numbers = 2;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setRoomNumbers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->room_numbers = $arr;

        return $this;
    }

    /**
     * По статусам
     *
     * Generated from protobuf field <code>repeated .keyapis.bell.v1.Notification.StatusType status_types = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getStatusTypes()
    {
        return $this->status_types;
    }

    /**
     * По статусам
     *
     * Generated from protobuf field <code>repeated .keyapis.bell.v1.Notification.StatusType status_types = 3;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setStatusTypes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Keyapis\Bell\V1\Notification\StatusType::class);
        $this->status_types = $arr;

        return $this;
    }

}

