Class Board.StreamTicksResponse.Builder

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

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

    • getPinName

      public String getPinName()
       name of interrupt
       
      string pin_name = 1 [json_name = "pinName"];
      Specified by:
      getPinName in interface Board.StreamTicksResponseOrBuilder
      Returns:
      The pinName.
    • getPinNameBytes

      public com.google.protobuf.ByteString getPinNameBytes()
       name of interrupt
       
      string pin_name = 1 [json_name = "pinName"];
      Specified by:
      getPinNameBytes in interface Board.StreamTicksResponseOrBuilder
      Returns:
      The bytes for pinName.
    • setPinName

      public Board.StreamTicksResponse.Builder setPinName(String value)
       name of interrupt
       
      string pin_name = 1 [json_name = "pinName"];
      Parameters:
      value - The pinName to set.
      Returns:
      This builder for chaining.
    • clearPinName

      public Board.StreamTicksResponse.Builder clearPinName()
       name of interrupt
       
      string pin_name = 1 [json_name = "pinName"];
      Returns:
      This builder for chaining.
    • setPinNameBytes

      public Board.StreamTicksResponse.Builder setPinNameBytes(com.google.protobuf.ByteString value)
       name of interrupt
       
      string pin_name = 1 [json_name = "pinName"];
      Parameters:
      value - The bytes for pinName to set.
      Returns:
      This builder for chaining.
    • getTime

      public long getTime()
       Time in nanoseconds of a tick
       
      uint64 time = 2 [json_name = "time"];
      Specified by:
      getTime in interface Board.StreamTicksResponseOrBuilder
      Returns:
      The time.
    • setTime

      public Board.StreamTicksResponse.Builder setTime(long value)
       Time in nanoseconds of a tick
       
      uint64 time = 2 [json_name = "time"];
      Parameters:
      value - The time to set.
      Returns:
      This builder for chaining.
    • clearTime

       Time in nanoseconds of a tick
       
      uint64 time = 2 [json_name = "time"];
      Returns:
      This builder for chaining.
    • getHigh

      public boolean getHigh()
       Value high or low of the tick
       
      bool high = 3 [json_name = "high"];
      Specified by:
      getHigh in interface Board.StreamTicksResponseOrBuilder
      Returns:
      The high.
    • setHigh

      public Board.StreamTicksResponse.Builder setHigh(boolean value)
       Value high or low of the tick
       
      bool high = 3 [json_name = "high"];
      Parameters:
      value - The high to set.
      Returns:
      This builder for chaining.
    • clearHigh

       Value high or low of the tick
       
      bool high = 3 [json_name = "high"];
      Returns:
      This builder for chaining.