Package com.viam.common.v1
Class Common.GetKinematicsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
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 fileThe 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-parametersint
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-parameterscom.google.protobuf.ByteString
The byte contents of the fileThe 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, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getFormatValue
in 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:
getFormat
in 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.
-
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:
getKinematicsData
in 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.
-