Package flyteidl.admin
Enum Common.NamedEntityState
- java.lang.Object
-
- java.lang.Enum<Common.NamedEntityState>
-
- flyteidl.admin.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 enumflyteidl.admin.NamedEntityState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NAMED_ENTITY_ACTIVEBy default, all named entities are considered active and under development.NAMED_ENTITY_ARCHIVEDArchived named entities are no longer visible in the UI.SYSTEM_GENERATEDSystem generated entities that aren't explicitly created or managed by a user.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Internal.EnumLiteMap<Common.NamedEntityState>internalValueMapstatic intNAMED_ENTITY_ACTIVE_VALUEBy default, all named entities are considered active and under development.static intNAMED_ENTITY_ARCHIVED_VALUEArchived named entities are no longer visible in the UI.static intSYSTEM_GENERATED_VALUESystem generated entities that aren't explicitly created or managed by a user.private intvalueprivate static Common.NamedEntityState[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateNamedEntityState(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Common.NamedEntityStateforNumber(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<Common.NamedEntityState>internalGetValueMap()static Common.NamedEntityStatevalueOf(int value)Deprecated.static Common.NamedEntityStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Common.NamedEntityStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Common.NamedEntityState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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;
-
UNRECOGNIZED
public static final Common.NamedEntityState UNRECOGNIZED
-
-
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
-
VALUES
private static final Common.NamedEntityState[] VALUES
-
value
private final 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 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 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 nameNullPointerException- 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:
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 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 nameNullPointerException- if the argument is null
-
-