Class ReceivePacketsControlResponse (0.1.5)

ReceivePacketsControlResponse(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Control message for a ReceivePacketsResponse.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
heartbeat bool
A server heartbeat. This field is a member of oneof_ control.
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. This field is a member of oneof_ control.