- 1.52.0 (latest)
- 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 interface AggregatedMetricsOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsCosts(String key)
public abstract boolean containsCosts(String key)
Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
Name | Description |
key | String |
Type | Description |
boolean |
containsMaxLoads(String key)
public abstract boolean containsMaxLoads(String key)
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all Transition.vehicle_loads (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
Name | Description |
key | String |
Type | Description |
boolean |
getBreakDuration()
public abstract Duration getBreakDuration()
Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
Type | Description |
Duration | The breakDuration. |
getBreakDurationOrBuilder()
public abstract DurationOrBuilder getBreakDurationOrBuilder()
Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
Type | Description |
DurationOrBuilder |
getCosts()
public abstract Map<String,Double> getCosts()
Use #getCostsMap() instead.
Type | Description |
Map<String,Double> |
getCostsCount()
public abstract int getCostsCount()
Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
Type | Description |
int |
getCostsMap()
public abstract Map<String,Double> getCostsMap()
Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
Type | Description |
Map<String,Double> |
getCostsOrDefault(String key, double defaultValue)
public abstract double getCostsOrDefault(String key, double defaultValue)
Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
Name | Description |
key | String |
defaultValue | double |
Type | Description |
double |
getCostsOrThrow(String key)
public abstract double getCostsOrThrow(String key)
Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
Name | Description |
key | String |
Type | Description |
double |
getDelayDuration()
public abstract Duration getDelayDuration()
Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
Type | Description |
Duration | The delayDuration. |
getDelayDurationOrBuilder()
public abstract DurationOrBuilder getDelayDurationOrBuilder()
Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
Type | Description |
DurationOrBuilder |
getMaxLoads()
public abstract Map<String,ShipmentRoute.VehicleLoad> getMaxLoads()
Use #getMaxLoadsMap() instead.
Type | Description |
Map<String,VehicleLoad> |
getMaxLoadsCount()
public abstract int getMaxLoadsCount()
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all Transition.vehicle_loads (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
Type | Description |
int |
getMaxLoadsMap()
public abstract Map<String,ShipmentRoute.VehicleLoad> getMaxLoadsMap()
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all Transition.vehicle_loads (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
Type | Description |
Map<String,VehicleLoad> |
getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue)
public abstract ShipmentRoute.VehicleLoad getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue)
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all Transition.vehicle_loads (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
Name | Description |
key | String |
defaultValue | ShipmentRoute.VehicleLoad |
Type | Description |
ShipmentRoute.VehicleLoad |
getMaxLoadsOrThrow(String key)
public abstract ShipmentRoute.VehicleLoad getMaxLoadsOrThrow(String key)
Maximum load achieved over the entire route (resp. solution), for each of the quantities on this route (resp. solution), computed as the maximum over all Transition.vehicle_loads (resp. ShipmentRoute.metrics.max_loads.
map<string, .google.cloud.optimization.v1.ShipmentRoute.VehicleLoad> max_loads = 9;
Name | Description |
key | String |
Type | Description |
ShipmentRoute.VehicleLoad |
getPerformedShipmentCount()
public abstract int getPerformedShipmentCount()
Number of shipments performed. Note that a pickup and delivery pair only counts once.
int32 performed_shipment_count = 1;
Type | Description |
int | The performedShipmentCount. |
getTotalCost() (deprecated)
public abstract double getTotalCost()
Deprecated. google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2331
Deprecated: Use ShipmentRoute.route_total_cost and OptimizeToursResponse.Metrics.total_cost instead.
double total_cost = 11 [deprecated = true];
Type | Description |
double | The totalCost. |
getTotalDuration()
public abstract Duration getTotalDuration()
The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
Type | Description |
Duration | The totalDuration. |
getTotalDurationOrBuilder()
public abstract DurationOrBuilder getTotalDurationOrBuilder()
The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
Type | Description |
DurationOrBuilder |
getTravelDistanceMeters()
public abstract double getTravelDistanceMeters()
Total travel distance for a route or a solution.
double travel_distance_meters = 8;
Type | Description |
double | The travelDistanceMeters. |
getTravelDuration()
public abstract Duration getTravelDuration()
Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
Type | Description |
Duration | The travelDuration. |
getTravelDurationOrBuilder()
public abstract DurationOrBuilder getTravelDurationOrBuilder()
Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
Type | Description |
DurationOrBuilder |
getVisitDuration()
public abstract Duration getVisitDuration()
Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
Type | Description |
Duration | The visitDuration. |
getVisitDurationOrBuilder()
public abstract DurationOrBuilder getVisitDurationOrBuilder()
Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
Type | Description |
DurationOrBuilder |
getWaitDuration()
public abstract Duration getWaitDuration()
Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
Type | Description |
Duration | The waitDuration. |
getWaitDurationOrBuilder()
public abstract DurationOrBuilder getWaitDurationOrBuilder()
Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
Type | Description |
DurationOrBuilder |
hasBreakDuration()
public abstract boolean hasBreakDuration()
Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
Type | Description |
boolean | Whether the breakDuration field is set. |
hasDelayDuration()
public abstract boolean hasDelayDuration()
Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
Type | Description |
boolean | Whether the delayDuration field is set. |
hasTotalDuration()
public abstract boolean hasTotalDuration()
The total duration should be equal to the sum of all durations above. For routes, it also corresponds to ShipmentRoute.vehicle_end_time - ShipmentRoute.vehicle_start_time.
.google.protobuf.Duration total_duration = 7;
Type | Description |
boolean | Whether the totalDuration field is set. |
hasTravelDuration()
public abstract boolean hasTravelDuration()
Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
Type | Description |
boolean | Whether the travelDuration field is set. |
hasVisitDuration()
public abstract boolean hasVisitDuration()
Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
Type | Description |
boolean | Whether the visitDuration field is set. |
hasWaitDuration()
public abstract boolean hasWaitDuration()
Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
Type | Description |
boolean | Whether the waitDuration field is set. |