Class Board.PWMRequest.Builder

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

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

    • getName

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

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

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

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

      public Board.PWMRequest.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.PWMRequestOrBuilder
      Returns:
      The pin.
    • getPinBytes

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

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

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

      public Board.PWMRequest.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.
    • hasExtra

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

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

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

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

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