publicstaticfinalclass InjectedSolutionConstraint.BuilderextendsGeneratedMessageV3.Builder<InjectedSolutionConstraint.Builder>implementsInjectedSolutionConstraintOrBuilder
Solution injected in the request including information about which visits
must be constrained and how they must be constrained.
Protobuf type google.cloud.optimization.v1.InjectedSolutionConstraint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addAllConstraintRelaxations(Iterable<? extends InjectedSolutionConstraint.ConstraintRelaxation> values)
publicInjectedSolutionConstraint.BuilderaddAllConstraintRelaxations(Iterable<?extendsInjectedSolutionConstraint.ConstraintRelaxation>values)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation>
|
addAllRoutes(Iterable<? extends ShipmentRoute> values)
publicInjectedSolutionConstraint.BuilderaddAllRoutes(Iterable<?extendsShipmentRoute>values)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.ShipmentRoute>
|
addAllSkippedShipments(Iterable<? extends SkippedShipment> values)
publicInjectedSolutionConstraint.BuilderaddAllSkippedShipments(Iterable<?extendsSkippedShipment>values)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.SkippedShipment>
|
addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation value)
publicInjectedSolutionConstraint.BuilderaddConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxationvalue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation.BuilderbuilderForValue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value)
publicInjectedSolutionConstraint.BuilderaddConstraintRelaxations(intindex,InjectedSolutionConstraint.ConstraintRelaxationvalue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddConstraintRelaxations(intindex,InjectedSolutionConstraint.ConstraintRelaxation.BuilderbuilderForValue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
addConstraintRelaxationsBuilder()
publicInjectedSolutionConstraint.ConstraintRelaxation.BuilderaddConstraintRelaxationsBuilder()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
addConstraintRelaxationsBuilder(int index)
publicInjectedSolutionConstraint.ConstraintRelaxation.BuilderaddConstraintRelaxationsBuilder(intindex)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicInjectedSolutionConstraint.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
addRoutes(ShipmentRoute value)
publicInjectedSolutionConstraint.BuilderaddRoutes(ShipmentRoutevalue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
addRoutes(ShipmentRoute.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddRoutes(ShipmentRoute.BuilderbuilderForValue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
addRoutes(int index, ShipmentRoute value)
publicInjectedSolutionConstraint.BuilderaddRoutes(intindex,ShipmentRoutevalue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
addRoutes(int index, ShipmentRoute.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddRoutes(intindex,ShipmentRoute.BuilderbuilderForValue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
addRoutesBuilder()
publicShipmentRoute.BuilderaddRoutesBuilder()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
addRoutesBuilder(int index)
publicShipmentRoute.BuilderaddRoutesBuilder(intindex)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
index |
int
|
addSkippedShipments(SkippedShipment value)
publicInjectedSolutionConstraint.BuilderaddSkippedShipments(SkippedShipmentvalue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
addSkippedShipments(SkippedShipment.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddSkippedShipments(SkippedShipment.BuilderbuilderForValue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
addSkippedShipments(int index, SkippedShipment value)
publicInjectedSolutionConstraint.BuilderaddSkippedShipments(intindex,SkippedShipmentvalue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
addSkippedShipments(int index, SkippedShipment.Builder builderForValue)
publicInjectedSolutionConstraint.BuilderaddSkippedShipments(intindex,SkippedShipment.BuilderbuilderForValue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
addSkippedShipmentsBuilder()
publicSkippedShipment.BuilderaddSkippedShipmentsBuilder()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
addSkippedShipmentsBuilder(int index)
publicSkippedShipment.BuilderaddSkippedShipmentsBuilder(intindex)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
index |
int
|
build()
publicInjectedSolutionConstraintbuild()
buildPartial()
publicInjectedSolutionConstraintbuildPartial()
clear()
publicInjectedSolutionConstraint.Builderclear()
Overrides
clearConstraintRelaxations()
publicInjectedSolutionConstraint.BuilderclearConstraintRelaxations()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
clearField(Descriptors.FieldDescriptor field)
publicInjectedSolutionConstraint.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicInjectedSolutionConstraint.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearRoutes()
publicInjectedSolutionConstraint.BuilderclearRoutes()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
clearSkippedShipments()
publicInjectedSolutionConstraint.BuilderclearSkippedShipments()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
clone()
publicInjectedSolutionConstraint.Builderclone()
Overrides
getConstraintRelaxations(int index)
publicInjectedSolutionConstraint.ConstraintRelaxationgetConstraintRelaxations(intindex)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
index |
int
|
getConstraintRelaxationsBuilder(int index)
publicInjectedSolutionConstraint.ConstraintRelaxation.BuildergetConstraintRelaxationsBuilder(intindex)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
index |
int
|
getConstraintRelaxationsBuilderList()
publicList<InjectedSolutionConstraint.ConstraintRelaxation.Builder>getConstraintRelaxationsBuilderList()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
getConstraintRelaxationsCount()
publicintgetConstraintRelaxationsCount()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Returns |
| Type |
Description |
int |
getConstraintRelaxationsList()
publicList<InjectedSolutionConstraint.ConstraintRelaxation>getConstraintRelaxationsList()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
getConstraintRelaxationsOrBuilder(int index)
publicInjectedSolutionConstraint.ConstraintRelaxationOrBuildergetConstraintRelaxationsOrBuilder(intindex)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
index |
int
|
getConstraintRelaxationsOrBuilderList()
publicList<?extendsInjectedSolutionConstraint.ConstraintRelaxationOrBuilder>getConstraintRelaxationsOrBuilderList()
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxationOrBuilder> |
getDefaultInstanceForType()
publicInjectedSolutionConstraintgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getRoutes(int index)
publicShipmentRoutegetRoutes(intindex)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRoutesBuilder(int index)
publicShipmentRoute.BuildergetRoutesBuilder(intindex)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRoutesBuilderList()
publicList<ShipmentRoute.Builder>getRoutesBuilderList()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
getRoutesCount()
publicintgetRoutesCount()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Returns |
| Type |
Description |
int |
getRoutesList()
publicList<ShipmentRoute>getRoutesList()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
getRoutesOrBuilder(int index)
publicShipmentRouteOrBuildergetRoutesOrBuilder(intindex)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
index |
int
|
getRoutesOrBuilderList()
publicList<?extendsShipmentRouteOrBuilder>getRoutesOrBuilderList()
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.optimization.v1.ShipmentRouteOrBuilder> |
getSkippedShipments(int index)
publicSkippedShipmentgetSkippedShipments(intindex)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
index |
int
|
getSkippedShipmentsBuilder(int index)
publicSkippedShipment.BuildergetSkippedShipmentsBuilder(intindex)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
index |
int
|
getSkippedShipmentsBuilderList()
publicList<SkippedShipment.Builder>getSkippedShipmentsBuilderList()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
getSkippedShipmentsCount()
publicintgetSkippedShipmentsCount()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Returns |
| Type |
Description |
int |
getSkippedShipmentsList()
publicList<SkippedShipment>getSkippedShipmentsList()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
getSkippedShipmentsOrBuilder(int index)
publicSkippedShipmentOrBuildergetSkippedShipmentsOrBuilder(intindex)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
index |
int
|
getSkippedShipmentsOrBuilderList()
publicList<?extendsSkippedShipmentOrBuilder>getSkippedShipmentsOrBuilderList()
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.optimization.v1.SkippedShipmentOrBuilder> |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(InjectedSolutionConstraint other)
publicInjectedSolutionConstraint.BuildermergeFrom(InjectedSolutionConstraintother)
publicInjectedSolutionConstraint.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicInjectedSolutionConstraint.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalInjectedSolutionConstraint.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
removeConstraintRelaxations(int index)
publicInjectedSolutionConstraint.BuilderremoveConstraintRelaxations(intindex)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
| Parameter |
| Name |
Description |
index |
int
|
removeRoutes(int index)
publicInjectedSolutionConstraint.BuilderremoveRoutes(intindex)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
| Parameter |
| Name |
Description |
index |
int
|
removeSkippedShipments(int index)
publicInjectedSolutionConstraint.BuilderremoveSkippedShipments(intindex)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
| Parameter |
| Name |
Description |
index |
int
|
setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value)
publicInjectedSolutionConstraint.BuildersetConstraintRelaxations(intindex,InjectedSolutionConstraint.ConstraintRelaxationvalue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
publicInjectedSolutionConstraint.BuildersetConstraintRelaxations(intindex,InjectedSolutionConstraint.ConstraintRelaxation.BuilderbuilderForValue)
For zero or more groups of vehicles, specifies when and how much to relax
constraints. If this field is empty, all non-empty vehicle routes are
fully constrained.
repeated .google.cloud.optimization.v1.InjectedSolutionConstraint.ConstraintRelaxation constraint_relaxations = 3;
setField(Descriptors.FieldDescriptor field, Object value)
publicInjectedSolutionConstraint.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicInjectedSolutionConstraint.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setRoutes(int index, ShipmentRoute value)
publicInjectedSolutionConstraint.BuildersetRoutes(intindex,ShipmentRoutevalue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
setRoutes(int index, ShipmentRoute.Builder builderForValue)
publicInjectedSolutionConstraint.BuildersetRoutes(intindex,ShipmentRoute.BuilderbuilderForValue)
Routes of the solution to inject. Some routes may be omitted from the
original solution. The routes and skipped shipments must satisfy the basic
validity assumptions listed for injected_first_solution_routes.
repeated .google.cloud.optimization.v1.ShipmentRoute routes = 1;
setSkippedShipments(int index, SkippedShipment value)
publicInjectedSolutionConstraint.BuildersetSkippedShipments(intindex,SkippedShipmentvalue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
setSkippedShipments(int index, SkippedShipment.Builder builderForValue)
publicInjectedSolutionConstraint.BuildersetSkippedShipments(intindex,SkippedShipment.BuilderbuilderForValue)
Skipped shipments of the solution to inject. Some may be omitted from the
original solution. See the routes field.
repeated .google.cloud.optimization.v1.SkippedShipment skipped_shipments = 2;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalInjectedSolutionConstraint.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides