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

namespace Rv\Data\ProLink\ClientAction;

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

/**
 * Generated from protobuf message <code>rv.data.ProLink.ClientAction.RenderTime</code>
 */
class RenderTime extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>uint64 latency = 1;</code>
     */
    protected $latency = 0;
    /**
     * Generated from protobuf field <code>uint64 render_time = 2;</code>
     */
    protected $render_time = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $latency
     *     @type int|string $render_time
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>uint64 latency = 1;</code>
     * @return int|string
     */
    public function getLatency()
    {
        return $this->latency;
    }

    /**
     * Generated from protobuf field <code>uint64 latency = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setLatency($var)
    {
        GPBUtil::checkUint64($var);
        $this->latency = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint64 render_time = 2;</code>
     * @return int|string
     */
    public function getRenderTime()
    {
        return $this->render_time;
    }

    /**
     * Generated from protobuf field <code>uint64 render_time = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setRenderTime($var)
    {
        GPBUtil::checkUint64($var);
        $this->render_time = $var;

        return $this;
    }

}

