Enum 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 enum tensorflow.metadata.v0.LifecycleStage
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null