AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::SequentialSegment (v0.3.5)

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::SequentialSegment.

Start and end position in a sequence (e.g. text segment).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end

def end() -> ::Integer
Returns
  • (::Integer) — End position (exclusive).

#end=

def end=(value) -> ::Integer
Parameter
  • value (::Integer) — End position (exclusive).
Returns
  • (::Integer) — End position (exclusive).

#start

def start() -> ::Integer
Returns
  • (::Integer) — Start position (inclusive).

#start=

def start=(value) -> ::Integer
Parameter
  • value (::Integer) — Start position (inclusive).
Returns
  • (::Integer) — Start position (inclusive).