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.
    • hasComponentNameDeprecated

      @Deprecated public boolean hasComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      hasComponentNameDeprecated in interface Motion.GetPoseRequestOrBuilder
      Returns:
      Whether the componentNameDeprecated field is set.
    • getComponentNameDeprecated

      @Deprecated public Common.ResourceName getComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
      Specified by:
      getComponentNameDeprecated in interface Motion.GetPoseRequestOrBuilder
      Returns:
      The componentNameDeprecated.
    • setComponentNameDeprecated

      @Deprecated public Motion.GetPoseRequest.Builder setComponentNameDeprecated(Common.ResourceName value)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • setComponentNameDeprecated

      @Deprecated public Motion.GetPoseRequest.Builder setComponentNameDeprecated(Common.ResourceName.Builder builderForValue)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • mergeComponentNameDeprecated

      @Deprecated public Motion.GetPoseRequest.Builder mergeComponentNameDeprecated(Common.ResourceName value)
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • clearComponentNameDeprecated

      @Deprecated public Motion.GetPoseRequest.Builder clearComponentNameDeprecated()
      Deprecated.
       Deprecated, use component_name field.
       
      .viam.common.v1.ResourceName component_name_deprecated = 2 [json_name = "componentNameDeprecated", deprecated = true];
    • 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"];
    • getComponentName

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

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

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

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

      public Motion.GetPoseRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
       the component whose pose is being requested
       
      string component_name = 5 [json_name = "componentName"];
      Parameters:
      value - The bytes for componentName to set.
      Returns:
      This builder for chaining.
    • 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"];