Package com.viam.component.motor.v1
Interface Motor.SetRPMRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Motor.SetRPMRequest
,Motor.SetRPMRequest.Builder
- Enclosing class:
- Motor
public static interface Motor.SetRPMRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()Name of a motor
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of a motor
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
getRpm
double getRpm()Speed of motor travel in rotations per minute
double rpm = 2 [json_name = "rpm"];
- Returns:
- The rpm.
-
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.
-