Package com.viam.common.v1
Class Common.KinematicModel
java.lang.Object
com.google.protobuf.AbstractMessageLite<Common.KinematicModel,Common.KinematicModel.Builder>
com.google.protobuf.GeneratedMessageLite<Common.KinematicModel,Common.KinematicModel.Builder>
com.viam.common.v1.Common.KinematicModel
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Common.KinematicModelOrBuilder
- Enclosing class:
Common
public static final class Common.KinematicModel
extends com.google.protobuf.GeneratedMessageLite<Common.KinematicModel,Common.KinematicModel.Builder>
implements Common.KinematicModelOrBuilder
KinematicModel describes a component's kinematics as a tree of links and joints. Its proto JSON encoding is also the on-disk kinematics file format.Protobuf type
viam.common.v1.KinematicModel-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classKinematicModel describes a component's kinematics as a tree of links and joints.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 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) static Common.KinematicModelgetJoints(int index) repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];intrepeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];getJointsOrBuilder(int index) repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];List<? extends Common.KinematicJointOrBuilder> repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];getLinks(int index) repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];intrepeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];getLinksOrBuilder(int index) repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];List<? extends Common.KinematicLinkOrBuilder> repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];getName()Set to the resource name by the SDK when servedcom.google.protobuf.ByteStringSet to the resource name by the SDK when servedgetOutputFrames(int index) Frames whose poses the model reportscom.google.protobuf.ByteStringgetOutputFramesBytes(int index) Frames whose poses the model reportsintFrames whose poses the model reportsFrames whose poses the model reports.viam.common.v1.KinematicProperties properties = 5 [json_name = "properties"];boolean.viam.common.v1.KinematicProperties properties = 5 [json_name = "properties"];newBuilder(Common.KinematicModel prototype) static Common.KinematicModelparseDelimitedFrom(InputStream input) static Common.KinematicModelparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.KinematicModelparseFrom(byte[] data) static Common.KinematicModelparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.KinematicModelparseFrom(com.google.protobuf.ByteString data) static Common.KinematicModelparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.KinematicModelparseFrom(com.google.protobuf.CodedInputStream input) static Common.KinematicModelparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.KinematicModelparseFrom(InputStream input) static Common.KinematicModelparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Common.KinematicModelparseFrom(ByteBuffer data) static Common.KinematicModelparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Common.KinematicModel> 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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
LINKS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER- See Also:
-
JOINTS_FIELD_NUMBER
public static final int JOINTS_FIELD_NUMBER- See Also:
-
OUTPUT_FRAMES_FIELD_NUMBER
public static final int OUTPUT_FRAMES_FIELD_NUMBER- See Also:
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
Set to the resource name by the SDK when served
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceCommon.KinematicModelOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Set to the resource name by the SDK when served
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceCommon.KinematicModelOrBuilder- Returns:
- The bytes for name.
-
getLinksList
repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];- Specified by:
getLinksListin interfaceCommon.KinematicModelOrBuilder
-
getLinksOrBuilderList
repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"]; -
getLinksCount
public int getLinksCount()repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];- Specified by:
getLinksCountin interfaceCommon.KinematicModelOrBuilder
-
getLinks
repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"];- Specified by:
getLinksin interfaceCommon.KinematicModelOrBuilder
-
getLinksOrBuilder
repeated .viam.common.v1.KinematicLink links = 2 [json_name = "links"]; -
getJointsList
repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];- Specified by:
getJointsListin interfaceCommon.KinematicModelOrBuilder
-
getJointsOrBuilderList
repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"]; -
getJointsCount
public int getJointsCount()repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];- Specified by:
getJointsCountin interfaceCommon.KinematicModelOrBuilder
-
getJoints
repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"];- Specified by:
getJointsin interfaceCommon.KinematicModelOrBuilder
-
getJointsOrBuilder
repeated .viam.common.v1.KinematicJoint joints = 3 [json_name = "joints"]; -
getOutputFramesList
Frames whose poses the model reports
repeated string output_frames = 4 [json_name = "outputFrames"];- Specified by:
getOutputFramesListin interfaceCommon.KinematicModelOrBuilder- Returns:
- A list containing the outputFrames.
-
getOutputFramesCount
public int getOutputFramesCount()Frames whose poses the model reports
repeated string output_frames = 4 [json_name = "outputFrames"];- Specified by:
getOutputFramesCountin interfaceCommon.KinematicModelOrBuilder- Returns:
- The count of outputFrames.
-
getOutputFrames
Frames whose poses the model reports
repeated string output_frames = 4 [json_name = "outputFrames"];- Specified by:
getOutputFramesin interfaceCommon.KinematicModelOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputFrames at the given index.
-
getOutputFramesBytes
public com.google.protobuf.ByteString getOutputFramesBytes(int index) Frames whose poses the model reports
repeated string output_frames = 4 [json_name = "outputFrames"];- Specified by:
getOutputFramesBytesin interfaceCommon.KinematicModelOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputFrames at the given index.
-
hasProperties
public boolean hasProperties().viam.common.v1.KinematicProperties properties = 5 [json_name = "properties"];- Specified by:
hasPropertiesin interfaceCommon.KinematicModelOrBuilder- Returns:
- Whether the properties field is set.
-
getProperties
.viam.common.v1.KinematicProperties properties = 5 [json_name = "properties"];- Specified by:
getPropertiesin interfaceCommon.KinematicModelOrBuilder- Returns:
- The properties.
-
parseFrom
public static Common.KinematicModel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.KinematicModel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.KinematicModel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.KinematicModel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.KinematicModel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Common.KinematicModel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Common.KinematicModel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Common.KinematicModel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Common.KinematicModel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Common.KinematicModel 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<Common.KinematicModel,Common.KinematicModel.Builder>
-
getDefaultInstance
-
parser
-