Package com.viam.component.board.v1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionValue high or low of the tickname of interruptTime in nanoseconds of a tickboolean
getHigh()
Value high or low of the tickname of interruptcom.google.protobuf.ByteString
name of interruptlong
getTime()
Time in nanoseconds of a ticksetHigh
(boolean value) Value high or low of the ticksetPinName
(String value) name of interruptsetPinNameBytes
(com.google.protobuf.ByteString value) name of interruptsetTime
(long value) Time in nanoseconds of a tickMethods 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
-
getPinName
name of interrupt
string pin_name = 1 [json_name = "pinName"];
- Specified by:
getPinName
in interfaceBoard.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 interfaceBoard.StreamTicksResponseOrBuilder
- Returns:
- The bytes for pinName.
-
setPinName
name of interrupt
string pin_name = 1 [json_name = "pinName"];
- Parameters:
value
- The pinName to set.- Returns:
- This builder for chaining.
-
clearPinName
name of interrupt
string pin_name = 1 [json_name = "pinName"];
- Returns:
- This builder for chaining.
-
setPinNameBytes
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 interfaceBoard.StreamTicksResponseOrBuilder
- Returns:
- The time.
-
setTime
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 interfaceBoard.StreamTicksResponseOrBuilder
- Returns:
- The high.
-
setHigh
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.
-