Package com.viam.service.motion.v1
Interface Motion.PlanWithStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Motion.PlanWithStatus
,Motion.PlanWithStatus.Builder
- Enclosing class:
- Motion
public static interface Motion.PlanWithStatusOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPlan()
The planThe current status of the plangetStatusHistory
(int index) The prior status changes that have happened during plan executionint
The prior status changes that have happened during plan executionThe prior status changes that have happened during plan executionboolean
hasPlan()
The planboolean
The current status of the planMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasPlan
boolean hasPlan()The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
- Returns:
- Whether the plan field is set.
-
getPlan
Motion.Plan getPlan()The plan
.viam.service.motion.v1.Plan plan = 1 [json_name = "plan"];
- Returns:
- The plan.
-
hasStatus
boolean hasStatus()The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
- Returns:
- Whether the status field is set.
-
getStatus
Motion.PlanStatus getStatus()The current status of the plan
.viam.service.motion.v1.PlanStatus status = 2 [json_name = "status"];
- Returns:
- The status.
-
getStatusHistoryList
List<Motion.PlanStatus> getStatusHistoryList()The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
getStatusHistory
The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-
getStatusHistoryCount
int getStatusHistoryCount()The prior status changes that have happened during plan execution
repeated .viam.service.motion.v1.PlanStatus status_history = 3 [json_name = "statusHistory"];
-