Class Robot.GetPoseRequest.Builder

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

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

    • getComponentName

      public String getComponentName()
       the component whose pose is being requested
       
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Robot.GetPoseRequestOrBuilder
      Returns:
      The componentName.
    • getComponentNameBytes

      public com.google.protobuf.ByteString getComponentNameBytes()
       the component whose pose is being requested
       
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentNameBytes in interface Robot.GetPoseRequestOrBuilder
      Returns:
      The bytes for componentName.
    • setComponentName

      public Robot.GetPoseRequest.Builder setComponentName(String value)
       the component whose pose is being requested
       
      string component_name = 1 [json_name = "componentName"];
      Parameters:
      value - The componentName to set.
      Returns:
      This builder for chaining.
    • clearComponentName

      public Robot.GetPoseRequest.Builder clearComponentName()
       the component whose pose is being requested
       
      string component_name = 1 [json_name = "componentName"];
      Returns:
      This builder for chaining.
    • setComponentNameBytes

      public Robot.GetPoseRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
       the component whose pose is being requested
       
      string component_name = 1 [json_name = "componentName"];
      Parameters:
      value - The bytes for componentName to set.
      Returns:
      This builder for chaining.
    • getDestinationFrame

      public String getDestinationFrame()
       the reference frame in which the component's pose
       should be provided, if unset this defaults
       to the "world" reference frame
       
      string destination_frame = 2 [json_name = "destinationFrame"];
      Specified by:
      getDestinationFrame in interface Robot.GetPoseRequestOrBuilder
      Returns:
      The destinationFrame.
    • getDestinationFrameBytes

      public com.google.protobuf.ByteString getDestinationFrameBytes()
       the reference frame in which the component's pose
       should be provided, if unset this defaults
       to the "world" reference frame
       
      string destination_frame = 2 [json_name = "destinationFrame"];
      Specified by:
      getDestinationFrameBytes in interface Robot.GetPoseRequestOrBuilder
      Returns:
      The bytes for destinationFrame.
    • setDestinationFrame

      public Robot.GetPoseRequest.Builder setDestinationFrame(String value)
       the reference frame in which the component's pose
       should be provided, if unset this defaults
       to the "world" reference frame
       
      string destination_frame = 2 [json_name = "destinationFrame"];
      Parameters:
      value - The destinationFrame to set.
      Returns:
      This builder for chaining.
    • clearDestinationFrame

      public Robot.GetPoseRequest.Builder clearDestinationFrame()
       the reference frame in which the component's pose
       should be provided, if unset this defaults
       to the "world" reference frame
       
      string destination_frame = 2 [json_name = "destinationFrame"];
      Returns:
      This builder for chaining.
    • setDestinationFrameBytes

      public Robot.GetPoseRequest.Builder setDestinationFrameBytes(com.google.protobuf.ByteString value)
       the reference frame in which the component's pose
       should be provided, if unset this defaults
       to the "world" reference frame
       
      string destination_frame = 2 [json_name = "destinationFrame"];
      Parameters:
      value - The bytes for destinationFrame to set.
      Returns:
      This builder for chaining.
    • getSupplementalTransformsList

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

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

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

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

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

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

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

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

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

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

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

      public Robot.GetPoseRequest.Builder removeSupplementalTransforms(int index)
       pose information on any additional reference frames that are needed
       to compute the component's pose
       
      repeated .viam.common.v1.Transform supplemental_transforms = 3 [json_name = "supplementalTransforms"];
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Robot.GetPoseRequestOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      getExtra in interface Robot.GetPoseRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Robot.GetPoseRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Robot.GetPoseRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Robot.GetPoseRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Robot.GetPoseRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];