Class Motion.PlanStep.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStep,Motion.PlanStep.Builder>
com.viam.service.motion.v1.Motion.PlanStep.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Motion.PlanStepOrBuilder, Cloneable
Enclosing class:
Motion.PlanStep

public static final class Motion.PlanStep.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Motion.PlanStep,Motion.PlanStep.Builder> implements Motion.PlanStepOrBuilder
Protobuf type viam.service.motion.v1.PlanStep
  • Method Details

    • getStepCount

      public int getStepCount()
      Description copied from interface: Motion.PlanStepOrBuilder
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
      Specified by:
      getStepCount in interface Motion.PlanStepOrBuilder
    • containsStep

      public boolean containsStep(String key)
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
      Specified by:
      containsStep in interface Motion.PlanStepOrBuilder
    • clearStep

      public Motion.PlanStep.Builder clearStep()
    • removeStep

      public Motion.PlanStep.Builder removeStep(String key)
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
    • getStep

      Deprecated.
      Use getStepMap() instead.
      Specified by:
      getStep in interface Motion.PlanStepOrBuilder
    • getStepMap

      public Map<String,Motion.ComponentState> getStepMap()
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
      Specified by:
      getStepMap in interface Motion.PlanStepOrBuilder
    • getStepOrDefault

      public Motion.ComponentState getStepOrDefault(String key, Motion.ComponentState defaultValue)
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
      Specified by:
      getStepOrDefault in interface Motion.PlanStepOrBuilder
    • getStepOrThrow

      public Motion.ComponentState getStepOrThrow(String key)
       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
      Specified by:
      getStepOrThrow in interface Motion.PlanStepOrBuilder
    • putStep

       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];
    • putAllStep

       A step is the component state each
       component resource should reach while executing
       that step of the plan.
       Keys are the fully qualified component name.
       
      map<string, .viam.service.motion.v1.ComponentState> step = 1 [json_name = "step"];