<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApi.proto

namespace Rv\Data\NetworkAPI\Action\API_Trigger;

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

/**
 * Generated from protobuf message <code>rv.data.NetworkAPI.Action.API_Trigger.VideoInput</code>
 */
class VideoInput extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier video_input_id = 1;</code>
     */
    protected $video_input_id = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\NetworkAPI\IndexOrNameIdentifier $video_input_id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier video_input_id = 1;</code>
     * @return \Rv\Data\NetworkAPI\IndexOrNameIdentifier|null
     */
    public function getVideoInputId()
    {
        return $this->video_input_id;
    }

    public function hasVideoInputId()
    {
        return isset($this->video_input_id);
    }

    public function clearVideoInputId()
    {
        unset($this->video_input_id);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier video_input_id = 1;</code>
     * @param \Rv\Data\NetworkAPI\IndexOrNameIdentifier $var
     * @return $this
     */
    public function setVideoInputId($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\IndexOrNameIdentifier::class);
        $this->video_input_id = $var;

        return $this;
    }

}

