SetupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)
SetupRequest is the first message sent to the service to setup the RPC connection.
Attributes |
|
---|---|
Name | Description |
cluster |
str
The cluster name. |
stream |
str
The stream name. The service will return the events for the given stream. |
receiver |
str
A name for the receiver to self-identify. This is used to keep track of a receiver's read progress. |
controlled_mode |
google.cloud.visionai_v1.types.ControlledMode
Controller mode configuration for receiving events from the server. |
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 an Event update 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.
|