Package com.viam.service.navigation.v1
Interface Navigation.AddLocationRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Navigation.AddLocationRequest,Navigation.AddLocationRequest.Builder
- Enclosing class:
Navigation
public static interface Navigation.AddLocationRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.StructgetExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];Name of the location to savecom.google.protobuf.ByteStringName of the location to savegetName()Name of the navigation servicecom.google.protobuf.ByteStringName of the navigation serviceOmit to use the robot's current PositionbooleanhasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];booleanOmit to use the robot's current PositionMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()Name of the navigation service
string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the navigation service
string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
getLocationName
String getLocationName()Name of the location to save
string location_name = 2 [json_name = "locationName"];- Returns:
- The locationName.
-
getLocationNameBytes
com.google.protobuf.ByteString getLocationNameBytes()Name of the location to save
string location_name = 2 [json_name = "locationName"];- Returns:
- The bytes for locationName.
-
hasPosition
boolean hasPosition()Omit to use the robot's current Position
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Returns:
- Whether the position field is set.
-
getPosition
Navigation.Position getPosition()Omit to use the robot's current Position
optional .viam.service.navigation.v1.Position position = 3 [json_name = "position"];- Returns:
- The position.
-
hasExtra
boolean hasExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- Whether the extra field is set.
-
getExtra
com.google.protobuf.Struct getExtra().google.protobuf.Struct extra = 99 [json_name = "extra"];- Returns:
- The extra.
-