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

namespace Rv\Data\API_v1_Presentation_Response;

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

/**
 * Generated from protobuf message <code>rv.data.API_v1_Presentation_Response.ActivePresentationTimelineStatus</code>
 */
class ActivePresentationTimelineStatus extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool is_running = 1;</code>
     */
    protected $is_running = false;
    /**
     * Generated from protobuf field <code>double current_time = 2;</code>
     */
    protected $current_time = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $is_running
     *     @type float $current_time
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Presentation::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool is_running = 1;</code>
     * @return bool
     */
    public function getIsRunning()
    {
        return $this->is_running;
    }

    /**
     * Generated from protobuf field <code>bool is_running = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsRunning($var)
    {
        GPBUtil::checkBool($var);
        $this->is_running = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double current_time = 2;</code>
     * @return float
     */
    public function getCurrentTime()
    {
        return $this->current_time;
    }

    /**
     * Generated from protobuf field <code>double current_time = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setCurrentTime($var)
    {
        GPBUtil::checkDouble($var);
        $this->current_time = $var;

        return $this;
    }

}

