<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: testPattern.proto

namespace Rv\Data\TestPatternDocument\TestPatternData;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.TestPatternDocument.TestPatternData.FontProperty</code>
 */
class FontProperty extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.Font value = 1;</code>
     */
    protected $value = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\Font $value
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\TestPattern::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Font value = 1;</code>
     * @return \Rv\Data\Font|null
     */
    public function getValue()
    {
        return $this->value;
    }

    public function hasValue()
    {
        return isset($this->value);
    }

    public function clearValue()
    {
        unset($this->value);
    }

    /**
     * Generated from protobuf field <code>.rv.data.Font value = 1;</code>
     * @param \Rv\Data\Font $var
     * @return $this
     */
    public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\Font::class);
        $this->value = $var;

        return $this;
    }

}

