Interface WaypointOrBuilder (1.32.0)

public interface WaypointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract Location getLocation()

A point specified using geographic coordinates, including an optional heading.

.google.cloud.optimization.v1.Location location = 1;

Returns
TypeDescription
Location

The location.

getLocationOrBuilder()

public abstract LocationOrBuilder getLocationOrBuilder()

A point specified using geographic coordinates, including an optional heading.

.google.cloud.optimization.v1.Location location = 1;

Returns
TypeDescription
LocationOrBuilder

getLocationTypeCase()

public abstract Waypoint.LocationTypeCase getLocationTypeCase()
Returns
TypeDescription
Waypoint.LocationTypeCase

getPlaceId()

public abstract String getPlaceId()

The POI Place ID associated with the waypoint.

string place_id = 2;

Returns
TypeDescription
String

The placeId.

getPlaceIdBytes()

public abstract ByteString getPlaceIdBytes()

The POI Place ID associated with the waypoint.

string place_id = 2;

Returns
TypeDescription
ByteString

The bytes for placeId.

getSideOfRoad()

public abstract boolean getSideOfRoad()

Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road. When you set this value, the route will pass through the location so that the vehicle can stop at the side of road that the location is biased towards from the center of the road. This option works only for the 'DRIVING' travel mode, and when the 'location_type' is set to 'location'.

bool side_of_road = 3;

Returns
TypeDescription
boolean

The sideOfRoad.

hasLocation()

public abstract boolean hasLocation()

A point specified using geographic coordinates, including an optional heading.

.google.cloud.optimization.v1.Location location = 1;

Returns
TypeDescription
boolean

Whether the location field is set.

hasPlaceId()

public abstract boolean hasPlaceId()

The POI Place ID associated with the waypoint.

string place_id = 2;

Returns
TypeDescription
boolean

Whether the placeId field is set.