Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ReceivePacketsControlResponse.
Control message for a ReceivePacketsResponse.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#heartbeat
def heartbeat() -> ::Boolean
-
(::Boolean) — A server heartbeat.
Note: The following fields are mutually exclusive:
heartbeat
,writes_done_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#heartbeat=
def heartbeat=(value) -> ::Boolean
-
value (::Boolean) — A server heartbeat.
Note: The following fields are mutually exclusive:
heartbeat
,writes_done_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — A server heartbeat.
Note: The following fields are mutually exclusive:
heartbeat
,writes_done_request
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#writes_done_request
def writes_done_request() -> ::Boolean
-
(::Boolean) — A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any finalCommitRequest
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 afterRead
returnsfalse
andFinish
is called.Note: The following fields are mutually exclusive:
writes_done_request
,heartbeat
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#writes_done_request=
def writes_done_request=(value) -> ::Boolean
-
value (::Boolean) — A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any finalCommitRequest
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 afterRead
returnsfalse
andFinish
is called.Note: The following fields are mutually exclusive:
writes_done_request
,heartbeat
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — A request to the receiver to complete any final writes followed by a
WritesDone
; e.g. issue any finalCommitRequest
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 afterRead
returnsfalse
andFinish
is called.Note: The following fields are mutually exclusive:
writes_done_request
,heartbeat
. If a field in that set is populated, all other fields in the set will automatically be cleared.