Package com.viam.component.board.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPinNames
(Iterable<String> values) Name of digital interrupts to recieve ticks fromaddPinNames
(String value) Name of digital interrupts to recieve ticks fromaddPinNamesBytes
(com.google.protobuf.ByteString value) Name of digital interrupts to recieve ticks fromAdditional arguments to the methodBoard nameName of digital interrupts to recieve ticks fromcom.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
Board namecom.google.protobuf.ByteString
Board namegetPinNames
(int index) Name of digital interrupts to recieve ticks fromcom.google.protobuf.ByteString
getPinNamesBytes
(int index) Name of digital interrupts to recieve ticks fromint
Name of digital interrupts to recieve ticks fromName of digital interrupts to recieve ticks fromboolean
hasExtra()
Additional arguments to the methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodBoard namesetNameBytes
(com.google.protobuf.ByteString value) Board namesetPinNames
(int index, String value) Name of digital interrupts to recieve ticks fromMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
Board name
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceBoard.StreamTicksRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Board name
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceBoard.StreamTicksRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
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
Board name
string name = 1 [json_name = "name"];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPinNamesList
Name of digital interrupts to recieve ticks from
repeated string pin_names = 2 [json_name = "pinNames"];
- Specified by:
getPinNamesList
in interfaceBoard.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 interfaceBoard.StreamTicksRequestOrBuilder
- Returns:
- The count of pinNames.
-
getPinNames
Name of digital interrupts to recieve ticks from
repeated string pin_names = 2 [json_name = "pinNames"];
- Specified by:
getPinNames
in interfaceBoard.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 interfaceBoard.StreamTicksRequestOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the pinNames at the given index.
-
setPinNames
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
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
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
Name of digital interrupts to recieve ticks from
repeated string pin_names = 2 [json_name = "pinNames"];
- Returns:
- This builder for chaining.
-
addPinNamesBytes
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 interfaceBoard.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 interfaceBoard.StreamTicksRequestOrBuilder
- Returns:
- The extra.
-
setExtra
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
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-