Enum Common.NamedEntityState

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Common.NamedEntityState>
    Enclosing class:
    Common

    public static enum Common.NamedEntityState
    extends Enum<Common.NamedEntityState>
    implements com.google.protobuf.ProtocolMessageEnum
     The status of the named entity is used to control its visibility in the UI.
     
    Protobuf enum flyteidl.admin.NamedEntityState
    • Enum Constant Detail

      • NAMED_ENTITY_ACTIVE

        public static final Common.NamedEntityState NAMED_ENTITY_ACTIVE
         By default, all named entities are considered active and under development.
         
        NAMED_ENTITY_ACTIVE = 0;
      • NAMED_ENTITY_ARCHIVED

        public static final Common.NamedEntityState NAMED_ENTITY_ARCHIVED
         Archived named entities are no longer visible in the UI.
         
        NAMED_ENTITY_ARCHIVED = 1;
      • SYSTEM_GENERATED

        public static final Common.NamedEntityState SYSTEM_GENERATED
         System generated entities that aren't explicitly created or managed by a user.
         
        SYSTEM_GENERATED = 2;
    • Field Detail

      • NAMED_ENTITY_ACTIVE_VALUE

        public static final int NAMED_ENTITY_ACTIVE_VALUE
         By default, all named entities are considered active and under development.
         
        NAMED_ENTITY_ACTIVE = 0;
        See Also:
        Constant Field Values
      • NAMED_ENTITY_ARCHIVED_VALUE

        public static final int NAMED_ENTITY_ARCHIVED_VALUE
         Archived named entities are no longer visible in the UI.
         
        NAMED_ENTITY_ARCHIVED = 1;
        See Also:
        Constant Field Values
      • SYSTEM_GENERATED_VALUE

        public static final int SYSTEM_GENERATED_VALUE
         System generated entities that aren't explicitly created or managed by a user.
         
        SYSTEM_GENERATED = 2;
        See Also:
        Constant Field Values
      • internalValueMap

        private static final com.google.protobuf.Internal.EnumLiteMap<Common.NamedEntityState> internalValueMap
      • value

        private final int value
    • Constructor Detail

      • NamedEntityState

        private NamedEntityState​(int value)
    • Method Detail

      • values

        public static Common.NamedEntityState[] 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 (Common.NamedEntityState c : Common.NamedEntityState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Common.NamedEntityState 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 Common.NamedEntityState 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 Common.NamedEntityState 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<Common.NamedEntityState> 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 Common.NamedEntityState 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