- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
public static interface ShipmentRoute.TravelStepOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDistanceMeters() (deprecated)
public abstract double getDistanceMeters()
Distance traveled during the step.
double distance_meters = 2;
Returns | |
---|---|
Type | Description |
double | The distanceMeters. |
getDuration() (deprecated)
public abstract Duration getDuration()
Duration of the travel step.
.google.protobuf.Duration duration = 1;
Returns | |
---|---|
Type | Description |
Duration | The duration. |
getDurationOrBuilder() (deprecated)
public abstract DurationOrBuilder getDurationOrBuilder()
Duration of the travel step.
.google.protobuf.Duration duration = 1;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getRoutePolyline() (deprecated)
public abstract ShipmentRoute.EncodedPolyline getRoutePolyline()
The encoded polyline representation of the route followed during the step.
This field is only populated if OptimizeToursRequest.populate_travel_step_polylines is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 4;
Returns | |
---|---|
Type | Description |
ShipmentRoute.EncodedPolyline | The routePolyline. |
getRoutePolylineOrBuilder() (deprecated)
public abstract ShipmentRoute.EncodedPolylineOrBuilder getRoutePolylineOrBuilder()
The encoded polyline representation of the route followed during the step.
This field is only populated if OptimizeToursRequest.populate_travel_step_polylines is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 4;
Returns | |
---|---|
Type | Description |
ShipmentRoute.EncodedPolylineOrBuilder |
getTrafficInfoUnavailable() (deprecated)
public abstract boolean getTrafficInfoUnavailable()
When traffic is requested via OptimizeToursRequest.consider_road_traffic, and the traffic info couldn't be retrieved for a TravelStep, this boolean is set to true. This may be temporary (rare hiccup in the realtime traffic servers) or permanent (no data for this location).
bool traffic_info_unavailable = 3;
Returns | |
---|---|
Type | Description |
boolean | The trafficInfoUnavailable. |
hasDuration() (deprecated)
public abstract boolean hasDuration()
Duration of the travel step.
.google.protobuf.Duration duration = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the duration field is set. |
hasRoutePolyline() (deprecated)
public abstract boolean hasRoutePolyline()
The encoded polyline representation of the route followed during the step.
This field is only populated if OptimizeToursRequest.populate_travel_step_polylines is set to true.
.google.cloud.optimization.v1.ShipmentRoute.EncodedPolyline route_polyline = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the routePolyline field is set. |