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

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

/**
 * Generated from protobuf message <code>PrivateAccountV3Api</code>
 */
class PrivateAccountV3Api extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string vcoinName = 1;</code>
     */
    protected $vcoinName = '';
    /**
     * Generated from protobuf field <code>string coinId = 2;</code>
     */
    protected $coinId = '';
    /**
     * Generated from protobuf field <code>string balanceAmount = 3;</code>
     */
    protected $balanceAmount = '';
    /**
     * Generated from protobuf field <code>string balanceAmountChange = 4;</code>
     */
    protected $balanceAmountChange = '';
    /**
     * Generated from protobuf field <code>string frozenAmount = 5;</code>
     */
    protected $frozenAmount = '';
    /**
     * Generated from protobuf field <code>string frozenAmountChange = 6;</code>
     */
    protected $frozenAmountChange = '';
    /**
     * Generated from protobuf field <code>string type = 7;</code>
     */
    protected $type = '';
    /**
     * Generated from protobuf field <code>int64 time = 8;</code>
     */
    protected $time = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $vcoinName
     *     @type string $coinId
     *     @type string $balanceAmount
     *     @type string $balanceAmountChange
     *     @type string $frozenAmount
     *     @type string $frozenAmountChange
     *     @type string $type
     *     @type int|string $time
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PrivateAccountV3Api::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string frozenAmount = 5;</code>
     * @return string
     */
    public function getFrozenAmount()
    {
        return $this->frozenAmount;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string frozenAmountChange = 6;</code>
     * @return string
     */
    public function getFrozenAmountChange()
    {
        return $this->frozenAmountChange;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string type = 7;</code>
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 time = 8;</code>
     * @return int|string
     */
    public function getTime()
    {
        return $this->time;
    }

    /**
     * Generated from protobuf field <code>int64 time = 8;</code>
     * @param int|string $var
     * @return $this
     */
    public function setTime($var)
    {
        GPBUtil::checkInt64($var);
        $this->time = $var;

        return $this;
    }

}

