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

namespace Keyapis\Vc\V1;

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

/**
 * Фильтр связок камеры и квартиры.
 * При передаче массива в параметр фильтра элементы массива работают в выборке через ИЛИ.
 * При передаче нескольких разных параметров фильтра они работают в выборке через И
 *
 * Generated from protobuf message <code>keyapis.vc.v1.CameraRoomFilter</code>
 */
class CameraRoomFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * По Идентификаторам камер.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string camera_uids = 1;</code>
     */
    private $camera_uids;
    /**
     * По ОРПОНам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated int64 orpons = 2;</code>
     */
    private $orpons;
    /**
     * По квартирам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string room_numbers = 3;</code>
     */
    private $room_numbers;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $camera_uids
     *           По Идентификаторам камер.
     *           # Диапазон: 0..100
     *     @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $orpons
     *           По ОРПОНам.
     *           # Диапазон: 0..100
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $room_numbers
     *           По квартирам.
     *           # Диапазон: 0..100
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCameraV1::initOnce();
        parent::__construct($data);
    }

    /**
     * По Идентификаторам камер.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string camera_uids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getCameraUids()
    {
        return $this->camera_uids;
    }

    /**
     * По Идентификаторам камер.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string camera_uids = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setCameraUids($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->camera_uids = $arr;

        return $this;
    }

    /**
     * По ОРПОНам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated int64 orpons = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getOrpons()
    {
        return $this->orpons;
    }

    /**
     * По ОРПОНам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated int64 orpons = 2;</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;
    }

    /**
     * По квартирам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string room_numbers = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getRoomNumbers()
    {
        return $this->room_numbers;
    }

    /**
     * По квартирам.
     * # Диапазон: 0..100
     *
     * Generated from protobuf field <code>repeated string room_numbers = 3;</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;
    }

}

