Package com.viam.service.motion.v1
Interface Motion.PlanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Motion.Plan
,Motion.Plan.Builder
- Enclosing class:
- Motion
public static interface Motion.PlanOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe component requested to be moved.The unique ID which identifies the execution.com.google.protobuf.ByteString
The unique ID which identifies the execution.getId()
The plan's unique IDcom.google.protobuf.ByteString
The plan's unique IDgetSteps
(int index) The steps of a plan is an ordered list of plan stepsint
The steps of a plan is an ordered list of plan stepsThe steps of a plan is an ordered list of plan stepsboolean
The component requested to be moved.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
String getId()The plan's unique ID
string id = 1 [json_name = "id"];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The plan's unique ID
string id = 1 [json_name = "id"];
- Returns:
- The bytes for id.
-
hasComponentName
boolean hasComponentName()The component requested to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the root component.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Returns:
- Whether the componentName field is set.
-
getComponentName
Common.ResourceName getComponentName()The component requested to be moved. Used for tracking & stopping. NOTE: A plan may move more components than just the root component.
.viam.common.v1.ResourceName component_name = 2 [json_name = "componentName"];
- Returns:
- The componentName.
-
getExecutionId
String getExecutionId()The unique ID which identifies the execution. Multiple plans will share the same execution_id if they were generated due to replanning
string execution_id = 3 [json_name = "executionId"];
- Returns:
- The executionId.
-
getExecutionIdBytes
com.google.protobuf.ByteString getExecutionIdBytes()The unique ID which identifies the execution. Multiple plans will share the same execution_id if they were generated due to replanning
string execution_id = 3 [json_name = "executionId"];
- Returns:
- The bytes for executionId.
-
getStepsList
List<Motion.PlanStep> getStepsList()The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];
-
getSteps
The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];
-
getStepsCount
int getStepsCount()The steps of a plan is an ordered list of plan steps
repeated .viam.service.motion.v1.PlanStep steps = 4 [json_name = "steps"];
-