Interface ShipmentTypeIncompatibilityOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ShipmentTypeIncompatibility, ShipmentTypeIncompatibility.Builder

@Generated public interface ShipmentTypeIncompatibilityOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Mode applied to the incompatibility.
    int
    Mode applied to the incompatibility.
    getTypes(int index)
    List of incompatible types.
    com.google.protobuf.ByteString
    getTypesBytes(int index)
    List of incompatible types.
    int
    List of incompatible types.
    List of incompatible types.

    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

    • getTypesList

      List<String> getTypesList()
       List of incompatible types. Two shipments having different `shipment_types`
       among those listed are "incompatible".
       
      repeated string types = 1;
      Returns:
      A list containing the types.
    • getTypesCount

      int getTypesCount()
       List of incompatible types. Two shipments having different `shipment_types`
       among those listed are "incompatible".
       
      repeated string types = 1;
      Returns:
      The count of types.
    • getTypes

      String getTypes(int index)
       List of incompatible types. Two shipments having different `shipment_types`
       among those listed are "incompatible".
       
      repeated string types = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The types at the given index.
    • getTypesBytes

      com.google.protobuf.ByteString getTypesBytes(int index)
       List of incompatible types. Two shipments having different `shipment_types`
       among those listed are "incompatible".
       
      repeated string types = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the types at the given index.
    • getIncompatibilityModeValue

      int getIncompatibilityModeValue()
       Mode applied to the incompatibility.
       
      .google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;
      Returns:
      The enum numeric value on the wire for incompatibilityMode.
    • getIncompatibilityMode

       Mode applied to the incompatibility.
       
      .google.cloud.optimization.v1.ShipmentTypeIncompatibility.IncompatibilityMode incompatibility_mode = 2;
      Returns:
      The incompatibilityMode.