Package org.mlflow.api.proto
Enum Service.BudgetDurationUnit
- java.lang.Object
-
- java.lang.Enum<Service.BudgetDurationUnit>
-
- org.mlflow.api.proto.Service.BudgetDurationUnit
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Service.BudgetDurationUnit>
- Enclosing class:
- Service
public static enum Service.BudgetDurationUnit extends java.lang.Enum<Service.BudgetDurationUnit> implements com.google.protobuf.ProtocolMessageEnum
Duration unit for budget policy fixed windows
Protobuf enummlflow.BudgetDurationUnit
-
-
Field Summary
Fields Modifier and Type Field Description static intDAYS_VALUEDAYS = 3;static intDURATION_UNIT_UNSPECIFIED_VALUEDURATION_UNIT_UNSPECIFIED = 0 [(.mlflow.enum_value_visibility) = PUBLIC_UNDOCUMENTED];static intHOURS_VALUEHOURS = 2;static intMINUTES_VALUEMINUTES = 1;static intMONTHS_VALUEMONTHS = 5;static intWEEKS_VALUEWEEKS = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Service.BudgetDurationUnitforNumber(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<Service.BudgetDurationUnit>internalGetValueMap()static Service.BudgetDurationUnitvalueOf(int value)Deprecated.static Service.BudgetDurationUnitvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Service.BudgetDurationUnitvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Service.BudgetDurationUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DURATION_UNIT_UNSPECIFIED
public static final Service.BudgetDurationUnit DURATION_UNIT_UNSPECIFIED
DURATION_UNIT_UNSPECIFIED = 0 [(.mlflow.enum_value_visibility) = PUBLIC_UNDOCUMENTED];
-
MINUTES
public static final Service.BudgetDurationUnit MINUTES
MINUTES = 1;
-
HOURS
public static final Service.BudgetDurationUnit HOURS
HOURS = 2;
-
DAYS
public static final Service.BudgetDurationUnit DAYS
DAYS = 3;
-
WEEKS
public static final Service.BudgetDurationUnit WEEKS
WEEKS = 4;
-
MONTHS
public static final Service.BudgetDurationUnit MONTHS
MONTHS = 5;
-
-
Field Detail
-
DURATION_UNIT_UNSPECIFIED_VALUE
public static final int DURATION_UNIT_UNSPECIFIED_VALUE
DURATION_UNIT_UNSPECIFIED = 0 [(.mlflow.enum_value_visibility) = PUBLIC_UNDOCUMENTED];- See Also:
- Constant Field Values
-
MINUTES_VALUE
public static final int MINUTES_VALUE
MINUTES = 1;- See Also:
- Constant Field Values
-
HOURS_VALUE
public static final int HOURS_VALUE
HOURS = 2;- See Also:
- Constant Field Values
-
DAYS_VALUE
public static final int DAYS_VALUE
DAYS = 3;- See Also:
- Constant Field Values
-
WEEKS_VALUE
public static final int WEEKS_VALUE
WEEKS = 4;- See Also:
- Constant Field Values
-
MONTHS_VALUE
public static final int MONTHS_VALUE
MONTHS = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Service.BudgetDurationUnit[] 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 (Service.BudgetDurationUnit c : Service.BudgetDurationUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Service.BudgetDurationUnit valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 Service.BudgetDurationUnit 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Service.BudgetDurationUnit 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<Service.BudgetDurationUnit> 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 Service.BudgetDurationUnit 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-