Interface InjectedSolutionConstraintOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
InjectedSolutionConstraint, InjectedSolutionConstraint.Builder

@Generated public interface InjectedSolutionConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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;