Package com.google.cloud.optimization.v1
Class Vehicle.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
com.google.cloud.optimization.v1.Vehicle.Builder
- All Implemented Interfaces:
VehicleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Vehicle
public static final class Vehicle.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
implements VehicleOrBuilder
Models a vehicle in a shipment problem. Solving a shipment problem will build a route starting from `start_location` and ending at `end_location` for this vehicle. A route is a sequence of visits (see `ShipmentRoute`).Protobuf type
google.cloud.optimization.v1.Vehicle-
Method Summary
Modifier and TypeMethodDescriptionaddAllBreakRuleIndices(Iterable<? extends Integer> values) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.addAllCapacities(Iterable<? extends CapacityQuantity> values) Deprecated.addAllEndLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.addAllEndTags(Iterable<String> values) Specifies tags attached to the end of the vehicle's route.addAllEndTimeWindows(Iterable<? extends TimeWindow> values) Time windows during which the vehicle may arrive at its end location.addAllStartLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.addAllStartTags(Iterable<String> values) Specifies tags attached to the start of the vehicle's route.addAllStartTimeWindows(Iterable<? extends TimeWindow> values) Time windows during which the vehicle may depart its start location.addBreakRuleIndices(int value) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.addCapacities(int index, CapacityQuantity value) Deprecated.addCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.addCapacities(CapacityQuantity value) Deprecated.addCapacities(CapacityQuantity.Builder builderForValue) Deprecated.Deprecated.addCapacitiesBuilder(int index) Deprecated.addEndLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.addEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated.addEndLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated.addEndLoadIntervalsBuilder(int index) Deprecated.addEndTags(String value) Specifies tags attached to the end of the vehicle's route.addEndTagsBytes(com.google.protobuf.ByteString value) Specifies tags attached to the end of the vehicle's route.addEndTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may arrive at its end location.addEndTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.addEndTimeWindows(TimeWindow value) Time windows during which the vehicle may arrive at its end location.addEndTimeWindows(TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.Time windows during which the vehicle may arrive at its end location.addEndTimeWindowsBuilder(int index) Time windows during which the vehicle may arrive at its end location.addStartLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.addStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated.addStartLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated.addStartLoadIntervalsBuilder(int index) Deprecated.addStartTags(String value) Specifies tags attached to the start of the vehicle's route.addStartTagsBytes(com.google.protobuf.ByteString value) Specifies tags attached to the start of the vehicle's route.addStartTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may depart its start location.addStartTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.addStartTimeWindows(TimeWindow value) Time windows during which the vehicle may depart its start location.addStartTimeWindows(TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.Time windows during which the vehicle may depart its start location.addStartTimeWindowsBuilder(int index) Time windows during which the vehicle may depart its start location.build()clear()Describes the break schedule to be enforced on this vehicle.Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Deprecated.Vehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost].Cost per kilometer of the vehicle route.Cost per traveled hour of the vehicle route.Deprecated.Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Specifies tags attached to the end of the vehicle's route.Time windows during which the vehicle may arrive at its end location.Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Fixed cost applied if this vehicle is used to handle a shipment.If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused.Specifies a label for this vehicle.Limit applied to the total distance of the vehicle's route.Limit applied to the total duration of the vehicle's route.Optional.Deprecated.Geographic location where the vehicle starts before picking up any shipments.Specifies tags attached to the start of the vehicle's route.Time windows during which the vehicle may depart its start location.Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Limit applied to the travel duration of the vehicle's route.Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.The travel mode which affects the roads usable by the vehicle and its speed.Unloading policy enforced on the vehicle.This field only applies to vehicles when their route does not serve any shipments.booleanSpecifies a map from visit_types strings to durations.booleancontainsLoadLimits(String key) Capacities of the vehicle (weight, volume, # of pallets for example).Describes the break schedule to be enforced on this vehicle.Describes the break schedule to be enforced on this vehicle.intgetBreakRuleIndices(int index) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.intDeprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.Describes the break schedule to be enforced on this vehicle.getCapacities(int index) Deprecated.getCapacitiesBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getCapacitiesOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.doubleVehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost].doubleCost per kilometer of the vehicle route.doubleCost per traveled hour of the vehicle route.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndLoadIntervals(int index) Deprecated.getEndLoadIntervalsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getEndLoadIntervalsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityIntervalOrBuilder>Deprecated.Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Geographic location where the vehicle ends after it has completed its last `VisitRequest`.Geographic location where the vehicle ends after it has completed its last `VisitRequest`.getEndTags(int index) Specifies tags attached to the end of the vehicle's route.com.google.protobuf.ByteStringgetEndTagsBytes(int index) Specifies tags attached to the end of the vehicle's route.intSpecifies tags attached to the end of the vehicle's route.com.google.protobuf.ProtocolStringListSpecifies tags attached to the end of the vehicle's route.getEndTimeWindows(int index) Time windows during which the vehicle may arrive at its end location.getEndTimeWindowsBuilder(int index) Time windows during which the vehicle may arrive at its end location.Time windows during which the vehicle may arrive at its end location.intTime windows during which the vehicle may arrive at its end location.Time windows during which the vehicle may arrive at its end location.getEndTimeWindowsOrBuilder(int index) Time windows during which the vehicle may arrive at its end location.List<? extends TimeWindowOrBuilder>Time windows during which the vehicle may arrive at its end location.Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.Deprecated.intSpecifies a map from visit_types strings to durations.Specifies a map from visit_types strings to durations.com.google.protobuf.DurationgetExtraVisitDurationForVisitTypeOrDefault(String key, com.google.protobuf.Duration defaultValue) Specifies a map from visit_types strings to durations.com.google.protobuf.DurationSpecifies a map from visit_types strings to durations.doubleFixed cost applied if this vehicle is used to handle a shipment.booleanIf true, `used_if_route_is_empty` must be false, and this vehicle will remain unused.getLabel()Specifies a label for this vehicle.com.google.protobuf.ByteStringSpecifies a label for this vehicle.Deprecated.intCapacities of the vehicle (weight, volume, # of pallets for example).Capacities of the vehicle (weight, volume, # of pallets for example).getLoadLimitsOrDefault(String key, Vehicle.LoadLimit defaultValue) Capacities of the vehicle (weight, volume, # of pallets for example).Capacities of the vehicle (weight, volume, # of pallets for example).Deprecated.Deprecated.Limit applied to the total distance of the vehicle's route.Limit applied to the total distance of the vehicle's route.Limit applied to the total distance of the vehicle's route.Limit applied to the total duration of the vehicle's route.Limit applied to the total duration of the vehicle's route.Limit applied to the total duration of the vehicle's route.Optional.Optional.Optional.getStartLoadIntervals(int index) Deprecated.getStartLoadIntervalsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getStartLoadIntervalsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityIntervalOrBuilder>Deprecated.Geographic location where the vehicle starts before picking up any shipments.Geographic location where the vehicle starts before picking up any shipments.Geographic location where the vehicle starts before picking up any shipments.getStartTags(int index) Specifies tags attached to the start of the vehicle's route.com.google.protobuf.ByteStringgetStartTagsBytes(int index) Specifies tags attached to the start of the vehicle's route.intSpecifies tags attached to the start of the vehicle's route.com.google.protobuf.ProtocolStringListSpecifies tags attached to the start of the vehicle's route.getStartTimeWindows(int index) Time windows during which the vehicle may depart its start location.getStartTimeWindowsBuilder(int index) Time windows during which the vehicle may depart its start location.Time windows during which the vehicle may depart its start location.intTime windows during which the vehicle may depart its start location.Time windows during which the vehicle may depart its start location.getStartTimeWindowsOrBuilder(int index) Time windows during which the vehicle may depart its start location.List<? extends TimeWindowOrBuilder>Time windows during which the vehicle may depart its start location.Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Limit applied to the travel duration of the vehicle's route.Limit applied to the travel duration of the vehicle's route.Limit applied to the travel duration of the vehicle's route.doubleSpecifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.The travel mode which affects the roads usable by the vehicle and its speed.intThe travel mode which affects the roads usable by the vehicle and its speed.Unloading policy enforced on the vehicle.intUnloading policy enforced on the vehicle.booleanThis field only applies to vehicles when their route does not serve any shipments.booleanDescribes the break schedule to be enforced on this vehicle.booleanGeographic location where the vehicle ends after it has completed its last `VisitRequest`.booleanWaypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.booleanLimit applied to the total distance of the vehicle's route.booleanLimit applied to the total duration of the vehicle's route.booleanOptional.booleanGeographic location where the vehicle starts before picking up any shipments.booleanWaypoint representing a geographic location where the vehicle starts before picking up any shipments.booleanLimit applied to the travel duration of the vehicle's route.booleanSpecifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeBreakRule(BreakRule value) Describes the break schedule to be enforced on this vehicle.mergeEndLocation(LatLng value) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.mergeEndWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Limit applied to the total distance of the vehicle's route.Limit applied to the total duration of the vehicle's route.Optional.mergeStartLocation(LatLng value) Geographic location where the vehicle starts before picking up any shipments.mergeStartWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Limit applied to the travel duration of the vehicle's route.putAllExtraVisitDurationForVisitType(Map<String, com.google.protobuf.Duration> values) Specifies a map from visit_types strings to durations.putAllLoadLimits(Map<String, Vehicle.LoadLimit> values) Capacities of the vehicle (weight, volume, # of pallets for example).putExtraVisitDurationForVisitType(String key, com.google.protobuf.Duration value) Specifies a map from visit_types strings to durations.com.google.protobuf.Duration.BuilderSpecifies a map from visit_types strings to durations.putLoadLimits(String key, Vehicle.LoadLimit value) Capacities of the vehicle (weight, volume, # of pallets for example).Capacities of the vehicle (weight, volume, # of pallets for example).removeCapacities(int index) Deprecated.removeEndLoadIntervals(int index) Deprecated.removeEndTimeWindows(int index) Time windows during which the vehicle may arrive at its end location.Specifies a map from visit_types strings to durations.removeLoadLimits(String key) Capacities of the vehicle (weight, volume, # of pallets for example).removeStartLoadIntervals(int index) Deprecated.removeStartTimeWindows(int index) Time windows during which the vehicle may depart its start location.setBreakRule(BreakRule value) Describes the break schedule to be enforced on this vehicle.setBreakRule(BreakRule.Builder builderForValue) Describes the break schedule to be enforced on this vehicle.setBreakRuleIndices(int index, int value) Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated.setCapacities(int index, CapacityQuantity value) Deprecated.setCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.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].setCostPerKilometer(double value) Cost per kilometer of the vehicle route.setCostPerTraveledHour(double value) Cost per traveled hour of the vehicle route.setEndLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.setEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.setEndLocation(LatLng value) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.setEndLocation(LatLng.Builder builderForValue) Geographic location where the vehicle ends after it has completed its last `VisitRequest`.setEndTags(int index, String value) Specifies tags attached to the end of the vehicle's route.setEndTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may arrive at its end location.setEndTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may arrive at its end location.setEndWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.setEndWaypoint(Waypoint.Builder builderForValue) Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`.setFixedCost(double value) Fixed cost applied if this vehicle is used to handle a shipment.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.setLabelBytes(com.google.protobuf.ByteString value) Specifies a label for this vehicle.Limit applied to the total distance of the vehicle's route.setRouteDistanceLimit(DistanceLimit.Builder builderForValue) Limit applied to the total distance of the vehicle's route.Limit applied to the total duration of the vehicle's route.setRouteDurationLimit(Vehicle.DurationLimit.Builder builderForValue) Limit applied to the total duration of the vehicle's route.setRouteModifiers(RouteModifiers value) Optional.setRouteModifiers(RouteModifiers.Builder builderForValue) Optional.setStartLoadIntervals(int index, CapacityQuantityInterval value) Deprecated.setStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.setStartLocation(LatLng value) Geographic location where the vehicle starts before picking up any shipments.setStartLocation(LatLng.Builder builderForValue) Geographic location where the vehicle starts before picking up any shipments.setStartTags(int index, String value) Specifies tags attached to the start of the vehicle's route.setStartTimeWindows(int index, TimeWindow value) Time windows during which the vehicle may depart its start location.setStartTimeWindows(int index, TimeWindow.Builder builderForValue) Time windows during which the vehicle may depart its start location.setStartWaypoint(Waypoint value) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.setStartWaypoint(Waypoint.Builder builderForValue) Waypoint representing a geographic location where the vehicle starts before picking up any shipments.Limit applied to the travel duration of the vehicle's route.setTravelDurationLimit(Vehicle.DurationLimit.Builder builderForValue) Limit applied to the travel duration of the vehicle's route.setTravelDurationMultiple(double value) Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle.setTravelMode(Vehicle.TravelMode value) The travel mode which affects the roads usable by the vehicle and its speed.setTravelModeValue(int value) The travel mode which affects the roads usable by the vehicle and its speed.Unloading policy enforced on the vehicle.setUnloadingPolicyValue(int value) Unloading policy enforced on the vehicle.setUsedIfRouteIsEmpty(boolean value) This field only applies to vehicles when their route does not serve any shipments.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Vehicle.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Vehicle.Builder>
-
mergeFrom
public Vehicle.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Vehicle.Builder>- Throws:
IOException
-
getTravelModeValue
public int getTravelModeValue()The travel mode which affects the roads usable by the vehicle and its speed. See also `travel_duration_multiple`.
.google.cloud.optimization.v1.Vehicle.TravelMode travel_mode = 1;- Specified by:
getTravelModeValuein interfaceVehicleOrBuilder- Returns:
- The enum numeric value on the wire for travelMode.
-
setTravelModeValue
The travel mode which affects the roads usable by the vehicle and its speed. See also `travel_duration_multiple`.
.google.cloud.optimization.v1.Vehicle.TravelMode travel_mode = 1;- Parameters:
value- The enum numeric value on the wire for travelMode to set.- Returns:
- This builder for chaining.
-
getTravelMode
The travel mode which affects the roads usable by the vehicle and its speed. See also `travel_duration_multiple`.
.google.cloud.optimization.v1.Vehicle.TravelMode travel_mode = 1;- Specified by:
getTravelModein interfaceVehicleOrBuilder- Returns:
- The travelMode.
-
setTravelMode
The travel mode which affects the roads usable by the vehicle and its speed. See also `travel_duration_multiple`.
.google.cloud.optimization.v1.Vehicle.TravelMode travel_mode = 1;- Parameters:
value- The travelMode to set.- Returns:
- This builder for chaining.
-
clearTravelMode
The travel mode which affects the roads usable by the vehicle and its speed. See also `travel_duration_multiple`.
.google.cloud.optimization.v1.Vehicle.TravelMode travel_mode = 1;- Returns:
- This builder for chaining.
-
hasRouteModifiers
public boolean hasRouteModifiers()Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRouteModifiersin interfaceVehicleOrBuilder- Returns:
- Whether the routeModifiers field is set.
-
getRouteModifiers
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteModifiersin interfaceVehicleOrBuilder- Returns:
- The routeModifiers.
-
setRouteModifiers
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setRouteModifiers
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRouteModifiers
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearRouteModifiers
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRouteModifiersBuilder
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRouteModifiersOrBuilder
Optional. A set of conditions to satisfy that affect the way routes are calculated for the given vehicle.
.google.cloud.optimization.v1.RouteModifiers route_modifiers = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRouteModifiersOrBuilderin interfaceVehicleOrBuilder
-
hasStartLocation
public boolean hasStartLocation()Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3;- Specified by:
hasStartLocationin interfaceVehicleOrBuilder- Returns:
- Whether the startLocation field is set.
-
getStartLocation
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3;- Specified by:
getStartLocationin interfaceVehicleOrBuilder- Returns:
- The startLocation.
-
setStartLocation
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3; -
setStartLocation
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3; -
mergeStartLocation
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3; -
clearStartLocation
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3; -
getStartLocationBuilder
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3; -
getStartLocationOrBuilder
Geographic location where the vehicle starts before picking up any shipments. If not specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_location` must not be specified.
.google.type.LatLng start_location = 3;- Specified by:
getStartLocationOrBuilderin interfaceVehicleOrBuilder
-
hasStartWaypoint
public boolean hasStartWaypoint()Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4;- Specified by:
hasStartWaypointin interfaceVehicleOrBuilder- Returns:
- Whether the startWaypoint field is set.
-
getStartWaypoint
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4;- Specified by:
getStartWaypointin interfaceVehicleOrBuilder- Returns:
- The startWaypoint.
-
setStartWaypoint
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4; -
setStartWaypoint
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4; -
mergeStartWaypoint
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4; -
clearStartWaypoint
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4; -
getStartWaypointBuilder
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4; -
getStartWaypointOrBuilder
Waypoint representing a geographic location where the vehicle starts before picking up any shipments. If neither `start_waypoint` nor `start_location` is specified, the vehicle starts at its first pickup. If the shipment model has duration and distance matrices, `start_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint start_waypoint = 4;- Specified by:
getStartWaypointOrBuilderin interfaceVehicleOrBuilder
-
hasEndLocation
public boolean hasEndLocation()Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5;- Specified by:
hasEndLocationin interfaceVehicleOrBuilder- Returns:
- Whether the endLocation field is set.
-
getEndLocation
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5;- Specified by:
getEndLocationin interfaceVehicleOrBuilder- Returns:
- The endLocation.
-
setEndLocation
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5; -
setEndLocation
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5; -
mergeEndLocation
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5; -
clearEndLocation
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5; -
getEndLocationBuilder
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5; -
getEndLocationOrBuilder
Geographic location where the vehicle ends after it has completed its last `VisitRequest`. If not specified the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_location` must not be specified.
.google.type.LatLng end_location = 5;- Specified by:
getEndLocationOrBuilderin interfaceVehicleOrBuilder
-
hasEndWaypoint
public boolean hasEndWaypoint()Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6;- Specified by:
hasEndWaypointin interfaceVehicleOrBuilder- Returns:
- Whether the endWaypoint field is set.
-
getEndWaypoint
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6;- Specified by:
getEndWaypointin interfaceVehicleOrBuilder- Returns:
- The endWaypoint.
-
setEndWaypoint
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6; -
setEndWaypoint
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6; -
mergeEndWaypoint
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6; -
clearEndWaypoint
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6; -
getEndWaypointBuilder
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6; -
getEndWaypointOrBuilder
Waypoint representing a geographic location where the vehicle ends after it has completed its last `VisitRequest`. If neither `end_waypoint` nor `end_location` is specified, the vehicle's `ShipmentRoute` ends immediately when it completes its last `VisitRequest`. If the shipment model has duration and distance matrices, `end_waypoint` must not be specified.
.google.cloud.optimization.v1.Waypoint end_waypoint = 6;- Specified by:
getEndWaypointOrBuilderin interfaceVehicleOrBuilder
-
getStartTagsList
public com.google.protobuf.ProtocolStringList getStartTagsList()Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Specified by:
getStartTagsListin interfaceVehicleOrBuilder- Returns:
- A list containing the startTags.
-
getStartTagsCount
public int getStartTagsCount()Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Specified by:
getStartTagsCountin interfaceVehicleOrBuilder- Returns:
- The count of startTags.
-
getStartTags
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Specified by:
getStartTagsin interfaceVehicleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The startTags at the given index.
-
getStartTagsBytes
public com.google.protobuf.ByteString getStartTagsBytes(int index) Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Specified by:
getStartTagsBytesin interfaceVehicleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the startTags at the given index.
-
setStartTags
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Parameters:
index- The index to set the value at.value- The startTags to set.- Returns:
- This builder for chaining.
-
addStartTags
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Parameters:
value- The startTags to add.- Returns:
- This builder for chaining.
-
addAllStartTags
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Parameters:
values- The startTags to add.- Returns:
- This builder for chaining.
-
clearStartTags
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Returns:
- This builder for chaining.
-
addStartTagsBytes
Specifies tags attached to the start of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string start_tags = 7;- Parameters:
value- The bytes of the startTags to add.- Returns:
- This builder for chaining.
-
getEndTagsList
public com.google.protobuf.ProtocolStringList getEndTagsList()Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Specified by:
getEndTagsListin interfaceVehicleOrBuilder- Returns:
- A list containing the endTags.
-
getEndTagsCount
public int getEndTagsCount()Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Specified by:
getEndTagsCountin interfaceVehicleOrBuilder- Returns:
- The count of endTags.
-
getEndTags
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Specified by:
getEndTagsin interfaceVehicleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The endTags at the given index.
-
getEndTagsBytes
public com.google.protobuf.ByteString getEndTagsBytes(int index) Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Specified by:
getEndTagsBytesin interfaceVehicleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the endTags at the given index.
-
setEndTags
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Parameters:
index- The index to set the value at.value- The endTags to set.- Returns:
- This builder for chaining.
-
addEndTags
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Parameters:
value- The endTags to add.- Returns:
- This builder for chaining.
-
addAllEndTags
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Parameters:
values- The endTags to add.- Returns:
- This builder for chaining.
-
clearEndTags
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Returns:
- This builder for chaining.
-
addEndTagsBytes
Specifies tags attached to the end of the vehicle's route. Empty or duplicate strings are not allowed.
repeated string end_tags = 8;- Parameters:
value- The bytes of the endTags to add.- Returns:
- This builder for chaining.
-
getStartTimeWindowsList
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9;- Specified by:
getStartTimeWindowsListin interfaceVehicleOrBuilder
-
getStartTimeWindowsCount
public int getStartTimeWindowsCount()Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9;- Specified by:
getStartTimeWindowsCountin interfaceVehicleOrBuilder
-
getStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9;- Specified by:
getStartTimeWindowsin interfaceVehicleOrBuilder
-
setStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
setStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addAllStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
clearStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
removeStartTimeWindows
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
getStartTimeWindowsBuilder
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
getStartTimeWindowsOrBuilder
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9;- Specified by:
getStartTimeWindowsOrBuilderin interfaceVehicleOrBuilder
-
getStartTimeWindowsOrBuilderList
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9;- Specified by:
getStartTimeWindowsOrBuilderListin interfaceVehicleOrBuilder
-
addStartTimeWindowsBuilder
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
addStartTimeWindowsBuilder
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
getStartTimeWindowsBuilderList
Time windows during which the vehicle may depart its start location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow start_time_windows = 9; -
getEndTimeWindowsList
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10;- Specified by:
getEndTimeWindowsListin interfaceVehicleOrBuilder
-
getEndTimeWindowsCount
public int getEndTimeWindowsCount()Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10;- Specified by:
getEndTimeWindowsCountin interfaceVehicleOrBuilder
-
getEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10;- Specified by:
getEndTimeWindowsin interfaceVehicleOrBuilder
-
setEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
setEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addAllEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
clearEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
removeEndTimeWindows
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
getEndTimeWindowsBuilder
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
getEndTimeWindowsOrBuilder
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10;- Specified by:
getEndTimeWindowsOrBuilderin interfaceVehicleOrBuilder
-
getEndTimeWindowsOrBuilderList
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10;- Specified by:
getEndTimeWindowsOrBuilderListin interfaceVehicleOrBuilder
-
addEndTimeWindowsBuilder
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
addEndTimeWindowsBuilder
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
getEndTimeWindowsBuilderList
Time windows during which the vehicle may arrive at its end location. They must be within the global time limits (see [ShipmentModel.global_*][google.cloud.optimization.v1.ShipmentModel.global_start_time] fields). If unspecified, there is no limitation besides those global time limits. Time windows belonging to the same repeated field must be disjoint, i.e. no time window can overlap with or be adjacent to another, and they must be in chronological order. `cost_per_hour_after_soft_end_time` and `soft_end_time` can only be set if there is a single time window.
repeated .google.cloud.optimization.v1.TimeWindow end_time_windows = 10; -
hasTravelDurationMultiple
public boolean hasTravelDurationMultiple()Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle. For example, setting this to 2.0 means that this vehicle is slower and has travel times that are twice what they are for standard vehicles. This multiple does not affect visit durations. It does affect cost if `cost_per_hour` or `cost_per_traveled_hour` are specified. This must be in the range [0.001, 1000.0]. If unset, the vehicle is standard, and this multiple is considered 1.0. WARNING: Travel times will be rounded to the nearest second after this multiple is applied but before performing any numerical operations, thus, a small multiple may result in a loss of precision. See also `extra_visit_duration_for_visit_type` below.
optional double travel_duration_multiple = 11;- Specified by:
hasTravelDurationMultiplein interfaceVehicleOrBuilder- Returns:
- Whether the travelDurationMultiple field is set.
-
getTravelDurationMultiple
public double getTravelDurationMultiple()Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle. For example, setting this to 2.0 means that this vehicle is slower and has travel times that are twice what they are for standard vehicles. This multiple does not affect visit durations. It does affect cost if `cost_per_hour` or `cost_per_traveled_hour` are specified. This must be in the range [0.001, 1000.0]. If unset, the vehicle is standard, and this multiple is considered 1.0. WARNING: Travel times will be rounded to the nearest second after this multiple is applied but before performing any numerical operations, thus, a small multiple may result in a loss of precision. See also `extra_visit_duration_for_visit_type` below.
optional double travel_duration_multiple = 11;- Specified by:
getTravelDurationMultiplein interfaceVehicleOrBuilder- Returns:
- The travelDurationMultiple.
-
setTravelDurationMultiple
Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle. For example, setting this to 2.0 means that this vehicle is slower and has travel times that are twice what they are for standard vehicles. This multiple does not affect visit durations. It does affect cost if `cost_per_hour` or `cost_per_traveled_hour` are specified. This must be in the range [0.001, 1000.0]. If unset, the vehicle is standard, and this multiple is considered 1.0. WARNING: Travel times will be rounded to the nearest second after this multiple is applied but before performing any numerical operations, thus, a small multiple may result in a loss of precision. See also `extra_visit_duration_for_visit_type` below.
optional double travel_duration_multiple = 11;- Parameters:
value- The travelDurationMultiple to set.- Returns:
- This builder for chaining.
-
clearTravelDurationMultiple
Specifies a multiplicative factor that can be used to increase or decrease travel times of this vehicle. For example, setting this to 2.0 means that this vehicle is slower and has travel times that are twice what they are for standard vehicles. This multiple does not affect visit durations. It does affect cost if `cost_per_hour` or `cost_per_traveled_hour` are specified. This must be in the range [0.001, 1000.0]. If unset, the vehicle is standard, and this multiple is considered 1.0. WARNING: Travel times will be rounded to the nearest second after this multiple is applied but before performing any numerical operations, thus, a small multiple may result in a loss of precision. See also `extra_visit_duration_for_visit_type` below.
optional double travel_duration_multiple = 11;- Returns:
- This builder for chaining.
-
getUnloadingPolicyValue
public int getUnloadingPolicyValue()Unloading policy enforced on the vehicle.
.google.cloud.optimization.v1.Vehicle.UnloadingPolicy unloading_policy = 12;- Specified by:
getUnloadingPolicyValuein interfaceVehicleOrBuilder- Returns:
- The enum numeric value on the wire for unloadingPolicy.
-
setUnloadingPolicyValue
Unloading policy enforced on the vehicle.
.google.cloud.optimization.v1.Vehicle.UnloadingPolicy unloading_policy = 12;- Parameters:
value- The enum numeric value on the wire for unloadingPolicy to set.- Returns:
- This builder for chaining.
-
getUnloadingPolicy
Unloading policy enforced on the vehicle.
.google.cloud.optimization.v1.Vehicle.UnloadingPolicy unloading_policy = 12;- Specified by:
getUnloadingPolicyin interfaceVehicleOrBuilder- Returns:
- The unloadingPolicy.
-
setUnloadingPolicy
Unloading policy enforced on the vehicle.
.google.cloud.optimization.v1.Vehicle.UnloadingPolicy unloading_policy = 12;- Parameters:
value- The unloadingPolicy to set.- Returns:
- This builder for chaining.
-
clearUnloadingPolicy
Unloading policy enforced on the vehicle.
.google.cloud.optimization.v1.Vehicle.UnloadingPolicy unloading_policy = 12;- Returns:
- This builder for chaining.
-
getLoadLimitsCount
public int getLoadLimitsCount()Description copied from interface:VehicleOrBuilderCapacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;- Specified by:
getLoadLimitsCountin interfaceVehicleOrBuilder
-
containsLoadLimits
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;- Specified by:
containsLoadLimitsin interfaceVehicleOrBuilder
-
getLoadLimits
Deprecated.UsegetLoadLimitsMap()instead.- Specified by:
getLoadLimitsin interfaceVehicleOrBuilder
-
getLoadLimitsMap
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;- Specified by:
getLoadLimitsMapin interfaceVehicleOrBuilder
-
getLoadLimitsOrDefault
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;- Specified by:
getLoadLimitsOrDefaultin interfaceVehicleOrBuilder
-
getLoadLimitsOrThrow
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30;- Specified by:
getLoadLimitsOrThrowin interfaceVehicleOrBuilder
-
clearLoadLimits
-
removeLoadLimits
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30; -
getMutableLoadLimits
Deprecated.Use alternate mutation accessors instead. -
putLoadLimits
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30; -
putAllLoadLimits
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30; -
putLoadLimitsBuilderIfAbsent
Capacities of the vehicle (weight, volume, # of pallets for example). The keys in the map are the identifiers of the type of load, consistent with the keys of the [Shipment.load_demands][google.cloud.optimization.v1.Shipment.load_demands] field. If a given key is absent from this map, the corresponding capacity is considered to be limitless.
map<string, .google.cloud.optimization.v1.Vehicle.LoadLimit> load_limits = 30; -
getCostPerHour
public double getCostPerHour()Vehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost]. Cost per hour of the vehicle route. This cost is applied to the total time taken by the route, and includes travel time, waiting time, and visit time. Using `cost_per_hour` instead of just `cost_per_traveled_hour` may result in additional latency.
double cost_per_hour = 16;- Specified by:
getCostPerHourin interfaceVehicleOrBuilder- Returns:
- The costPerHour.
-
setCostPerHour
Vehicle costs: all costs add up and must be in the same unit as [Shipment.penalty_cost][google.cloud.optimization.v1.Shipment.penalty_cost]. Cost per hour of the vehicle route. This cost is applied to the total time taken by the route, and includes travel time, waiting time, and visit time. Using `cost_per_hour` instead of just `cost_per_traveled_hour` may result in additional latency.
double cost_per_hour = 16;- Parameters:
value- The costPerHour to set.- Returns:
- This builder for chaining.
-
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]. Cost per hour of the vehicle route. This cost is applied to the total time taken by the route, and includes travel time, waiting time, and visit time. Using `cost_per_hour` instead of just `cost_per_traveled_hour` may result in additional latency.
double cost_per_hour = 16;- Returns:
- This builder for chaining.
-
getCostPerTraveledHour
public double getCostPerTraveledHour()Cost per traveled hour of the vehicle route. This cost is applied only to travel time taken by the route (i.e., that reported in [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]), and excludes waiting time and visit time.
double cost_per_traveled_hour = 17;- Specified by:
getCostPerTraveledHourin interfaceVehicleOrBuilder- Returns:
- The costPerTraveledHour.
-
setCostPerTraveledHour
Cost per traveled hour of the vehicle route. This cost is applied only to travel time taken by the route (i.e., that reported in [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]), and excludes waiting time and visit time.
double cost_per_traveled_hour = 17;- Parameters:
value- The costPerTraveledHour to set.- Returns:
- This builder for chaining.
-
clearCostPerTraveledHour
Cost per traveled hour of the vehicle route. This cost is applied only to travel time taken by the route (i.e., that reported in [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions]), and excludes waiting time and visit time.
double cost_per_traveled_hour = 17;- Returns:
- This builder for chaining.
-
getCostPerKilometer
public double getCostPerKilometer()Cost per kilometer of the vehicle route. This cost is applied to the distance reported in the [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions] and does not apply to any distance implicitly traveled from the `arrival_location` to the `departure_location` of a single `VisitRequest`.
double cost_per_kilometer = 18;- Specified by:
getCostPerKilometerin interfaceVehicleOrBuilder- Returns:
- The costPerKilometer.
-
setCostPerKilometer
Cost per kilometer of the vehicle route. This cost is applied to the distance reported in the [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions] and does not apply to any distance implicitly traveled from the `arrival_location` to the `departure_location` of a single `VisitRequest`.
double cost_per_kilometer = 18;- Parameters:
value- The costPerKilometer to set.- Returns:
- This builder for chaining.
-
clearCostPerKilometer
Cost per kilometer of the vehicle route. This cost is applied to the distance reported in the [ShipmentRoute.transitions][google.cloud.optimization.v1.ShipmentRoute.transitions] and does not apply to any distance implicitly traveled from the `arrival_location` to the `departure_location` of a single `VisitRequest`.
double cost_per_kilometer = 18;- Returns:
- This builder for chaining.
-
getFixedCost
public double getFixedCost()Fixed cost applied if this vehicle is used to handle a shipment.
double fixed_cost = 19;- Specified by:
getFixedCostin interfaceVehicleOrBuilder- Returns:
- The fixedCost.
-
setFixedCost
Fixed cost applied if this vehicle is used to handle a shipment.
double fixed_cost = 19;- Parameters:
value- The fixedCost to set.- Returns:
- This builder for chaining.
-
clearFixedCost
Fixed cost applied if this vehicle is used to handle a shipment.
double fixed_cost = 19;- Returns:
- This builder for chaining.
-
getUsedIfRouteIsEmpty
public boolean getUsedIfRouteIsEmpty()This field only applies to vehicles when their route does not serve any shipments. It indicates if the vehicle should be considered as used or not in this case. If true, the vehicle goes from its start to its end location even if it doesn't serve any shipments, and time and distance costs resulting from its start --> end travel are taken into account. Otherwise, it doesn't travel from its start to its end location, and no `break_rule` or delay (from `TransitionAttributes`) are scheduled for this vehicle. In this case, the vehicle's `ShipmentRoute` doesn't contain any information except for the vehicle index and label.
bool used_if_route_is_empty = 20;- Specified by:
getUsedIfRouteIsEmptyin interfaceVehicleOrBuilder- Returns:
- The usedIfRouteIsEmpty.
-
setUsedIfRouteIsEmpty
This field only applies to vehicles when their route does not serve any shipments. It indicates if the vehicle should be considered as used or not in this case. If true, the vehicle goes from its start to its end location even if it doesn't serve any shipments, and time and distance costs resulting from its start --> end travel are taken into account. Otherwise, it doesn't travel from its start to its end location, and no `break_rule` or delay (from `TransitionAttributes`) are scheduled for this vehicle. In this case, the vehicle's `ShipmentRoute` doesn't contain any information except for the vehicle index and label.
bool used_if_route_is_empty = 20;- Parameters:
value- The usedIfRouteIsEmpty to set.- Returns:
- This builder for chaining.
-
clearUsedIfRouteIsEmpty
This field only applies to vehicles when their route does not serve any shipments. It indicates if the vehicle should be considered as used or not in this case. If true, the vehicle goes from its start to its end location even if it doesn't serve any shipments, and time and distance costs resulting from its start --> end travel are taken into account. Otherwise, it doesn't travel from its start to its end location, and no `break_rule` or delay (from `TransitionAttributes`) are scheduled for this vehicle. In this case, the vehicle's `ShipmentRoute` doesn't contain any information except for the vehicle index and label.
bool used_if_route_is_empty = 20;- Returns:
- This builder for chaining.
-
hasRouteDurationLimit
public boolean hasRouteDurationLimit()Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21;- Specified by:
hasRouteDurationLimitin interfaceVehicleOrBuilder- Returns:
- Whether the routeDurationLimit field is set.
-
getRouteDurationLimit
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21;- Specified by:
getRouteDurationLimitin interfaceVehicleOrBuilder- Returns:
- The routeDurationLimit.
-
setRouteDurationLimit
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21; -
setRouteDurationLimit
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21; -
mergeRouteDurationLimit
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21; -
clearRouteDurationLimit
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21; -
getRouteDurationLimitBuilder
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21; -
getRouteDurationLimitOrBuilder
Limit applied to the total duration of the vehicle's route. In a given `OptimizeToursResponse`, the route duration of a vehicle is the difference between its `vehicle_end_time` and `vehicle_start_time`.
.google.cloud.optimization.v1.Vehicle.DurationLimit route_duration_limit = 21;- Specified by:
getRouteDurationLimitOrBuilderin interfaceVehicleOrBuilder
-
hasTravelDurationLimit
public boolean hasTravelDurationLimit()Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22;- Specified by:
hasTravelDurationLimitin interfaceVehicleOrBuilder- Returns:
- Whether the travelDurationLimit field is set.
-
getTravelDurationLimit
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22;- Specified by:
getTravelDurationLimitin interfaceVehicleOrBuilder- Returns:
- The travelDurationLimit.
-
setTravelDurationLimit
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22; -
setTravelDurationLimit
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22; -
mergeTravelDurationLimit
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22; -
clearTravelDurationLimit
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22; -
getTravelDurationLimitBuilder
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22; -
getTravelDurationLimitOrBuilder
Limit applied to the travel duration of the vehicle's route. In a given `OptimizeToursResponse`, the route travel duration is the sum of all its [transitions.travel_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_duration].
.google.cloud.optimization.v1.Vehicle.DurationLimit travel_duration_limit = 22;- Specified by:
getTravelDurationLimitOrBuilderin interfaceVehicleOrBuilder
-
hasRouteDistanceLimit
public boolean hasRouteDistanceLimit()Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23;- Specified by:
hasRouteDistanceLimitin interfaceVehicleOrBuilder- Returns:
- Whether the routeDistanceLimit field is set.
-
getRouteDistanceLimit
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23;- Specified by:
getRouteDistanceLimitin interfaceVehicleOrBuilder- Returns:
- The routeDistanceLimit.
-
setRouteDistanceLimit
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23; -
setRouteDistanceLimit
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23; -
mergeRouteDistanceLimit
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23; -
clearRouteDistanceLimit
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23; -
getRouteDistanceLimitBuilder
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23; -
getRouteDistanceLimitOrBuilder
Limit applied to the total distance of the vehicle's route. In a given `OptimizeToursResponse`, the route distance is the sum of all its [transitions.travel_distance_meters][google.cloud.optimization.v1.ShipmentRoute.Transition.travel_distance_meters].
.google.cloud.optimization.v1.DistanceLimit route_distance_limit = 23;- Specified by:
getRouteDistanceLimitOrBuilderin interfaceVehicleOrBuilder
-
getExtraVisitDurationForVisitTypeCount
public int getExtraVisitDurationForVisitTypeCount()Description copied from interface:VehicleOrBuilderSpecifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;- Specified by:
getExtraVisitDurationForVisitTypeCountin interfaceVehicleOrBuilder
-
containsExtraVisitDurationForVisitType
Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;- Specified by:
containsExtraVisitDurationForVisitTypein interfaceVehicleOrBuilder
-
getExtraVisitDurationForVisitType
Deprecated.UsegetExtraVisitDurationForVisitTypeMap()instead.- Specified by:
getExtraVisitDurationForVisitTypein interfaceVehicleOrBuilder
-
getExtraVisitDurationForVisitTypeMap
Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;- Specified by:
getExtraVisitDurationForVisitTypeMapin interfaceVehicleOrBuilder
-
getExtraVisitDurationForVisitTypeOrDefault
public com.google.protobuf.Duration getExtraVisitDurationForVisitTypeOrDefault(String key, com.google.protobuf.Duration defaultValue) Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;- Specified by:
getExtraVisitDurationForVisitTypeOrDefaultin interfaceVehicleOrBuilder
-
getExtraVisitDurationForVisitTypeOrThrow
Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24;- Specified by:
getExtraVisitDurationForVisitTypeOrThrowin interfaceVehicleOrBuilder
-
clearExtraVisitDurationForVisitType
-
removeExtraVisitDurationForVisitType
Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24; -
getMutableExtraVisitDurationForVisitType
@Deprecated public Map<String,com.google.protobuf.Duration> getMutableExtraVisitDurationForVisitType()Deprecated.Use alternate mutation accessors instead. -
putExtraVisitDurationForVisitType
public Vehicle.Builder putExtraVisitDurationForVisitType(String key, com.google.protobuf.Duration value) Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24; -
putAllExtraVisitDurationForVisitType
public Vehicle.Builder putAllExtraVisitDurationForVisitType(Map<String, com.google.protobuf.Duration> values) Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24; -
putExtraVisitDurationForVisitTypeBuilderIfAbsent
public com.google.protobuf.Duration.Builder putExtraVisitDurationForVisitTypeBuilderIfAbsent(String key) Specifies a map from visit_types strings to durations. The duration is time in addition to [VisitRequest.duration][google.cloud.optimization.v1.Shipment.VisitRequest.duration] to be taken at visits with the specified `visit_types`. This extra visit duration adds cost if `cost_per_hour` is specified. Keys (i.e. `visit_types`) cannot be empty strings. If a visit request has multiple types, a duration will be added for each type in the map.
map<string, .google.protobuf.Duration> extra_visit_duration_for_visit_type = 24; -
hasBreakRule
public boolean hasBreakRule()Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25;- Specified by:
hasBreakRulein interfaceVehicleOrBuilder- Returns:
- Whether the breakRule field is set.
-
getBreakRule
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25;- Specified by:
getBreakRulein interfaceVehicleOrBuilder- Returns:
- The breakRule.
-
setBreakRule
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25; -
setBreakRule
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25; -
mergeBreakRule
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25; -
clearBreakRule
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25; -
getBreakRuleBuilder
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25; -
getBreakRuleOrBuilder
Describes the break schedule to be enforced on this vehicle. If empty, no breaks will be scheduled for this vehicle.
.google.cloud.optimization.v1.BreakRule break_rule = 25;- Specified by:
getBreakRuleOrBuilderin interfaceVehicleOrBuilder
-
getLabel
Specifies a label for this vehicle. This label is reported in the response as the `vehicle_label` of the corresponding [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute].
string label = 27;- Specified by:
getLabelin interfaceVehicleOrBuilder- Returns:
- The label.
-
getLabelBytes
public com.google.protobuf.ByteString getLabelBytes()Specifies a label for this vehicle. This label is reported in the response as the `vehicle_label` of the corresponding [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute].
string label = 27;- Specified by:
getLabelBytesin interfaceVehicleOrBuilder- Returns:
- The bytes for label.
-
setLabel
Specifies a label for this vehicle. This label is reported in the response as the `vehicle_label` of the corresponding [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute].
string label = 27;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
Specifies a label for this vehicle. This label is reported in the response as the `vehicle_label` of the corresponding [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute].
string label = 27;- Returns:
- This builder for chaining.
-
setLabelBytes
Specifies a label for this vehicle. This label is reported in the response as the `vehicle_label` of the corresponding [ShipmentRoute][google.cloud.optimization.v1.ShipmentRoute].
string label = 27;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
getIgnore
public boolean getIgnore()If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused. If a shipment is performed by an ignored vehicle in `injected_first_solution_routes`, it is skipped in the first solution but is free to be performed in the response. If a shipment is performed by an ignored vehicle in `injected_solution_constraint` and any related pickup/delivery is constrained to remain on the vehicle (i.e., not relaxed to level `RELAX_ALL_AFTER_THRESHOLD`), it is skipped in the response. If a shipment has a non-empty `allowed_vehicle_indices` field and all of the allowed vehicles are ignored, it is skipped in the response.
bool ignore = 28;- Specified by:
getIgnorein interfaceVehicleOrBuilder- Returns:
- The ignore.
-
setIgnore
If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused. If a shipment is performed by an ignored vehicle in `injected_first_solution_routes`, it is skipped in the first solution but is free to be performed in the response. If a shipment is performed by an ignored vehicle in `injected_solution_constraint` and any related pickup/delivery is constrained to remain on the vehicle (i.e., not relaxed to level `RELAX_ALL_AFTER_THRESHOLD`), it is skipped in the response. If a shipment has a non-empty `allowed_vehicle_indices` field and all of the allowed vehicles are ignored, it is skipped in the response.
bool ignore = 28;- Parameters:
value- The ignore to set.- Returns:
- This builder for chaining.
-
clearIgnore
If true, `used_if_route_is_empty` must be false, and this vehicle will remain unused. If a shipment is performed by an ignored vehicle in `injected_first_solution_routes`, it is skipped in the first solution but is free to be performed in the response. If a shipment is performed by an ignored vehicle in `injected_solution_constraint` and any related pickup/delivery is constrained to remain on the vehicle (i.e., not relaxed to level `RELAX_ALL_AFTER_THRESHOLD`), it is skipped in the response. If a shipment has a non-empty `allowed_vehicle_indices` field and all of the allowed vehicles are ignored, it is skipped in the response.
bool ignore = 28;- Returns:
- This builder for chaining.
-
getBreakRuleIndicesList
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Specified by:
getBreakRuleIndicesListin interfaceVehicleOrBuilder- Returns:
- A list containing the breakRuleIndices.
-
getBreakRuleIndicesCount
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Specified by:
getBreakRuleIndicesCountin interfaceVehicleOrBuilder- Returns:
- The count of breakRuleIndices.
-
getBreakRuleIndices
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Specified by:
getBreakRuleIndicesin interfaceVehicleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The breakRuleIndices at the given index.
-
setBreakRuleIndices
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Parameters:
index- The index to set the value at.value- The breakRuleIndices to set.- Returns:
- This builder for chaining.
-
addBreakRuleIndices
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Parameters:
value- The breakRuleIndices to add.- Returns:
- This builder for chaining.
-
addAllBreakRuleIndices
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Parameters:
values- The breakRuleIndices to add.- Returns:
- This builder for chaining.
-
clearBreakRuleIndices
Deprecated.google.cloud.optimization.v1.Vehicle.break_rule_indices is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1484Deprecated: No longer used. Indices in the `break_rule` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel]. They correspond to break rules enforced on the vehicle. As of 2018/03, at most one rule index per vehicle can be specified.
repeated int32 break_rule_indices = 29 [deprecated = true];- Returns:
- This builder for chaining.
-
getCapacitiesList
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true];- Specified by:
getCapacitiesListin interfaceVehicleOrBuilder
-
getCapacitiesCount
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true];- Specified by:
getCapacitiesCountin interfaceVehicleOrBuilder
-
getCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true];- Specified by:
getCapacitiesin interfaceVehicleOrBuilder
-
setCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
setCapacities
@Deprecated public Vehicle.Builder setCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addCapacities
@Deprecated public Vehicle.Builder addCapacities(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addAllCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
clearCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
removeCapacities
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
getCapacitiesBuilder
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
getCapacitiesOrBuilder
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true];- Specified by:
getCapacitiesOrBuilderin interfaceVehicleOrBuilder
-
getCapacitiesOrBuilderList
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true];- Specified by:
getCapacitiesOrBuilderListin interfaceVehicleOrBuilder
-
addCapacitiesBuilder
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
addCapacitiesBuilder
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
getCapacitiesBuilderList
Deprecated.Deprecated: Use [Vehicle.load_limits][google.cloud.optimization.v1.Vehicle.load_limits] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity capacities = 13 [deprecated = true]; -
getStartLoadIntervalsList
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true];- Specified by:
getStartLoadIntervalsListin interfaceVehicleOrBuilder
-
getStartLoadIntervalsCount
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true];- Specified by:
getStartLoadIntervalsCountin interfaceVehicleOrBuilder
-
getStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true];- Specified by:
getStartLoadIntervalsin interfaceVehicleOrBuilder
-
setStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
setStartLoadIntervals
@Deprecated public Vehicle.Builder setStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addStartLoadIntervals
@Deprecated public Vehicle.Builder addStartLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addStartLoadIntervals
@Deprecated public Vehicle.Builder addStartLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addAllStartLoadIntervals
@Deprecated public Vehicle.Builder addAllStartLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
clearStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
removeStartLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
getStartLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
getStartLoadIntervalsOrBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true];- Specified by:
getStartLoadIntervalsOrBuilderin interfaceVehicleOrBuilder
-
getStartLoadIntervalsOrBuilderList
@Deprecated public List<? extends CapacityQuantityIntervalOrBuilder> getStartLoadIntervalsOrBuilderList()Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true];- Specified by:
getStartLoadIntervalsOrBuilderListin interfaceVehicleOrBuilder
-
addStartLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
addStartLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
getStartLoadIntervalsBuilderList
Deprecated.Deprecated: Use [Vehicle.LoadLimit.start_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.start_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval start_load_intervals = 14 [deprecated = true]; -
getEndLoadIntervalsList
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];- Specified by:
getEndLoadIntervalsListin interfaceVehicleOrBuilder
-
getEndLoadIntervalsCount
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];- Specified by:
getEndLoadIntervalsCountin interfaceVehicleOrBuilder
-
getEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];- Specified by:
getEndLoadIntervalsin interfaceVehicleOrBuilder
-
setEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
setEndLoadIntervals
@Deprecated public Vehicle.Builder setEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addEndLoadIntervals
@Deprecated public Vehicle.Builder addEndLoadIntervals(CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addEndLoadIntervals
@Deprecated public Vehicle.Builder addEndLoadIntervals(int index, CapacityQuantityInterval.Builder builderForValue) Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addAllEndLoadIntervals
@Deprecated public Vehicle.Builder addAllEndLoadIntervals(Iterable<? extends CapacityQuantityInterval> values) Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
clearEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
removeEndLoadIntervals
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
getEndLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
getEndLoadIntervalsOrBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];- Specified by:
getEndLoadIntervalsOrBuilderin interfaceVehicleOrBuilder
-
getEndLoadIntervalsOrBuilderList
@Deprecated public List<? extends CapacityQuantityIntervalOrBuilder> getEndLoadIntervalsOrBuilderList()Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];- Specified by:
getEndLoadIntervalsOrBuilderListin interfaceVehicleOrBuilder
-
addEndLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
addEndLoadIntervalsBuilder
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true]; -
getEndLoadIntervalsBuilderList
Deprecated.Deprecated: Use [Vehicle.LoadLimit.end_load_interval][google.cloud.optimization.v1.Vehicle.LoadLimit.end_load_interval] instead.
repeated .google.cloud.optimization.v1.CapacityQuantityInterval end_load_intervals = 15 [deprecated = true];
-