Class Gantry.GetLengthsResponse.Builder

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

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

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

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllLengthsMm(Iterable<? extends Double> values)
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    addLengthsMm(double value)
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    double
    getLengthsMm(int index)
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    int
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];
    setLengthsMm(int index, double value)
    repeated double lengths_mm = 1 [json_name = "lengthsMm"];

    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

    • getLengthsMmList

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

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

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

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

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

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

      public Gantry.GetLengthsResponse.Builder clearLengthsMm()
      repeated double lengths_mm = 1 [json_name = "lengthsMm"];
      Returns:
      This builder for chaining.