Class Motion.GetPoseRequest.Builder

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

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

    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Motion.GetPoseRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Motion.GetPoseRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Motion.GetPoseRequest.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Motion.GetPoseRequest.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Motion.GetPoseRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasComponentName

      public boolean hasComponentName()
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
      Specified by:
      hasComponentName in interface Motion.GetPoseRequestOrBuilder
      Returns:
      Whether the componentName field is set.
    • getComponentName

      public Common.ResourceName getComponentName()
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
      Specified by:
      getComponentName in interface Motion.GetPoseRequestOrBuilder
      Returns:
      The componentName.
    • setComponentName

      public Motion.GetPoseRequest.Builder setComponentName(Common.ResourceName value)
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • setComponentName

      public Motion.GetPoseRequest.Builder setComponentName(Common.ResourceName.Builder builderForValue)
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • mergeComponentName

      public Motion.GetPoseRequest.Builder mergeComponentName(Common.ResourceName value)
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • clearComponentName

      public Motion.GetPoseRequest.Builder clearComponentName()
       the component whose pose is being requested
       
      .viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
    • 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 = 3 [json_name = "destinationFrame"];
      Specified by:
      getDestinationFrame in interface Motion.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 = 3 [json_name = "destinationFrame"];
      Specified by:
      getDestinationFrameBytes in interface Motion.GetPoseRequestOrBuilder
      Returns:
      The bytes for destinationFrame.
    • setDestinationFrame

      public Motion.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 = 3 [json_name = "destinationFrame"];
      Parameters:
      value - The destinationFrame to set.
      Returns:
      This builder for chaining.
    • clearDestinationFrame

      public Motion.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 = 3 [json_name = "destinationFrame"];
      Returns:
      This builder for chaining.
    • setDestinationFrameBytes

      public Motion.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 = 3 [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 = 4 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransformsList in interface Motion.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 = 4 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransformsCount in interface Motion.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 = 4 [json_name = "supplementalTransforms"];
      Specified by:
      getSupplementalTransforms in interface Motion.GetPoseRequestOrBuilder
    • setSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • setSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • addSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • addAllSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • clearSupplementalTransforms

      public Motion.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 = 4 [json_name = "supplementalTransforms"];
    • removeSupplementalTransforms

      public Motion.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 = 4 [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 Motion.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 Motion.GetPoseRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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