Package com.viam.component.board.v1
Class Board.ReadAnalogReaderResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Board.ReadAnalogReaderResponse,Board.ReadAnalogReaderResponse.Builder>
com.viam.component.board.v1.Board.ReadAnalogReaderResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Board.ReadAnalogReaderResponseOrBuilder
,Cloneable
- Enclosing class:
- Board.ReadAnalogReaderResponse
public static final class Board.ReadAnalogReaderResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Board.ReadAnalogReaderResponse,Board.ReadAnalogReaderResponse.Builder>
implements Board.ReadAnalogReaderResponseOrBuilder
Protobuf type
viam.component.board.v1.ReadAnalogReaderResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionfloat max_range = 3 [json_name = "maxRange"];
float min_range = 2 [json_name = "minRange"];
float step_size = 4 [json_name = "stepSize"];
int32 value = 1 [json_name = "value"];
float
float max_range = 3 [json_name = "maxRange"];
float
float min_range = 2 [json_name = "minRange"];
float
float step_size = 4 [json_name = "stepSize"];
int
getValue()
int32 value = 1 [json_name = "value"];
setMaxRange
(float value) float max_range = 3 [json_name = "maxRange"];
setMinRange
(float value) float min_range = 2 [json_name = "minRange"];
setStepSize
(float value) float step_size = 4 [json_name = "stepSize"];
setValue
(int value) int32 value = 1 [json_name = "value"];
Methods 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
-
getValue
public int getValue()int32 value = 1 [json_name = "value"];
- Specified by:
getValue
in interfaceBoard.ReadAnalogReaderResponseOrBuilder
- Returns:
- The value.
-
setValue
int32 value = 1 [json_name = "value"];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
int32 value = 1 [json_name = "value"];
- Returns:
- This builder for chaining.
-
getMinRange
public float getMinRange()float min_range = 2 [json_name = "minRange"];
- Specified by:
getMinRange
in interfaceBoard.ReadAnalogReaderResponseOrBuilder
- Returns:
- The minRange.
-
setMinRange
float min_range = 2 [json_name = "minRange"];
- Parameters:
value
- The minRange to set.- Returns:
- This builder for chaining.
-
clearMinRange
float min_range = 2 [json_name = "minRange"];
- Returns:
- This builder for chaining.
-
getMaxRange
public float getMaxRange()float max_range = 3 [json_name = "maxRange"];
- Specified by:
getMaxRange
in interfaceBoard.ReadAnalogReaderResponseOrBuilder
- Returns:
- The maxRange.
-
setMaxRange
float max_range = 3 [json_name = "maxRange"];
- Parameters:
value
- The maxRange to set.- Returns:
- This builder for chaining.
-
clearMaxRange
float max_range = 3 [json_name = "maxRange"];
- Returns:
- This builder for chaining.
-
getStepSize
public float getStepSize()float step_size = 4 [json_name = "stepSize"];
- Specified by:
getStepSize
in interfaceBoard.ReadAnalogReaderResponseOrBuilder
- Returns:
- The stepSize.
-
setStepSize
float step_size = 4 [json_name = "stepSize"];
- Parameters:
value
- The stepSize to set.- Returns:
- This builder for chaining.
-
clearStepSize
float step_size = 4 [json_name = "stepSize"];
- Returns:
- This builder for chaining.
-