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