Package com.viam.common.v1
Class Common.GetKinematicsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Common.GetKinematicsResponse,Common.GetKinematicsResponse.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Common.GetKinematicsResponse,Common.GetKinematicsResponse.Builder>
com.viam.common.v1.Common.GetKinematicsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Common.GetKinematicsResponseOrBuilder,Cloneable
- Enclosing class:
Common.GetKinematicsResponse
public static final class Common.GetKinematicsResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Common.GetKinematicsResponse,Common.GetKinematicsResponse.Builder>
implements Common.GetKinematicsResponseOrBuilder
Protobuf type
viam.common.v1.GetKinematicsResponse-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionThe kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parametersThe byte contents of the filebooleanMap of URDF mesh file paths to mesh dataThe kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parametersintThe kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameterscom.google.protobuf.ByteStringThe byte contents of the fileDeprecated.intMap of URDF mesh file paths to mesh dataMap of URDF mesh file paths to mesh datagetMeshesByUrdfFilepathOrDefault(String key, Common.Mesh defaultValue) Map of URDF mesh file paths to mesh dataMap of URDF mesh file paths to mesh dataputAllMeshesByUrdfFilepath(Map<String, Common.Mesh> values) Map of URDF mesh file paths to mesh dataputMeshesByUrdfFilepath(String key, Common.Mesh value) Map of URDF mesh file paths to mesh dataMap of URDF mesh file paths to mesh dataThe kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameterssetFormatValue(int value) The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameterssetKinematicsData(com.google.protobuf.ByteString value) The byte contents of the fileMethods 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
-
getFormatValue
public int getFormatValue()The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
.viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];- Specified by:
getFormatValuein interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
.viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
getFormat
The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
.viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];- Specified by:
getFormatin interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The format.
-
setFormat
The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
.viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];- Parameters:
value- The enum numeric value on the wire for format to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
clearFormat
The kinematics of the component, in either URDF format or in Viam’s kinematic parameter format (spatial vector algebra) https://docs.viam.com/internals/kinematic-chain-config/#kinematic-parameters
.viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];- Returns:
- This builder for chaining.
-
getKinematicsData
public com.google.protobuf.ByteString getKinematicsData()The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData"];- Specified by:
getKinematicsDatain interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The kinematicsData.
-
setKinematicsData
The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData"];- Parameters:
value- The kinematicsData to set.- Returns:
- This builder for chaining.
-
clearKinematicsData
The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData"];- Returns:
- This builder for chaining.
-
getMeshesByUrdfFilepathCount
public int getMeshesByUrdfFilepathCount()Description copied from interface:Common.GetKinematicsResponseOrBuilderMap of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];- Specified by:
getMeshesByUrdfFilepathCountin interfaceCommon.GetKinematicsResponseOrBuilder
-
containsMeshesByUrdfFilepath
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];- Specified by:
containsMeshesByUrdfFilepathin interfaceCommon.GetKinematicsResponseOrBuilder
-
clearMeshesByUrdfFilepath
-
removeMeshesByUrdfFilepath
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; -
getMeshesByUrdfFilepath
Deprecated.UsegetMeshesByUrdfFilepathMap()instead.- Specified by:
getMeshesByUrdfFilepathin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathMap
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];- Specified by:
getMeshesByUrdfFilepathMapin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathOrDefault
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];- Specified by:
getMeshesByUrdfFilepathOrDefaultin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathOrThrow
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];- Specified by:
getMeshesByUrdfFilepathOrThrowin interfaceCommon.GetKinematicsResponseOrBuilder
-
putMeshesByUrdfFilepath
Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"]; -
putAllMeshesByUrdfFilepath
public Common.GetKinematicsResponse.Builder putAllMeshesByUrdfFilepath(Map<String, Common.Mesh> values) Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath"];
-