# Interface DedicatedInfrastructureOrBuilder (0.15.0)

0.15.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.1.0

    public interface DedicatedInfrastructureOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getAutoscalingSpec()

    public abstract DedicatedInfrastructure.AutoscalingSpec getAutoscalingSpec()

Optional. Autoscaling specification.

`
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/com.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec` | The autoscalingSpec. |

### getAutoscalingSpecOrBuilder()

    public abstract DedicatedInfrastructure.AutoscalingSpecOrBuilder getAutoscalingSpecOrBuilder()

Optional. Autoscaling specification.

`
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/com.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpecOrBuilder` |   |

### getMode()

    public abstract DedicatedInfrastructure.Mode getMode()

Optional. Mode of the dedicated infrastructure.

`
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-vectorsearch/latest/com.google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode` | The mode. |

### getModeValue()

    public abstract int getModeValue()

Optional. Mode of the dedicated infrastructure.

`
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasAutoscalingSpec()

    public abstract boolean hasAutoscalingSpec()

Optional. Autoscaling specification.

`
.google.cloud.vectorsearch.v1.DedicatedInfrastructure.AutoscalingSpec autoscaling_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasMode()

    public abstract boolean hasMode()

Optional. Mode of the dedicated infrastructure.

`
optional .google.cloud.vectorsearch.v1.DedicatedInfrastructure.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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