math.DivArgs
*/
class DivArgs extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field int64 dividend = 1;
*/
protected $dividend = 0;
/**
* Generated from protobuf field int64 divisor = 2;
*/
protected $divisor = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $dividend
* @type int|string $divisor
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Math::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field int64 dividend = 1;
* @return int|string
*/
public function getDividend()
{
return $this->dividend;
}
/**
* Generated from protobuf field int64 dividend = 1;
* @param int|string $var
* @return $this
*/
public function setDividend($var)
{
GPBUtil::checkInt64($var);
$this->dividend = $var;
return $this;
}
/**
* Generated from protobuf field int64 divisor = 2;
* @return int|string
*/
public function getDivisor()
{
return $this->divisor;
}
/**
* Generated from protobuf field int64 divisor = 2;
* @param int|string $var
* @return $this
*/
public function setDivisor($var)
{
GPBUtil::checkInt64($var);
$this->divisor = $var;
return $this;
}
}