# Interface NewFilestoreConfigOrBuilder (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 NewFilestoreConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDescription()

    public abstract String getDescription()

Optional. Immutable. Description of the instance. Maximum of 2048
characters.

`
string description = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

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

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Optional. Immutable. Description of the instance. Maximum of 2048
characters.

`
string description = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

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

### getFileShares(int index)

    public abstract FileShareConfig getFileShares(int index)

Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.

`
repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1.FileShareConfig` |   |

### getFileSharesCount()

    public abstract int getFileSharesCount()

Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.

`
repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getFileSharesList()

    public abstract List<FileShareConfig> getFileSharesList()

Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.

`
repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1.FileShareConfig>` |   |

### getFileSharesOrBuilder(int index)

    public abstract FileShareConfigOrBuilder getFileSharesOrBuilder(int index)

Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.

`
repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1.FileShareConfigOrBuilder` |   |

### getFileSharesOrBuilderList()

    public abstract List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()

Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.

`
repeated .google.cloud.hypercomputecluster.v1.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.hypercomputecluster.v1.FileShareConfigOrBuilder>` |   |

### getFilestore()

    public abstract String getFilestore()

Required. Immutable. Name of the Filestore instance to create, in the
format `projects/{project}/locations/{location}/instances/{instance}`

`
string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
`

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

### getFilestoreBytes()

    public abstract ByteString getFilestoreBytes()

Required. Immutable. Name of the Filestore instance to create, in the
format `projects/{project}/locations/{location}/instances/{instance}`

`
string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
`

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

### getProtocol()

    public abstract NewFilestoreConfig.Protocol getProtocol()

Optional. Immutable. Access protocol to use for all file shares in the
instance. Defaults to NFS V3 if not set.

`
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Protocol` | The protocol. |

### getProtocolValue()

    public abstract int getProtocolValue()

Optional. Immutable. Access protocol to use for all file shares in the
instance. Defaults to NFS V3 if not set.

`
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for protocol. |

### getTier()

    public abstract NewFilestoreConfig.Tier getTier()

Required. Immutable. Service tier to use for the instance.

`
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Tier` | The tier. |

### getTierValue()

    public abstract int getTierValue()

Required. Immutable. Service tier to use for the instance.

`
.google.cloud.hypercomputecluster.v1.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for tier. |