Class Base.SetPowerRequest.Builder

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

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

    • getName

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

      public Base.SetPowerRequest.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.SetPowerRequest.Builder clearName()
       Name of a base
       
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Base.SetPowerRequest.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.
    • hasLinear

      public boolean hasLinear()
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
      Specified by:
      hasLinear in interface Base.SetPowerRequestOrBuilder
      Returns:
      Whether the linear field is set.
    • getLinear

      public Common.Vector3 getLinear()
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
      Specified by:
      getLinear in interface Base.SetPowerRequestOrBuilder
      Returns:
      The linear.
    • setLinear

      public Base.SetPowerRequest.Builder setLinear(Common.Vector3 value)
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
    • setLinear

      public Base.SetPowerRequest.Builder setLinear(Common.Vector3.Builder builderForValue)
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
    • mergeLinear

      public Base.SetPowerRequest.Builder mergeLinear(Common.Vector3 value)
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
    • clearLinear

      public Base.SetPowerRequest.Builder clearLinear()
       Desired linear power percentage as -1 -> 1
       
      .viam.common.v1.Vector3 linear = 2 [json_name = "linear"];
    • hasAngular

      public boolean hasAngular()
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
      Specified by:
      hasAngular in interface Base.SetPowerRequestOrBuilder
      Returns:
      Whether the angular field is set.
    • getAngular

      public Common.Vector3 getAngular()
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
      Specified by:
      getAngular in interface Base.SetPowerRequestOrBuilder
      Returns:
      The angular.
    • setAngular

      public Base.SetPowerRequest.Builder setAngular(Common.Vector3 value)
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
    • setAngular

      public Base.SetPowerRequest.Builder setAngular(Common.Vector3.Builder builderForValue)
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
    • mergeAngular

      public Base.SetPowerRequest.Builder mergeAngular(Common.Vector3 value)
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
    • clearAngular

      public Base.SetPowerRequest.Builder clearAngular()
       Desired angular power percentage % as -1 -> 1
       
      .viam.common.v1.Vector3 angular = 3 [json_name = "angular"];
    • hasExtra

      public boolean hasExtra()
       Additional arguments to the method
       
      .google.protobuf.Struct extra = 99 [json_name = "extra"];
      Specified by:
      hasExtra in interface Base.SetPowerRequestOrBuilder
      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.SetPowerRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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