Interface TextEntityExtractionAnnotationOrBuilder (0.131.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
TypeDescription
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

Label of the text entities.

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

Returns
TypeDescription
AnnotationSpecOrBuilder

getSequentialSegment()

public abstract SequentialSegment getSequentialSegment()

Position of the entity.

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

Returns
TypeDescription
SequentialSegment

The sequentialSegment.

getSequentialSegmentOrBuilder()

public abstract SequentialSegmentOrBuilder getSequentialSegmentOrBuilder()

Position of the entity.

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

Returns
TypeDescription
SequentialSegmentOrBuilder

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

Label of the text entities.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the sequentialSegment field is set.