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 TypeMethodDescriptionDeprecated.viam.common.v1.GetKinematicsResponse.format is deprecated.Deprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated.Deprecated.The kinematic model of the componentbooleanDeprecated.Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated.intDeprecated.viam.common.v1.GetKinematicsResponse.format is deprecated.com.google.protobuf.ByteStringDeprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated.Deprecated.intDeprecated.Deprecated.getMeshesByUrdfFilepathOrDefault(String key, Common.Mesh defaultValue) Deprecated.Deprecated.getModel()The kinematic model of the componentbooleanhasModel()The kinematic model of the componentmergeModel(Common.KinematicModel value) The kinematic model of the componentputAllMeshesByUrdfFilepath(Map<String, Common.Mesh> values) Deprecated.putMeshesByUrdfFilepath(String key, Common.Mesh value) Deprecated.Deprecated.Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated.setFormatValue(int value) Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated.setKinematicsData(com.google.protobuf.ByteString value) Deprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated.setModel(Common.KinematicModel value) The kinematic model of the componentsetModel(Common.KinematicModel.Builder builderForValue) The kinematic model of the componentMethods 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
Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274Deprecated: use model. 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", deprecated = true];- Specified by:
getFormatValuein interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The enum numeric value on the wire for format.
-
setFormatValue
Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274Deprecated: use model. 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", deprecated = true];- Parameters:
value- The format to set.- Returns:
- This builder for chaining.
-
getFormat
Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274Deprecated: use model. 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", deprecated = true];- Specified by:
getFormatin interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The format.
-
setFormat
@Deprecated public Common.GetKinematicsResponse.Builder setFormat(Common.KinematicsFileFormat value) Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274Deprecated: use model. 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", deprecated = true];- 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
Deprecated.viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274Deprecated: use model. 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", deprecated = true];- Returns:
- This builder for chaining.
-
getKinematicsData
Deprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated. See common/v1/common.proto;l=276Deprecated: use model. The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData", deprecated = true];- Specified by:
getKinematicsDatain interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The kinematicsData.
-
setKinematicsData
@Deprecated public Common.GetKinematicsResponse.Builder setKinematicsData(com.google.protobuf.ByteString value) Deprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated. See common/v1/common.proto;l=276Deprecated: use model. The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData", deprecated = true];- Parameters:
value- The kinematicsData to set.- Returns:
- This builder for chaining.
-
clearKinematicsData
Deprecated.viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated. See common/v1/common.proto;l=276Deprecated: use model. The byte contents of the file
bytes kinematics_data = 2 [json_name = "kinematicsData", deprecated = true];- Returns:
- This builder for chaining.
-
getMeshesByUrdfFilepathCount
Deprecated.Description copied from interface:Common.GetKinematicsResponseOrBuilderDeprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true];- Specified by:
getMeshesByUrdfFilepathCountin interfaceCommon.GetKinematicsResponseOrBuilder
-
containsMeshesByUrdfFilepath
Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true];- Specified by:
containsMeshesByUrdfFilepathin interfaceCommon.GetKinematicsResponseOrBuilder
-
clearMeshesByUrdfFilepath
Deprecated. -
removeMeshesByUrdfFilepath
Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true]; -
getMeshesByUrdfFilepath
Deprecated.UsegetMeshesByUrdfFilepathMap()instead.- Specified by:
getMeshesByUrdfFilepathin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathMap
Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true];- Specified by:
getMeshesByUrdfFilepathMapin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathOrDefault
@Deprecated public Common.Mesh getMeshesByUrdfFilepathOrDefault(String key, Common.Mesh defaultValue) Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true];- Specified by:
getMeshesByUrdfFilepathOrDefaultin interfaceCommon.GetKinematicsResponseOrBuilder
-
getMeshesByUrdfFilepathOrThrow
Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true];- Specified by:
getMeshesByUrdfFilepathOrThrowin interfaceCommon.GetKinematicsResponseOrBuilder
-
putMeshesByUrdfFilepath
@Deprecated public Common.GetKinematicsResponse.Builder putMeshesByUrdfFilepath(String key, Common.Mesh value) Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true]; -
putAllMeshesByUrdfFilepath
@Deprecated public Common.GetKinematicsResponse.Builder putAllMeshesByUrdfFilepath(Map<String, Common.Mesh> values) Deprecated.Deprecated: use model. Map of URDF mesh file paths to mesh data
map<string, .viam.common.v1.Mesh> meshes_by_urdf_filepath = 3 [json_name = "meshesByUrdfFilepath", deprecated = true]; -
hasModel
public boolean hasModel()The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"];- Specified by:
hasModelin interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- Whether the model field is set.
-
getModel
The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"];- Specified by:
getModelin interfaceCommon.GetKinematicsResponseOrBuilder- Returns:
- The model.
-
setModel
The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"]; -
setModel
The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"]; -
mergeModel
The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"]; -
clearModel
The kinematic model of the component
.viam.common.v1.KinematicModel model = 4 [json_name = "model"];
-