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
@Generated
public interface OptimizeToursResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDuration, distance and usage metrics for this solution.Duration, distance and usage metrics for this solution.Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.com.google.protobuf.ByteStringCopy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.getRoutes(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.intRoutes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.getRoutesOrBuilder(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.List<? extends ShipmentRouteOrBuilder>Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.getSkippedShipments(int index) The list of all shipments skipped.intThe list of all shipments skipped.The list of all shipments skipped.getSkippedShipmentsOrBuilder(int index) The list of all shipments skipped.List<? extends SkippedShipmentOrBuilder>The list of all shipments skipped.doubleDeprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.getValidationErrors(int index) List of all the validation errors that we were able to detect independently.intList of all the validation errors that we were able to detect independently.List of all the validation errors that we were able to detect independently.getValidationErrorsOrBuilder(int index) List of all the validation errors that we were able to detect independently.List<? extends OptimizeToursValidationErrorOrBuilder>List of all the validation errors that we were able to detect independently.booleanDuration, distance and usage metrics for this solution.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
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
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
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.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.
-