Vision AI v1 API - Class ReceiveEventsControlResponse (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 > ReceiveEventsControlResponse

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

ReceiveEventsControlResponse()

public ReceiveEventsControlResponse()

ReceiveEventsControlResponse(ReceiveEventsControlResponse)

public ReceiveEventsControlResponse(ReceiveEventsControlResponse other)
Parameter
Name Description
other ReceiveEventsControlResponse

Properties

ControlCase

public ReceiveEventsControlResponse.ControlOneofCase ControlCase { get; }
Property Value
Type Description
ReceiveEventsControlResponseControlOneofCase

HasHeartbeat

public bool HasHeartbeat { get; }

Gets whether the "heartbeat" field is set

Property Value
Type Description
bool

HasWritesDoneRequest

public bool HasWritesDoneRequest { get; }

Gets whether the "writes_done_request" field is set

Property Value
Type Description
bool

Heartbeat

public bool Heartbeat { get; set; }

A server heartbeat.

Property Value
Type Description
bool

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 CommitRequests.

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
bool