Package com.viam.component.servo.v1
Interface Servo.MoveRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Servo.MoveRequest,Servo.MoveRequest.Builder
- Enclosing class:
- Servo
public static interface Servo.MoveRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintthe degrees by which to rotate the servo.com.google.protobuf.StructgetExtra()Additional arguments to the methodgetName()the name of the servo, as registeredcom.google.protobuf.ByteStringthe name of the servo, as registeredbooleanhasExtra()Additional arguments to the methodMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()the name of the servo, as registered
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()the name of the servo, as registered
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getAngleDeg
int getAngleDeg()the degrees by which to rotate the servo.
uint32 angle_deg = 2 [json_name = "angleDeg"];- Returns:
- The angleDeg.
-
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.
-