Interface Vehicle.LoadLimit.IntervalOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Vehicle.LoadLimit.Interval, Vehicle.LoadLimit.Interval.Builder
Enclosing class:
Vehicle.LoadLimit

public static interface Vehicle.LoadLimit.IntervalOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    A maximum acceptable load.
    long
    A minimum acceptable load.
    boolean
    A maximum acceptable load.

    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

    • getMin

      long getMin()
       A minimum acceptable load. Must be ≥ 0.
       If they're both specified,
       [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must
       be ≤
       [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].
       
      int64 min = 1;
      Returns:
      The min.
    • hasMax

      boolean hasMax()
       A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum
       load is unrestricted by this message.
       If they're both specified,
       [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must
       be ≤
       [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].
       
      optional int64 max = 2;
      Returns:
      Whether the max field is set.
    • getMax

      long getMax()
       A maximum acceptable load. Must be ≥ 0. If unspecified, the maximum
       load is unrestricted by this message.
       If they're both specified,
       [min][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.min] must
       be ≤
       [max][google.cloud.optimization.v1.Vehicle.LoadLimit.Interval.max].
       
      optional int64 max = 2;
      Returns:
      The max.