public enum Vehicle.UnloadingPolicy extends Enum<Vehicle.UnloadingPolicy> implements ProtocolMessageEnum
Policy on how a vehicle can be unloaded. Applies only to shipments having both a pickup and a delivery.
Other shipments are free to occur anywhere on the route independent of
unloading_policy
.
Protobuf enum google.cloud.optimization.v1.Vehicle.UnloadingPolicy
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
FIRST_IN_FIRST_OUT | Deliveries must occur in the same order as pickups |
FIRST_IN_FIRST_OUT_VALUE | Deliveries must occur in the same order as pickups |
LAST_IN_FIRST_OUT | Deliveries must occur in reverse order of pickups |
LAST_IN_FIRST_OUT_VALUE | Deliveries must occur in reverse order of pickups |
UNLOADING_POLICY_UNSPECIFIED | Unspecified unloading policy; deliveries must just occur after their corresponding pickups. |
UNLOADING_POLICY_UNSPECIFIED_VALUE | Unspecified unloading policy; deliveries must just occur after their corresponding pickups. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |