rv.data.MediaMetadataRequestResponse.BitmapInfo
*/
class BitmapInfo extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field uint32 width = 1;
*/
protected $width = 0;
/**
* Generated from protobuf field uint32 height = 2;
*/
protected $height = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int $width
* @type int $height
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\ProCore::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field uint32 width = 1;
* @return int
*/
public function getWidth()
{
return $this->width;
}
/**
* Generated from protobuf field uint32 width = 1;
* @param int $var
* @return $this
*/
public function setWidth($var)
{
GPBUtil::checkUint32($var);
$this->width = $var;
return $this;
}
/**
* Generated from protobuf field uint32 height = 2;
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* Generated from protobuf field uint32 height = 2;
* @param int $var
* @return $this
*/
public function setHeight($var)
{
GPBUtil::checkUint32($var);
$this->height = $var;
return $this;
}
}