# Interface Zone.ResourceSpecOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Zone.ResourceSpecOrBuilder)

    public static interface Zone.ResourceSpecOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getLocationType()

    public abstract Zone.ResourceSpec.LocationType getLocationType()

Required. Immutable. The location type of the resources that are allowed
to be attached to the assets within this zone.

`.google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType` | The locationType. |

### getLocationTypeValue()

    public abstract int getLocationTypeValue()

Required. Immutable. The location type of the resources that are allowed
to be attached to the assets within this zone.

`.google.events.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1;
`

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