Class: Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak

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

Overview

Detected break at the end of a Token.

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Attribute Details

#type::Google::Cloud::DocumentAI::V1::Document::Page::Token::DetectedBreak::Type

Returns Detected break type.



411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
# File 'proto_docs/google/cloud/documentai/v1/document.rb', line 411

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

  # Enum to denote the type of break found.
  module Type
    # Unspecified break type.
    TYPE_UNSPECIFIED = 0

    # A single whitespace.
    SPACE = 1

    # A wider whitespace.
    WIDE_SPACE = 2

    # A hyphen that indicates that a token has been split across lines.
    HYPHEN = 3
  end
end