# Interface StorageConfigOrBuilder (0.13.0)

0.13.0 (latest) 0.11.0 0.8.0 0.7.0 0.5.0 0.3.0 0.2.0 0.1.0

    public interface StorageConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getId()

    public abstract String getId()

Required. ID of the storage resource to mount, which must match a key in
the cluster's [storage_resources](https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/Cluster.storage_resources).

`string id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The id. |

### getIdBytes()

    public abstract ByteString getIdBytes()

Required. ID of the storage resource to mount, which must match a key in
the cluster's [storage_resources](https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/Cluster.storage_resources).

`string id = 1 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for id. |

### getLocalMount()

    public abstract String getLocalMount()

Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., `/mnt/share`).

`string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The localMount. |

### getLocalMountBytes()

    public abstract ByteString getLocalMountBytes()

Required. A directory inside the VM instance's file system where the
storage resource should be mounted (e.g., `/mnt/share`).

`string local_mount = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for localMount. |