Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest.
The message specifying the initial settings for the ReceivePackets session.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#controlled_receive_mode
def controlled_receive_mode() -> ::Google::Cloud::VisionAI::V1::ControlledMode-
(::Google::Cloud::VisionAI::V1::ControlledMode) — Options for configuring controlled mode.
Note: The following fields are mutually exclusive:
controlled_receive_mode,eager_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#controlled_receive_mode=
def controlled_receive_mode=(value) -> ::Google::Cloud::VisionAI::V1::ControlledMode-
value (::Google::Cloud::VisionAI::V1::ControlledMode) — Options for configuring controlled mode.
Note: The following fields are mutually exclusive:
controlled_receive_mode,eager_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::ControlledMode) — Options for configuring controlled mode.
Note: The following fields are mutually exclusive:
controlled_receive_mode,eager_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#eager_receive_mode
def eager_receive_mode() -> ::Google::Cloud::VisionAI::V1::EagerMode-
(::Google::Cloud::VisionAI::V1::EagerMode) — Options for configuring eager mode.
Note: The following fields are mutually exclusive:
eager_receive_mode,controlled_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#eager_receive_mode=
def eager_receive_mode=(value) -> ::Google::Cloud::VisionAI::V1::EagerMode-
value (::Google::Cloud::VisionAI::V1::EagerMode) — Options for configuring eager mode.
Note: The following fields are mutually exclusive:
eager_receive_mode,controlled_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VisionAI::V1::EagerMode) — Options for configuring eager mode.
Note: The following fields are mutually exclusive:
eager_receive_mode,controlled_receive_mode. If a field in that set is populated, all other fields in the set will automatically be cleared.
#heartbeat_interval
def heartbeat_interval() -> ::Google::Protobuf::Duration-
(::Google::Protobuf::Duration) — The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a
Packetor a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.
#heartbeat_interval=
def heartbeat_interval=(value) -> ::Google::Protobuf::Duration-
value (::Google::Protobuf::Duration) — The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a
Packetor a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.
-
(::Google::Protobuf::Duration) — The maximum duration of server silence before the client determines the
server unreachable.
The client must either receive a
Packetor a heart beat message before this duration expires; otherwise, the client will automatically cancel the current connection and retry.
#metadata
def metadata() -> ::Google::Cloud::VisionAI::V1::RequestMetadata- (::Google::Cloud::VisionAI::V1::RequestMetadata) — The configurations that specify where packets are retrieved.
#metadata=
def metadata=(value) -> ::Google::Cloud::VisionAI::V1::RequestMetadata- value (::Google::Cloud::VisionAI::V1::RequestMetadata) — The configurations that specify where packets are retrieved.
- (::Google::Cloud::VisionAI::V1::RequestMetadata) — The configurations that specify where packets are retrieved.
#receiver
def receiver() -> ::String-
(::String) — A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
#receiver=
def receiver=(value) -> ::String-
value (::String) — A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
-
(::String) — A name for the receiver to self-identify.
This is used to keep track of a receiver's read progress.
#writes_done_grace_period
def writes_done_grace_period() -> ::Google::Protobuf::Duration-
(::Google::Protobuf::Duration) — The grace period after which a
writes_done_requestis issued, that aWritesDoneis expected from the client.The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
#writes_done_grace_period=
def writes_done_grace_period=(value) -> ::Google::Protobuf::Duration-
value (::Google::Protobuf::Duration) — The grace period after which a
writes_done_requestis issued, that aWritesDoneis expected from the client.The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.
-
(::Google::Protobuf::Duration) — The grace period after which a
writes_done_requestis issued, that aWritesDoneis expected from the client.The server is free to cancel the RPC should this expire.
A system default will be chosen if unset.