Enum Vehicle.UnloadingPolicy (1.1.14)

publicenumVehicle.UnloadingPolicyextendsEnum<Vehicle.UnloadingPolicy>implementsProtocolMessageEnum

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

Name Description
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

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.