Interface TextClassificationAnnotationOrBuilder (0.144.0)

public interface TextClassificationAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotationSpec()

public abstract AnnotationSpec getAnnotationSpec()

Label of the text.

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

Returns
TypeDescription
AnnotationSpec

The annotationSpec.

getAnnotationSpecOrBuilder()

public abstract AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()

Label of the text.

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

Returns
TypeDescription
AnnotationSpecOrBuilder

hasAnnotationSpec()

public abstract boolean hasAnnotationSpec()

Label of the text.

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

Returns
TypeDescription
boolean

Whether the annotationSpec field is set.