Package com.viam.component.encoder.v1
Class Encoder.GetPositionResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Encoder.GetPositionResponse,Encoder.GetPositionResponse.Builder>
com.viam.component.encoder.v1.Encoder.GetPositionResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Encoder.GetPositionResponseOrBuilder
,Cloneable
- Enclosing class:
- Encoder.GetPositionResponse
public static final class Encoder.GetPositionResponse.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Encoder.GetPositionResponse,Encoder.GetPositionResponse.Builder>
implements Encoder.GetPositionResponseOrBuilder
Protobuf type
viam.component.encoder.v1.GetPositionResponse
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
float value = 1 [json_name = "value"];
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
int
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
float
getValue()
float value = 1 [json_name = "value"];
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
setPositionTypeValue
(int value) .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
setValue
(float value) float 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 float getValue()float value = 1 [json_name = "value"];
- Specified by:
getValue
in interfaceEncoder.GetPositionResponseOrBuilder
- Returns:
- The value.
-
setValue
float value = 1 [json_name = "value"];
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
float value = 1 [json_name = "value"];
- Returns:
- This builder for chaining.
-
getPositionTypeValue
public int getPositionTypeValue().viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Specified by:
getPositionTypeValue
in interfaceEncoder.GetPositionResponseOrBuilder
- Returns:
- The enum numeric value on the wire for positionType.
-
setPositionTypeValue
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Parameters:
value
- The positionType to set.- Returns:
- This builder for chaining.
-
getPositionType
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Specified by:
getPositionType
in interfaceEncoder.GetPositionResponseOrBuilder
- Returns:
- The positionType.
-
setPositionType
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Parameters:
value
- The enum numeric value on the wire for positionType to set.- Returns:
- This builder for chaining.
-
clearPositionType
.viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Returns:
- This builder for chaining.
-