- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root - Move ref/ to doc/reference_samples/ for better organization - Remove vendor/ from git tracking (now properly gitignored) - Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/) - Update all documentation paths (AGENTS.md, doc/*.md) - Remove php.bak/ directory - All 252 tests pass
114 lines
2.6 KiB
PHP
114 lines
2.6 KiB
PHP
<?php
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: url.proto
|
|
|
|
namespace Rv\Data\URL\ExternalRelativePath;
|
|
|
|
use Google\Protobuf\Internal\GPBType;
|
|
use Google\Protobuf\Internal\RepeatedField;
|
|
use Google\Protobuf\Internal\GPBUtil;
|
|
|
|
/**
|
|
* Generated from protobuf message <code>rv.data.URL.ExternalRelativePath.Win32ExternalVolume</code>
|
|
*/
|
|
class Win32ExternalVolume extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>string drive_letter = 1;</code>
|
|
*/
|
|
protected $drive_letter = '';
|
|
/**
|
|
* Generated from protobuf field <code>string volume_name = 2;</code>
|
|
*/
|
|
protected $volume_name = '';
|
|
/**
|
|
* Generated from protobuf field <code>bool network_share = 3;</code>
|
|
*/
|
|
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 <code>string drive_letter = 1;</code>
|
|
* @return string
|
|
*/
|
|
public function getDriveLetter()
|
|
{
|
|
return $this->drive_letter;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string drive_letter = 1;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setDriveLetter($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->drive_letter = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string volume_name = 2;</code>
|
|
* @return string
|
|
*/
|
|
public function getVolumeName()
|
|
{
|
|
return $this->volume_name;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>string volume_name = 2;</code>
|
|
* @param string $var
|
|
* @return $this
|
|
*/
|
|
public function setVolumeName($var)
|
|
{
|
|
GPBUtil::checkString($var, True);
|
|
$this->volume_name = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool network_share = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getNetworkShare()
|
|
{
|
|
return $this->network_share;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool network_share = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setNetworkShare($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->network_share = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|