Interface TextEntityExtractionAnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextEntityExtractionAnnotation, TextEntityExtractionAnnotation.Builder

@Generated public interface TextEntityExtractionAnnotationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAnnotationSpec

      boolean hasAnnotationSpec()
       Label of the text entities.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      Returns:
      Whether the annotationSpec field is set.
    • getAnnotationSpec

      AnnotationSpec getAnnotationSpec()
       Label of the text entities.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
      Returns:
      The annotationSpec.
    • getAnnotationSpecOrBuilder

      AnnotationSpecOrBuilder getAnnotationSpecOrBuilder()
       Label of the text entities.
       
      .google.cloud.datalabeling.v1beta1.AnnotationSpec annotation_spec = 1;
    • hasSequentialSegment

      boolean hasSequentialSegment()
       Position of the entity.
       
      .google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
      Returns:
      Whether the sequentialSegment field is set.
    • getSequentialSegment

      SequentialSegment getSequentialSegment()
       Position of the entity.
       
      .google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;
      Returns:
      The sequentialSegment.
    • getSequentialSegmentOrBuilder

      SequentialSegmentOrBuilder getSequentialSegmentOrBuilder()
       Position of the entity.
       
      .google.cloud.datalabeling.v1beta1.SequentialSegment sequential_segment = 2;