Package com.google.cloud.optimization.v1
Interface WaypointOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Waypoint,Waypoint.Builder
public interface WaypointOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationgetLocation()A point specified using geographic coordinates, including an optional heading.LocationOrBuildergetLocationOrBuilder()A point specified using geographic coordinates, including an optional heading.Waypoint.LocationTypeCasegetLocationTypeCase()StringgetPlaceId()The POI Place ID associated with the waypoint.com.google.protobuf.ByteStringgetPlaceIdBytes()The POI Place ID associated with the waypoint.booleangetSideOfRoad()Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road.booleanhasLocation()A point specified using geographic coordinates, including an optional heading.booleanhasPlaceId()The POI Place ID associated with the waypoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocation
boolean hasLocation()
A point specified using geographic coordinates, including an optional heading.
.google.cloud.optimization.v1.Location location = 1;- Returns:
- Whether the location field is set.
-
getLocation
Location getLocation()
A point specified using geographic coordinates, including an optional heading.
.google.cloud.optimization.v1.Location location = 1;- Returns:
- The location.
-
getLocationOrBuilder
LocationOrBuilder getLocationOrBuilder()
A point specified using geographic coordinates, including an optional heading.
.google.cloud.optimization.v1.Location location = 1;
-
hasPlaceId
boolean hasPlaceId()
The POI Place ID associated with the waypoint.
string place_id = 2;- Returns:
- Whether the placeId field is set.
-
getPlaceId
String getPlaceId()
The POI Place ID associated with the waypoint.
string place_id = 2;- Returns:
- The placeId.
-
getPlaceIdBytes
com.google.protobuf.ByteString getPlaceIdBytes()
The POI Place ID associated with the waypoint.
string place_id = 2;- Returns:
- The bytes for placeId.
-
getSideOfRoad
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:
- The sideOfRoad.
-
getLocationTypeCase
Waypoint.LocationTypeCase getLocationTypeCase()
-
-