Package com.google.cloud.optimization.v1
Interface OptimizeToursResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OptimizeToursResponse,OptimizeToursResponse.Builder
public interface OptimizeToursResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description OptimizeToursResponse.MetricsgetMetrics()Duration, distance and usage metrics for this solution.OptimizeToursResponse.MetricsOrBuildergetMetricsOrBuilder()Duration, distance and usage metrics for this solution.StringgetRequestLabel()Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.com.google.protobuf.ByteStringgetRequestLabelBytes()Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.ShipmentRoutegetRoutes(int index)Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.intgetRoutesCount()Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.List<ShipmentRoute>getRoutesList()Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.ShipmentRouteOrBuildergetRoutesOrBuilder(int index)Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.List<? extends ShipmentRouteOrBuilder>getRoutesOrBuilderList()Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.SkippedShipmentgetSkippedShipments(int index)The list of all shipments skipped.intgetSkippedShipmentsCount()The list of all shipments skipped.List<SkippedShipment>getSkippedShipmentsList()The list of all shipments skipped.SkippedShipmentOrBuildergetSkippedShipmentsOrBuilder(int index)The list of all shipments skipped.List<? extends SkippedShipmentOrBuilder>getSkippedShipmentsOrBuilderList()The list of all shipments skipped.doublegetTotalCost()Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.OptimizeToursValidationErrorgetValidationErrors(int index)List of all the validation errors that we were able to detect independently.intgetValidationErrorsCount()List of all the validation errors that we were able to detect independently.List<OptimizeToursValidationError>getValidationErrorsList()List of all the validation errors that we were able to detect independently.OptimizeToursValidationErrorOrBuildergetValidationErrorsOrBuilder(int index)List of all the validation errors that we were able to detect independently.List<? extends OptimizeToursValidationErrorOrBuilder>getValidationErrorsOrBuilderList()List of all the validation errors that we were able to detect independently.booleanhasMetrics()Duration, distance and usage metrics for this solution.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRoutesList
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;
-
getRoutes
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;
-
getRoutesCount
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;
-
getRoutesOrBuilderList
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;
-
getRoutesOrBuilder
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;
-
getRequestLabel
String getRequestLabel()
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Returns:
- The requestLabel.
-
getRequestLabelBytes
com.google.protobuf.ByteString getRequestLabelBytes()
Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.
string request_label = 3;- Returns:
- The bytes for requestLabel.
-
getSkippedShipmentsList
List<SkippedShipment> getSkippedShipmentsList()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
-
getSkippedShipments
SkippedShipment getSkippedShipments(int index)
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
-
getSkippedShipmentsCount
int getSkippedShipmentsCount()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
-
getSkippedShipmentsOrBuilderList
List<? extends SkippedShipmentOrBuilder> getSkippedShipmentsOrBuilderList()
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
-
getSkippedShipmentsOrBuilder
SkippedShipmentOrBuilder getSkippedShipmentsOrBuilder(int index)
The list of all shipments skipped.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 4;
-
getValidationErrorsList
List<OptimizeToursValidationError> getValidationErrorsList()
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
-
getValidationErrors
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][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
-
getValidationErrorsCount
int getValidationErrorsCount()
List of all the validation errors that we were able to detect independently. See the "MULTIPLE ERRORS" explanation for the [OptimizeToursValidationError][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
-
getValidationErrorsOrBuilderList
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][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
-
getValidationErrorsOrBuilder
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][google.cloud.optimization.v1.OptimizeToursValidationError] message.
repeated .google.cloud.optimization.v1.OptimizeToursValidationError validation_errors = 5;
-
hasMetrics
boolean hasMetrics()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;- Returns:
- Whether the metrics field is set.
-
getMetrics
OptimizeToursResponse.Metrics getMetrics()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;- Returns:
- The metrics.
-
getMetricsOrBuilder
OptimizeToursResponse.MetricsOrBuilder getMetricsOrBuilder()
Duration, distance and usage metrics for this solution.
.google.cloud.optimization.v1.OptimizeToursResponse.Metrics metrics = 6;
-
getTotalCost
@Deprecated double getTotalCost()
Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=433Deprecated: Use [Metrics.total_cost][google.cloud.optimization.v1.OptimizeToursResponse.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:
- The totalCost.
-
-