Class Data.BoundingBox

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Data.BoundingBox,Data.BoundingBox.Builder>
viam.app.data.v1.Data.BoundingBox
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Data.BoundingBoxOrBuilder
Enclosing class:
Data

public static final class Data.BoundingBox extends com.google.protobuf.GeneratedMessageLite<Data.BoundingBox,Data.BoundingBox.Builder> implements Data.BoundingBoxOrBuilder
 BoundingBox represents a labeled bounding box on an image.
 x and y values are normalized ratios between 0 and 1.
 
Protobuf type viam.app.data.v1.BoundingBox
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    BoundingBox represents a labeled bounding box on an image.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    double
    confidence is an optional range from 0 - 1
     
    string id = 1 [json_name = "id"];
    com.google.protobuf.ByteString
    string id = 1 [json_name = "id"];
    string label = 2 [json_name = "label"];
    com.google.protobuf.ByteString
    string label = 2 [json_name = "label"];
    double
    double x_max_normalized = 5 [json_name = "xMaxNormalized"];
    double
    double x_min_normalized = 3 [json_name = "xMinNormalized"];
    double
    double y_max_normalized = 6 [json_name = "yMaxNormalized"];
    double
    double y_min_normalized = 4 [json_name = "yMinNormalized"];
    boolean
    confidence is an optional range from 0 - 1
     
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Data.BoundingBox>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • LABEL_FIELD_NUMBER

      public static final int LABEL_FIELD_NUMBER
      See Also:
    • X_MIN_NORMALIZED_FIELD_NUMBER

      public static final int X_MIN_NORMALIZED_FIELD_NUMBER
      See Also:
    • Y_MIN_NORMALIZED_FIELD_NUMBER

      public static final int Y_MIN_NORMALIZED_FIELD_NUMBER
      See Also:
    • X_MAX_NORMALIZED_FIELD_NUMBER

      public static final int X_MAX_NORMALIZED_FIELD_NUMBER
      See Also:
    • Y_MAX_NORMALIZED_FIELD_NUMBER

      public static final int Y_MAX_NORMALIZED_FIELD_NUMBER
      See Also:
    • CONFIDENCE_FIELD_NUMBER

      public static final int CONFIDENCE_FIELD_NUMBER
      See Also:
  • Method Details

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface Data.BoundingBoxOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface Data.BoundingBoxOrBuilder
      Returns:
      The bytes for id.
    • getLabel

      public String getLabel()
      string label = 2 [json_name = "label"];
      Specified by:
      getLabel in interface Data.BoundingBoxOrBuilder
      Returns:
      The label.
    • getLabelBytes

      public com.google.protobuf.ByteString getLabelBytes()
      string label = 2 [json_name = "label"];
      Specified by:
      getLabelBytes in interface Data.BoundingBoxOrBuilder
      Returns:
      The bytes for label.
    • getXMinNormalized

      public double getXMinNormalized()
      double x_min_normalized = 3 [json_name = "xMinNormalized"];
      Specified by:
      getXMinNormalized in interface Data.BoundingBoxOrBuilder
      Returns:
      The xMinNormalized.
    • getYMinNormalized

      public double getYMinNormalized()
      double y_min_normalized = 4 [json_name = "yMinNormalized"];
      Specified by:
      getYMinNormalized in interface Data.BoundingBoxOrBuilder
      Returns:
      The yMinNormalized.
    • getXMaxNormalized

      public double getXMaxNormalized()
      double x_max_normalized = 5 [json_name = "xMaxNormalized"];
      Specified by:
      getXMaxNormalized in interface Data.BoundingBoxOrBuilder
      Returns:
      The xMaxNormalized.
    • getYMaxNormalized

      public double getYMaxNormalized()
      double y_max_normalized = 6 [json_name = "yMaxNormalized"];
      Specified by:
      getYMaxNormalized in interface Data.BoundingBoxOrBuilder
      Returns:
      The yMaxNormalized.
    • hasConfidence

      public boolean hasConfidence()
       confidence is an optional range from 0 - 1
       
      optional double confidence = 7 [json_name = "confidence"];
      Specified by:
      hasConfidence in interface Data.BoundingBoxOrBuilder
      Returns:
      Whether the confidence field is set.
    • getConfidence

      public double getConfidence()
       confidence is an optional range from 0 - 1
       
      optional double confidence = 7 [json_name = "confidence"];
      Specified by:
      getConfidence in interface Data.BoundingBoxOrBuilder
      Returns:
      The confidence.
    • parseFrom

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

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

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

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

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

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

      public static Data.BoundingBox parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Data.BoundingBox parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

      public static Data.BoundingBox parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Data.BoundingBox.Builder newBuilder()
    • newBuilder

      public static Data.BoundingBox.Builder newBuilder(Data.BoundingBox prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Data.BoundingBox,Data.BoundingBox.Builder>
    • getDefaultInstance

      public static Data.BoundingBox getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Data.BoundingBox> parser()