Google Cloud Datalabeling V1beta1 Client - Class SequentialSegment (0.3.1)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class SequentialSegment.

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

Generated from protobuf message google.cloud.datalabeling.v1beta1.SequentialSegment

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start int

Start position (inclusive).

↳ end int

End position (exclusive).

getStart

Start position (inclusive).

Returns
TypeDescription
int

setStart

Start position (inclusive).

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEnd

End position (exclusive).

Returns
TypeDescription
int

setEnd

End position (exclusive).

Parameter
NameDescription
var int
Returns
TypeDescription
$this