Package com.viam.service.motion.v1
Class Motion.PlanStep.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStep,Motion.PlanStep.Builder>
com.viam.service.motion.v1.Motion.PlanStep.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Motion.PlanStepOrBuilder
,Cloneable
- Enclosing class:
- Motion.PlanStep
public static final class Motion.PlanStep.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStep,Motion.PlanStep.Builder>
implements Motion.PlanStepOrBuilder
Protobuf type
viam.service.motion.v1.PlanStep
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsStep
(String key) A step is the component state each component resource should reach while executing that step of the plan.getStep()
Deprecated.int
A step is the component state each component resource should reach while executing that step of the plan.A step is the component state each component resource should reach while executing that step of the plan.getStepOrDefault
(String key, Motion.ComponentState defaultValue) A step is the component state each component resource should reach while executing that step of the plan.getStepOrThrow
(String key) A step is the component state each component resource should reach while executing that step of the plan.putAllStep
(Map<String, Motion.ComponentState> values) A step is the component state each component resource should reach while executing that step of the plan.putStep
(String key, Motion.ComponentState value) A step is the component state each component resource should reach while executing that step of the plan.removeStep
(String key) A step is the component state each component resource should reach while executing that step of the plan.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
-
getStepCount
public int getStepCount()Description copied from interface:Motion.PlanStepOrBuilder
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
- Specified by:
getStepCount
in interfaceMotion.PlanStepOrBuilder
-
containsStep
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
- Specified by:
containsStep
in interfaceMotion.PlanStepOrBuilder
-
clearStep
-
removeStep
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
-
getStep
Deprecated.UsegetStepMap()
instead.- Specified by:
getStep
in interfaceMotion.PlanStepOrBuilder
-
getStepMap
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
- Specified by:
getStepMap
in interfaceMotion.PlanStepOrBuilder
-
getStepOrDefault
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
- Specified by:
getStepOrDefault
in interfaceMotion.PlanStepOrBuilder
-
getStepOrThrow
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
- Specified by:
getStepOrThrow
in interfaceMotion.PlanStepOrBuilder
-
putStep
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
-
putAllStep
A step is the component state each component resource should reach while executing that step of the plan. Keys are the fully qualified component name.
map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
-