Package com.google.cloud.optimization.v1
Interface ShipmentRoute.VehicleLoadOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShipmentRoute.VehicleLoad,ShipmentRoute.VehicleLoad.Builder
- Enclosing class:
- ShipmentRoute
public static interface ShipmentRoute.VehicleLoadOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe amount of load on the vehicle, for the given type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAmount
long getAmount()The amount of load on the vehicle, for the given type. The unit of load is usually indicated by the type. See [Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads].
int64 amount = 1;- Returns:
- The amount.
-