<?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;
    }

}

