Class Gantry.Status.Builder

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

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

    • getPositionsMmList

      public List<Double> getPositionsMmList()
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Specified by:
      getPositionsMmList in interface Gantry.StatusOrBuilder
      Returns:
      A list containing the positionsMm.
    • getPositionsMmCount

      public int getPositionsMmCount()
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Specified by:
      getPositionsMmCount in interface Gantry.StatusOrBuilder
      Returns:
      The count of positionsMm.
    • getPositionsMm

      public double getPositionsMm(int index)
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Specified by:
      getPositionsMm in interface Gantry.StatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The positionsMm at the given index.
    • setPositionsMm

      public Gantry.Status.Builder setPositionsMm(int index, double value)
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Parameters:
      value - The positionsMm to set.
      Returns:
      This builder for chaining.
    • addPositionsMm

      public Gantry.Status.Builder addPositionsMm(double value)
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Parameters:
      value - The positionsMm to add.
      Returns:
      This builder for chaining.
    • addAllPositionsMm

      public Gantry.Status.Builder addAllPositionsMm(Iterable<? extends Double> values)
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Parameters:
      values - The positionsMm to add.
      Returns:
      This builder for chaining.
    • clearPositionsMm

      public Gantry.Status.Builder clearPositionsMm()
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Returns:
      This builder for chaining.
    • getLengthsMmList

      public List<Double> getLengthsMmList()
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Specified by:
      getLengthsMmList in interface Gantry.StatusOrBuilder
      Returns:
      A list containing the lengthsMm.
    • getLengthsMmCount

      public int getLengthsMmCount()
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Specified by:
      getLengthsMmCount in interface Gantry.StatusOrBuilder
      Returns:
      The count of lengthsMm.
    • getLengthsMm

      public double getLengthsMm(int index)
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Specified by:
      getLengthsMm in interface Gantry.StatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The lengthsMm at the given index.
    • setLengthsMm

      public Gantry.Status.Builder setLengthsMm(int index, double value)
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Parameters:
      value - The lengthsMm to set.
      Returns:
      This builder for chaining.
    • addLengthsMm

      public Gantry.Status.Builder addLengthsMm(double value)
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Parameters:
      value - The lengthsMm to add.
      Returns:
      This builder for chaining.
    • addAllLengthsMm

      public Gantry.Status.Builder addAllLengthsMm(Iterable<? extends Double> values)
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Parameters:
      values - The lengthsMm to add.
      Returns:
      This builder for chaining.
    • clearLengthsMm

      public Gantry.Status.Builder clearLengthsMm()
      repeated double lengths_mm = 2 [json_name = "lengthsMm"];
      Returns:
      This builder for chaining.
    • getIsMoving

      public boolean getIsMoving()
      bool is_moving = 3 [json_name = "isMoving"];
      Specified by:
      getIsMoving in interface Gantry.StatusOrBuilder
      Returns:
      The isMoving.
    • setIsMoving

      public Gantry.Status.Builder setIsMoving(boolean value)
      bool is_moving = 3 [json_name = "isMoving"];
      Parameters:
      value - The isMoving to set.
      Returns:
      This builder for chaining.
    • clearIsMoving

      public Gantry.Status.Builder clearIsMoving()
      bool is_moving = 3 [json_name = "isMoving"];
      Returns:
      This builder for chaining.