1.0.0 (latest) 1.0.0-beta01

    public sealed class OccupancyCountingPredictionResult : IMessage<OccupancyCountingPredictionResult>, IEquatable<OccupancyCountingPredictionResult>, IDeepCloneable<OccupancyCountingPredictionResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class OccupancyCountingPredictionResult.

The prediction result proto for occupancy counting.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> OccupancyCountingPredictionResult

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[OccupancyCountingPredictionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[OccupancyCountingPredictionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[OccupancyCountingPredictionResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### OccupancyCountingPredictionResult()

    public OccupancyCountingPredictionResult()

### OccupancyCountingPredictionResult(OccupancyCountingPredictionResult)

    public OccupancyCountingPredictionResult(OccupancyCountingPredictionResult other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult` |

## Properties

### CurrentTime

    public Timestamp CurrentTime { get; set; }

Current timestamp.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### DwellTimeInfo

    public RepeatedField<OccupancyCountingPredictionResult.Types.DwellTimeInfo> DwellTimeInfo { get; }

Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.DwellTimeInfo` |   |

### HasPts

    public bool HasPts { get; }

Gets whether the "pts" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IdentifiedBoxes

    public RepeatedField<OccupancyCountingPredictionResult.Types.IdentifiedBox> IdentifiedBoxes { get; }

A list of identified boxes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.IdentifiedBox` |   |

### Pts

    public long Pts { get; set; }

The presentation timestamp of the frame.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int64` |   |

### Stats

    public OccupancyCountingPredictionResult.Types.Stats Stats { get; set; }

Detection statistics.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats` |   |

### TrackInfo

    public RepeatedField<OccupancyCountingPredictionResult.Types.TrackInfo> TrackInfo { get; }

Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResulthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.TrackInfo` |   |