Interface AggregatedMetricsOrBuilder (1.26.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 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
publicinterface AggregatedMetricsOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
containsCosts(String key)
publicabstractbooleancontainsCosts(Stringkey)Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsMaxLoads(String key)
publicabstractbooleancontainsMaxLoads(Stringkey)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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getBreakDuration()
publicabstractDurationgetBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
Duration |
The breakDuration. |
getBreakDurationOrBuilder()
publicabstractDurationOrBuildergetBreakDurationOrBuilder()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getCosts()
publicabstractMap<String,Double>getCosts()Use #getCostsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,Double> |
|
getCostsCount()
publicabstractintgetCostsCount()Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCostsMap()
publicabstractMap<String,Double>getCostsMap()Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
Map<String,Double> |
|
getCostsOrDefault(String key, double defaultValue)
publicabstractdoublegetCostsOrDefault(Stringkey,doubledefaultValue)Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
double |
| Returns | |
|---|---|
| Type | Description |
double |
|
getCostsOrThrow(String key)
publicabstractdoublegetCostsOrThrow(Stringkey)Deprecated: Use ShipmentRoute.route_costs and OptimizeToursResponse.Metrics.costs instead.
map<string, double> costs = 10 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
double |
|
getDelayDuration()
publicabstractDurationgetDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
Duration |
The delayDuration. |
getDelayDurationOrBuilder()
publicabstractDurationOrBuildergetDelayDurationOrBuilder()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getMaxLoads()
publicabstractMap<String,ShipmentRoute.VehicleLoad>getMaxLoads()Use #getMaxLoadsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,VehicleLoad> |
|
getMaxLoadsCount()
publicabstractintgetMaxLoadsCount()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;
| Returns | |
|---|---|
| Type | Description |
int |
|
getMaxLoadsMap()
publicabstractMap<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;
| Returns | |
|---|---|
| Type | Description |
Map<String,VehicleLoad> |
|
getMaxLoadsOrDefault(String key, ShipmentRoute.VehicleLoad defaultValue)
publicabstractShipmentRoute.VehicleLoadgetMaxLoadsOrDefault(Stringkey,ShipmentRoute.VehicleLoaddefaultValue)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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ShipmentRoute.VehicleLoad |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.VehicleLoad |
|
getMaxLoadsOrThrow(String key)
publicabstractShipmentRoute.VehicleLoadgetMaxLoadsOrThrow(Stringkey)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;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ShipmentRoute.VehicleLoad |
|
getPerformedShipmentCount()
publicabstractintgetPerformedShipmentCount()Number of shipments performed. Note that a pickup and delivery pair only counts once.
int32 performed_shipment_count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The performedShipmentCount. |
getTotalCost() (deprecated)
publicabstractdoublegetTotalCost()Deprecated. google.cloud.optimization.v1.AggregatedMetrics.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=2351
Deprecated: Use ShipmentRoute.route_total_cost and OptimizeToursResponse.Metrics.total_cost instead.
double total_cost = 11 [deprecated = true];
| Returns | |
|---|---|
| Type | Description |
double |
The totalCost. |
getTotalDuration()
publicabstractDurationgetTotalDuration() 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;
| Returns | |
|---|---|
| Type | Description |
Duration |
The totalDuration. |
getTotalDurationOrBuilder()
publicabstractDurationOrBuildergetTotalDurationOrBuilder() 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;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getTravelDistanceMeters()
publicabstractdoublegetTravelDistanceMeters()Total travel distance for a route or a solution.
double travel_distance_meters = 8;
| Returns | |
|---|---|
| Type | Description |
double |
The travelDistanceMeters. |
getTravelDuration()
publicabstractDurationgetTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The travelDuration. |
getTravelDurationOrBuilder()
publicabstractDurationOrBuildergetTravelDurationOrBuilder()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getVisitDuration()
publicabstractDurationgetVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
| Returns | |
|---|---|
| Type | Description |
Duration |
The visitDuration. |
getVisitDurationOrBuilder()
publicabstractDurationOrBuildergetVisitDurationOrBuilder()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getWaitDuration()
publicabstractDurationgetWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The waitDuration. |
getWaitDurationOrBuilder()
publicabstractDurationOrBuildergetWaitDurationOrBuilder()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasBreakDuration()
publicabstractbooleanhasBreakDuration()Total break duration for a route or a solution.
.google.protobuf.Duration break_duration = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the breakDuration field is set. |
hasDelayDuration()
publicabstractbooleanhasDelayDuration()Total delay duration for a route or a solution.
.google.protobuf.Duration delay_duration = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the delayDuration field is set. |
hasTotalDuration()
publicabstractbooleanhasTotalDuration() 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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the totalDuration field is set. |
hasTravelDuration()
publicabstractbooleanhasTravelDuration()Total travel duration for a route or a solution.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the travelDuration field is set. |
hasVisitDuration()
publicabstractbooleanhasVisitDuration()Total visit duration for a route or a solution.
.google.protobuf.Duration visit_duration = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the visitDuration field is set. |
hasWaitDuration()
publicabstractbooleanhasWaitDuration()Total wait duration for a route or a solution.
.google.protobuf.Duration wait_duration = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the waitDuration field is set. |