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 enum
tensorflow.metadata.v0.LifecycleStage| Enum Constant and Description |
|---|
ALPHA
Prototype feature, not used in experiments yet.
|
BETA
Used in user-facing experiments.
|
DEBUG_ONLY
Only exists for debugging purposes.
|
DEPRECATED
No longer supported: do not use in new models.
|
PLANNED
Planned feature, may not be created yet.
|
PRODUCTION
Used in a significant fraction of user traffic.
|
UNKNOWN_STAGE
Unknown stage.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ALPHA_VALUE
Prototype feature, not used in experiments yet.
|
static int |
BETA_VALUE
Used in user-facing experiments.
|
static int |
DEBUG_ONLY_VALUE
Only exists for debugging purposes.
|
static int |
DEPRECATED_VALUE
No longer supported: do not use in new models.
|
static int |
PLANNED_VALUE
Planned feature, may not be created yet.
|
static int |
PRODUCTION_VALUE
Used in a significant fraction of user traffic.
|
static int |
UNKNOWN_STAGE_VALUE
Unknown stage.
|
| Modifier and Type | Method and Description |
|---|---|
static LifecycleStage |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LifecycleStage> |
internalGetValueMap() |
static LifecycleStage |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LifecycleStage |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LifecycleStage |
valueOf(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.
|
public static final LifecycleStage UNKNOWN_STAGE
Unknown stage.
UNKNOWN_STAGE = 0;public static final LifecycleStage PLANNED
Planned feature, may not be created yet.
PLANNED = 1;public static final LifecycleStage ALPHA
Prototype feature, not used in experiments yet.
ALPHA = 2;public static final LifecycleStage BETA
Used in user-facing experiments.
BETA = 3;public static final LifecycleStage PRODUCTION
Used in a significant fraction of user traffic.
PRODUCTION = 4;public static final LifecycleStage DEPRECATED
No longer supported: do not use in new models.
DEPRECATED = 5;public static final LifecycleStage DEBUG_ONLY
Only exists for debugging purposes.
DEBUG_ONLY = 6;public static final int UNKNOWN_STAGE_VALUE
Unknown stage.
UNKNOWN_STAGE = 0;public static final int PLANNED_VALUE
Planned feature, may not be created yet.
PLANNED = 1;public static final int ALPHA_VALUE
Prototype feature, not used in experiments yet.
ALPHA = 2;public static final int BETA_VALUE
Used in user-facing experiments.
BETA = 3;public static final int PRODUCTION_VALUE
Used in a significant fraction of user traffic.
PRODUCTION = 4;public static final int DEPRECATED_VALUE
No longer supported: do not use in new models.
DEPRECATED = 5;public static final int DEBUG_ONLY_VALUE
Only exists for debugging purposes.
DEBUG_ONLY = 6;public static LifecycleStage[] values()
for (LifecycleStage c : LifecycleStage.values()) System.out.println(c);
public static LifecycleStage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static LifecycleStage valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static LifecycleStage forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LifecycleStage> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LifecycleStage valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Gojek. All rights reserved.