Package com.viam.component.board.v1
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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionAdditional arguments to the methodstring name = 1 [json_name = "name"];clearPin()string pin = 2 [json_name = "pin"];int32 value = 3 [json_name = "value"];com.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringstring name = 1 [json_name = "name"];getPin()string pin = 2 [json_name = "pin"];com.google.protobuf.ByteStringstring pin = 2 [json_name = "pin"];intgetValue()int32 value = 3 [json_name = "value"];booleanhasExtra()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 methodstring name = 1 [json_name = "name"];setNameBytes(com.google.protobuf.ByteString value) string name = 1 [json_name = "name"];string pin = 2 [json_name = "pin"];setPinBytes(com.google.protobuf.ByteString value) string pin = 2 [json_name = "pin"];setValue(int value) int32 value = 3 [json_name = "value"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceBoard.WriteAnalogRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceBoard.WriteAnalogRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPin
string pin = 2 [json_name = "pin"];- Specified by:
getPinin interfaceBoard.WriteAnalogRequestOrBuilder- Returns:
- The pin.
-
getPinBytes
public com.google.protobuf.ByteString getPinBytes()string pin = 2 [json_name = "pin"];- Specified by:
getPinBytesin interfaceBoard.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
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:
getValuein interfaceBoard.WriteAnalogRequestOrBuilder- Returns:
- The value.
-
setValue
int32 value = 3 [json_name = "value"];- Parameters:
value- The value to set.- Returns:
- This builder for chaining.
-
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:
hasExtrain interfaceBoard.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:
getExtrain interfaceBoard.WriteAnalogRequestOrBuilder- Returns:
- The extra.
-
setExtra
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
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"];
-