- 1.51.0 (latest)
- 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 OptimizeToursResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMetrics()
public abstract OptimizeToursResponse.Metrics getMetrics()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
Returns | |
---|---|
Type | Description |
OptimizeToursResponse.Metrics | The metrics. |
getMetricsOrBuilder()
public abstract OptimizeToursResponse.MetricsOrBuilder getMetricsOrBuilder()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
Returns | |
---|---|
Type | Description |
OptimizeToursResponse.MetricsOrBuilder |
getRequestLabel()
public abstract String getRequestLabel()
Copy of the OptimizeToursRequest.label, if a label was specified in the request.
string request_label = 3;
Returns | |
---|---|
Type | Description |
String | The requestLabel. |
getRequestLabelBytes()
public abstract ByteString getRequestLabelBytes()
Copy of the OptimizeToursRequest.label, if a label was specified in the request.
string request_label = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for requestLabel. |
getRoutes(int index)
public abstract ShipmentRoute getRoutes(int index)
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ShipmentRoute |
getRoutesCount()
public abstract int getRoutesCount()
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
Returns | |
---|---|
Type | Description |
int |
getRoutesList()
public abstract List<ShipmentRoute> getRoutesList()
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
Returns | |
---|---|
Type | Description |
List<ShipmentRoute> |
getRoutesOrBuilder(int index)
public abstract ShipmentRouteOrBuilder getRoutesOrBuilder(int index)
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ShipmentRouteOrBuilder |
getRoutesOrBuilderList()
public abstract List<? extends ShipmentRouteOrBuilder> getRoutesOrBuilderList()
Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.optimization.v1.ShipmentRouteOrBuilder> |
getSkippedShipments(int index)
public abstract SkippedShipment getSkippedShipments(int index)
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SkippedShipment |
getSkippedShipmentsCount()
public abstract int getSkippedShipmentsCount()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
Returns | |
---|---|
Type | Description |
int |
getSkippedShipmentsList()
public abstract List<SkippedShipment> getSkippedShipmentsList()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
Returns | |
---|---|
Type | Description |
List<SkippedShipment> |
getSkippedShipmentsOrBuilder(int index)
public abstract SkippedShipmentOrBuilder getSkippedShipmentsOrBuilder(int index)
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
SkippedShipmentOrBuilder |
getSkippedShipmentsOrBuilderList()
public abstract List<? extends SkippedShipmentOrBuilder> getSkippedShipmentsOrBuilderList()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.optimization.v1.SkippedShipmentOrBuilder> |
getTotalCost() (deprecated)
public abstract double getTotalCost()
Deprecated. google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=425
Deprecated: Use Metrics.total_cost instead. Total cost of the solution. This takes into account all costs: costs per per hour and travel hour, fixed vehicle costs, unperformed shipment penalty costs, global duration cost, etc.
double total_cost = 2 [deprecated = true];
Returns | |
---|---|
Type | Description |
double | The totalCost. |
getValidationErrors(int index)
public abstract OptimizeToursValidationError getValidationErrors(int index)
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OptimizeToursValidationError |
getValidationErrorsCount()
public abstract int getValidationErrorsCount()
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
Returns | |
---|---|
Type | Description |
int |
getValidationErrorsList()
public abstract List<OptimizeToursValidationError> getValidationErrorsList()
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
Returns | |
---|---|
Type | Description |
List<OptimizeToursValidationError> |
getValidationErrorsOrBuilder(int index)
public abstract OptimizeToursValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
OptimizeToursValidationErrorOrBuilder |
getValidationErrorsOrBuilderList()
public abstract List<? extends OptimizeToursValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the OptimizeToursValidationError message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.optimization.v1.OptimizeToursValidationErrorOrBuilder> |
hasMetrics()
public abstract boolean hasMetrics()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the metrics field is set. |