Class Base.MoveStraightRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Base.MoveStraightRequest,Base.MoveStraightRequest.Builder>
com.viam.component.base.v1.Base.MoveStraightRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Base.MoveStraightRequestOrBuilder, Cloneable
Enclosing class:
Base.MoveStraightRequest

public static final class Base.MoveStraightRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Base.MoveStraightRequest,Base.MoveStraightRequest.Builder> implements Base.MoveStraightRequestOrBuilder
Protobuf type viam.component.base.v1.MoveStraightRequest
  • Method Details

    • getName

      public String getName()
       Name of a base
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Base.MoveStraightRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of a base
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Base.MoveStraightRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Base.MoveStraightRequest.Builder setName(String value)
       Name of a base
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Name of a base
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Base.MoveStraightRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of a base
       
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDistanceMm

      public long getDistanceMm()
       Desired travel distance in millimeters
       
      int64 distance_mm = 2 [json_name = "distanceMm"];
      Specified by:
      getDistanceMm in interface Base.MoveStraightRequestOrBuilder
      Returns:
      The distanceMm.
    • setDistanceMm

      public Base.MoveStraightRequest.Builder setDistanceMm(long value)
       Desired travel distance in millimeters
       
      int64 distance_mm = 2 [json_name = "distanceMm"];
      Parameters:
      value - The distanceMm to set.
      Returns:
      This builder for chaining.
    • clearDistanceMm

      public Base.MoveStraightRequest.Builder clearDistanceMm()
       Desired travel distance in millimeters
       
      int64 distance_mm = 2 [json_name = "distanceMm"];
      Returns:
      This builder for chaining.
    • getMmPerSec

      public double getMmPerSec()
       Desired travel velocity in millimeters/second
       
      double mm_per_sec = 3 [json_name = "mmPerSec"];
      Specified by:
      getMmPerSec in interface Base.MoveStraightRequestOrBuilder
      Returns:
      The mmPerSec.
    • setMmPerSec

      public Base.MoveStraightRequest.Builder setMmPerSec(double value)
       Desired travel velocity in millimeters/second
       
      double mm_per_sec = 3 [json_name = "mmPerSec"];
      Parameters:
      value - The mmPerSec to set.
      Returns:
      This builder for chaining.
    • clearMmPerSec

      public Base.MoveStraightRequest.Builder clearMmPerSec()
       Desired travel velocity in millimeters/second
       
      double mm_per_sec = 3 [json_name = "mmPerSec"];
      Returns:
      This builder for chaining.
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Base.MoveStraightRequestOrBuilder
      Returns:
      Whether the extra field is set.
    • getExtra

      public com.google.protobuf.Struct getExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      getExtra in interface Base.MoveStraightRequestOrBuilder
      Returns:
      The extra.
    • setExtra

      public Base.MoveStraightRequest.Builder setExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • setExtra

      public Base.MoveStraightRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • mergeExtra

      public Base.MoveStraightRequest.Builder mergeExtra(com.google.protobuf.Struct value)
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
    • clearExtra

      public Base.MoveStraightRequest.Builder clearExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];