Class Vision.Detection3D

java.lang.Object
com.google.protobuf.AbstractMessageLite<Vision.Detection3D,Vision.Detection3D.Builder>
com.google.protobuf.GeneratedMessageLite<Vision.Detection3D,Vision.Detection3D.Builder>
com.viam.service.vision.v1.Vision.Detection3D
All Implemented Interfaces:
com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Vision.Detection3DOrBuilder
Enclosing class:
Vision

public static final class Vision.Detection3D extends com.google.protobuf.GeneratedMessageLite<Vision.Detection3D,Vision.Detection3D.Builder> implements Vision.Detection3DOrBuilder
 Detection3D is one perceived object, described as a tree of transforms.
 transforms[0] is the root, parented to a frame the robot already knows (e.g.
 the camera). Each later transform's parent is the root or an earlier entry.
 Each physical_object is expressed relative to its own transform's origin.
 
Protobuf type viam.service.vision.v1.Detection3D
  • Field Details

    • TRANSFORMS_FIELD_NUMBER

      public static final int TRANSFORMS_FIELD_NUMBER
      See Also:
    • CLASSIFICATIONS_FIELD_NUMBER

      public static final int CLASSIFICATIONS_FIELD_NUMBER
      See Also:
    • METADATA_FIELD_NUMBER

      public static final int METADATA_FIELD_NUMBER
      See Also:
  • Method Details

    • getTransformsList

      public List<Common.Transform> getTransformsList()
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
      Specified by:
      getTransformsList in interface Vision.Detection3DOrBuilder
    • getTransformsOrBuilderList

      public List<? extends Common.TransformOrBuilder> getTransformsOrBuilderList()
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • getTransformsCount

      public int getTransformsCount()
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
      Specified by:
      getTransformsCount in interface Vision.Detection3DOrBuilder
    • getTransforms

      public Common.Transform getTransforms(int index)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
      Specified by:
      getTransforms in interface Vision.Detection3DOrBuilder
    • getTransformsOrBuilder

      public Common.TransformOrBuilder getTransformsOrBuilder(int index)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • getClassificationsList

      public List<Vision.Classification> getClassificationsList()
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
      Specified by:
      getClassificationsList in interface Vision.Detection3DOrBuilder
    • getClassificationsOrBuilderList

      public List<? extends Vision.ClassificationOrBuilder> getClassificationsOrBuilderList()
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • getClassificationsCount

      public int getClassificationsCount()
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
      Specified by:
      getClassificationsCount in interface Vision.Detection3DOrBuilder
    • getClassifications

      public Vision.Classification getClassifications(int index)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
      Specified by:
      getClassifications in interface Vision.Detection3DOrBuilder
    • getClassificationsOrBuilder

      public Vision.ClassificationOrBuilder getClassificationsOrBuilder(int index)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • hasMetadata

      public boolean hasMetadata()
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];
      Specified by:
      hasMetadata in interface Vision.Detection3DOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public com.google.protobuf.Struct getMetadata()
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];
      Specified by:
      getMetadata in interface Vision.Detection3DOrBuilder
      Returns:
      The metadata.
    • parseFrom

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

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

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

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

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

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

      public static Vision.Detection3D parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Vision.Detection3D parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      public static Vision.Detection3D.Builder newBuilder()
    • newBuilder

      public static Vision.Detection3D.Builder newBuilder(Vision.Detection3D 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<Vision.Detection3D,Vision.Detection3D.Builder>
    • getDefaultInstance

      public static Vision.Detection3D getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Vision.Detection3D> parser()