Class Base.SpinRequest.Builder

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

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

    • getName

      public String getName()
       Name of a base
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Base.SpinRequestOrBuilder
      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.SpinRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Base.SpinRequest.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

      public Base.SpinRequest.Builder clearName()
       Name of a base
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Base.SpinRequest.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.
    • getAngleDeg

      public double getAngleDeg()
       Desired angle
       
      double angle_deg = 2 [json_name = "angleDeg"];
      Specified by:
      getAngleDeg in interface Base.SpinRequestOrBuilder
      Returns:
      The angleDeg.
    • setAngleDeg

      public Base.SpinRequest.Builder setAngleDeg(double value)
       Desired angle
       
      double angle_deg = 2 [json_name = "angleDeg"];
      Parameters:
      value - The angleDeg to set.
      Returns:
      This builder for chaining.
    • clearAngleDeg

      public Base.SpinRequest.Builder clearAngleDeg()
       Desired angle
       
      double angle_deg = 2 [json_name = "angleDeg"];
      Returns:
      This builder for chaining.
    • getDegsPerSec

      public double getDegsPerSec()
       Desired angular velocity
       
      double degs_per_sec = 3 [json_name = "degsPerSec"];
      Specified by:
      getDegsPerSec in interface Base.SpinRequestOrBuilder
      Returns:
      The degsPerSec.
    • setDegsPerSec

      public Base.SpinRequest.Builder setDegsPerSec(double value)
       Desired angular velocity
       
      double degs_per_sec = 3 [json_name = "degsPerSec"];
      Parameters:
      value - The degsPerSec to set.
      Returns:
      This builder for chaining.
    • clearDegsPerSec

      public Base.SpinRequest.Builder clearDegsPerSec()
       Desired angular velocity
       
      double degs_per_sec = 3 [json_name = "degsPerSec"];
      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.SpinRequestOrBuilder
      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.SpinRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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