Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ReceivePacketsControlResponse.
Control message for a ReceivePacketsResponse.
Generated from protobuf message google.cloud.visionai.v1.ReceivePacketsControlResponse
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ heartbeat
bool
A server heartbeat.
↳ writes_done_request
bool
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.
getHeartbeat
A server heartbeat.
bool
hasHeartbeat
setHeartbeat
A server heartbeat.
var
bool
$this
getWritesDoneRequest
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.
bool
hasWritesDoneRequest
setWritesDoneRequest
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.
var
bool
$this
getControl
string

