Interface TextClassificationAnnotationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextClassificationAnnotation,TextClassificationAnnotation.Builder
@Generated
public interface TextClassificationAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionLabel of the text.Label of the text.booleanLabel of the text.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAnnotationSpec
boolean hasAnnotationSpec()Label of the text.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Returns:
- Whether the annotationSpec field is set.
-
getAnnotationSpec
AnnotationSpec getAnnotationSpec()Label of the text.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;- Returns:
- The annotationSpec.
-
getAnnotationSpecOrBuilder
AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()Label of the text.
.google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
-