Class Vision.Detection3D.Builder

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

public static final class Vision.Detection3D.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<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
  • 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
    • 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
    • setTransforms

      public Vision.Detection3D.Builder setTransforms(int index, Common.Transform value)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • setTransforms

      public Vision.Detection3D.Builder setTransforms(int index, Common.Transform.Builder builderForValue)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • addTransforms

      public Vision.Detection3D.Builder addTransforms(Common.Transform value)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • addTransforms

      public Vision.Detection3D.Builder addTransforms(int index, Common.Transform value)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • addTransforms

      public Vision.Detection3D.Builder addTransforms(Common.Transform.Builder builderForValue)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • addTransforms

      public Vision.Detection3D.Builder addTransforms(int index, Common.Transform.Builder builderForValue)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • addAllTransforms

      public Vision.Detection3D.Builder addAllTransforms(Iterable<? extends Common.Transform> values)
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • clearTransforms

      public Vision.Detection3D.Builder clearTransforms()
       frame tree of this object, root first
       
      repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];
    • removeTransforms

      public Vision.Detection3D.Builder removeTransforms(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
    • 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
    • setClassifications

      public Vision.Detection3D.Builder setClassifications(int index, Vision.Classification value)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • setClassifications

      public Vision.Detection3D.Builder setClassifications(int index, Vision.Classification.Builder builderForValue)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • addClassifications

      public Vision.Detection3D.Builder addClassifications(Vision.Classification value)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • addClassifications

      public Vision.Detection3D.Builder addClassifications(int index, Vision.Classification value)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • addClassifications

      public Vision.Detection3D.Builder addClassifications(Vision.Classification.Builder builderForValue)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • addClassifications

      public Vision.Detection3D.Builder addClassifications(int index, Vision.Classification.Builder builderForValue)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • addAllClassifications

      public Vision.Detection3D.Builder addAllClassifications(Iterable<? extends Vision.Classification> values)
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • clearClassifications

      public Vision.Detection3D.Builder clearClassifications()
       class hypotheses for the object
       
      repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];
    • removeClassifications

      public Vision.Detection3D.Builder removeClassifications(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.
    • setMetadata

      public Vision.Detection3D.Builder setMetadata(com.google.protobuf.Struct value)
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];
    • setMetadata

      public Vision.Detection3D.Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue)
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];
    • mergeMetadata

      public Vision.Detection3D.Builder mergeMetadata(com.google.protobuf.Struct value)
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];
    • clearMetadata

      public Vision.Detection3D.Builder clearMetadata()
       implementation-specific data, e.g. source camera or model name
       
      .google.protobuf.Struct metadata = 99 [json_name = "metadata"];