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

namespace Google\Cloud\Batch\V1;

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

/**
 * Represents a Google Cloud Storage volume.
 *
 * Generated from protobuf message <code>google.cloud.batch.v1.GCS</code>
 */
class GCS extends \Google\Protobuf\Internal\Message
{
    /**
     * Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
     * bucket_name, bucket_name/subdirectory/
     *
     * Generated from protobuf field <code>string remote_path = 1;</code>
     */
    private $remote_path = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $remote_path
     *           Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
     *           bucket_name, bucket_name/subdirectory/
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Batch\V1\Volume::initOnce();
        parent::__construct($data);
    }

    /**
     * Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
     * bucket_name, bucket_name/subdirectory/
     *
     * Generated from protobuf field <code>string remote_path = 1;</code>
     * @return string
     */
    public function getRemotePath()
    {
        return $this->remote_path;
    }

    /**
     * Remote path, either a bucket name or a subdirectory of a bucket, e.g.:
     * bucket_name, bucket_name/subdirectory/
     *
     * Generated from protobuf field <code>string remote_path = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRemotePath($var)
    {
        GPBUtil::checkString($var, True);
        $this->remote_path = $var;

        return $this;
    }

}

