Package com.viam.service.vision.v1
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-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetection3D is one perceived object, described as a tree of transforms.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>, 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getClassifications(int index) class hypotheses for the objectintclass hypotheses for the objectclass hypotheses for the objectgetClassificationsOrBuilder(int index) class hypotheses for the objectList<? extends Vision.ClassificationOrBuilder> class hypotheses for the objectstatic Vision.Detection3Dcom.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 firstgetTransformsOrBuilder(int index) frame tree of this object, root firstList<? extends Common.TransformOrBuilder> frame tree of this object, root firstbooleanimplementation-specific data, e.g.static Vision.Detection3D.Builderstatic Vision.Detection3D.BuildernewBuilder(Vision.Detection3D prototype) static Vision.Detection3DparseDelimitedFrom(InputStream input) static Vision.Detection3DparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vision.Detection3DparseFrom(byte[] data) static Vision.Detection3DparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vision.Detection3DparseFrom(com.google.protobuf.ByteString data) static Vision.Detection3DparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vision.Detection3DparseFrom(com.google.protobuf.CodedInputStream input) static Vision.Detection3DparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vision.Detection3DparseFrom(InputStream input) static Vision.Detection3DparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Vision.Detection3DparseFrom(ByteBuffer data) static Vision.Detection3DparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Vision.Detection3D> parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, 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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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
frame tree of this object, root first
repeated .viam.common.v1.Transform transforms = 1 [json_name = "transforms"];- Specified by:
getTransformsListin interfaceVision.Detection3DOrBuilder
-
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:
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
-
getTransformsOrBuilder
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
-
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:
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
-
getClassificationsOrBuilder
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.
-
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
- Throws:
IOException
-
parseFrom
public static Vision.Detection3D parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Vision.Detection3D,Vision.Detection3D.Builder>
-
getDefaultInstance
-
parser
-