Package inference

Enum Class ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction

java.lang.Object
java.lang.Enum<ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction>
inference.ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction>, Constable
Enclosing class:
ModelConfigOuterClass.ModelQueuePolicy

public static enum ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction extends Enum<ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction> implements com.google.protobuf.ProtocolMessageEnum
@@
@@  .. cpp:enum:: TimeoutAction
@@
@@     The action applied to timed-out requests.
@@
 
Protobuf enum inference.ModelQueuePolicy.TimeoutAction
  • Enum Constant Details

  • Field Details

    • REJECT_VALUE

      public static final int REJECT_VALUE
      @@    .. cpp:enumerator:: Action::REJECT = 0
      @@
      @@       Reject the request and return error message accordingly.
      @@
       
      REJECT = 0;
      See Also:
    • DELAY_VALUE

      public static final int DELAY_VALUE
      @@    .. cpp:enumerator:: Action::DELAY = 1
      @@
      @@       Delay the request until all other requests at the same
      @@       (or higher) priority levels that have not reached their timeouts
      @@       are processed. A delayed request will eventually be processed,
      @@       but may be delayed indefinitely due to newly arriving requests.
      @@
       
      DELAY = 1;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ModelConfigOuterClass.ModelQueuePolicy.TimeoutAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null