Package com.google.cloud.optimization.v1
Interface InjectedSolutionConstraintOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InjectedSolutionConstraint
,InjectedSolutionConstraint.Builder
public interface InjectedSolutionConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectedSolutionConstraint.ConstraintRelaxation
getConstraintRelaxations(int index)
For zero or more groups of vehicles, specifies when and how much to relax constraints.int
getConstraintRelaxationsCount()
For zero or more groups of vehicles, specifies when and how much to relax constraints.List<InjectedSolutionConstraint.ConstraintRelaxation>
getConstraintRelaxationsList()
For zero or more groups of vehicles, specifies when and how much to relax constraints.InjectedSolutionConstraint.ConstraintRelaxationOrBuilder
getConstraintRelaxationsOrBuilder(int index)
For zero or more groups of vehicles, specifies when and how much to relax constraints.List<? extends InjectedSolutionConstraint.ConstraintRelaxationOrBuilder>
getConstraintRelaxationsOrBuilderList()
For zero or more groups of vehicles, specifies when and how much to relax constraints.ShipmentRoute
getRoutes(int index)
Routes of the solution to inject.int
getRoutesCount()
Routes of the solution to inject.List<ShipmentRoute>
getRoutesList()
Routes of the solution to inject.ShipmentRouteOrBuilder
getRoutesOrBuilder(int index)
Routes of the solution to inject.List<? extends ShipmentRouteOrBuilder>
getRoutesOrBuilderList()
Routes of the solution to inject.SkippedShipment
getSkippedShipments(int index)
Skipped shipments of the solution to inject.int
getSkippedShipmentsCount()
Skipped shipments of the solution to inject.List<SkippedShipment>
getSkippedShipmentsList()
Skipped shipments of the solution to inject.SkippedShipmentOrBuilder
getSkippedShipmentsOrBuilder(int index)
Skipped shipments of the solution to inject.List<? extends SkippedShipmentOrBuilder>
getSkippedShipmentsOrBuilderList()
Skipped shipments of the solution to inject.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRoutesList
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;
-
getRoutes
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;
-
getRoutesCount
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;
-
getRoutesOrBuilderList
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;
-
getRoutesOrBuilder
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;
-
getSkippedShipmentsList
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;
-
getSkippedShipments
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;
-
getSkippedShipmentsCount
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;
-
getSkippedShipmentsOrBuilderList
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;
-
getSkippedShipmentsOrBuilder
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;
-
getConstraintRelaxationsList
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;
-
getConstraintRelaxations
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;
-
getConstraintRelaxationsCount
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;
-
getConstraintRelaxationsOrBuilderList
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;
-
getConstraintRelaxationsOrBuilder
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;
-
-