Class Gantry.GetPositionResponse.Builder

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

public static final class Gantry.GetPositionResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Gantry.GetPositionResponse,Gantry.GetPositionResponse.Builder> implements Gantry.GetPositionResponseOrBuilder
Protobuf type viam.component.gantry.v1.GetPositionResponse
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllPositionsMm(Iterable<? extends Double> values)
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    addPositionsMm(double value)
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    double
    getPositionsMm(int index)
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    int
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    repeated double positions_mm = 1 [json_name = "positionsMm"];
    setPositionsMm(int index, double value)
    repeated double positions_mm = 1 [json_name = "positionsMm"];

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getPositionsMmList

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

      public int getPositionsMmCount()
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Specified by:
      getPositionsMmCount in interface Gantry.GetPositionResponseOrBuilder
      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.GetPositionResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The positionsMm at the given index.
    • setPositionsMm

      public Gantry.GetPositionResponse.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.GetPositionResponse.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.GetPositionResponse.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.GetPositionResponse.Builder clearPositionsMm()
      repeated double positions_mm = 1 [json_name = "positionsMm"];
      Returns:
      This builder for chaining.