Package org.tensorflow.metadata.v0
Enum LifecycleStage
- java.lang.Object
-
- java.lang.Enum<LifecycleStage>
-
- org.tensorflow.metadata.v0.LifecycleStage
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LifecycleStage>
public enum LifecycleStage extends Enum<LifecycleStage> implements com.google.protobuf.ProtocolMessageEnum
LifecycleStage. Only UNKNOWN_STAGE, BETA, and PRODUCTION features are actually validated. PLANNED, ALPHA, and DEBUG are treated as DEPRECATED.
Protobuf enumtensorflow.metadata.v0.LifecycleStage
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHAPrototype feature, not used in experiments yet.BETAUsed in user-facing experiments.DEBUG_ONLYOnly exists for debugging purposes.DEPRECATEDNo longer supported: do not use in new models.PLANNEDPlanned feature, may not be created yet.PRODUCTIONUsed in a significant fraction of user traffic.UNKNOWN_STAGEUnknown stage.
-
Field Summary
Fields Modifier and Type Field Description static intALPHA_VALUEPrototype feature, not used in experiments yet.static intBETA_VALUEUsed in user-facing experiments.static intDEBUG_ONLY_VALUEOnly exists for debugging purposes.static intDEPRECATED_VALUENo longer supported: do not use in new models.static intPLANNED_VALUEPlanned feature, may not be created yet.static intPRODUCTION_VALUEUsed in a significant fraction of user traffic.static intUNKNOWN_STAGE_VALUEUnknown stage.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LifecycleStageforNumber(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<LifecycleStage>internalGetValueMap()static LifecycleStagevalueOf(int value)Deprecated.static LifecycleStagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LifecycleStagevalueOf(String name)Returns the enum constant of this type with the specified name.static LifecycleStage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_STAGE
public static final LifecycleStage UNKNOWN_STAGE
Unknown stage.
UNKNOWN_STAGE = 0;
-
PLANNED
public static final LifecycleStage PLANNED
Planned feature, may not be created yet.
PLANNED = 1;
-
ALPHA
public static final LifecycleStage ALPHA
Prototype feature, not used in experiments yet.
ALPHA = 2;
-
BETA
public static final LifecycleStage BETA
Used in user-facing experiments.
BETA = 3;
-
PRODUCTION
public static final LifecycleStage PRODUCTION
Used in a significant fraction of user traffic.
PRODUCTION = 4;
-
DEPRECATED
public static final LifecycleStage DEPRECATED
No longer supported: do not use in new models.
DEPRECATED = 5;
-
DEBUG_ONLY
public static final LifecycleStage DEBUG_ONLY
Only exists for debugging purposes.
DEBUG_ONLY = 6;
-
-
Field Detail
-
UNKNOWN_STAGE_VALUE
public static final int UNKNOWN_STAGE_VALUE
Unknown stage.
UNKNOWN_STAGE = 0;- See Also:
- Constant Field Values
-
PLANNED_VALUE
public static final int PLANNED_VALUE
Planned feature, may not be created yet.
PLANNED = 1;- See Also:
- Constant Field Values
-
ALPHA_VALUE
public static final int ALPHA_VALUE
Prototype feature, not used in experiments yet.
ALPHA = 2;- See Also:
- Constant Field Values
-
BETA_VALUE
public static final int BETA_VALUE
Used in user-facing experiments.
BETA = 3;- See Also:
- Constant Field Values
-
PRODUCTION_VALUE
public static final int PRODUCTION_VALUE
Used in a significant fraction of user traffic.
PRODUCTION = 4;- See Also:
- Constant Field Values
-
DEPRECATED_VALUE
public static final int DEPRECATED_VALUE
No longer supported: do not use in new models.
DEPRECATED = 5;- See Also:
- Constant Field Values
-
DEBUG_ONLY_VALUE
public static final int DEBUG_ONLY_VALUE
Only exists for debugging purposes.
DEBUG_ONLY = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LifecycleStage[] 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 (LifecycleStage c : LifecycleStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LifecycleStage 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 LifecycleStage 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 LifecycleStage 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<LifecycleStage> 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 LifecycleStage 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
-
-