Class SetupRequest (0.1.6)

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

The message specifying the initial settings for the ReceivePackets session.

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
eager_receive_mode google.cloud.visionai_v1alpha1.types.EagerMode
Options for configuring eager mode. This field is a member of oneof_ consumer_mode.
controlled_receive_mode google.cloud.visionai_v1alpha1.types.ControlledMode
Options for configuring controlled mode. This field is a member of oneof_ consumer_mode.
metadata google.cloud.visionai_v1alpha1.types.RequestMetadata
The configurations that specify where packets are retrieved.
receiver str
A name for the receiver to self-identify. This is used to keep track of a receiver's read progress.
heartbeat_interval google.protobuf.duration_pb2.Duration
The maximum duration of server silence before the client determines the server unreachable. The client must either receive a Packet or a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.
writes_done_grace_period google.protobuf.duration_pb2.Duration
The grace period after which a writes_done_request is issued, that a WritesDone is expected from the client. The server is free to cancel the RPC should this expire. A system default will be chosen if unset.