Class: Google::Cloud::VisionAI::V1::ReceivePacketsRequest::SetupRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/streaming_service.rb

Overview

The message specifying the initial settings for the ReceivePackets session.

Instance Attribute Summary collapse

Instance Attribute Details

#controlled_receive_mode::Google::Cloud::VisionAI::V1::ControlledMode

Returns 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.

Returns:

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



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#eager_receive_mode::Google::Cloud::VisionAI::V1::EagerMode

Returns 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.

Returns:

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



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#heartbeat_interval::Google::Protobuf::Duration

Returns 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.



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#metadata::Google::Cloud::VisionAI::V1::RequestMetadata

Returns The configurations that specify where packets are retrieved.

Returns:



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#receiver::String

Returns 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.



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#writes_done_grace_period::Google::Protobuf::Duration

Returns 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.



318
319
320
321
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 318

class SetupRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end