<?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.GetCameraVideoDataCountRequest</code>
 */
class GetCameraVideoDataCountRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Ограничение выборки
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataScope scope = 1;</code>
     */
    protected $scope = null;
    /**
     * Фильтр
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataFilter filter = 2;</code>
     */
    protected $filter = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Keyapis\Vc\V1\CameraVideoDataScope $scope
     *           Ограничение выборки
     *     @type \Keyapis\Vc\V1\CameraVideoDataFilter $filter
     *           Фильтр
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCameraVideoDataV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Ограничение выборки
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataScope scope = 1;</code>
     * @return \Keyapis\Vc\V1\CameraVideoDataScope|null
     */
    public function getScope()
    {
        return $this->scope;
    }

    public function hasScope()
    {
        return isset($this->scope);
    }

    public function clearScope()
    {
        unset($this->scope);
    }

    /**
     * Ограничение выборки
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataScope scope = 1;</code>
     * @param \Keyapis\Vc\V1\CameraVideoDataScope $var
     * @return $this
     */
    public function setScope($var)
    {
        GPBUtil::checkMessage($var, \Keyapis\Vc\V1\CameraVideoDataScope::class);
        $this->scope = $var;

        return $this;
    }

    /**
     * Фильтр
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataFilter filter = 2;</code>
     * @return \Keyapis\Vc\V1\CameraVideoDataFilter|null
     */
    public function getFilter()
    {
        return $this->filter;
    }

    public function hasFilter()
    {
        return isset($this->filter);
    }

    public function clearFilter()
    {
        unset($this->filter);
    }

    /**
     * Фильтр
     *
     * Generated from protobuf field <code>.keyapis.vc.v1.CameraVideoDataFilter filter = 2;</code>
     * @param \Keyapis\Vc\V1\CameraVideoDataFilter $var
     * @return $this
     */
    public function setFilter($var)
    {
        GPBUtil::checkMessage($var, \Keyapis\Vc\V1\CameraVideoDataFilter::class);
        $this->filter = $var;

        return $this;
    }

}

