rv.data.TestPatternDefinition.FontProperty */ class FontProperty extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.data.Font font = 1; */ protected $font = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Rv\Data\Font $font * } */ public function __construct($data = NULL) { \GPBMetadata\TestPattern::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.data.Font font = 1; * @return \Rv\Data\Font|null */ public function getFont() { return $this->font; } public function hasFont() { return isset($this->font); } public function clearFont() { unset($this->font); } /** * Generated from protobuf field .rv.data.Font font = 1; * @param \Rv\Data\Font $var * @return $this */ public function setFont($var) { GPBUtil::checkMessage($var, \Rv\Data\Font::class); $this->font = $var; return $this; } }