public sealed class ReceivePacketsControlResponse : IMessage<ReceivePacketsControlResponse>, IEquatable<ReceivePacketsControlResponse>, IDeepCloneable<ReceivePacketsControlResponse>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class ReceivePacketsControlResponse.
Control message for a ReceivePacketsResponse.
Implements
IMessageReceivePacketsControlResponse, IEquatableReceivePacketsControlResponse, IDeepCloneableReceivePacketsControlResponse, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
ReceivePacketsControlResponse()
public ReceivePacketsControlResponse()ReceivePacketsControlResponse(ReceivePacketsControlResponse)
public ReceivePacketsControlResponse(ReceivePacketsControlResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ReceivePacketsControlResponse |
Properties
ControlCase
public ReceivePacketsControlResponse.ControlOneofCase ControlCase { get; }| Property Value | |
|---|---|
| Type | Description |
ReceivePacketsControlResponseControlOneofCase |
|
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 |
|