<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/storagetransfer/v1/transfer_types.proto

namespace Google\Cloud\StorageTransfer\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * A POSIX filesystem resource.
 *
 * Generated from protobuf message <code>google.storagetransfer.v1.PosixFilesystem</code>
 */
class PosixFilesystem extends \Google\Protobuf\Internal\Message
{
    /**
     * Root directory path to the filesystem.
     *
     * Generated from protobuf field <code>string root_directory = 1;</code>
     */
    private $root_directory = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $root_directory
     *           Root directory path to the filesystem.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Storagetransfer\V1\TransferTypes::initOnce();
        parent::__construct($data);
    }

    /**
     * Root directory path to the filesystem.
     *
     * Generated from protobuf field <code>string root_directory = 1;</code>
     * @return string
     */
    public function getRootDirectory()
    {
        return $this->root_directory;
    }

    /**
     * Root directory path to the filesystem.
     *
     * Generated from protobuf field <code>string root_directory = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRootDirectory($var)
    {
        GPBUtil::checkString($var, True);
        $this->root_directory = $var;

        return $this;
    }

}

