proto.api.GetBatteryInfoReq
*/
class GetBatteryInfoReq extends \Google\Protobuf\Internal\Message
{
/**
* 电池编号
*
* Generated from protobuf field string battery_sn = 1;
*/
protected $battery_sn = '';
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $battery_sn
* 电池编号
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\LargeScreenData::initOnce();
parent::__construct($data);
}
/**
* 电池编号
*
* Generated from protobuf field string battery_sn = 1;
* @return string
*/
public function getBatterySn()
{
return $this->battery_sn;
}
/**
* 电池编号
*
* Generated from protobuf field string battery_sn = 1;
* @param string $var
* @return $this
*/
public function setBatterySn($var)
{
GPBUtil::checkString($var, True);
$this->battery_sn = $var;
return $this;
}
}