Package flyteidl.admin
Enum ScheduleOuterClass.FixedRateUnit
- java.lang.Object
-
- java.lang.Enum<ScheduleOuterClass.FixedRateUnit>
-
- flyteidl.admin.ScheduleOuterClass.FixedRateUnit
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ScheduleOuterClass.FixedRateUnit>
- Enclosing class:
- ScheduleOuterClass
public static enum ScheduleOuterClass.FixedRateUnit extends Enum<ScheduleOuterClass.FixedRateUnit> implements com.google.protobuf.ProtocolMessageEnum
Represents a frequency at which to run a schedule.
Protobuf enumflyteidl.admin.FixedRateUnit
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAYDAY = 2;HOURHOUR = 1;MINUTEMINUTE = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDAY_VALUEDAY = 2;static intHOUR_VALUEHOUR = 1;private static com.google.protobuf.Internal.EnumLiteMap<ScheduleOuterClass.FixedRateUnit>internalValueMapstatic intMINUTE_VALUEMINUTE = 0;private intvalueprivate static ScheduleOuterClass.FixedRateUnit[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateFixedRateUnit(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ScheduleOuterClass.FixedRateUnitforNumber(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<ScheduleOuterClass.FixedRateUnit>internalGetValueMap()static ScheduleOuterClass.FixedRateUnitvalueOf(int value)Deprecated.static ScheduleOuterClass.FixedRateUnitvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ScheduleOuterClass.FixedRateUnitvalueOf(String name)Returns the enum constant of this type with the specified name.static ScheduleOuterClass.FixedRateUnit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINUTE
public static final ScheduleOuterClass.FixedRateUnit MINUTE
MINUTE = 0;
-
HOUR
public static final ScheduleOuterClass.FixedRateUnit HOUR
HOUR = 1;
-
DAY
public static final ScheduleOuterClass.FixedRateUnit DAY
DAY = 2;
-
UNRECOGNIZED
public static final ScheduleOuterClass.FixedRateUnit UNRECOGNIZED
-
-
Field Detail
-
MINUTE_VALUE
public static final int MINUTE_VALUE
MINUTE = 0;- See Also:
- Constant Field Values
-
HOUR_VALUE
public static final int HOUR_VALUE
HOUR = 1;- See Also:
- Constant Field Values
-
DAY_VALUE
public static final int DAY_VALUE
DAY = 2;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ScheduleOuterClass.FixedRateUnit> internalValueMap
-
VALUES
private static final ScheduleOuterClass.FixedRateUnit[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ScheduleOuterClass.FixedRateUnit[] 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 (ScheduleOuterClass.FixedRateUnit c : ScheduleOuterClass.FixedRateUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScheduleOuterClass.FixedRateUnit 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 ScheduleOuterClass.FixedRateUnit 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 ScheduleOuterClass.FixedRateUnit 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<ScheduleOuterClass.FixedRateUnit> 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 ScheduleOuterClass.FixedRateUnit 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
-
-