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

namespace Rv\Data\Action\CaptureType;

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

/**
 * Generated from protobuf message <code>rv.data.Action.CaptureType.CaptureStart</code>
 */
class CaptureStart extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.CollectionElementType preset_identification = 1;</code>
     */
    protected $preset_identification = null;

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

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

    public function hasPresetIdentification()
    {
        return isset($this->preset_identification);
    }

    public function clearPresetIdentification()
    {
        unset($this->preset_identification);
    }

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

        return $this;
    }

}

