rv.data.TestPattern.BlendGrid */ class BlendGrid extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool draw_grid = 1; */ protected $draw_grid = false; /** * Generated from protobuf field bool draw_circles = 2; */ protected $draw_circles = false; /** * Generated from protobuf field bool draw_lines = 3; */ protected $draw_lines = false; /** * Generated from protobuf field bool invert_colors = 4; */ protected $invert_colors = false; /** * Generated from protobuf field double grid_spacing = 5; */ protected $grid_spacing = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $draw_grid * @type bool $draw_circles * @type bool $draw_lines * @type bool $invert_colors * @type float $grid_spacing * } */ public function __construct($data = NULL) { \GPBMetadata\TestPattern::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool draw_grid = 1; * @return bool */ public function getDrawGrid() { return $this->draw_grid; } /** * Generated from protobuf field bool draw_grid = 1; * @param bool $var * @return $this */ public function setDrawGrid($var) { GPBUtil::checkBool($var); $this->draw_grid = $var; return $this; } /** * Generated from protobuf field bool draw_circles = 2; * @return bool */ public function getDrawCircles() { return $this->draw_circles; } /** * Generated from protobuf field bool draw_circles = 2; * @param bool $var * @return $this */ public function setDrawCircles($var) { GPBUtil::checkBool($var); $this->draw_circles = $var; return $this; } /** * Generated from protobuf field bool draw_lines = 3; * @return bool */ public function getDrawLines() { return $this->draw_lines; } /** * Generated from protobuf field bool draw_lines = 3; * @param bool $var * @return $this */ public function setDrawLines($var) { GPBUtil::checkBool($var); $this->draw_lines = $var; return $this; } /** * Generated from protobuf field bool invert_colors = 4; * @return bool */ public function getInvertColors() { return $this->invert_colors; } /** * Generated from protobuf field bool invert_colors = 4; * @param bool $var * @return $this */ public function setInvertColors($var) { GPBUtil::checkBool($var); $this->invert_colors = $var; return $this; } /** * Generated from protobuf field double grid_spacing = 5; * @return float */ public function getGridSpacing() { return $this->grid_spacing; } /** * Generated from protobuf field double grid_spacing = 5; * @param float $var * @return $this */ public function setGridSpacing($var) { GPBUtil::checkDouble($var); $this->grid_spacing = $var; return $this; } }