Class: Google::Cloud::VisionAI::V1::ControlledMode

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 options for receiver under the controlled mode.

Instance Attribute Summary collapse

Instance Attribute Details

#fallback_starting_offset::String

Returns This is the logical starting point to fallback upon should the specified starting offset be unavailable.

This can be one of the following values:

"begin": This will read from the earliest available message.

"end": This will read only future messages.

Returns:

  • (::String)

    This is the logical starting point to fallback upon should the specified starting offset be unavailable.

    This can be one of the following values:

    "begin": This will read from the earliest available message.

    "end": This will read only future messages.



362
363
364
365
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 362

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

#starting_logical_offset::String

Returns This can be set to the following logical starting points:

"begin": This will read from the earliest available message.

"most-recent": This will read from the latest available message.

"end": This will read only future messages.

"stored": This will resume reads one past the last committed offset. It is the only option that resumes progress; all others jump unilaterally.

Returns:

  • (::String)

    This can be set to the following logical starting points:

    "begin": This will read from the earliest available message.

    "most-recent": This will read from the latest available message.

    "end": This will read only future messages.

    "stored": This will resume reads one past the last committed offset. It is the only option that resumes progress; all others jump unilaterally.



362
363
364
365
# File 'proto_docs/google/cloud/visionai/v1/streaming_service.rb', line 362

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