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

namespace Rv\Data\PropPauseResponse;

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

/**
 * Generated from protobuf message <code>rv.data.PropPauseResponse.Status</code>
 */
class Status extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool paused = 1;</code>
     */
    protected $paused = false;
    /**
     * Generated from protobuf field <code>double time_remaining = 2;</code>
     */
    protected $time_remaining = 0.0;
    /**
     * Generated from protobuf field <code>double percentage_complete = 3;</code>
     */
    protected $percentage_complete = 0.0;
    /**
     * Generated from protobuf field <code>double total_time = 4;</code>
     */
    protected $total_time = 0.0;

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

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

