Uses of Class
com.google.cloud.optimization.v1.Vehicle.Builder
-
Uses of Vehicle.Builder in com.google.cloud.optimization.v1
Methods in com.google.cloud.optimization.v1 that return Vehicle.BuilderModifier and TypeMethodDescriptionVehicle.Builder.addAllBreakRuleIndices(Iterable<? extends Integer> values) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Vehicle.Builder.addAllCapacities(Iterable<? extends CapacityQuantity> values) Deprecated.Vehicle.Builder.addAllEndLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.Vehicle.Builder.addAllEndTags(Iterable<String> values) Specifies tags attached to the end of the vehicle's route.Vehicle.Builder.addAllEndTimeWindows(Iterable<? extends TimeWindow> values) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.addAllStartLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.Vehicle.Builder.addAllStartTags(Iterable<String> values) Specifies tags attached to the start of the vehicle's route.Vehicle.Builder.addAllStartTimeWindows(Iterable<? extends TimeWindow> values) Time windows during which the vehicle may depart its start location.Vehicle.Builder.addBreakRuleIndices(int value) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Vehicle.Builder.addCapacities(int index, CapacityQuantity value) Deprecated.Vehicle.Builder.addCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.Vehicle.Builder.addCapacities(CapacityQuantity value) Deprecated.Vehicle.Builder.addCapacities(CapacityQuantity.Builder builderForValue) Deprecated.Vehicle.Builder.addEndLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.Vehicle.Builder.addEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.addEndLoadIntervals(CapacityQuantityInterval value) Deprecated.Vehicle.Builder.addEndLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.addEndTags(String value) Specifies tags attached to the end of the vehicle's route.Vehicle.Builder.addEndTagsBytes(com.google.protobuf.ByteString value) Specifies tags attached to the end of the vehicle's route.Vehicle.Builder.addEndTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.addEndTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.addEndTimeWindows(TimeWindow value) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.addEndTimeWindows(TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.addStartLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.Vehicle.Builder.addStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.addStartLoadIntervals(CapacityQuantityInterval value) Deprecated.Vehicle.Builder.addStartLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.addStartTags(String value) Specifies tags attached to the start of the vehicle's route.Vehicle.Builder.addStartTagsBytes(com.google.protobuf.ByteString value) Specifies tags attached to the start of the vehicle's route.Vehicle.Builder.addStartTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may depart its start location.Vehicle.Builder.addStartTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.Vehicle.Builder.addStartTimeWindows(TimeWindow value) Time windows during which the vehicle may depart its start location.Vehicle.Builder.addStartTimeWindows(TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.ShipmentModel.Builder.addVehiclesBuilder()Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addVehiclesBuilder(int index) Set of vehicles which can be used to perform visits.Vehicle.Builder.clear()Vehicle.Builder.clearBreakRule()Describes the break schedule to be enforced on this vehicle.Vehicle.Builder.clearBreakRuleIndices()Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Vehicle.Builder.clearCapacities()Deprecated.Vehicle.Builder.clearCostPerHour()Vehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost].Vehicle.Builder.clearCostPerKilometer()Cost per kilometer of the vehicle route.Vehicle.Builder.clearCostPerTraveledHour()Cost per traveled hour of the vehicle route.Vehicle.Builder.clearEndLoadIntervals()Deprecated.Vehicle.Builder.clearEndLocation()Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.clearEndTags()Specifies tags attached to the end of the vehicle's route.Vehicle.Builder.clearEndTimeWindows()Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.clearEndWaypoint()Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.clearExtraVisitDurationForVisitType()Vehicle.Builder.clearFixedCost()Fixed cost applied if this vehicle is used to handle a shipment.Vehicle.Builder.clearIgnore()If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused.Vehicle.Builder.clearLabel()Specifies a label for this vehicle.Vehicle.Builder.clearLoadLimits()Vehicle.Builder.clearRouteDistanceLimit()Limit applied to the total distance of the vehicle's route.Vehicle.Builder.clearRouteDurationLimit()Limit applied to the total duration of the vehicle's route.Vehicle.Builder.clearRouteModifiers()Optional.Vehicle.Builder.clearStartLoadIntervals()Deprecated.Vehicle.Builder.clearStartLocation()Geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.clearStartTags()Specifies tags attached to the start of the vehicle's route.Vehicle.Builder.clearStartTimeWindows()Time windows during which the vehicle may depart its start location.Vehicle.Builder.clearStartWaypoint()Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.clearTravelDurationLimit()Limit applied to the travel duration of the vehicle's route.Vehicle.Builder.clearTravelDurationMultiple()Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.Vehicle.Builder.clearTravelMode()The travel mode which affects the roads usable by the vehicle and its speed.Vehicle.Builder.clearUnloadingPolicy()Unloading policy enforced on the vehicle.Vehicle.Builder.clearUsedIfRouteIsEmpty()This field only applies to vehicles when their route does not serve any shipments.ShipmentModel.Builder.getVehiclesBuilder(int index) Set of vehicles which can be used to perform visits.Vehicle.Builder.mergeBreakRule(BreakRule value) Describes the break schedule to be enforced on this vehicle.Vehicle.Builder.mergeEndLocation(LatLng value) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.mergeEndWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Vehicle.Builder.mergeFrom(com.google.protobuf.Message other) Vehicle.Builder.mergeRouteDistanceLimit(DistanceLimit value) Limit applied to the total distance of the vehicle's route.Vehicle.Builder.mergeRouteDurationLimit(Vehicle.DurationLimit value) Limit applied to the total duration of the vehicle's route.Vehicle.Builder.mergeRouteModifiers(RouteModifiers value) Optional.Vehicle.Builder.mergeStartLocation(LatLng value) Geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.mergeStartWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.mergeTravelDurationLimit(Vehicle.DurationLimit value) Limit applied to the travel duration of the vehicle's route.static Vehicle.BuilderVehicle.newBuilder()static Vehicle.BuilderVehicle.newBuilder(Vehicle prototype) Vehicle.newBuilderForType()protected Vehicle.BuilderVehicle.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Vehicle.Builder.putAllExtraVisitDurationForVisitType(Map<String, com.google.protobuf.Duration> values) Specifies a map from visit_types strings to durations.Vehicle.Builder.putAllLoadLimits(Map<String, Vehicle.LoadLimit> values) Capacities of the vehicle (weight, volume, # of pallets for example).Vehicle.Builder.putExtraVisitDurationForVisitType(String key, com.google.protobuf.Duration value) Specifies a map from visit_types strings to durations.Vehicle.Builder.putLoadLimits(String key, Vehicle.LoadLimit value) Capacities of the vehicle (weight, volume, # of pallets for example).Vehicle.Builder.removeCapacities(int index) Deprecated.Vehicle.Builder.removeEndLoadIntervals(int index) Deprecated.Vehicle.Builder.removeEndTimeWindows(int index) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.removeExtraVisitDurationForVisitType(String key) Specifies a map from visit_types strings to durations.Vehicle.Builder.removeLoadLimits(String key) Capacities of the vehicle (weight, volume, # of pallets for example).Vehicle.Builder.removeStartLoadIntervals(int index) Deprecated.Vehicle.Builder.removeStartTimeWindows(int index) Time windows during which the vehicle may depart its start location.Vehicle.Builder.setBreakRule(BreakRule value) Describes the break schedule to be enforced on this vehicle.Vehicle.Builder.setBreakRule(BreakRule.Builder builderForValue) Describes the break schedule to be enforced on this vehicle.Vehicle.Builder.setBreakRuleIndices(int index, int value) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Vehicle.Builder.setCapacities(int index, CapacityQuantity value) Deprecated.Vehicle.Builder.setCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.Vehicle.Builder.setCostPerHour(double value) Vehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost].Vehicle.Builder.setCostPerKilometer(double value) Cost per kilometer of the vehicle route.Vehicle.Builder.setCostPerTraveledHour(double value) Cost per traveled hour of the vehicle route.Vehicle.Builder.setEndLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.Vehicle.Builder.setEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.setEndLocation(LatLng value) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.setEndLocation(LatLng.Builder builderForValue) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.setEndTags(int index, String value) Specifies tags attached to the end of the vehicle's route.Vehicle.Builder.setEndTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.setEndTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.Vehicle.Builder.setEndWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.setEndWaypoint(Waypoint.Builder builderForValue) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Vehicle.Builder.setFixedCost(double value) Fixed cost applied if this vehicle is used to handle a shipment.Vehicle.Builder.setIgnore(boolean value) If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused.Specifies a label for this vehicle.Vehicle.Builder.setLabelBytes(com.google.protobuf.ByteString value) Specifies a label for this vehicle.Vehicle.Builder.setRouteDistanceLimit(DistanceLimit value) Limit applied to the total distance of the vehicle's route.Vehicle.Builder.setRouteDistanceLimit(DistanceLimit.Builder builderForValue) Limit applied to the total distance of the vehicle's route.Vehicle.Builder.setRouteDurationLimit(Vehicle.DurationLimit value) Limit applied to the total duration of the vehicle's route.Vehicle.Builder.setRouteDurationLimit(Vehicle.DurationLimit.Builder builderForValue) Limit applied to the total duration of the vehicle's route.Vehicle.Builder.setRouteModifiers(RouteModifiers value) Optional.Vehicle.Builder.setRouteModifiers(RouteModifiers.Builder builderForValue) Optional.Vehicle.Builder.setStartLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.Vehicle.Builder.setStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Vehicle.Builder.setStartLocation(LatLng value) Geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.setStartLocation(LatLng.Builder builderForValue) Geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.setStartTags(int index, String value) Specifies tags attached to the start of the vehicle's route.Vehicle.Builder.setStartTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may depart its start location.Vehicle.Builder.setStartTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.Vehicle.Builder.setStartWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.setStartWaypoint(Waypoint.Builder builderForValue) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Vehicle.Builder.setTravelDurationLimit(Vehicle.DurationLimit value) Limit applied to the travel duration of the vehicle's route.Vehicle.Builder.setTravelDurationLimit(Vehicle.DurationLimit.Builder builderForValue) Limit applied to the travel duration of the vehicle's route.Vehicle.Builder.setTravelDurationMultiple(double value) Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.Vehicle.Builder.setTravelMode(Vehicle.TravelMode value) The travel mode which affects the roads usable by the vehicle and its speed.Vehicle.Builder.setTravelModeValue(int value) The travel mode which affects the roads usable by the vehicle and its speed.Vehicle.Builder.setUnloadingPolicy(Vehicle.UnloadingPolicy value) Unloading policy enforced on the vehicle.Vehicle.Builder.setUnloadingPolicyValue(int value) Unloading policy enforced on the vehicle.Vehicle.Builder.setUsedIfRouteIsEmpty(boolean value) This field only applies to vehicles when their route does not serve any shipments.Vehicle.toBuilder()Methods in com.google.cloud.optimization.v1 that return types with arguments of type Vehicle.BuilderModifier and TypeMethodDescriptionShipmentModel.Builder.getVehiclesBuilderList()Set of vehicles which can be used to perform visits.Methods in com.google.cloud.optimization.v1 with parameters of type Vehicle.BuilderModifier and TypeMethodDescriptionShipmentModel.Builder.addVehicles(int index, Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.addVehicles(Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.ShipmentModel.Builder.setVehicles(int index, Vehicle.Builder builderForValue) Set of vehicles which can be used to perform visits.