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

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