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 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

      Motion.PlanStatus getStatusHistory(int index)
       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"];