Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ReceiveEventsControlResponse.
Control message for a ReceiveEventsResponse.
Generated from protobuf message google.cloud.visionai.v1.ReceiveEventsControlResponse
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
getHeartbeat
A server heartbeat.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasHeartbeat
setHeartbeat
A server heartbeat.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWritesDoneRequest
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.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasWritesDoneRequest
setWritesDoneRequest
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.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getControl
| Returns | |
|---|---|
| Type | Description |
string |
|