Package com.viam.component.gantry.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPositionsMm
(Iterable<? extends Double> values) Number of millimeters to move the gantry by respective to each axis.addAllSpeedsMmPerSec
(Iterable<? extends Double> values) Speeds to move each gantry axis must match length and order of positions_mm.addPositionsMm
(double value) Number of millimeters to move the gantry by respective to each axis.addSpeedsMmPerSec
(double value) Speeds to move each gantry axis must match length and order of positions_mm.Additional arguments to the methodstring name = 1 [json_name = "name"];
Number of millimeters to move the gantry by respective to each axis.Speeds to move each gantry axis must match length and order of positions_mm.com.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
string name = 1 [json_name = "name"];
com.google.protobuf.ByteString
string name = 1 [json_name = "name"];
double
getPositionsMm
(int index) Number of millimeters to move the gantry by respective to each axis.int
Number of millimeters to move the gantry by respective to each axis.Number of millimeters to move the gantry by respective to each axis.double
getSpeedsMmPerSec
(int index) Speeds to move each gantry axis must match length and order of positions_mm.int
Speeds to move each gantry axis must match length and order of positions_mm.Speeds to move each gantry axis must match length and order of positions_mm.boolean
hasExtra()
Additional arguments to the methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodstring name = 1 [json_name = "name"];
setNameBytes
(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];
setPositionsMm
(int index, double value) Number of millimeters to move the gantry by respective to each axis.setSpeedsMmPerSec
(int index, double value) Speeds to move each gantry axis must match length and order of positions_mm.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
-
getName
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceGantry.MoveToPositionRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceGantry.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
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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 interfaceGantry.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 interfaceGantry.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 interfaceGantry.MoveToPositionRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The positionsMm at the given index.
-
setPositionsMm
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
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
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
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
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 interfaceGantry.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 interfaceGantry.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 interfaceGantry.MoveToPositionRequestOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The speedsMmPerSec at the given index.
-
setSpeedsMmPerSec
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
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
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
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 interfaceGantry.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 interfaceGantry.MoveToPositionRequestOrBuilder
- Returns:
- The extra.
-
setExtra
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
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"];
-