Interface AnnotationOrBuilder

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

    public interface AnnotationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getConfidence()
      optional double confidence = 2;
      com.google.protobuf.Struct getEntities​(int index)
      repeated .google.protobuf.Struct entities = 4;
      int getEntitiesCount()
      repeated .google.protobuf.Struct entities = 4;
      List<com.google.protobuf.Struct> getEntitiesList()
      repeated .google.protobuf.Struct entities = 4;
      com.google.protobuf.StructOrBuilder getEntitiesOrBuilder​(int index)
      repeated .google.protobuf.Struct entities = 4;
      List<? extends com.google.protobuf.StructOrBuilder> getEntitiesOrBuilderList()
      repeated .google.protobuf.Struct entities = 4;
      Annotation.Region getRegion()
      .com.cognite.beam.proto.Annotation.Region region = 3;
      Annotation.RegionOrBuilder getRegionOrBuilder()
      .com.cognite.beam.proto.Annotation.Region region = 3;
      String getText()
      optional string text = 1;
      com.google.protobuf.ByteString getTextBytes()
      optional string text = 1;
      boolean hasConfidence()
      optional double confidence = 2;
      boolean hasRegion()
      .com.cognite.beam.proto.Annotation.Region region = 3;
      boolean hasText()
      optional string text = 1;
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasText

        boolean hasText()
        optional string text = 1;
        Returns:
        Whether the text field is set.
      • getText

        String getText()
        optional string text = 1;
        Returns:
        The text.
      • getTextBytes

        com.google.protobuf.ByteString getTextBytes()
        optional string text = 1;
        Returns:
        The bytes for text.
      • hasConfidence

        boolean hasConfidence()
        optional double confidence = 2;
        Returns:
        Whether the confidence field is set.
      • getConfidence

        double getConfidence()
        optional double confidence = 2;
        Returns:
        The confidence.
      • hasRegion

        boolean hasRegion()
        .com.cognite.beam.proto.Annotation.Region region = 3;
        Returns:
        Whether the region field is set.
      • getRegion

        Annotation.Region getRegion()
        .com.cognite.beam.proto.Annotation.Region region = 3;
        Returns:
        The region.
      • getEntitiesList

        List<com.google.protobuf.Struct> getEntitiesList()
        repeated .google.protobuf.Struct entities = 4;
      • getEntities

        com.google.protobuf.Struct getEntities​(int index)
        repeated .google.protobuf.Struct entities = 4;
      • getEntitiesCount

        int getEntitiesCount()
        repeated .google.protobuf.Struct entities = 4;
      • getEntitiesOrBuilderList

        List<? extends com.google.protobuf.StructOrBuilder> getEntitiesOrBuilderList()
        repeated .google.protobuf.Struct entities = 4;
      • getEntitiesOrBuilder

        com.google.protobuf.StructOrBuilder getEntitiesOrBuilder​(int index)
        repeated .google.protobuf.Struct entities = 4;