Package com.viam.service.motion.v1
Interface Motion.GetPlanResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Motion.GetPlanResponse
,Motion.GetPlanResponse.Builder
- Enclosing class:
- Motion
public static interface Motion.GetPlanResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe current plan and status that matches the request querygetReplanHistory
(int index) Returns the history of all previous plans that were generated in ascending order.int
Returns the history of all previous plans that were generated in ascending order.Returns the history of all previous plans that were generated in ascending order.boolean
The current plan and status that matches the request queryMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasCurrentPlanWithStatus
boolean hasCurrentPlanWithStatus()The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
- Returns:
- Whether the currentPlanWithStatus field is set.
-
getCurrentPlanWithStatus
Motion.PlanWithStatus getCurrentPlanWithStatus()The current plan and status that matches the request query
.viam.service.motion.v1.PlanWithStatus current_plan_with_status = 1 [json_name = "currentPlanWithStatus"];
- Returns:
- The currentPlanWithStatus.
-
getReplanHistoryList
List<Motion.PlanWithStatus> getReplanHistoryList()Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
getReplanHistory
Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-
getReplanHistoryCount
int getReplanHistoryCount()Returns the history of all previous plans that were generated in ascending order. This field will be empty if the motion service did not need to re-plan.
repeated .viam.service.motion.v1.PlanWithStatus replan_history = 2 [json_name = "replanHistory"];
-