google.protobuf.BoolValue */ class BoolValue extends \Google\Protobuf\Internal\Message { /** * The bool value. * * Generated from protobuf field bool value = 1; */ private $value = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type bool $value * The bool value. * } */ public function __construct($data = NULL) { \GPBMetadata\Google\Protobuf\Wrappers::initOnce(); parent::__construct($data); } /** * The bool value. * * Generated from protobuf field bool value = 1; * @return bool */ public function getValue() { return $this->value; } /** * The bool 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; } }