1.0.0 (latest) 1.0.0-beta01

    public sealed class OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount : IMessage<OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount>, IEquatable<OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount>, IDeepCloneable<OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount>, IBufferMessage, IMessage

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

Message for Crossing line count.

## Inheritance

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

## 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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types)[Stats](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types)[CrossingLineCount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount), [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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types)[Stats](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types)[CrossingLineCount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount), [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)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types)[Stats](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types)[CrossingLineCount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount), [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

### CrossingLineCount()

    public CrossingLineCount()

### CrossingLineCount(CrossingLineCount)

    public CrossingLineCount(OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `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.Statshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.CrossingLineCount` |

## Properties

### AccumulatedNegativeDirectionCounts

    public RepeatedField<OccupancyCountingPredictionResult.Types.Stats.Types.AccumulatedObjectCount> AccumulatedNegativeDirectionCounts { get; }

The accumulated negative count.

| **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.Statshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.AccumulatedObjectCount` |   |

### AccumulatedPositiveDirectionCounts

    public RepeatedField<OccupancyCountingPredictionResult.Types.Stats.Types.AccumulatedObjectCount> AccumulatedPositiveDirectionCounts { get; }

The accumulated positive count.

| **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.Statshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.AccumulatedObjectCount` |   |

### Annotation

    public StreamAnnotation Annotation { get; set; }

Line annotation from the user.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.StreamAnnotation` |   |

### NegativeDirectionCounts

    public RepeatedField<OccupancyCountingPredictionResult.Types.Stats.Types.ObjectCount> NegativeDirectionCounts { get; }

The direction that is opposite to the right hand rule.

| **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.Statshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.ObjectCount` |   |

### PositiveDirectionCounts

    public RepeatedField<OccupancyCountingPredictionResult.Types.Stats.Types.ObjectCount> PositiveDirectionCounts { get; }

The direction that follows the right hand rule.

| **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.Statshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.OccupancyCountingPredictionResult.Types.Stats.Types.ObjectCount` |   |