Uses of Class
com.google.cloud.optimization.v1.Shipment.Builder
-
Uses of Shipment.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return Shipment.BuilderModifier and TypeMethodDescriptionShipment.Builder.addAllAllowedVehicleIndices(Iterable<? extends Integer> values) The set of vehicles that may perform this shipment.Shipment.Builder.addAllCostsPerVehicle(Iterable<? extends Double> values) Specifies the cost that is incurred when this shipment is delivered by each vehicle.Shipment.Builder.addAllCostsPerVehicleIndices(Iterable<? extends Integer> values) Indices of the vehicles to which `costs_per_vehicle` applies.Shipment.Builder.addAllDeliveries(Iterable<? extends Shipment.VisitRequest> values) Set of delivery alternatives associated to the shipment.Shipment.Builder.addAllDemands(Iterable<? extends CapacityQuantity> values) Deprecated.Shipment.Builder.addAllowedVehicleIndices(int value) The set of vehicles that may perform this shipment.Shipment.Builder.addAllPickups(Iterable<? extends Shipment.VisitRequest> values) Set of pickup alternatives associated to the shipment.Shipment.Builder.addCostsPerVehicle(double value) Specifies the cost that is incurred when this shipment is delivered by each vehicle.Shipment.Builder.addCostsPerVehicleIndices(int value) Indices of the vehicles to which `costs_per_vehicle` applies.Shipment.Builder.addDeliveries(int index, Shipment.VisitRequest value) Set of delivery alternatives associated to the shipment.Shipment.Builder.addDeliveries(int index, Shipment.VisitRequest.Builder builderForValue) Set of delivery alternatives associated to the shipment.Shipment.Builder.addDeliveries(Shipment.VisitRequest value) Set of delivery alternatives associated to the shipment.Shipment.Builder.addDeliveries(Shipment.VisitRequest.Builder builderForValue) Set of delivery alternatives associated to the shipment.Shipment.Builder.addDemands(int index, CapacityQuantity value) Deprecated.Shipment.Builder.addDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.Shipment.Builder.addDemands(CapacityQuantity value) Deprecated.Shipment.Builder.addDemands(CapacityQuantity.Builder builderForValue) Deprecated.Shipment.Builder.addPickups(int index, Shipment.VisitRequest value) Set of pickup alternatives associated to the shipment.Shipment.Builder.addPickups(int index, Shipment.VisitRequest.Builder builderForValue) Set of pickup alternatives associated to the shipment.Shipment.Builder.addPickups(Shipment.VisitRequest value) Set of pickup alternatives associated to the shipment.Shipment.Builder.addPickups(Shipment.VisitRequest.Builder builderForValue) Set of pickup alternatives associated to the shipment.ShipmentModel.Builder.addShipmentsBuilder()Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipmentsBuilder(int index) Set of shipments which must be performed in the model.Shipment.Builder.clear()Shipment.Builder.clearAllowedVehicleIndices()The set of vehicles that may perform this shipment.Shipment.Builder.clearCostsPerVehicle()Specifies the cost that is incurred when this shipment is delivered by each vehicle.Shipment.Builder.clearCostsPerVehicleIndices()Indices of the vehicles to which `costs_per_vehicle` applies.Shipment.Builder.clearDeliveries()Set of delivery alternatives associated to the shipment.Shipment.Builder.clearDemands()Deprecated.Shipment.Builder.clearIgnore()If true, skip this shipment, but don't apply a `penalty_cost`.Shipment.Builder.clearLabel()Specifies a label for this shipment.Shipment.Builder.clearLoadDemands()Shipment.Builder.clearPenaltyCost()If the shipment is not completed, this penalty is added to the overall cost of the routes.Shipment.Builder.clearPickups()Set of pickup alternatives associated to the shipment.Shipment.Builder.clearPickupToDeliveryAbsoluteDetourLimit()Specifies the maximum absolute detour time compared to the shortest path from pickup to delivery.Shipment.Builder.clearPickupToDeliveryRelativeDetourLimit()Specifies the maximum relative detour time compared to the shortest path from pickup to delivery.Shipment.Builder.clearPickupToDeliveryTimeLimit()Specifies the maximum duration from start of pickup to start of delivery of a shipment.Shipment.Builder.clearShipmentType()Non-empty string specifying a "type" for this shipment.ShipmentModel.Builder.getShipmentsBuilder(int index) Set of shipments which must be performed in the model.Shipment.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Shipment.Builder.mergeFrom(com.google.protobuf.Message other) Shipment.Builder.mergePickupToDeliveryAbsoluteDetourLimit(com.google.protobuf.Duration value) Specifies the maximum absolute detour time compared to the shortest path from pickup to delivery.Shipment.Builder.mergePickupToDeliveryTimeLimit(com.google.protobuf.Duration value) Specifies the maximum duration from start of pickup to start of delivery of a shipment.static Shipment.BuilderShipment.newBuilder()static Shipment.BuilderShipment.newBuilder(Shipment prototype) Shipment.newBuilderForType()protected Shipment.BuilderShipment.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Shipment.Builder.putAllLoadDemands(Map<String, Shipment.Load> values) Load demands of the shipment (for example weight, volume, number of pallets etc).Shipment.Builder.putLoadDemands(String key, Shipment.Load value) Load demands of the shipment (for example weight, volume, number of pallets etc).Shipment.Builder.removeDeliveries(int index) Set of delivery alternatives associated to the shipment.Shipment.Builder.removeDemands(int index) Deprecated.Shipment.Builder.removeLoadDemands(String key) Load demands of the shipment (for example weight, volume, number of pallets etc).Shipment.Builder.removePickups(int index) Set of pickup alternatives associated to the shipment.Shipment.Builder.setAllowedVehicleIndices(int index, int value) The set of vehicles that may perform this shipment.Shipment.Builder.setCostsPerVehicle(int index, double value) Specifies the cost that is incurred when this shipment is delivered by each vehicle.Shipment.Builder.setCostsPerVehicleIndices(int index, int value) Indices of the vehicles to which `costs_per_vehicle` applies.Shipment.Builder.setDeliveries(int index, Shipment.VisitRequest value) Set of delivery alternatives associated to the shipment.Shipment.Builder.setDeliveries(int index, Shipment.VisitRequest.Builder builderForValue) Set of delivery alternatives associated to the shipment.Shipment.Builder.setDemands(int index, CapacityQuantity value) Deprecated.Shipment.Builder.setDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.Shipment.Builder.setIgnore(boolean value) If true, skip this shipment, but don't apply a `penalty_cost`.Specifies a label for this shipment.Shipment.Builder.setLabelBytes(com.google.protobuf.ByteString value) Specifies a label for this shipment.Shipment.Builder.setPenaltyCost(double value) If the shipment is not completed, this penalty is added to the overall cost of the routes.Shipment.Builder.setPickups(int index, Shipment.VisitRequest value) Set of pickup alternatives associated to the shipment.Shipment.Builder.setPickups(int index, Shipment.VisitRequest.Builder builderForValue) Set of pickup alternatives associated to the shipment.Shipment.Builder.setPickupToDeliveryAbsoluteDetourLimit(com.google.protobuf.Duration value) Specifies the maximum absolute detour time compared to the shortest path from pickup to delivery.Shipment.Builder.setPickupToDeliveryAbsoluteDetourLimit(com.google.protobuf.Duration.Builder builderForValue) Specifies the maximum absolute detour time compared to the shortest path from pickup to delivery.Shipment.Builder.setPickupToDeliveryRelativeDetourLimit(double value) Specifies the maximum relative detour time compared to the shortest path from pickup to delivery.Shipment.Builder.setPickupToDeliveryTimeLimit(com.google.protobuf.Duration value) Specifies the maximum duration from start of pickup to start of delivery of a shipment.Shipment.Builder.setPickupToDeliveryTimeLimit(com.google.protobuf.Duration.Builder builderForValue) Specifies the maximum duration from start of pickup to start of delivery of a shipment.Shipment.Builder.setShipmentType(String value) Non-empty string specifying a "type" for this shipment.Shipment.Builder.setShipmentTypeBytes(com.google.protobuf.ByteString value) Non-empty string specifying a "type" for this shipment.Shipment.toBuilder()Methods in com.google.cloud.optimization.v1 that return types with arguments of type Shipment.BuilderModifier and TypeMethodDescriptionShipmentModel.Builder.getShipmentsBuilderList()Set of shipments which must be performed in the model.Methods in com.google.cloud.optimization.v1 with parameters of type Shipment.BuilderModifier and TypeMethodDescriptionShipmentModel.Builder.addShipments(int index, Shipment.Builder builderForValue) Set of shipments which must be performed in the model.ShipmentModel.Builder.addShipments(Shipment.Builder builderForValue) Set of shipments which must be performed in the model.ShipmentModel.Builder.setShipments(int index, Shipment.Builder builderForValue) Set of shipments which must be performed in the model.