Package com.viam.component.base.v1
Interface Base.MoveStraightRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Base.MoveStraightRequest,Base.MoveStraightRequest.Builder
- Enclosing class:
- Base
public static interface Base.MoveStraightRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongDesired travel distance in millimeterscom.google.protobuf.StructgetExtra()Additional arguments to the methoddoubleDesired travel velocity in millimeters/secondgetName()Name of a basecom.google.protobuf.ByteStringName of a basebooleanhasExtra()Additional arguments to the methodMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()Name of a base
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of a base
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getDistanceMm
long getDistanceMm()Desired travel distance in millimeters
int64 distance_mm = 2 [json_name = "distanceMm"];- Returns:
- The distanceMm.
-
getMmPerSec
double getMmPerSec()Desired travel velocity in millimeters/second
double mm_per_sec = 3 [json_name = "mmPerSec"];- Returns:
- The mmPerSec.
-
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.
-