Uses of Class
com.google.cloud.optimization.v1.OptimizeToursResponse.Builder
-
Uses of OptimizeToursResponse.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return OptimizeToursResponse.BuilderModifier and TypeMethodDescriptionOptimizeToursResponse.Builder.addAllRoutes(Iterable<? extends ShipmentRoute> values) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.addAllSkippedShipments(Iterable<? extends SkippedShipment> values) The list of all shipments skipped.OptimizeToursResponse.Builder.addAllValidationErrors(Iterable<? extends OptimizeToursValidationError> values) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.addRoutes(int index, ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.addRoutes(int index, ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.addRoutes(ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.addRoutes(ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.addSkippedShipments(int index, SkippedShipment value) The list of all shipments skipped.OptimizeToursResponse.Builder.addSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.OptimizeToursResponse.Builder.addSkippedShipments(SkippedShipment value) The list of all shipments skipped.OptimizeToursResponse.Builder.addSkippedShipments(SkippedShipment.Builder builderForValue) The list of all shipments skipped.OptimizeToursResponse.Builder.addValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.addValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.addValidationErrors(OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.addValidationErrors(OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.clear()OptimizeToursResponse.Builder.clearMetrics()Duration, distance and usage metrics for this solution.OptimizeToursResponse.Builder.clearRequestLabel()Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.OptimizeToursResponse.Builder.clearRoutes()Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.clearSkippedShipments()The list of all shipments skipped.OptimizeToursResponse.Builder.clearTotalCost()Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.OptimizeToursResponse.Builder.clearValidationErrors()List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.mergeFrom(OptimizeToursResponse other) OptimizeToursResponse.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) OptimizeToursResponse.Builder.mergeFrom(com.google.protobuf.Message other) OptimizeToursResponse.Builder.mergeMetrics(OptimizeToursResponse.Metrics value) Duration, distance and usage metrics for this solution.OptimizeToursResponse.newBuilder()OptimizeToursResponse.newBuilder(OptimizeToursResponse prototype) OptimizeToursResponse.newBuilderForType()protected OptimizeToursResponse.BuilderOptimizeToursResponse.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) OptimizeToursResponse.Builder.removeRoutes(int index) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.removeSkippedShipments(int index) The list of all shipments skipped.OptimizeToursResponse.Builder.removeValidationErrors(int index) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.setMetrics(OptimizeToursResponse.Metrics value) Duration, distance and usage metrics for this solution.OptimizeToursResponse.Builder.setMetrics(OptimizeToursResponse.Metrics.Builder builderForValue) Duration, distance and usage metrics for this solution.OptimizeToursResponse.Builder.setRequestLabel(String value) Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.OptimizeToursResponse.Builder.setRequestLabelBytes(com.google.protobuf.ByteString value) Copy of the [OptimizeToursRequest.label][google.cloud.optimization.v1.OptimizeToursRequest.label], if a label was specified in the request.OptimizeToursResponse.Builder.setRoutes(int index, ShipmentRoute value) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.setRoutes(int index, ShipmentRoute.Builder builderForValue) Routes computed for each vehicle; the i-th route corresponds to the i-th vehicle in the model.OptimizeToursResponse.Builder.setSkippedShipments(int index, SkippedShipment value) The list of all shipments skipped.OptimizeToursResponse.Builder.setSkippedShipments(int index, SkippedShipment.Builder builderForValue) The list of all shipments skipped.OptimizeToursResponse.Builder.setTotalCost(double value) Deprecated.google.cloud.optimization.v1.OptimizeToursResponse.total_cost is deprecated.OptimizeToursResponse.Builder.setValidationErrors(int index, OptimizeToursValidationError value) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.Builder.setValidationErrors(int index, OptimizeToursValidationError.Builder builderForValue) List of all the validation errors that we were able to detect independently.OptimizeToursResponse.toBuilder()