Class Robot.TransformPoseRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.TransformPoseRequest,Robot.TransformPoseRequest.Builder>
com.viam.robot.v1.Robot.TransformPoseRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Robot.TransformPoseRequestOrBuilder, Cloneable
Enclosing class:
Robot.TransformPoseRequest

public static final class Robot.TransformPoseRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.TransformPoseRequest,Robot.TransformPoseRequest.Builder> implements Robot.TransformPoseRequestOrBuilder
Protobuf type viam.robot.v1.TransformPoseRequest
  • Method Details

    • hasSource

      public boolean hasSource()
       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
      Specified by:
      hasSource in interface Robot.TransformPoseRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public Common.PoseInFrame getSource()
       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
      Specified by:
      getSource in interface Robot.TransformPoseRequestOrBuilder
      Returns:
      The source.
    • setSource

       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
    • setSource

       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
    • mergeSource

       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
    • clearSource

      public Robot.TransformPoseRequest.Builder clearSource()
       the original pose to transform along with the reference frame in
       which it was observed
       
      .viam.common.v1.PoseInFrame source = 1 [json_name = "source"];
    • getDestination

      public String getDestination()
       the reference frame into which the source pose should be transformed,
       if unset this defaults to the "world" reference frame
       
      string destination = 2 [json_name = "destination"];
      Specified by:
      getDestination in interface Robot.TransformPoseRequestOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
       the reference frame into which the source pose should be transformed,
       if unset this defaults to the "world" reference frame
       
      string destination = 2 [json_name = "destination"];
      Specified by:
      getDestinationBytes in interface Robot.TransformPoseRequestOrBuilder
      Returns:
      The bytes for destination.
    • setDestination

      public Robot.TransformPoseRequest.Builder setDestination(String value)
       the reference frame into which the source pose should be transformed,
       if unset this defaults to the "world" reference frame
       
      string destination = 2 [json_name = "destination"];
      Parameters:
      value - The destination to set.
      Returns:
      This builder for chaining.
    • clearDestination

      public Robot.TransformPoseRequest.Builder clearDestination()
       the reference frame into which the source pose should be transformed,
       if unset this defaults to the "world" reference frame
       
      string destination = 2 [json_name = "destination"];
      Returns:
      This builder for chaining.
    • setDestinationBytes

      public Robot.TransformPoseRequest.Builder setDestinationBytes(com.google.protobuf.ByteString value)
       the reference frame into which the source pose should be transformed,
       if unset this defaults to the "world" reference frame
       
      string destination = 2 [json_name = "destination"];
      Parameters:
      value - The bytes for destination to set.
      Returns:
      This builder for chaining.
    • getSupplementalTransformsList

      public List<Common.Transform> getSupplementalTransformsList()
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransformsList in interface Robot.TransformPoseRequestOrBuilder
    • getSupplementalTransformsCount

      public int getSupplementalTransformsCount()
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransformsCount in interface Robot.TransformPoseRequestOrBuilder
    • getSupplementalTransforms

      public Common.Transform getSupplementalTransforms(int index)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransforms in interface Robot.TransformPoseRequestOrBuilder
    • setSupplementalTransforms

      public Robot.TransformPoseRequest.Builder setSupplementalTransforms(int index, Common.Transform value)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • setSupplementalTransforms

      public Robot.TransformPoseRequest.Builder setSupplementalTransforms(int index, Common.Transform.Builder builderForValue)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Robot.TransformPoseRequest.Builder addSupplementalTransforms(Common.Transform value)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Robot.TransformPoseRequest.Builder addSupplementalTransforms(int index, Common.Transform value)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Robot.TransformPoseRequest.Builder addSupplementalTransforms(Common.Transform.Builder builderForValue)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Robot.TransformPoseRequest.Builder addSupplementalTransforms(int index, Common.Transform.Builder builderForValue)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • addAllSupplementalTransforms

      public Robot.TransformPoseRequest.Builder addAllSupplementalTransforms(Iterable<? extends Common.Transform> values)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • clearSupplementalTransforms

      public Robot.TransformPoseRequest.Builder clearSupplementalTransforms()
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • removeSupplementalTransforms

      public Robot.TransformPoseRequest.Builder removeSupplementalTransforms(int index)
       pose information on any additional reference frames that are needed
       to perform the transform
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];