Class: Google::Cloud::VisionAI::V1::RunStatus

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

Overview

Message describing the status of the Process.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#reason::String

Returns The reason of becoming the state.

Returns:

  • (::String)

    The reason of becoming the state.



301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
# File 'proto_docs/google/cloud/visionai/v1/lva.rb', line 301

class RunStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State represents the running status of the Process.
  module State
    # State is unspecified.
    STATE_UNSPECIFIED = 0

    # INITIALIZING means the Process is scheduled but yet ready to handle
    # real traffic.
    INITIALIZING = 1

    # RUNNING means the Process is up running and handling traffic.
    RUNNING = 2

    # COMPLETED means the Process has completed the processing, especially
    # for non-streaming use case.
    COMPLETED = 3

    # FAILED means the Process failed to complete the processing.
    FAILED = 4

    # PENDING means the Process is created but yet to be scheduled.
    PENDING = 5
  end
end

#state::Google::Cloud::VisionAI::V1::RunStatus::State

Returns The state of the Process.

Returns:



301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
# File 'proto_docs/google/cloud/visionai/v1/lva.rb', line 301

class RunStatus
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # State represents the running status of the Process.
  module State
    # State is unspecified.
    STATE_UNSPECIFIED = 0

    # INITIALIZING means the Process is scheduled but yet ready to handle
    # real traffic.
    INITIALIZING = 1

    # RUNNING means the Process is up running and handling traffic.
    RUNNING = 2

    # COMPLETED means the Process has completed the processing, especially
    # for non-streaming use case.
    COMPLETED = 3

    # FAILED means the Process failed to complete the processing.
    FAILED = 4

    # PENDING means the Process is created but yet to be scheduled.
    PENDING = 5
  end
end