Package com.viam.component.arm.v1
Class Arm.MoveToPositionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Arm.MoveToPositionRequest,Arm.MoveToPositionRequest.Builder>
com.viam.component.arm.v1.Arm.MoveToPositionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Arm.MoveToPositionRequestOrBuilder
,Cloneable
- Enclosing class:
- Arm.MoveToPositionRequest
public static final class Arm.MoveToPositionRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Arm.MoveToPositionRequest,Arm.MoveToPositionRequest.Builder>
implements Arm.MoveToPositionRequestOrBuilder
Moves an arm to the specified pose that is within the reference frame of the arm. Move request in Motion API has the same behavior except that it performs obstacle avoidance when a world_state message is specified.Protobuf type
viam.component.arm.v1.MoveToPositionRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments to the methodName of an armclearTo()
The destination to move the arm to; this is from the reference frame of the arm.com.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
Name of an armcom.google.protobuf.ByteString
Name of an armgetTo()
The destination to move the arm to; this is from the reference frame of the arm.boolean
hasExtra()
Additional arguments to the methodboolean
hasTo()
The destination to move the arm to; this is from the reference frame of the arm.mergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodmergeTo
(Common.Pose value) The destination to move the arm to; this is from the reference frame of the arm.setExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodName of an armsetNameBytes
(com.google.protobuf.ByteString value) Name of an armsetTo
(Common.Pose value) The destination to move the arm to; this is from the reference frame of the arm.setTo
(Common.Pose.Builder builderForValue) The destination to move the arm to; this is from the reference frame of the arm.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
Name of an arm
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceArm.MoveToPositionRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of an arm
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceArm.MoveToPositionRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
Name of an arm
string name = 1 [json_name = "name"];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of an arm
string name = 1 [json_name = "name"];
- Returns:
- This builder for chaining.
-
setNameBytes
Name of an arm
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasTo
public boolean hasTo()The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
- Specified by:
hasTo
in interfaceArm.MoveToPositionRequestOrBuilder
- Returns:
- Whether the to field is set.
-
getTo
The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
- Specified by:
getTo
in interfaceArm.MoveToPositionRequestOrBuilder
- Returns:
- The to.
-
setTo
The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
-
setTo
The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
-
mergeTo
The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
-
clearTo
The destination to move the arm to; this is from the reference frame of the arm.
.viam.common.v1.Pose to = 2 [json_name = "to"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceArm.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 interfaceArm.MoveToPositionRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public Arm.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"];
-