Google Cloud Datalabeling V1beta1 Client - Class SequentialSegment (0.5.4)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ start int

Start position (inclusive).

↳ end int

End position (exclusive).

getStart

Start position (inclusive).

Returns
Type Description
int

setStart

Start position (inclusive).

Parameter
Name Description
var int
Returns
Type Description
$this

getEnd

End position (exclusive).

Returns
Type Description
int

setEnd

End position (exclusive).

Parameter
Name Description
var int
Returns
Type Description
$this