1.0.0 (latest) 1.0.0-beta01

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

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

Control message for a ReceiveEventsResponse.

## Inheritance

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

## Implements

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

### ReceiveEventsControlResponse()

    public ReceiveEventsControlResponse()

### ReceiveEventsControlResponse(ReceiveEventsControlResponse)

    public ReceiveEventsControlResponse(ReceiveEventsControlResponse other)

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

## Properties

### ControlCase

    public ReceiveEventsControlResponse.ControlOneofCase ControlCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ReceiveEventsControlResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ReceiveEventsControlResponse.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` |   |