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

      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 interface Common.GetKinematicsResponseOrBuilder
      Returns:
      The enum numeric value on the wire for format.
    • setFormatValue

      public Common.GetKinematicsResponse.Builder setFormatValue(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-parameters
       
      .viam.common.v1.KinematicsFileFormat format = 1 [json_name = "format"];
      Parameters:
      value - The format to set.
      Returns:
      This builder for chaining.
    • getFormat

      public Common.KinematicsFileFormat 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 interface Common.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:
      getKinematicsData in interface Common.GetKinematicsResponseOrBuilder
      Returns:
      The kinematicsData.
    • setKinematicsData

      public Common.GetKinematicsResponse.Builder setKinematicsData(com.google.protobuf.ByteString value)
       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

      public Common.GetKinematicsResponse.Builder 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.GetKinematicsResponseOrBuilder
       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:
      getMeshesByUrdfFilepathCount in interface Common.GetKinematicsResponseOrBuilder
    • containsMeshesByUrdfFilepath

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

      public Common.GetKinematicsResponse.Builder clearMeshesByUrdfFilepath()
    • removeMeshesByUrdfFilepath

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

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

      public Common.Mesh getMeshesByUrdfFilepathOrDefault(String key, Common.Mesh defaultValue)
       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:
      getMeshesByUrdfFilepathOrDefault in interface Common.GetKinematicsResponseOrBuilder
    • getMeshesByUrdfFilepathOrThrow

      public Common.Mesh getMeshesByUrdfFilepathOrThrow(String key)
       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:
      getMeshesByUrdfFilepathOrThrow in interface Common.GetKinematicsResponseOrBuilder
    • putMeshesByUrdfFilepath

      public Common.GetKinematicsResponse.Builder putMeshesByUrdfFilepath(String key, Common.Mesh value)
       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"];