Package flyteidl.core
Enum Execution.QualityOfService.Tier
- java.lang.Object
-
- java.lang.Enum<Execution.QualityOfService.Tier>
-
- flyteidl.core.Execution.QualityOfService.Tier
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Execution.QualityOfService.Tier>
- Enclosing class:
- Execution.QualityOfService
public static enum Execution.QualityOfService.Tier extends Enum<Execution.QualityOfService.Tier> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumflyteidl.core.QualityOfService.Tier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHHIGH = 1;LOWLOW = 3;MEDIUMMEDIUM = 2;UNDEFINEDDefault: no quality of service specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intHIGH_VALUEHIGH = 1;private static com.google.protobuf.Internal.EnumLiteMap<Execution.QualityOfService.Tier>internalValueMapstatic intLOW_VALUELOW = 3;static intMEDIUM_VALUEMEDIUM = 2;static intUNDEFINED_VALUEDefault: no quality of service specified.private intvalueprivate static Execution.QualityOfService.Tier[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateTier(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Execution.QualityOfService.TierforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Execution.QualityOfService.Tier>internalGetValueMap()static Execution.QualityOfService.TiervalueOf(int value)Deprecated.static Execution.QualityOfService.TiervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Execution.QualityOfService.TiervalueOf(String name)Returns the enum constant of this type with the specified name.static Execution.QualityOfService.Tier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final Execution.QualityOfService.Tier UNDEFINED
Default: no quality of service specified.
UNDEFINED = 0;
-
HIGH
public static final Execution.QualityOfService.Tier HIGH
HIGH = 1;
-
MEDIUM
public static final Execution.QualityOfService.Tier MEDIUM
MEDIUM = 2;
-
LOW
public static final Execution.QualityOfService.Tier LOW
LOW = 3;
-
UNRECOGNIZED
public static final Execution.QualityOfService.Tier UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUE
Default: no quality of service specified.
UNDEFINED = 0;- See Also:
- Constant Field Values
-
HIGH_VALUE
public static final int HIGH_VALUE
HIGH = 1;- See Also:
- Constant Field Values
-
MEDIUM_VALUE
public static final int MEDIUM_VALUE
MEDIUM = 2;- See Also:
- Constant Field Values
-
LOW_VALUE
public static final int LOW_VALUE
LOW = 3;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Execution.QualityOfService.Tier> internalValueMap
-
VALUES
private static final Execution.QualityOfService.Tier[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Execution.QualityOfService.Tier[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Execution.QualityOfService.Tier c : Execution.QualityOfService.Tier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Execution.QualityOfService.Tier valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Execution.QualityOfService.Tier valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Execution.QualityOfService.Tier 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<Execution.QualityOfService.Tier> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Execution.QualityOfService.Tier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-