rv.data.DigitalAudio.Bus */ class Bus extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string name = 1; */ protected $name = ''; /** * Generated from protobuf field bool muted = 2; */ protected $muted = false; /** * Generated from protobuf field bool solo = 3; */ protected $solo = false; /** * Generated from protobuf field bool test_tone = 4; */ protected $test_tone = false; /** * Generated from protobuf field double master_level = 5; */ protected $master_level = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $name * @type bool $muted * @type bool $solo * @type bool $test_tone * @type float $master_level * } */ public function __construct($data = NULL) { \GPBMetadata\DigitalAudio::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string name = 1; * @return string */ public function getName() { return $this->name; } /** * Generated from protobuf field string name = 1; * @param string $var * @return $this */ public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; } /** * Generated from protobuf field bool muted = 2; * @return bool */ public function getMuted() { return $this->muted; } /** * Generated from protobuf field bool muted = 2; * @param bool $var * @return $this */ public function setMuted($var) { GPBUtil::checkBool($var); $this->muted = $var; return $this; } /** * Generated from protobuf field bool solo = 3; * @return bool */ public function getSolo() { return $this->solo; } /** * Generated from protobuf field bool solo = 3; * @param bool $var * @return $this */ public function setSolo($var) { GPBUtil::checkBool($var); $this->solo = $var; return $this; } /** * Generated from protobuf field bool test_tone = 4; * @return bool */ public function getTestTone() { return $this->test_tone; } /** * Generated from protobuf field bool test_tone = 4; * @param bool $var * @return $this */ public function setTestTone($var) { GPBUtil::checkBool($var); $this->test_tone = $var; return $this; } /** * Generated from protobuf field double master_level = 5; * @return float */ public function getMasterLevel() { return $this->master_level; } /** * Generated from protobuf field double master_level = 5; * @param float $var * @return $this */ public function setMasterLevel($var) { GPBUtil::checkDouble($var); $this->master_level = $var; return $this; } }