Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest (v0.1.0)

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
Returns

#controlled_receive_mode=

def controlled_receive_mode=(value) -> ::Google::Cloud::VisionAI::V1::ControlledMode
Parameter
Returns

#eager_receive_mode

def eager_receive_mode() -> ::Google::Cloud::VisionAI::V1::EagerMode
Returns

#eager_receive_mode=

def eager_receive_mode=(value) -> ::Google::Cloud::VisionAI::V1::EagerMode
Parameter
Returns

#heartbeat_interval

def heartbeat_interval() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::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.

#heartbeat_interval=

def heartbeat_interval=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::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.

Returns
  • (::Google::Protobuf::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.

#metadata

def metadata() -> ::Google::Cloud::VisionAI::V1::RequestMetadata
Returns

#metadata=

def metadata=(value) -> ::Google::Cloud::VisionAI::V1::RequestMetadata
Parameter
Returns

#receiver

def receiver() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — A name for the receiver to self-identify.

    This is used to keep track of a receiver's read progress.

Returns
  • (::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
Returns
  • (::Google::Protobuf::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.

#writes_done_grace_period=

def writes_done_grace_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::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.

Returns
  • (::Google::Protobuf::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.