Class Motion.TempStreamOptions.Builder

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

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

    • hasArmSideTargetRunwayMs

      public boolean hasArmSideTargetRunwayMs()
       How much trajectory the motion service tries to keep buffered on the arm's side.
       
      optional int32 arm_side_target_runway_ms = 1 [json_name = "armSideTargetRunwayMs"];
      Specified by:
      hasArmSideTargetRunwayMs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      Whether the armSideTargetRunwayMs field is set.
    • getArmSideTargetRunwayMs

      public int getArmSideTargetRunwayMs()
       How much trajectory the motion service tries to keep buffered on the arm's side.
       
      optional int32 arm_side_target_runway_ms = 1 [json_name = "armSideTargetRunwayMs"];
      Specified by:
      getArmSideTargetRunwayMs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      The armSideTargetRunwayMs.
    • setArmSideTargetRunwayMs

      public Motion.TempStreamOptions.Builder setArmSideTargetRunwayMs(int value)
       How much trajectory the motion service tries to keep buffered on the arm's side.
       
      optional int32 arm_side_target_runway_ms = 1 [json_name = "armSideTargetRunwayMs"];
      Parameters:
      value - The armSideTargetRunwayMs to set.
      Returns:
      This builder for chaining.
    • clearArmSideTargetRunwayMs

      public Motion.TempStreamOptions.Builder clearArmSideTargetRunwayMs()
       How much trajectory the motion service tries to keep buffered on the arm's side.
       
      optional int32 arm_side_target_runway_ms = 1 [json_name = "armSideTargetRunwayMs"];
      Returns:
      This builder for chaining.
    • hasSendToArmIntervalMs

      public boolean hasSendToArmIntervalMs()
       How often the motion service aims to top up the arm's buffered runway.
       
      optional int32 send_to_arm_interval_ms = 2 [json_name = "sendToArmIntervalMs"];
      Specified by:
      hasSendToArmIntervalMs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      Whether the sendToArmIntervalMs field is set.
    • getSendToArmIntervalMs

      public int getSendToArmIntervalMs()
       How often the motion service aims to top up the arm's buffered runway.
       
      optional int32 send_to_arm_interval_ms = 2 [json_name = "sendToArmIntervalMs"];
      Specified by:
      getSendToArmIntervalMs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      The sendToArmIntervalMs.
    • setSendToArmIntervalMs

      public Motion.TempStreamOptions.Builder setSendToArmIntervalMs(int value)
       How often the motion service aims to top up the arm's buffered runway.
       
      optional int32 send_to_arm_interval_ms = 2 [json_name = "sendToArmIntervalMs"];
      Parameters:
      value - The sendToArmIntervalMs to set.
      Returns:
      This builder for chaining.
    • clearSendToArmIntervalMs

      public Motion.TempStreamOptions.Builder clearSendToArmIntervalMs()
       How often the motion service aims to top up the arm's buffered runway.
       
      optional int32 send_to_arm_interval_ms = 2 [json_name = "sendToArmIntervalMs"];
      Returns:
      This builder for chaining.
    • hasDiagnosticsWindowSecs

      public boolean hasDiagnosticsWindowSecs()
       Size of the detailed diagnostics window.
       
      optional int32 diagnostics_window_secs = 3 [json_name = "diagnosticsWindowSecs"];
      Specified by:
      hasDiagnosticsWindowSecs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      Whether the diagnosticsWindowSecs field is set.
    • getDiagnosticsWindowSecs

      public int getDiagnosticsWindowSecs()
       Size of the detailed diagnostics window.
       
      optional int32 diagnostics_window_secs = 3 [json_name = "diagnosticsWindowSecs"];
      Specified by:
      getDiagnosticsWindowSecs in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      The diagnosticsWindowSecs.
    • setDiagnosticsWindowSecs

      public Motion.TempStreamOptions.Builder setDiagnosticsWindowSecs(int value)
       Size of the detailed diagnostics window.
       
      optional int32 diagnostics_window_secs = 3 [json_name = "diagnosticsWindowSecs"];
      Parameters:
      value - The diagnosticsWindowSecs to set.
      Returns:
      This builder for chaining.
    • clearDiagnosticsWindowSecs

      public Motion.TempStreamOptions.Builder clearDiagnosticsWindowSecs()
       Size of the detailed diagnostics window.
       
      optional int32 diagnostics_window_secs = 3 [json_name = "diagnosticsWindowSecs"];
      Returns:
      This builder for chaining.
    • hasMoveOptions

      public boolean hasMoveOptions()
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];
      Specified by:
      hasMoveOptions in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      Whether the moveOptions field is set.
    • getMoveOptions

      public Arm.MoveOptions getMoveOptions()
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];
      Specified by:
      getMoveOptions in interface Motion.TempStreamOptionsOrBuilder
      Returns:
      The moveOptions.
    • setMoveOptions

      public Motion.TempStreamOptions.Builder setMoveOptions(Arm.MoveOptions value)
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];
    • setMoveOptions

      public Motion.TempStreamOptions.Builder setMoveOptions(Arm.MoveOptions.Builder builderForValue)
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];
    • mergeMoveOptions

      public Motion.TempStreamOptions.Builder mergeMoveOptions(Arm.MoveOptions value)
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];
    • clearMoveOptions

      public Motion.TempStreamOptions.Builder clearMoveOptions()
       Kinematic limits for the session's trajectory.
       
      optional .viam.component.arm.v1.MoveOptions move_options = 4 [json_name = "moveOptions"];