Package flyteidl.core
Enum Catalog.CatalogCacheStatus
- java.lang.Object
-
- java.lang.Enum<Catalog.CatalogCacheStatus>
-
- flyteidl.core.Catalog.CatalogCacheStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Catalog.CatalogCacheStatus>
- Enclosing class:
- Catalog
public static enum Catalog.CatalogCacheStatus extends Enum<Catalog.CatalogCacheStatus> implements com.google.protobuf.ProtocolMessageEnum
Indicates the status of CatalogCaching. The reason why this is not embedded in TaskNodeMetadata is, that we may use for other types of nodes as well in the future
Protobuf enumflyteidl.core.CatalogCacheStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CACHE_DISABLEDUsed to indicate that caching was disabledCACHE_HITused to indicate that the associated artifact was a result of a previous executionCACHE_LOOKUP_FAILUREUsed to indicate that cache lookup failed because of an errorCACHE_MISSUsed to indicate that the cache lookup resulted in no matchesCACHE_POPULATEDused to indicate that the resultant artifact was added to the cacheCACHE_PUT_FAILUREUsed to indicate that cache lookup failed because of an errorUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intCACHE_DISABLED_VALUEUsed to indicate that caching was disabledstatic intCACHE_HIT_VALUEused to indicate that the associated artifact was a result of a previous executionstatic intCACHE_LOOKUP_FAILURE_VALUEUsed to indicate that cache lookup failed because of an errorstatic intCACHE_MISS_VALUEUsed to indicate that the cache lookup resulted in no matchesstatic intCACHE_POPULATED_VALUEused to indicate that the resultant artifact was added to the cachestatic intCACHE_PUT_FAILURE_VALUEUsed to indicate that cache lookup failed because of an errorprivate static com.google.protobuf.Internal.EnumLiteMap<Catalog.CatalogCacheStatus>internalValueMapprivate intvalueprivate static Catalog.CatalogCacheStatus[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateCatalogCacheStatus(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Catalog.CatalogCacheStatusforNumber(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<Catalog.CatalogCacheStatus>internalGetValueMap()static Catalog.CatalogCacheStatusvalueOf(int value)Deprecated.static Catalog.CatalogCacheStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Catalog.CatalogCacheStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Catalog.CatalogCacheStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CACHE_DISABLED
public static final Catalog.CatalogCacheStatus CACHE_DISABLED
Used to indicate that caching was disabled
CACHE_DISABLED = 0;
-
CACHE_MISS
public static final Catalog.CatalogCacheStatus CACHE_MISS
Used to indicate that the cache lookup resulted in no matches
CACHE_MISS = 1;
-
CACHE_HIT
public static final Catalog.CatalogCacheStatus CACHE_HIT
used to indicate that the associated artifact was a result of a previous execution
CACHE_HIT = 2;
-
CACHE_POPULATED
public static final Catalog.CatalogCacheStatus CACHE_POPULATED
used to indicate that the resultant artifact was added to the cache
CACHE_POPULATED = 3;
-
CACHE_LOOKUP_FAILURE
public static final Catalog.CatalogCacheStatus CACHE_LOOKUP_FAILURE
Used to indicate that cache lookup failed because of an error
CACHE_LOOKUP_FAILURE = 4;
-
CACHE_PUT_FAILURE
public static final Catalog.CatalogCacheStatus CACHE_PUT_FAILURE
Used to indicate that cache lookup failed because of an error
CACHE_PUT_FAILURE = 5;
-
UNRECOGNIZED
public static final Catalog.CatalogCacheStatus UNRECOGNIZED
-
-
Field Detail
-
CACHE_DISABLED_VALUE
public static final int CACHE_DISABLED_VALUE
Used to indicate that caching was disabled
CACHE_DISABLED = 0;- See Also:
- Constant Field Values
-
CACHE_MISS_VALUE
public static final int CACHE_MISS_VALUE
Used to indicate that the cache lookup resulted in no matches
CACHE_MISS = 1;- See Also:
- Constant Field Values
-
CACHE_HIT_VALUE
public static final int CACHE_HIT_VALUE
used to indicate that the associated artifact was a result of a previous execution
CACHE_HIT = 2;- See Also:
- Constant Field Values
-
CACHE_POPULATED_VALUE
public static final int CACHE_POPULATED_VALUE
used to indicate that the resultant artifact was added to the cache
CACHE_POPULATED = 3;- See Also:
- Constant Field Values
-
CACHE_LOOKUP_FAILURE_VALUE
public static final int CACHE_LOOKUP_FAILURE_VALUE
Used to indicate that cache lookup failed because of an error
CACHE_LOOKUP_FAILURE = 4;- See Also:
- Constant Field Values
-
CACHE_PUT_FAILURE_VALUE
public static final int CACHE_PUT_FAILURE_VALUE
Used to indicate that cache lookup failed because of an error
CACHE_PUT_FAILURE = 5;- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<Catalog.CatalogCacheStatus> internalValueMap
-
VALUES
private static final Catalog.CatalogCacheStatus[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static Catalog.CatalogCacheStatus[] 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 (Catalog.CatalogCacheStatus c : Catalog.CatalogCacheStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Catalog.CatalogCacheStatus 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 Catalog.CatalogCacheStatus 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 Catalog.CatalogCacheStatus 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<Catalog.CatalogCacheStatus> 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 Catalog.CatalogCacheStatus 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
-
-