rv.data.URL.ExternalRelativePath.Win32ExternalVolume
*/
class Win32ExternalVolume extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field string drive_letter = 1;
*/
protected $drive_letter = '';
/**
* Generated from protobuf field string volume_name = 2;
*/
protected $volume_name = '';
/**
* Generated from protobuf field bool network_share = 3;
*/
protected $network_share = false;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type string $drive_letter
* @type string $volume_name
* @type bool $network_share
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Url::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field string drive_letter = 1;
* @return string
*/
public function getDriveLetter()
{
return $this->drive_letter;
}
/**
* Generated from protobuf field string drive_letter = 1;
* @param string $var
* @return $this
*/
public function setDriveLetter($var)
{
GPBUtil::checkString($var, True);
$this->drive_letter = $var;
return $this;
}
/**
* Generated from protobuf field string volume_name = 2;
* @return string
*/
public function getVolumeName()
{
return $this->volume_name;
}
/**
* Generated from protobuf field string volume_name = 2;
* @param string $var
* @return $this
*/
public function setVolumeName($var)
{
GPBUtil::checkString($var, True);
$this->volume_name = $var;
return $this;
}
/**
* Generated from protobuf field bool network_share = 3;
* @return bool
*/
public function getNetworkShare()
{
return $this->network_share;
}
/**
* Generated from protobuf field bool network_share = 3;
* @param bool $var
* @return $this
*/
public function setNetworkShare($var)
{
GPBUtil::checkBool($var);
$this->network_share = $var;
return $this;
}
}