Package com.google.cloud.optimization.v1
Class ShipmentRoute.Visit.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ShipmentRoute.Visit.Builder>
com.google.cloud.optimization.v1.ShipmentRoute.Visit.Builder
- All Implemented Interfaces:
ShipmentRoute.VisitOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ShipmentRoute.Visit
public static final class ShipmentRoute.Visit.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ShipmentRoute.Visit.Builder>
implements ShipmentRoute.VisitOrBuilder
A visit performed during a route. This visit corresponds to a pickup or a delivery of a `Shipment`.Protobuf type
google.cloud.optimization.v1.ShipmentRoute.Visit-
Method Summary
Modifier and TypeMethodDescriptionaddAllArrivalLoads(Iterable<? extends CapacityQuantity> values) Deprecated.addAllDemands(Iterable<? extends CapacityQuantity> values) Deprecated.addArrivalLoads(int index, CapacityQuantity value) Deprecated.addArrivalLoads(int index, CapacityQuantity.Builder builderForValue) Deprecated.addArrivalLoads(CapacityQuantity value) Deprecated.addArrivalLoads(CapacityQuantity.Builder builderForValue) Deprecated.Deprecated.addArrivalLoadsBuilder(int index) Deprecated.addDemands(int index, CapacityQuantity value) Deprecated.addDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.addDemands(CapacityQuantity value) Deprecated.addDemands(CapacityQuantity.Builder builderForValue) Deprecated.Deprecated.addDemandsBuilder(int index) Deprecated.build()clear()Deprecated.Deprecated.Deprecated.Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.If true the visit corresponds to a pickup of a `Shipment`.Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.Time at which the visit starts.Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).booleanTotal visit load demand as the sum of the shipment and the visit request `load_demands`.getArrivalLoads(int index) Deprecated.getArrivalLoadsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getArrivalLoadsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.Deprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated.Deprecated.Deprecated.getDemands(int index) Deprecated.getDemandsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getDemandsOrBuilder(int index) Deprecated.List<? extends CapacityQuantityOrBuilder>Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.com.google.protobuf.Duration.BuilderExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.com.google.protobuf.DurationOrBuilderExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.booleanIf true the visit corresponds to a pickup of a `Shipment`.Deprecated.intTotal visit load demand as the sum of the shipment and the visit request `load_demands`.Total visit load demand as the sum of the shipment and the visit request `load_demands`.getLoadDemandsOrDefault(String key, Shipment.Load defaultValue) Total visit load demand as the sum of the shipment and the visit request `load_demands`.Total visit load demand as the sum of the shipment and the visit request `load_demands`.Deprecated.intIndex of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.com.google.protobuf.ByteStringCopy of the corresponding `Shipment.label`, if specified in the `Shipment`.com.google.protobuf.TimestampTime at which the visit starts.com.google.protobuf.Timestamp.BuilderTime at which the visit starts.com.google.protobuf.TimestampOrBuilderTime at which the visit starts.Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.com.google.protobuf.ByteStringCopy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.intIndex of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).booleanDeprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated.booleanExtra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.booleanTime at which the visit starts.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanDeprecated.mergeDetour(com.google.protobuf.Duration value) Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.mergeFrom(ShipmentRoute.Visit other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Time at which the visit starts.putAllLoadDemands(Map<String, Shipment.Load> values) Total visit load demand as the sum of the shipment and the visit request `load_demands`.putLoadDemands(String key, Shipment.Load value) Total visit load demand as the sum of the shipment and the visit request `load_demands`.Total visit load demand as the sum of the shipment and the visit request `load_demands`.removeArrivalLoads(int index) Deprecated.removeDemands(int index) Deprecated.removeLoadDemands(String key) Total visit load demand as the sum of the shipment and the visit request `load_demands`.setArrivalLoads(int index, CapacityQuantity value) Deprecated.setArrivalLoads(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated.setDelayBeforeStart(ShipmentRoute.Delay.Builder builderForValue) Deprecated.setDemands(int index, CapacityQuantity value) Deprecated.setDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.setDetour(com.google.protobuf.Duration value) Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.setDetour(com.google.protobuf.Duration.Builder builderForValue) Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows.setIsPickup(boolean value) If true the visit corresponds to a pickup of a `Shipment`.setShipmentIndex(int value) Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].setShipmentLabel(String value) Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.setShipmentLabelBytes(com.google.protobuf.ByteString value) Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.setStartTime(com.google.protobuf.Timestamp value) Time at which the visit starts.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time at which the visit starts.setVisitLabel(String value) Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.setVisitLabelBytes(com.google.protobuf.ByteString value) Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.setVisitRequestIndex(int value) Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).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<ShipmentRoute.Visit.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ShipmentRoute.Visit.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ShipmentRoute.Visit.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<ShipmentRoute.Visit.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<ShipmentRoute.Visit.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<ShipmentRoute.Visit.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ShipmentRoute.Visit.Builder>
-
mergeFrom
public ShipmentRoute.Visit.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<ShipmentRoute.Visit.Builder>- Throws:
IOException
-
getShipmentIndex
public int getShipmentIndex()Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].
int32 shipment_index = 1;- Specified by:
getShipmentIndexin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The shipmentIndex.
-
setShipmentIndex
Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].
int32 shipment_index = 1;- Parameters:
value- The shipmentIndex to set.- Returns:
- This builder for chaining.
-
clearShipmentIndex
Index of the `shipments` field in the source [ShipmentModel][google.cloud.optimization.v1.ShipmentModel].
int32 shipment_index = 1;- Returns:
- This builder for chaining.
-
getIsPickup
public boolean getIsPickup()If true the visit corresponds to a pickup of a `Shipment`. Otherwise, it corresponds to a delivery.
bool is_pickup = 2;- Specified by:
getIsPickupin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The isPickup.
-
setIsPickup
If true the visit corresponds to a pickup of a `Shipment`. Otherwise, it corresponds to a delivery.
bool is_pickup = 2;- Parameters:
value- The isPickup to set.- Returns:
- This builder for chaining.
-
clearIsPickup
If true the visit corresponds to a pickup of a `Shipment`. Otherwise, it corresponds to a delivery.
bool is_pickup = 2;- Returns:
- This builder for chaining.
-
getVisitRequestIndex
public int getVisitRequestIndex()Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).
int32 visit_request_index = 3;- Specified by:
getVisitRequestIndexin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The visitRequestIndex.
-
setVisitRequestIndex
Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).
int32 visit_request_index = 3;- Parameters:
value- The visitRequestIndex to set.- Returns:
- This builder for chaining.
-
clearVisitRequestIndex
Index of `VisitRequest` in either the pickup or delivery field of the `Shipment` (see `is_pickup`).
int32 visit_request_index = 3;- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
hasStartTimein interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimein interfaceShipmentRoute.VisitOrBuilder- Returns:
- The startTime.
-
setStartTime
Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4; -
setStartTime
public ShipmentRoute.Visit.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4; -
mergeStartTime
Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4; -
clearStartTime
Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Time at which the visit starts. Note that the vehicle may arrive earlier than this at the visit location. Times are consistent with the `ShipmentModel`.
.google.protobuf.Timestamp start_time = 4;- Specified by:
getStartTimeOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsCount
public int getLoadDemandsCount()Description copied from interface:ShipmentRoute.VisitOrBuilderTotal visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsCountin interfaceShipmentRoute.VisitOrBuilder
-
containsLoadDemands
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
containsLoadDemandsin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemands
Deprecated.UsegetLoadDemandsMap()instead.- Specified by:
getLoadDemandsin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsMap
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsMapin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsOrDefault
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsOrDefaultin interfaceShipmentRoute.VisitOrBuilder
-
getLoadDemandsOrThrow
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11;- Specified by:
getLoadDemandsOrThrowin interfaceShipmentRoute.VisitOrBuilder
-
clearLoadDemands
-
removeLoadDemands
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11; -
getMutableLoadDemands
Deprecated.Use alternate mutation accessors instead. -
putLoadDemands
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11; -
putAllLoadDemands
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11; -
putLoadDemandsBuilderIfAbsent
Total visit load demand as the sum of the shipment and the visit request `load_demands`. The values are negative if the visit is a delivery. Demands are reported for the same types as the [Transition.loads][google.cloud.optimization.v1.ShipmentRoute.Transition] (see this field).
map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 11; -
hasDetour
public boolean hasDetour()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
hasDetourin interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the detour field is set.
-
getDetour
public com.google.protobuf.Duration getDetour()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
getDetourin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The detour.
-
setDetour
Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6; -
setDetour
Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6; -
mergeDetour
Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6; -
clearDetour
Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6; -
getDetourBuilder
public com.google.protobuf.Duration.Builder getDetourBuilder()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6; -
getDetourOrBuilder
public com.google.protobuf.DurationOrBuilder getDetourOrBuilder()Extra detour time due to the shipments visited on the route before the visit and to the potential waiting time induced by time windows. If the visit is a delivery, the detour is computed from the corresponding pickup visit and is equal to: ``` start_time(delivery) - start_time(pickup) - (duration(pickup) + travel duration from the pickup location to the delivery location). ``` Otherwise, it is computed from the vehicle `start_location` and is equal to: ``` start_time - vehicle_start_time - travel duration from the vehicle's `start_location` to the visit. ```
.google.protobuf.Duration detour = 6;- Specified by:
getDetourOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getShipmentLabel
Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Specified by:
getShipmentLabelin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The shipmentLabel.
-
getShipmentLabelBytes
public com.google.protobuf.ByteString getShipmentLabelBytes()Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Specified by:
getShipmentLabelBytesin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The bytes for shipmentLabel.
-
setShipmentLabel
Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Parameters:
value- The shipmentLabel to set.- Returns:
- This builder for chaining.
-
clearShipmentLabel
Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Returns:
- This builder for chaining.
-
setShipmentLabelBytes
Copy of the corresponding `Shipment.label`, if specified in the `Shipment`.
string shipment_label = 7;- Parameters:
value- The bytes for shipmentLabel to set.- Returns:
- This builder for chaining.
-
getVisitLabel
Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Specified by:
getVisitLabelin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The visitLabel.
-
getVisitLabelBytes
public com.google.protobuf.ByteString getVisitLabelBytes()Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Specified by:
getVisitLabelBytesin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The bytes for visitLabel.
-
setVisitLabel
Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Parameters:
value- The visitLabel to set.- Returns:
- This builder for chaining.
-
clearVisitLabel
Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Returns:
- This builder for chaining.
-
setVisitLabelBytes
Copy of the corresponding [VisitRequest.label][google.cloud.optimization.v1.Shipment.VisitRequest.label], if specified in the `VisitRequest`.
string visit_label = 8;- Parameters:
value- The bytes for visitLabel to set.- Returns:
- This builder for chaining.
-
getArrivalLoadsList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsListin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoadsCount
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsCountin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsin interfaceShipmentRoute.VisitOrBuilder
-
setArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
setArrivalLoads
@Deprecated public ShipmentRoute.Visit.Builder setArrivalLoads(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addArrivalLoads
@Deprecated public ShipmentRoute.Visit.Builder addArrivalLoads(CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addArrivalLoads
@Deprecated public ShipmentRoute.Visit.Builder addArrivalLoads(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addAllArrivalLoads
@Deprecated public ShipmentRoute.Visit.Builder addAllArrivalLoads(Iterable<? extends CapacityQuantity> values) Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
clearArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
removeArrivalLoads
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
getArrivalLoadsBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
getArrivalLoadsOrBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getArrivalLoadsOrBuilderList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true];- Specified by:
getArrivalLoadsOrBuilderListin interfaceShipmentRoute.VisitOrBuilder
-
addArrivalLoadsBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
addArrivalLoadsBuilder
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
getArrivalLoadsBuilderList
Deprecated.Deprecated: Use [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads] instead. Vehicle loads upon arrival at the visit location, for each type specified in [Vehicle.capacities][google.cloud.optimization.v1.Vehicle.capacities], `start_load_intervals`, `end_load_intervals` or `demands`. Exception: we omit loads for quantity types unconstrained by intervals and that don't have any non-zero demand on the route.
repeated .google.cloud.optimization.v1.CapacityQuantity arrival_loads = 9 [deprecated = true]; -
hasDelayBeforeStart
Deprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1965Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
hasDelayBeforeStartin interfaceShipmentRoute.VisitOrBuilder- Returns:
- Whether the delayBeforeStart field is set.
-
getDelayBeforeStart
Deprecated.google.cloud.optimization.v1.ShipmentRoute.Visit.delay_before_start is deprecated. See google/cloud/optimization/v1/fleet_routing.proto;l=1965Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
getDelayBeforeStartin interfaceShipmentRoute.VisitOrBuilder- Returns:
- The delayBeforeStart.
-
setDelayBeforeStart
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true]; -
setDelayBeforeStart
@Deprecated public ShipmentRoute.Visit.Builder setDelayBeforeStart(ShipmentRoute.Delay.Builder builderForValue) Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true]; -
mergeDelayBeforeStart
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true]; -
clearDelayBeforeStart
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true]; -
getDelayBeforeStartBuilder
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true]; -
getDelayBeforeStartOrBuilder
Deprecated.Deprecated: Use [ShipmentRoute.Transition.delay_duration][google.cloud.optimization.v1.ShipmentRoute.Transition.delay_duration] instead. Delay occurring before the visit starts.
.google.cloud.optimization.v1.ShipmentRoute.Delay delay_before_start = 10 [deprecated = true];- Specified by:
getDelayBeforeStartOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsList
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsListin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsCount
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsCountin interfaceShipmentRoute.VisitOrBuilder
-
getDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsin interfaceShipmentRoute.VisitOrBuilder
-
setDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
setDemands
@Deprecated public ShipmentRoute.Visit.Builder setDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addDemands
@Deprecated public ShipmentRoute.Visit.Builder addDemands(int index, CapacityQuantity.Builder builderForValue) Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addAllDemands
@Deprecated public ShipmentRoute.Visit.Builder addAllDemands(Iterable<? extends CapacityQuantity> values) Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
clearDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
removeDemands
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
getDemandsBuilder
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
getDemandsOrBuilder
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsOrBuilderin interfaceShipmentRoute.VisitOrBuilder
-
getDemandsOrBuilderList
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];- Specified by:
getDemandsOrBuilderListin interfaceShipmentRoute.VisitOrBuilder
-
addDemandsBuilder
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
addDemandsBuilder
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true]; -
getDemandsBuilderList
Deprecated.Deprecated: Use [Visit.load_demands][google.cloud.optimization.v1.ShipmentRoute.Visit.load_demands] instead.
repeated .google.cloud.optimization.v1.CapacityQuantity demands = 5 [deprecated = true];
-