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

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

/**
 * Generated from protobuf message <code>PublicAggreBookTickerV3Api</code>
 */
class PublicAggreBookTickerV3Api extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string bidPrice = 1;</code>
     */
    protected $bidPrice = '';
    /**
     * Generated from protobuf field <code>string bidQuantity = 2;</code>
     */
    protected $bidQuantity = '';
    /**
     * Generated from protobuf field <code>string askPrice = 3;</code>
     */
    protected $askPrice = '';
    /**
     * Generated from protobuf field <code>string askQuantity = 4;</code>
     */
    protected $askQuantity = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $bidPrice
     *     @type string $bidQuantity
     *     @type string $askPrice
     *     @type string $askQuantity
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PublicAggreBookTickerV3Api::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string bidPrice = 1;</code>
     * @return string
     */
    public function getBidPrice()
    {
        return $this->bidPrice;
    }

    /**
     * Generated from protobuf field <code>string bidPrice = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setBidPrice($var)
    {
        GPBUtil::checkString($var, True);
        $this->bidPrice = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string bidQuantity = 2;</code>
     * @return string
     */
    public function getBidQuantity()
    {
        return $this->bidQuantity;
    }

    /**
     * Generated from protobuf field <code>string bidQuantity = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setBidQuantity($var)
    {
        GPBUtil::checkString($var, True);
        $this->bidQuantity = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string askPrice = 3;</code>
     * @return string
     */
    public function getAskPrice()
    {
        return $this->askPrice;
    }

    /**
     * Generated from protobuf field <code>string askPrice = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setAskPrice($var)
    {
        GPBUtil::checkString($var, True);
        $this->askPrice = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string askQuantity = 4;</code>
     * @return string
     */
    public function getAskQuantity()
    {
        return $this->askQuantity;
    }

    /**
     * Generated from protobuf field <code>string askQuantity = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setAskQuantity($var)
    {
        GPBUtil::checkString($var, True);
        $this->askQuantity = $var;

        return $this;
    }

}

