Class DiagramResponse.Annotation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.cognite.client.dto.DiagramResponse.Annotation
All Implemented Interfaces:
DiagramResponse.AnnotationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
DiagramResponse

public static final class DiagramResponse.Annotation extends com.google.protobuf.GeneratedMessageV3 implements DiagramResponse.AnnotationOrBuilder
Protobuf type com.cognite.client.dto.DiagramResponse.Annotation
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasText

      public boolean hasText()
      optional string text = 1;
      Specified by:
      hasText in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      Whether the text field is set.
    • getText

      public String getText()
      optional string text = 1;
      Specified by:
      getText in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      The text.
    • getTextBytes

      public com.google.protobuf.ByteString getTextBytes()
      optional string text = 1;
      Specified by:
      getTextBytes in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      The bytes for text.
    • hasConfidence

      public boolean hasConfidence()
      optional double confidence = 2;
      Specified by:
      hasConfidence in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      Whether the confidence field is set.
    • getConfidence

      public double getConfidence()
      optional double confidence = 2;
      Specified by:
      getConfidence in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      The confidence.
    • hasRegion

      public boolean hasRegion()
      .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
      Specified by:
      hasRegion in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      Whether the region field is set.
    • getRegion

      .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
      Specified by:
      getRegion in interface DiagramResponse.AnnotationOrBuilder
      Returns:
      The region.
    • getRegionOrBuilder

      public DiagramResponse.Annotation.RegionOrBuilder getRegionOrBuilder()
      .com.cognite.client.dto.DiagramResponse.Annotation.Region region = 3;
      Specified by:
      getRegionOrBuilder in interface DiagramResponse.AnnotationOrBuilder
    • getEntitiesList

      public List<com.google.protobuf.Struct> getEntitiesList()
      repeated .google.protobuf.Struct entities = 4;
      Specified by:
      getEntitiesList in interface DiagramResponse.AnnotationOrBuilder
    • getEntitiesOrBuilderList

      public List<? extends com.google.protobuf.StructOrBuilder> getEntitiesOrBuilderList()
      repeated .google.protobuf.Struct entities = 4;
      Specified by:
      getEntitiesOrBuilderList in interface DiagramResponse.AnnotationOrBuilder
    • getEntitiesCount

      public int getEntitiesCount()
      repeated .google.protobuf.Struct entities = 4;
      Specified by:
      getEntitiesCount in interface DiagramResponse.AnnotationOrBuilder
    • getEntities

      public com.google.protobuf.Struct getEntities(int index)
      repeated .google.protobuf.Struct entities = 4;
      Specified by:
      getEntities in interface DiagramResponse.AnnotationOrBuilder
    • getEntitiesOrBuilder

      public com.google.protobuf.StructOrBuilder getEntitiesOrBuilder(int index)
      repeated .google.protobuf.Struct entities = 4;
      Specified by:
      getEntitiesOrBuilder in interface DiagramResponse.AnnotationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiagramResponse.Annotation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DiagramResponse.Annotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DiagramResponse.Annotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public DiagramResponse.Annotation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static DiagramResponse.Annotation.Builder newBuilder()
    • newBuilder

      public static DiagramResponse.Annotation.Builder newBuilder(DiagramResponse.Annotation prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DiagramResponse.Annotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DiagramResponse.Annotation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DiagramResponse.Annotation> parser()
    • getParserForType

      public com.google.protobuf.Parser<DiagramResponse.Annotation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DiagramResponse.Annotation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder