Package com.viam.component.gantry.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllLengthsMm
(Iterable<? extends Double> values) repeated double lengths_mm = 2 [json_name = "lengthsMm"];
addAllPositionsMm
(Iterable<? extends Double> values) repeated double positions_mm = 1 [json_name = "positionsMm"];
addLengthsMm
(double value) repeated double lengths_mm = 2 [json_name = "lengthsMm"];
addPositionsMm
(double value) repeated double positions_mm = 1 [json_name = "positionsMm"];
bool is_moving = 3 [json_name = "isMoving"];
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
repeated double positions_mm = 1 [json_name = "positionsMm"];
boolean
bool is_moving = 3 [json_name = "isMoving"];
double
getLengthsMm
(int index) repeated double lengths_mm = 2 [json_name = "lengthsMm"];
int
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
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"];
setIsMoving
(boolean value) bool is_moving = 3 [json_name = "isMoving"];
setLengthsMm
(int index, double value) repeated double lengths_mm = 2 [json_name = "lengthsMm"];
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
repeated double positions_mm = 1 [json_name = "positionsMm"];
- Specified by:
getPositionsMmList
in interfaceGantry.StatusOrBuilder
- Returns:
- A list containing the positionsMm.
-
getPositionsMmCount
public int getPositionsMmCount()repeated double positions_mm = 1 [json_name = "positionsMm"];
- Specified by:
getPositionsMmCount
in interfaceGantry.StatusOrBuilder
- Returns:
- The count of positionsMm.
-
getPositionsMm
public double getPositionsMm(int index) repeated double positions_mm = 1 [json_name = "positionsMm"];
- Specified by:
getPositionsMm
in interfaceGantry.StatusOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The positionsMm at the given index.
-
setPositionsMm
repeated double positions_mm = 1 [json_name = "positionsMm"];
- Parameters:
value
- The positionsMm to set.- Returns:
- This builder for chaining.
-
addPositionsMm
repeated double positions_mm = 1 [json_name = "positionsMm"];
- Parameters:
value
- The positionsMm to add.- Returns:
- This builder for chaining.
-
addAllPositionsMm
repeated double positions_mm = 1 [json_name = "positionsMm"];
- Parameters:
values
- The positionsMm to add.- Returns:
- This builder for chaining.
-
clearPositionsMm
repeated double positions_mm = 1 [json_name = "positionsMm"];
- Returns:
- This builder for chaining.
-
getLengthsMmList
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Specified by:
getLengthsMmList
in interfaceGantry.StatusOrBuilder
- Returns:
- A list containing the lengthsMm.
-
getLengthsMmCount
public int getLengthsMmCount()repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Specified by:
getLengthsMmCount
in interfaceGantry.StatusOrBuilder
- Returns:
- The count of lengthsMm.
-
getLengthsMm
public double getLengthsMm(int index) repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Specified by:
getLengthsMm
in interfaceGantry.StatusOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lengthsMm at the given index.
-
setLengthsMm
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Parameters:
value
- The lengthsMm to set.- Returns:
- This builder for chaining.
-
addLengthsMm
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Parameters:
value
- The lengthsMm to add.- Returns:
- This builder for chaining.
-
addAllLengthsMm
repeated double lengths_mm = 2 [json_name = "lengthsMm"];
- Parameters:
values
- The lengthsMm to add.- Returns:
- This builder for chaining.
-
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 interfaceGantry.StatusOrBuilder
- Returns:
- The isMoving.
-
setIsMoving
bool is_moving = 3 [json_name = "isMoving"];
- Parameters:
value
- The isMoving to set.- Returns:
- This builder for chaining.
-
clearIsMoving
bool is_moving = 3 [json_name = "isMoving"];
- Returns:
- This builder for chaining.
-