1.0.0 (latest) 1.0.0-beta01

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

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

Control message for a ReceivePacketsResponse.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReceivePacketsControlResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ReceivePacketsControlResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReceivePacketsControlResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ReceivePacketsControlResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReceivePacketsControlResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ReceivePacketsControlResponse), [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

### ReceivePacketsControlResponse()

    public ReceivePacketsControlResponse()

### ReceivePacketsControlResponse(ReceivePacketsControlResponse)

    public ReceivePacketsControlResponse(ReceivePacketsControlResponse other)

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

## Properties

### ControlCase

    public ReceivePacketsControlResponse.ControlOneofCase ControlCase { get; }

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

### HasHeartbeat

    public bool HasHeartbeat { get; }

Gets whether the "heartbeat" field is set

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

### HasWritesDoneRequest

    public bool HasWritesDoneRequest { get; }

Gets whether the "writes_done_request" field is set

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

### Heartbeat

    public bool Heartbeat { get; set; }

A server heartbeat.

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

### WritesDoneRequest

    public bool WritesDoneRequest { get; set; }

A request to the receiver to complete any final writes followed by a `WritesDone`; e.g. issue any final `CommitRequest`s.

May be ignored if `WritesDone` has already been issued at any point prior to receiving this message.

If `WritesDone` does not get issued, then the server will forcefully cancel the connection, and the receiver will likely receive an uninformative after `Read` returns `false` and `Finish` is called.

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