public final class InjectedSolutionConstraint extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
  
  CONSTRAINT_RELAXATIONS_FIELD_NUMBER
  
    public static final int CONSTRAINT_RELAXATIONS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  ROUTES_FIELD_NUMBER
  
    public static final int ROUTES_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  SKIPPED_SHIPMENTS_FIELD_NUMBER
  
    public static final int SKIPPED_SHIPMENTS_FIELD_NUMBER
   
  
    
      
        | Field Value | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static InjectedSolutionConstraint getDefaultInstance()
   
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  
  newBuilder()
  
    public static InjectedSolutionConstraint.Builder newBuilder()
   
  
  
  newBuilder(InjectedSolutionConstraint prototype)
  
    public static InjectedSolutionConstraint.Builder newBuilder(InjectedSolutionConstraint prototype)
   
  
  
  
  
  
    public static InjectedSolutionConstraint parseDelimitedFrom(InputStream input)
   
  
  
  
  
  
  
    public static InjectedSolutionConstraint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(byte[] data)
  
    public static InjectedSolutionConstraint parseFrom(byte[] data)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static InjectedSolutionConstraint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteString data)
  
    public static InjectedSolutionConstraint parseFrom(ByteString data)
   
  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static InjectedSolutionConstraint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static InjectedSolutionConstraint parseFrom(CodedInputStream input)
   
  
  
  
  
  
  
    public static InjectedSolutionConstraint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  
  
    public static InjectedSolutionConstraint parseFrom(InputStream input)
   
  
  
  
  
  
  
    public static InjectedSolutionConstraint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parseFrom(ByteBuffer data)
  
    public static InjectedSolutionConstraint parseFrom(ByteBuffer data)
   
  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static InjectedSolutionConstraint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  
  
  
  
  parser()
  
    public static Parser<InjectedSolutionConstraint> parser()
   
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | obj | Object
 | 
    
  
  
  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
 | 
    
  
  
  
  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()
   
  
  
  getParserForType()
  
    public Parser<InjectedSolutionConstraint> getParserForType()
   
  
  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
 | 
    
  
  
  
  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> |  | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  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
 | 
    
  
  
  
  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> |  | 
    
  
  
  hashCode()
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | int |  | 
    
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  newBuilderForType()
  
    public InjectedSolutionConstraint.Builder newBuilderForType()
   
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected InjectedSolutionConstraint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  
  
    
      
        | Returns | 
      
        | Type | Description | 
      
        | Object |  | 
    
  
  Overrides
  
  
  toBuilder()
  
    public InjectedSolutionConstraint.Builder toBuilder()
   
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  
  Overrides