Interface TextEntityExtractionAnnotationOrBuilder (0.175.0)

public interface TextEntityExtractionAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpec()

public abstract AnnotationSpec getAnnotationSpec()

Label of the text entities.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

Label of the text entities.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
AnnotationSpecOrBuilder

getSequentialSegment()

public abstract SequentialSegment getSequentialSegment()

Position of the entity.

.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;

Returns
Type Description
SequentialSegment

The sequentialSegment.

getSequentialSegmentOrBuilder()

public abstract SequentialSegmentOrBuilder getSequentialSegmentOrBuilder()

Position of the entity.

.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;

Returns
Type Description
SequentialSegmentOrBuilder

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

Label of the text entities.

.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;

Returns
Type Description
boolean

Whether the annotationSpec field is set.

hasSequentialSegment()

public abstract boolean hasSequentialSegment()

Position of the entity.

.google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;

Returns
Type Description
boolean

Whether the sequentialSegment field is set.