<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/vc/v1/keyapis_vc_camera_video_data_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.CameraVideoDataFilter</code>
 */
class CameraVideoDataFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * Идентификатор камеры в системе Видеокомфорт.
     * Тип: Guid
     *
     * Generated from protobuf field <code>repeated string uids = 1;</code>
     */
    private $uids;
    /**
     * Наименование камеры
     *
     * Generated from protobuf field <code>repeated string title = 2;</code>
     */
    private $title;
    /**
     * MAC-адрес камеры
     *
     * Generated from protobuf field <code>repeated string mac = 3;</code>
     */
    private $mac;
    /**
     * IP камеры
     *
     * Generated from protobuf field <code>repeated string ip = 4;</code>
     */
    private $ip;
    /**
     * Серийный номер камеры
     *
     * Generated from protobuf field <code>repeated string serial_number = 5;</code>
     */
    private $serial_number;
    /**
     * Категория камеры
     *
     * Generated from protobuf field <code>repeated string category = 6;</code>
     */
    private $category;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $uids
     *           Идентификатор камеры в системе Видеокомфорт.
     *           Тип: Guid
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $title
     *           Наименование камеры
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $mac
     *           MAC-адрес камеры
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $ip
     *           IP камеры
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $serial_number
     *           Серийный номер камеры
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $category
     *           Категория камеры
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCameraVideoDataV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Идентификатор камеры в системе Видеокомфорт.
     * Тип: Guid
     *
     * Generated from protobuf field <code>repeated string uids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getUids()
    {
        return $this->uids;
    }

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * MAC-адрес камеры
     *
     * Generated from protobuf field <code>repeated string mac = 3;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getMac()
    {
        return $this->mac;
    }

    /**
     * MAC-адрес камеры
     *
     * Generated from protobuf field <code>repeated string mac = 3;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setMac($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->mac = $arr;

        return $this;
    }

    /**
     * IP камеры
     *
     * Generated from protobuf field <code>repeated string ip = 4;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getIp()
    {
        return $this->ip;
    }

    /**
     * IP камеры
     *
     * Generated from protobuf field <code>repeated string ip = 4;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setIp($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->ip = $arr;

        return $this;
    }

    /**
     * Серийный номер камеры
     *
     * Generated from protobuf field <code>repeated string serial_number = 5;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getSerialNumber()
    {
        return $this->serial_number;
    }

    /**
     * Серийный номер камеры
     *
     * Generated from protobuf field <code>repeated string serial_number = 5;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setSerialNumber($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->serial_number = $arr;

        return $this;
    }

    /**
     * Категория камеры
     *
     * Generated from protobuf field <code>repeated string category = 6;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getCategory()
    {
        return $this->category;
    }

    /**
     * Категория камеры
     *
     * Generated from protobuf field <code>repeated string category = 6;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setCategory($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->category = $arr;

        return $this;
    }

}

