Interface DiagramResponse.AnnotationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
DiagramResponse.Annotation, DiagramResponse.Annotation.Builder
Enclosing class:
DiagramResponse

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

    Modifier and Type
    Method
    Description
    double
    optional double confidence = 2;
    com.google.protobuf.Struct
    getEntities(int index)
    repeated .google.protobuf.Struct entities = 4;
    int
    repeated .google.protobuf.Struct entities = 4;
    List<com.google.protobuf.Struct>
    repeated .google.protobuf.Struct entities = 4;
    com.google.protobuf.StructOrBuilder
    repeated .google.protobuf.Struct entities = 4;
    List<? extends com.google.protobuf.StructOrBuilder>
    repeated .google.protobuf.Struct entities = 4;
    .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
    .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
    optional string text = 1;
    com.google.protobuf.ByteString
    optional string text = 1;
    boolean
    optional double confidence = 2;
    boolean
    .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
    boolean
    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 Details

    • 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.client.dto.DiagramResponse.Annotation.Region region = 3;
      Returns:
      Whether the region field is set.
    • getRegion

      .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
      Returns:
      The region.
    • getRegionOrBuilder

      .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
    • 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;