Class Board.StreamTicksRequest.Builder

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

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

    • getName

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

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

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

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

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

      public List<String> getPinNamesList()
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Specified by:
      getPinNamesList in interface Board.StreamTicksRequestOrBuilder
      Returns:
      A list containing the pinNames.
    • getPinNamesCount

      public int getPinNamesCount()
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Specified by:
      getPinNamesCount in interface Board.StreamTicksRequestOrBuilder
      Returns:
      The count of pinNames.
    • getPinNames

      public String getPinNames(int index)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Specified by:
      getPinNames in interface Board.StreamTicksRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The pinNames at the given index.
    • getPinNamesBytes

      public com.google.protobuf.ByteString getPinNamesBytes(int index)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Specified by:
      getPinNamesBytes in interface Board.StreamTicksRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the pinNames at the given index.
    • setPinNames

      public Board.StreamTicksRequest.Builder setPinNames(int index, String value)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Parameters:
      index - The index to set the value at.
      value - The pinNames to set.
      Returns:
      This builder for chaining.
    • addPinNames

      public Board.StreamTicksRequest.Builder addPinNames(String value)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Parameters:
      value - The pinNames to add.
      Returns:
      This builder for chaining.
    • addAllPinNames

      public Board.StreamTicksRequest.Builder addAllPinNames(Iterable<String> values)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Parameters:
      values - The pinNames to add.
      Returns:
      This builder for chaining.
    • clearPinNames

      public Board.StreamTicksRequest.Builder clearPinNames()
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Returns:
      This builder for chaining.
    • addPinNamesBytes

      public Board.StreamTicksRequest.Builder addPinNamesBytes(com.google.protobuf.ByteString value)
       Name of digital interrupts to recieve ticks from
       
      repeated string pin_names = 2 [json_name = "pinNames"];
      Parameters:
      value - The bytes of the pinNames to add.
      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.StreamTicksRequestOrBuilder
      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.StreamTicksRequestOrBuilder
      Returns:
      The extra.
    • setExtra

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

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

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

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