Package com.viam.service.vision.v1
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllClassifications(Iterable<? extends Vision.Classification> values) class hypotheses for the objectaddAllTransforms(Iterable<? extends Common.Transform> values) frame tree of this object, root firstaddClassifications(int index, Vision.Classification value) class hypotheses for the objectaddClassifications(int index, Vision.Classification.Builder builderForValue) class hypotheses for the objectclass hypotheses for the objectaddClassifications(Vision.Classification.Builder builderForValue) class hypotheses for the objectaddTransforms(int index, Common.Transform value) frame tree of this object, root firstaddTransforms(int index, Common.Transform.Builder builderForValue) frame tree of this object, root firstaddTransforms(Common.Transform value) frame tree of this object, root firstaddTransforms(Common.Transform.Builder builderForValue) frame tree of this object, root firstclass hypotheses for the objectimplementation-specific data, e.g.frame tree of this object, root firstgetClassifications(int index) class hypotheses for the objectintclass hypotheses for the objectclass hypotheses for the objectcom.google.protobuf.Structimplementation-specific data, e.g.getTransforms(int index) frame tree of this object, root firstintframe tree of this object, root firstframe tree of this object, root firstbooleanimplementation-specific data, e.g.mergeMetadata(com.google.protobuf.Struct value) implementation-specific data, e.g.removeClassifications(int index) class hypotheses for the objectremoveTransforms(int index) frame tree of this object, root firstsetClassifications(int index, Vision.Classification value) class hypotheses for the objectsetClassifications(int index, Vision.Classification.Builder builderForValue) class hypotheses for the objectsetMetadata(com.google.protobuf.Struct value) implementation-specific data, e.g.setMetadata(com.google.protobuf.Struct.Builder builderForValue) implementation-specific data, e.g.setTransforms(int index, Common.Transform value) frame tree of this object, root firstsetTransforms(int index, Common.Transform.Builder builderForValue) frame tree of this object, root firstMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTransformsList
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];- Specified by:
getTransformsListin interfaceVision.Detection3DOrBuilder
-
getTransformsCount
public int getTransformsCount()frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];- Specified by:
getTransformsCountin interfaceVision.Detection3DOrBuilder
-
getTransforms
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];- Specified by:
getTransformsin interfaceVision.Detection3DOrBuilder
-
setTransforms
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
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"]; -
addTransforms
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"]; -
addTransforms
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
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"]; -
clearTransforms
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"]; -
removeTransforms
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"]; -
getClassificationsList
class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];- Specified by:
getClassificationsListin interfaceVision.Detection3DOrBuilder
-
getClassificationsCount
public int getClassificationsCount()class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];- Specified by:
getClassificationsCountin interfaceVision.Detection3DOrBuilder
-
getClassifications
class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"];- Specified by:
getClassificationsin interfaceVision.Detection3DOrBuilder
-
setClassifications
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
class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"]; -
addClassifications
class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"]; -
addClassifications
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
class hypotheses for the object
repeated .viam.service.vision.v1.Classification classifications = 2 [json_name = "classifications"]; -
removeClassifications
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:
hasMetadatain interfaceVision.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:
getMetadatain interfaceVision.Detection3DOrBuilder- Returns:
- The metadata.
-
setMetadata
implementation-specific data, e.g. source camera or model name
.google.protobuf.Struct metadata = 99 [json_name = "metadata"]; -
setMetadata
implementation-specific data, e.g. source camera or model name
.google.protobuf.Struct metadata = 99 [json_name = "metadata"]; -
mergeMetadata
implementation-specific data, e.g. source camera or model name
.google.protobuf.Struct metadata = 99 [json_name = "metadata"]; -
clearMetadata
implementation-specific data, e.g. source camera or model name
.google.protobuf.Struct metadata = 99 [json_name = "metadata"];
-