rv.data.TestPatternDefinition.BoolProperty */ class BoolProperty extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field bool value = 1; */ protected $value = false; /** * Generated from protobuf field repeated .rv.data.TestPatternDefinition.Property dependent_properties = 2; */ private $dependent_properties; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $value * @type array<\Rv\Data\TestPatternDefinition\Property>|\Google\Protobuf\Internal\RepeatedField $dependent_properties * } */ public function __construct($data = NULL) { \GPBMetadata\TestPattern::initOnce(); parent::__construct($data); } /** * Generated from protobuf field bool value = 1; * @return bool */ public function getValue() { return $this->value; } /** * Generated from protobuf field bool value = 1; * @param bool $var * @return $this */ public function setValue($var) { GPBUtil::checkBool($var); $this->value = $var; return $this; } /** * Generated from protobuf field repeated .rv.data.TestPatternDefinition.Property dependent_properties = 2; * @return \Google\Protobuf\Internal\RepeatedField */ public function getDependentProperties() { return $this->dependent_properties; } /** * Generated from protobuf field repeated .rv.data.TestPatternDefinition.Property dependent_properties = 2; * @param array<\Rv\Data\TestPatternDefinition\Property>|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setDependentProperties($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\TestPatternDefinition\Property::class); $this->dependent_properties = $arr; return $this; } }