rv.data.Media.VideoDevice.AirCast */ class AirCast extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string service_name = 1; */ protected $service_name = ''; /** * Generated from protobuf field string password = 2; */ protected $password = ''; /** * Generated from protobuf field bool password_enabled = 3; */ protected $password_enabled = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $service_name * @type string $password * @type bool $password_enabled * } */ public function __construct($data = NULL) { \GPBMetadata\GraphicsData::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string service_name = 1; * @return string */ public function getServiceName() { return $this->service_name; } /** * Generated from protobuf field string service_name = 1; * @param string $var * @return $this */ public function setServiceName($var) { GPBUtil::checkString($var, True); $this->service_name = $var; return $this; } /** * Generated from protobuf field string password = 2; * @return string */ public function getPassword() { return $this->password; } /** * Generated from protobuf field string password = 2; * @param string $var * @return $this */ public function setPassword($var) { GPBUtil::checkString($var, True); $this->password = $var; return $this; } /** * Generated from protobuf field bool password_enabled = 3; * @return bool */ public function getPasswordEnabled() { return $this->password_enabled; } /** * Generated from protobuf field bool password_enabled = 3; * @param bool $var * @return $this */ public function setPasswordEnabled($var) { GPBUtil::checkBool($var); $this->password_enabled = $var; return $this; } }