Class Gantry.MoveToPositionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Gantry.MoveToPositionRequest,Gantry.MoveToPositionRequest.Builder>
com.viam.component.gantry.v1.Gantry.MoveToPositionRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Gantry.MoveToPositionRequestOrBuilder, Cloneable
Enclosing class:
Gantry.MoveToPositionRequest

public static final class Gantry.MoveToPositionRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Gantry.MoveToPositionRequest,Gantry.MoveToPositionRequest.Builder> implements Gantry.MoveToPositionRequestOrBuilder
Protobuf type viam.component.gantry.v1.MoveToPositionRequest
  • Method Details

    • getName

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

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

      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Gantry.MoveToPositionRequest.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.
    • getPositionsMmList

      public List<Double> getPositionsMmList()
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Specified by:
      getPositionsMmList in interface Gantry.MoveToPositionRequestOrBuilder
      Returns:
      A list containing the positionsMm.
    • getPositionsMmCount

      public int getPositionsMmCount()
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Specified by:
      getPositionsMmCount in interface Gantry.MoveToPositionRequestOrBuilder
      Returns:
      The count of positionsMm.
    • getPositionsMm

      public double getPositionsMm(int index)
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Specified by:
      getPositionsMm in interface Gantry.MoveToPositionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The positionsMm at the given index.
    • setPositionsMm

      public Gantry.MoveToPositionRequest.Builder setPositionsMm(int index, double value)
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Parameters:
      value - The positionsMm to set.
      Returns:
      This builder for chaining.
    • addPositionsMm

      public Gantry.MoveToPositionRequest.Builder addPositionsMm(double value)
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Parameters:
      value - The positionsMm to add.
      Returns:
      This builder for chaining.
    • addAllPositionsMm

      public Gantry.MoveToPositionRequest.Builder addAllPositionsMm(Iterable<? extends Double> values)
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Parameters:
      values - The positionsMm to add.
      Returns:
      This builder for chaining.
    • clearPositionsMm

      public Gantry.MoveToPositionRequest.Builder clearPositionsMm()
       Number of millimeters to move the gantry by respective to each axis.
       
      repeated double positions_mm = 2 [json_name = "positionsMm"];
      Returns:
      This builder for chaining.
    • getSpeedsMmPerSecList

      public List<Double> getSpeedsMmPerSecList()
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Specified by:
      getSpeedsMmPerSecList in interface Gantry.MoveToPositionRequestOrBuilder
      Returns:
      A list containing the speedsMmPerSec.
    • getSpeedsMmPerSecCount

      public int getSpeedsMmPerSecCount()
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Specified by:
      getSpeedsMmPerSecCount in interface Gantry.MoveToPositionRequestOrBuilder
      Returns:
      The count of speedsMmPerSec.
    • getSpeedsMmPerSec

      public double getSpeedsMmPerSec(int index)
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Specified by:
      getSpeedsMmPerSec in interface Gantry.MoveToPositionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The speedsMmPerSec at the given index.
    • setSpeedsMmPerSec

      public Gantry.MoveToPositionRequest.Builder setSpeedsMmPerSec(int index, double value)
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Parameters:
      value - The speedsMmPerSec to set.
      Returns:
      This builder for chaining.
    • addSpeedsMmPerSec

      public Gantry.MoveToPositionRequest.Builder addSpeedsMmPerSec(double value)
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Parameters:
      value - The speedsMmPerSec to add.
      Returns:
      This builder for chaining.
    • addAllSpeedsMmPerSec

      public Gantry.MoveToPositionRequest.Builder addAllSpeedsMmPerSec(Iterable<? extends Double> values)
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      Parameters:
      values - The speedsMmPerSec to add.
      Returns:
      This builder for chaining.
    • clearSpeedsMmPerSec

      public Gantry.MoveToPositionRequest.Builder clearSpeedsMmPerSec()
       Speeds to move each gantry axis must match length and order of positions_mm.
       
      repeated double speeds_mm_per_sec = 3 [json_name = "speedsMmPerSec"];
      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 Gantry.MoveToPositionRequestOrBuilder
      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 Gantry.MoveToPositionRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];