Package com.viam.component.encoder.v1
Interface Encoder.GetPositionResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Encoder.GetPositionResponse
,Encoder.GetPositionResponse.Builder
- Enclosing class:
- Encoder
public static interface Encoder.GetPositionResponseOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.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"];
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getValue
float getValue()float value = 1 [json_name = "value"];
- Returns:
- The value.
-
getPositionTypeValue
int getPositionTypeValue().viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Returns:
- The enum numeric value on the wire for positionType.
-
getPositionType
Encoder.PositionType getPositionType().viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Returns:
- The positionType.
-