public static final class InjectedSolutionConstraint.Builder extends GeneratedMessageV3.Builder<InjectedSolutionConstraint.Builder> implements InjectedSolutionConstraintOrBuilder
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.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConstraintRelaxations(Iterable<? extends InjectedSolutionConstraint.ConstraintRelaxation> values)
public InjectedSolutionConstraint.Builder addAllConstraintRelaxations(Iterable<? extends InjectedSolutionConstraint.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)
public InjectedSolutionConstraint.Builder addAllRoutes(Iterable<? extends ShipmentRoute> 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)
public InjectedSolutionConstraint.Builder addAllSkippedShipments(Iterable<? extends SkippedShipment> 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)
public InjectedSolutionConstraint.Builder addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation value)
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)
public InjectedSolutionConstraint.Builder addConstraintRelaxations(InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
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)
public InjectedSolutionConstraint.Builder addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value)
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)
public InjectedSolutionConstraint.Builder addConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
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()
public InjectedSolutionConstraint.ConstraintRelaxation.Builder addConstraintRelaxationsBuilder()
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)
public InjectedSolutionConstraint.ConstraintRelaxation.Builder addConstraintRelaxationsBuilder(int index)
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)
public InjectedSolutionConstraint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRoutes(ShipmentRoute value)
public InjectedSolutionConstraint.Builder addRoutes(ShipmentRoute value)
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)
public InjectedSolutionConstraint.Builder addRoutes(ShipmentRoute.Builder builderForValue)
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)
public InjectedSolutionConstraint.Builder addRoutes(int index, ShipmentRoute value)
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)
public InjectedSolutionConstraint.Builder addRoutes(int index, ShipmentRoute.Builder builderForValue)
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()
public ShipmentRoute.Builder addRoutesBuilder()
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)
public ShipmentRoute.Builder addRoutesBuilder(int index)
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)
public InjectedSolutionConstraint.Builder addSkippedShipments(SkippedShipment value)
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)
public InjectedSolutionConstraint.Builder addSkippedShipments(SkippedShipment.Builder builderForValue)
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)
public InjectedSolutionConstraint.Builder addSkippedShipments(int index, SkippedShipment value)
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)
public InjectedSolutionConstraint.Builder addSkippedShipments(int index, SkippedShipment.Builder builderForValue)
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()
public SkippedShipment.Builder addSkippedShipmentsBuilder()
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)
public SkippedShipment.Builder addSkippedShipmentsBuilder(int index)
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()
public InjectedSolutionConstraint build()
buildPartial()
public InjectedSolutionConstraint buildPartial()
clear()
public InjectedSolutionConstraint.Builder clear()
Overrides
clearConstraintRelaxations()
public InjectedSolutionConstraint.Builder clearConstraintRelaxations()
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)
public InjectedSolutionConstraint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InjectedSolutionConstraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRoutes()
public InjectedSolutionConstraint.Builder clearRoutes()
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()
public InjectedSolutionConstraint.Builder clearSkippedShipments()
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()
public InjectedSolutionConstraint.Builder clone()
Overrides
getConstraintRelaxations(int index)
public InjectedSolutionConstraint.ConstraintRelaxation getConstraintRelaxations(int index)
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)
public InjectedSolutionConstraint.ConstraintRelaxation.Builder getConstraintRelaxationsBuilder(int index)
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()
public List<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()
public int getConstraintRelaxationsCount()
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()
public List<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)
public InjectedSolutionConstraint.ConstraintRelaxationOrBuilder getConstraintRelaxationsOrBuilder(int index)
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()
public List<? extends InjectedSolutionConstraint.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()
public InjectedSolutionConstraint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRoutes(int index)
public ShipmentRoute getRoutes(int index)
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)
public ShipmentRoute.Builder getRoutesBuilder(int index)
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()
public List<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()
public int getRoutesCount()
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()
public List<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)
public ShipmentRouteOrBuilder getRoutesOrBuilder(int index)
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()
public List<? extends ShipmentRouteOrBuilder> 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)
public SkippedShipment getSkippedShipments(int index)
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)
public SkippedShipment.Builder getSkippedShipmentsBuilder(int index)
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()
public List<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()
public int getSkippedShipmentsCount()
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()
public List<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)
public SkippedShipmentOrBuilder getSkippedShipmentsOrBuilder(int index)
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()
public List<? extends SkippedShipmentOrBuilder> 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()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InjectedSolutionConstraint other)
public InjectedSolutionConstraint.Builder mergeFrom(InjectedSolutionConstraint other)
public InjectedSolutionConstraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InjectedSolutionConstraint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InjectedSolutionConstraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeConstraintRelaxations(int index)
public InjectedSolutionConstraint.Builder removeConstraintRelaxations(int index)
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)
public InjectedSolutionConstraint.Builder removeRoutes(int index)
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)
public InjectedSolutionConstraint.Builder removeSkippedShipments(int index)
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)
public InjectedSolutionConstraint.Builder setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation value)
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)
public InjectedSolutionConstraint.Builder setConstraintRelaxations(int index, InjectedSolutionConstraint.ConstraintRelaxation.Builder builderForValue)
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)
public InjectedSolutionConstraint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InjectedSolutionConstraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRoutes(int index, ShipmentRoute value)
public InjectedSolutionConstraint.Builder setRoutes(int index, ShipmentRoute value)
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)
public InjectedSolutionConstraint.Builder setRoutes(int index, ShipmentRoute.Builder builderForValue)
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)
public InjectedSolutionConstraint.Builder setSkippedShipments(int index, SkippedShipment value)
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)
public InjectedSolutionConstraint.Builder setSkippedShipments(int index, SkippedShipment.Builder builderForValue)
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)
public final InjectedSolutionConstraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides