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

## Implements

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

## Methods

### getConfigCase()

    public abstract NetworkResourceConfig.ConfigCase getConfigCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-hypercomputecluster/latest/com.google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig.ConfigCase` |   |

### getExistingNetwork()

    public abstract ExistingNetworkConfig getExistingNetwork()

Optional. Immutable. If set, indicates that an existing network should be
imported.

`
.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.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.v1beta.ExistingNetworkConfig` | The existingNetwork. |

### getExistingNetworkOrBuilder()

    public abstract ExistingNetworkConfigOrBuilder getExistingNetworkOrBuilder()

Optional. Immutable. If set, indicates that an existing network should be
imported.

`
.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.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.v1beta.ExistingNetworkConfigOrBuilder` |   |

### getNewNetwork()

    public abstract NewNetworkConfig getNewNetwork()

Optional. Immutable. If set, indicates that a new network should be
created.

`
.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.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.v1beta.NewNetworkConfig` | The newNetwork. |

### getNewNetworkOrBuilder()

    public abstract NewNetworkConfigOrBuilder getNewNetworkOrBuilder()

Optional. Immutable. If set, indicates that a new network should be
created.

`
.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.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.v1beta.NewNetworkConfigOrBuilder` |   |

### hasExistingNetwork()

    public abstract boolean hasExistingNetwork()

Optional. Immutable. If set, indicates that an existing network should be
imported.

`
.google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig existing_network = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the existingNetwork field is set. |

### hasNewNetwork()

    public abstract boolean hasNewNetwork()

Optional. Immutable. If set, indicates that a new network should be
created.

`
.google.cloud.hypercomputecluster.v1beta.NewNetworkConfig new_network = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the newNetwork field is set. |