# Interface OccupancyCountConfigOrBuilder (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.visionai.v1.OccupancyCountConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.visionai.v1.OccupancyCountConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.visionai.v1.OccupancyCountConfigOrBuilder)

    public interface OccupancyCountConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEnableDwellingTimeTracking()

    public abstract boolean getEnableDwellingTimeTracking()

Whether to track each invidual object's loitering time inside the scene or
specific zone.

`bool enable_dwelling_time_tracking = 3;`

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

### getEnablePeopleCounting()

    public abstract boolean getEnablePeopleCounting()

Whether to count the appearances of people, output counts have 'people' as
the key.

`bool enable_people_counting = 1;`

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

### getEnableVehicleCounting()

    public abstract boolean getEnableVehicleCounting()

Whether to count the appearances of vehicles, output counts will have
'vehicle' as the key.

`bool enable_vehicle_counting = 2;`

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