Package com.viam.component.encoder.v1
Interface Encoder.GetPositionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Encoder.GetPositionRequest
,Encoder.GetPositionRequest.Builder
- Enclosing class:
- Encoder
public static interface Encoder.GetPositionRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
getExtra()
Additional arguments to the methodgetName()
Name of encodercom.google.protobuf.ByteString
Name of encoderIf supplied, the response will return the specified position type.int
If supplied, the response will return the specified position type.boolean
hasExtra()
Additional arguments to the methodboolean
If supplied, the response will return the specified position type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()Name of encoder
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of encoder
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
hasPositionType
boolean hasPositionType()If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Returns:
- Whether the positionType field is set.
-
getPositionTypeValue
int getPositionTypeValue()If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .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()If supplied, the response will return the specified position type. If the driver does not implement the requested type, this call will return an error. If position type is not specified, the response will return a default according to the driver.
optional .viam.component.encoder.v1.PositionType position_type = 2 [json_name = "positionType"];
- Returns:
- The positionType.
-
hasExtra
boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Returns:
- The extra.
-