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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Represents a mount configuration for Lustre file system.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.LustreMount</code>
 */
class LustreMount extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. IP address of the Lustre instance.
     *
     * Generated from protobuf field <code>string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $instance_ip = '';
    /**
     * Required. The unique identifier of the Lustre volume.
     *
     * Generated from protobuf field <code>string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $volume_handle = '';
    /**
     * Required. The name of the Lustre filesystem.
     *
     * Generated from protobuf field <code>string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $filesystem = '';
    /**
     * Required. Destination mount path. The Lustre file system will be mounted
     * for the user under /mnt/lustre/<mount_point>
     *
     * Generated from protobuf field <code>string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $mount_point = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $instance_ip
     *           Required. IP address of the Lustre instance.
     *     @type string $volume_handle
     *           Required. The unique identifier of the Lustre volume.
     *     @type string $filesystem
     *           Required. The name of the Lustre filesystem.
     *     @type string $mount_point
     *           Required. Destination mount path. The Lustre file system will be mounted
     *           for the user under /mnt/lustre/<mount_point>
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. IP address of the Lustre instance.
     *
     * Generated from protobuf field <code>string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getInstanceIp()
    {
        return $this->instance_ip;
    }

    /**
     * Required. IP address of the Lustre instance.
     *
     * Generated from protobuf field <code>string instance_ip = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setInstanceIp($var)
    {
        GPBUtil::checkString($var, True);
        $this->instance_ip = $var;

        return $this;
    }

    /**
     * Required. The unique identifier of the Lustre volume.
     *
     * Generated from protobuf field <code>string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getVolumeHandle()
    {
        return $this->volume_handle;
    }

    /**
     * Required. The unique identifier of the Lustre volume.
     *
     * Generated from protobuf field <code>string volume_handle = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setVolumeHandle($var)
    {
        GPBUtil::checkString($var, True);
        $this->volume_handle = $var;

        return $this;
    }

    /**
     * Required. The name of the Lustre filesystem.
     *
     * Generated from protobuf field <code>string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getFilesystem()
    {
        return $this->filesystem;
    }

    /**
     * Required. The name of the Lustre filesystem.
     *
     * Generated from protobuf field <code>string filesystem = 3 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setFilesystem($var)
    {
        GPBUtil::checkString($var, True);
        $this->filesystem = $var;

        return $this;
    }

    /**
     * Required. Destination mount path. The Lustre file system will be mounted
     * for the user under /mnt/lustre/<mount_point>
     *
     * Generated from protobuf field <code>string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getMountPoint()
    {
        return $this->mount_point;
    }

    /**
     * Required. Destination mount path. The Lustre file system will be mounted
     * for the user under /mnt/lustre/<mount_point>
     *
     * Generated from protobuf field <code>string mount_point = 4 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setMountPoint($var)
    {
        GPBUtil::checkString($var, True);
        $this->mount_point = $var;

        return $this;
    }

}

