Enum Vehicle.UnloadingPolicy (1.1.1)

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

ProtocolMessageEnum

Static Fields

NameDescription
FIRST_IN_FIRST_OUT

Deliveries must occur in the same order as pickups

FIRST_IN_FIRST_OUT = 2;

FIRST_IN_FIRST_OUT_VALUE

Deliveries must occur in the same order as pickups

FIRST_IN_FIRST_OUT = 2;

LAST_IN_FIRST_OUT

Deliveries must occur in reverse order of pickups

LAST_IN_FIRST_OUT = 1;

LAST_IN_FIRST_OUT_VALUE

Deliveries must occur in reverse order of pickups

LAST_IN_FIRST_OUT = 1;

UNLOADING_POLICY_UNSPECIFIED

Unspecified unloading policy; deliveries must just occur after their corresponding pickups.

UNLOADING_POLICY_UNSPECIFIED = 0;

UNLOADING_POLICY_UNSPECIFIED_VALUE

Unspecified unloading policy; deliveries must just occur after their corresponding pickups.

UNLOADING_POLICY_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()