Uses of Class
com.google.cloud.optimization.v1.InjectedSolutionConstraint.Builder
-
Uses of InjectedSolutionConstraint.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return InjectedSolutionConstraint.BuilderModifier and TypeMethodDescriptionInjectedSolutionConstraint.Builder.addAllConstraintRelaxations(Iterable<? extends InjectedSolutionConstraint.ConstraintRelaxation> values) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.addAllRoutes(Iterable<? extends ShipmentRoute> values) Routes of the solution to inject.InjectedSolutionConstraint.Builder.addAllSkippedShipments(Iterable<? extends SkippedShipment> values) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation value) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.addRoutes(int index, ShipmentRoute value) Routes of the solution to inject.InjectedSolutionConstraint.Builder.addRoutes(int index, ShipmentRoute.Builder builderForValue) Routes of the solution to inject.InjectedSolutionConstraint.Builder.addRoutes(ShipmentRoute value) Routes of the solution to inject.InjectedSolutionConstraint.Builder.addRoutes(ShipmentRoute.Builder builderForValue) Routes of the solution to inject.InjectedSolutionConstraint.Builder.addSkippedShipments(int index, SkippedShipment value) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.addSkippedShipments(int index, SkippedShipment.Builder builderForValue) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.addSkippedShipments(SkippedShipment value) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.addSkippedShipments(SkippedShipment.Builder builderForValue) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.clear()InjectedSolutionConstraint.Builder.clearConstraintRelaxations()For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.clearRoutes()Routes of the solution to inject.InjectedSolutionConstraint.Builder.clearSkippedShipments()Skipped shipments of the solution to inject.OptimizeToursRequest.Builder.getInjectedSolutionConstraintBuilder()Constrain the optimization algorithm to find a final solution that is similar to a previous solution.InjectedSolutionConstraint.Builder.mergeFrom(InjectedSolutionConstraint other) InjectedSolutionConstraint.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) InjectedSolutionConstraint.Builder.mergeFrom(com.google.protobuf.Message other) InjectedSolutionConstraint.newBuilder()InjectedSolutionConstraint.newBuilder(InjectedSolutionConstraint prototype) InjectedSolutionConstraint.newBuilderForType()protected InjectedSolutionConstraint.BuilderInjectedSolutionConstraint.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) InjectedSolutionConstraint.Builder.removeConstraintRelaxations(int index) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.removeRoutes(int index) Routes of the solution to inject.InjectedSolutionConstraint.Builder.removeSkippedShipments(int index) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue) For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.Builder.setRoutes(int index, ShipmentRoute value) Routes of the solution to inject.InjectedSolutionConstraint.Builder.setRoutes(int index, ShipmentRoute.Builder builderForValue) Routes of the solution to inject.InjectedSolutionConstraint.Builder.setSkippedShipments(int index, SkippedShipment value) Skipped shipments of the solution to inject.InjectedSolutionConstraint.Builder.setSkippedShipments(int index, SkippedShipment.Builder builderForValue) Skipped shipments of the solution to inject.InjectedSolutionConstraint.toBuilder()Methods in com.google.cloud.optimization.v1 with parameters of type InjectedSolutionConstraint.BuilderModifier and TypeMethodDescriptionOptimizeToursRequest.Builder.setInjectedSolutionConstraint(InjectedSolutionConstraint.Builder builderForValue) Constrain the optimization algorithm to find a final solution that is similar to a previous solution.