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 Type
    Method
    Description
    long
    The amount of load on the vehicle, for the given type.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.