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

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

/**
 * Generated from protobuf message <code>PublicMiniTickerV3Api</code>
 */
class PublicMiniTickerV3Api extends \Google\Protobuf\Internal\Message
{
    /**
     * 交易对名
     *
     * Generated from protobuf field <code>string symbol = 1;</code>
     */
    protected $symbol = '';
    /**
     * 最新价格
     *
     * Generated from protobuf field <code>string price = 2;</code>
     */
    protected $price = '';
    /**
     * utc+8时区涨跌幅
     *
     * Generated from protobuf field <code>string rate = 3;</code>
     */
    protected $rate = '';
    /**
     * 时区涨跌幅
     *
     * Generated from protobuf field <code>string zonedRate = 4;</code>
     */
    protected $zonedRate = '';
    /**
     * 滚动最高价
     *
     * Generated from protobuf field <code>string high = 5;</code>
     */
    protected $high = '';
    /**
     * 滚动最低价
     *
     * Generated from protobuf field <code>string low = 6;</code>
     */
    protected $low = '';
    /**
     * 滚动成交额
     *
     * Generated from protobuf field <code>string volume = 7;</code>
     */
    protected $volume = '';
    /**
     * 滚动成交量
     *
     * Generated from protobuf field <code>string quantity = 8;</code>
     */
    protected $quantity = '';
    /**
     * utc+8时区上期收盘价模式涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseRate = 9;</code>
     */
    protected $lastCloseRate = '';
    /**
     * 上期收盘价模式时区涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseZonedRate = 10;</code>
     */
    protected $lastCloseZonedRate = '';
    /**
     * 上期收盘价模式滚动最高价
     *
     * Generated from protobuf field <code>string lastCloseHigh = 11;</code>
     */
    protected $lastCloseHigh = '';
    /**
     * 上期收盘价模式滚动最低价
     *
     * Generated from protobuf field <code>string lastCloseLow = 12;</code>
     */
    protected $lastCloseLow = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $symbol
     *           交易对名
     *     @type string $price
     *           最新价格
     *     @type string $rate
     *           utc+8时区涨跌幅
     *     @type string $zonedRate
     *           时区涨跌幅
     *     @type string $high
     *           滚动最高价
     *     @type string $low
     *           滚动最低价
     *     @type string $volume
     *           滚动成交额
     *     @type string $quantity
     *           滚动成交量
     *     @type string $lastCloseRate
     *           utc+8时区上期收盘价模式涨跌幅
     *     @type string $lastCloseZonedRate
     *           上期收盘价模式时区涨跌幅
     *     @type string $lastCloseHigh
     *           上期收盘价模式滚动最高价
     *     @type string $lastCloseLow
     *           上期收盘价模式滚动最低价
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PublicMiniTickerV3Api::initOnce();
        parent::__construct($data);
    }

    /**
     * 交易对名
     *
     * Generated from protobuf field <code>string symbol = 1;</code>
     * @return string
     */
    public function getSymbol()
    {
        return $this->symbol;
    }

    /**
     * 交易对名
     *
     * Generated from protobuf field <code>string symbol = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setSymbol($var)
    {
        GPBUtil::checkString($var, True);
        $this->symbol = $var;

        return $this;
    }

    /**
     * 最新价格
     *
     * Generated from protobuf field <code>string price = 2;</code>
     * @return string
     */
    public function getPrice()
    {
        return $this->price;
    }

    /**
     * 最新价格
     *
     * Generated from protobuf field <code>string price = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setPrice($var)
    {
        GPBUtil::checkString($var, True);
        $this->price = $var;

        return $this;
    }

    /**
     * utc+8时区涨跌幅
     *
     * Generated from protobuf field <code>string rate = 3;</code>
     * @return string
     */
    public function getRate()
    {
        return $this->rate;
    }

    /**
     * utc+8时区涨跌幅
     *
     * Generated from protobuf field <code>string rate = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setRate($var)
    {
        GPBUtil::checkString($var, True);
        $this->rate = $var;

        return $this;
    }

    /**
     * 时区涨跌幅
     *
     * Generated from protobuf field <code>string zonedRate = 4;</code>
     * @return string
     */
    public function getZonedRate()
    {
        return $this->zonedRate;
    }

    /**
     * 时区涨跌幅
     *
     * Generated from protobuf field <code>string zonedRate = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setZonedRate($var)
    {
        GPBUtil::checkString($var, True);
        $this->zonedRate = $var;

        return $this;
    }

    /**
     * 滚动最高价
     *
     * Generated from protobuf field <code>string high = 5;</code>
     * @return string
     */
    public function getHigh()
    {
        return $this->high;
    }

    /**
     * 滚动最高价
     *
     * Generated from protobuf field <code>string high = 5;</code>
     * @param string $var
     * @return $this
     */
    public function setHigh($var)
    {
        GPBUtil::checkString($var, True);
        $this->high = $var;

        return $this;
    }

    /**
     * 滚动最低价
     *
     * Generated from protobuf field <code>string low = 6;</code>
     * @return string
     */
    public function getLow()
    {
        return $this->low;
    }

    /**
     * 滚动最低价
     *
     * Generated from protobuf field <code>string low = 6;</code>
     * @param string $var
     * @return $this
     */
    public function setLow($var)
    {
        GPBUtil::checkString($var, True);
        $this->low = $var;

        return $this;
    }

    /**
     * 滚动成交额
     *
     * Generated from protobuf field <code>string volume = 7;</code>
     * @return string
     */
    public function getVolume()
    {
        return $this->volume;
    }

    /**
     * 滚动成交额
     *
     * Generated from protobuf field <code>string volume = 7;</code>
     * @param string $var
     * @return $this
     */
    public function setVolume($var)
    {
        GPBUtil::checkString($var, True);
        $this->volume = $var;

        return $this;
    }

    /**
     * 滚动成交量
     *
     * Generated from protobuf field <code>string quantity = 8;</code>
     * @return string
     */
    public function getQuantity()
    {
        return $this->quantity;
    }

    /**
     * 滚动成交量
     *
     * Generated from protobuf field <code>string quantity = 8;</code>
     * @param string $var
     * @return $this
     */
    public function setQuantity($var)
    {
        GPBUtil::checkString($var, True);
        $this->quantity = $var;

        return $this;
    }

    /**
     * utc+8时区上期收盘价模式涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseRate = 9;</code>
     * @return string
     */
    public function getLastCloseRate()
    {
        return $this->lastCloseRate;
    }

    /**
     * utc+8时区上期收盘价模式涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseRate = 9;</code>
     * @param string $var
     * @return $this
     */
    public function setLastCloseRate($var)
    {
        GPBUtil::checkString($var, True);
        $this->lastCloseRate = $var;

        return $this;
    }

    /**
     * 上期收盘价模式时区涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseZonedRate = 10;</code>
     * @return string
     */
    public function getLastCloseZonedRate()
    {
        return $this->lastCloseZonedRate;
    }

    /**
     * 上期收盘价模式时区涨跌幅
     *
     * Generated from protobuf field <code>string lastCloseZonedRate = 10;</code>
     * @param string $var
     * @return $this
     */
    public function setLastCloseZonedRate($var)
    {
        GPBUtil::checkString($var, True);
        $this->lastCloseZonedRate = $var;

        return $this;
    }

    /**
     * 上期收盘价模式滚动最高价
     *
     * Generated from protobuf field <code>string lastCloseHigh = 11;</code>
     * @return string
     */
    public function getLastCloseHigh()
    {
        return $this->lastCloseHigh;
    }

    /**
     * 上期收盘价模式滚动最高价
     *
     * Generated from protobuf field <code>string lastCloseHigh = 11;</code>
     * @param string $var
     * @return $this
     */
    public function setLastCloseHigh($var)
    {
        GPBUtil::checkString($var, True);
        $this->lastCloseHigh = $var;

        return $this;
    }

    /**
     * 上期收盘价模式滚动最低价
     *
     * Generated from protobuf field <code>string lastCloseLow = 12;</code>
     * @return string
     */
    public function getLastCloseLow()
    {
        return $this->lastCloseLow;
    }

    /**
     * 上期收盘价模式滚动最低价
     *
     * Generated from protobuf field <code>string lastCloseLow = 12;</code>
     * @param string $var
     * @return $this
     */
    public function setLastCloseLow($var)
    {
        GPBUtil::checkString($var, True);
        $this->lastCloseLow = $var;

        return $this;
    }

}

