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
  • Method Details

    • getFormatValue

      @Deprecated public int getFormatValue()
      Deprecated.
      viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274
       Deprecated: 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:
      getFormatValue in interface Common.GetKinematicsResponseOrBuilder
      Returns:
      The enum numeric value on the wire for format.
    • setFormatValue

      @Deprecated public Common.GetKinematicsResponse.Builder setFormatValue(int value)
      Deprecated.
      viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274
       Deprecated: 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=274
       Deprecated: 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:
      getFormat in interface Common.GetKinematicsResponseOrBuilder
      Returns:
      The format.
    • setFormat

      Deprecated.
      viam.common.v1.GetKinematicsResponse.format is deprecated. See common/v1/common.proto;l=274
       Deprecated: 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=274
       Deprecated: 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 public com.google.protobuf.ByteString getKinematicsData()
      Deprecated.
      viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated. See common/v1/common.proto;l=276
       Deprecated: use model. The byte contents of the file
       
      bytes kinematics_data = 2 [json_name = "kinematicsData", deprecated = true];
      Specified by:
      getKinematicsData in interface Common.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=276
       Deprecated: 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 public Common.GetKinematicsResponse.Builder clearKinematicsData()
      Deprecated.
      viam.common.v1.GetKinematicsResponse.kinematics_data is deprecated. See common/v1/common.proto;l=276
       Deprecated: use model. The byte contents of the file
       
      bytes kinematics_data = 2 [json_name = "kinematicsData", deprecated = true];
      Returns:
      This builder for chaining.
    • getMeshesByUrdfFilepathCount

      @Deprecated public int getMeshesByUrdfFilepathCount()
      Deprecated.
      Description copied from interface: Common.GetKinematicsResponseOrBuilder
       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:
      getMeshesByUrdfFilepathCount in interface Common.GetKinematicsResponseOrBuilder
    • containsMeshesByUrdfFilepath

      @Deprecated public boolean containsMeshesByUrdfFilepath(String key)
      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:
      containsMeshesByUrdfFilepath in interface Common.GetKinematicsResponseOrBuilder
    • clearMeshesByUrdfFilepath

      @Deprecated public Common.GetKinematicsResponse.Builder clearMeshesByUrdfFilepath()
      Deprecated.
    • removeMeshesByUrdfFilepath

      @Deprecated public Common.GetKinematicsResponse.Builder removeMeshesByUrdfFilepath(String key)
      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 public Map<String,Common.Mesh> getMeshesByUrdfFilepath()
      Deprecated.
      Specified by:
      getMeshesByUrdfFilepath in interface Common.GetKinematicsResponseOrBuilder
    • getMeshesByUrdfFilepathMap

      @Deprecated public Map<String,Common.Mesh> 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:
      getMeshesByUrdfFilepathMap in interface Common.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:
      getMeshesByUrdfFilepathOrDefault in interface Common.GetKinematicsResponseOrBuilder
    • getMeshesByUrdfFilepathOrThrow

      @Deprecated public Common.Mesh getMeshesByUrdfFilepathOrThrow(String key)
      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:
      getMeshesByUrdfFilepathOrThrow in interface Common.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:
      hasModel in interface Common.GetKinematicsResponseOrBuilder
      Returns:
      Whether the model field is set.
    • getModel

      public Common.KinematicModel getModel()
       The kinematic model of the component
       
      .viam.common.v1.KinematicModel model = 4 [json_name = "model"];
      Specified by:
      getModel in interface Common.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"];