Class Board.WriteAnalogRequest.Builder

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

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

    • getName

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

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

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

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

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

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

      string pin = 2 [json_name = "pin"];
      Parameters:
      value - The pin to set.
      Returns:
      This builder for chaining.
    • clearPin

      string pin = 2 [json_name = "pin"];
      Returns:
      This builder for chaining.
    • setPinBytes

      public Board.WriteAnalogRequest.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.
    • getValue

      public int getValue()
      int32 value = 3 [json_name = "value"];
      Specified by:
      getValue in interface Board.WriteAnalogRequestOrBuilder
      Returns:
      The value.
    • setValue

      public Board.WriteAnalogRequest.Builder setValue(int value)
      int32 value = 3 [json_name = "value"];
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public Board.WriteAnalogRequest.Builder clearValue()
      int32 value = 3 [json_name = "value"];
      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.WriteAnalogRequestOrBuilder
      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.WriteAnalogRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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