Package com.viam.service.navigation.v1
Class Navigation.Path.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Path,Navigation.Path.Builder>
com.viam.service.navigation.v1.Navigation.Path.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Navigation.PathOrBuilder
,Cloneable
- Enclosing class:
- Navigation.Path
public static final class Navigation.Path.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Navigation.Path,Navigation.Path.Builder>
implements Navigation.PathOrBuilder
A user provided destination and the set of geopoints that the robot is expected to take to get thereProtobuf type
viam.service.navigation.v1.Path
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllGeopoints
(Iterable<? extends Common.GeoPoint> values) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathaddGeopoints
(int index, Common.GeoPoint value) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathaddGeopoints
(int index, Common.GeoPoint.Builder builderForValue) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathaddGeopoints
(Common.GeoPoint value) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathaddGeopoints
(Common.GeoPoint.Builder builderForValue) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathThe id of the user specified waypointList of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathThe id of the user specified waypointcom.google.protobuf.ByteString
The id of the user specified waypointgetGeopoints
(int index) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathint
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathList of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathremoveGeopoints
(int index) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathsetDestinationWaypointId
(String value) The id of the user specified waypointsetDestinationWaypointIdBytes
(com.google.protobuf.ByteString value) The id of the user specified waypointsetGeopoints
(int index, Common.GeoPoint value) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathsetGeopoints
(int index, Common.GeoPoint.Builder builderForValue) List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that pathMethods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getDestinationWaypointId
The id of the user specified waypoint
string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
- Specified by:
getDestinationWaypointId
in interfaceNavigation.PathOrBuilder
- Returns:
- The destinationWaypointId.
-
getDestinationWaypointIdBytes
public com.google.protobuf.ByteString getDestinationWaypointIdBytes()The id of the user specified waypoint
string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
- Specified by:
getDestinationWaypointIdBytes
in interfaceNavigation.PathOrBuilder
- Returns:
- The bytes for destinationWaypointId.
-
setDestinationWaypointId
The id of the user specified waypoint
string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
- Parameters:
value
- The destinationWaypointId to set.- Returns:
- This builder for chaining.
-
clearDestinationWaypointId
The id of the user specified waypoint
string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
- Returns:
- This builder for chaining.
-
setDestinationWaypointIdBytes
The id of the user specified waypoint
string destination_waypoint_id = 1 [json_name = "destinationWaypointId"];
- Parameters:
value
- The bytes for destinationWaypointId to set.- Returns:
- This builder for chaining.
-
getGeopointsList
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
- Specified by:
getGeopointsList
in interfaceNavigation.PathOrBuilder
-
getGeopointsCount
public int getGeopointsCount()List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
- Specified by:
getGeopointsCount
in interfaceNavigation.PathOrBuilder
-
getGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
- Specified by:
getGeopoints
in interfaceNavigation.PathOrBuilder
-
setGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
setGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
addGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
addGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
addGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
addGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
addAllGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
clearGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-
removeGeopoints
List of geopoints that the motion planner output to reach the destination The first geopoint is the starting position of the robot for that path
repeated .viam.common.v1.GeoPoint geopoints = 2 [json_name = "geopoints"];
-