Class Board.SetPWMRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Board.SetPWMRequest,Board.SetPWMRequest.Builder>
com.viam.component.board.v1.Board.SetPWMRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Board.SetPWMRequestOrBuilder, Cloneable
Enclosing class:
Board.SetPWMRequest

public static final class Board.SetPWMRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Board.SetPWMRequest,Board.SetPWMRequest.Builder> implements Board.SetPWMRequestOrBuilder
Protobuf type viam.component.board.v1.SetPWMRequest
  • Method Details

    • getName

      public String getName()
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface Board.SetPWMRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface Board.SetPWMRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Board.SetPWMRequest.Builder setName(String value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Board.SetPWMRequest.Builder clearName()
      string name = 1 [json_name = "name"];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Board.SetPWMRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
      string name = 1 [json_name = "name"];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getPin

      public String getPin()
      string pin = 2 [json_name = "pin"];
      Specified by:
      getPin in interface Board.SetPWMRequestOrBuilder
      Returns:
      The pin.
    • getPinBytes

      public com.google.protobuf.ByteString getPinBytes()
      string pin = 2 [json_name = "pin"];
      Specified by:
      getPinBytes in interface Board.SetPWMRequestOrBuilder
      Returns:
      The bytes for pin.
    • setPin

      public Board.SetPWMRequest.Builder setPin(String value)
      string pin = 2 [json_name = "pin"];
      Parameters:
      value - The pin to set.
      Returns:
      This builder for chaining.
    • clearPin

      public Board.SetPWMRequest.Builder clearPin()
      string pin = 2 [json_name = "pin"];
      Returns:
      This builder for chaining.
    • setPinBytes

      public Board.SetPWMRequest.Builder setPinBytes(com.google.protobuf.ByteString value)
      string pin = 2 [json_name = "pin"];
      Parameters:
      value - The bytes for pin to set.
      Returns:
      This builder for chaining.
    • getDutyCyclePct

      public double getDutyCyclePct()
       0-1
       
      double duty_cycle_pct = 3 [json_name = "dutyCyclePct"];
      Specified by:
      getDutyCyclePct in interface Board.SetPWMRequestOrBuilder
      Returns:
      The dutyCyclePct.
    • setDutyCyclePct

      public Board.SetPWMRequest.Builder setDutyCyclePct(double value)
       0-1
       
      double duty_cycle_pct = 3 [json_name = "dutyCyclePct"];
      Parameters:
      value - The dutyCyclePct to set.
      Returns:
      This builder for chaining.
    • clearDutyCyclePct

      public Board.SetPWMRequest.Builder clearDutyCyclePct()
       0-1
       
      double duty_cycle_pct = 3 [json_name = "dutyCyclePct"];
      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 Board.SetPWMRequestOrBuilder
      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 Board.SetPWMRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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