Package flyteidl.admin
Enum ProjectOuterClass.Project.ProjectState
- java.lang.Object
-
- java.lang.Enum<ProjectOuterClass.Project.ProjectState>
-
- flyteidl.admin.ProjectOuterClass.Project.ProjectState
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProjectOuterClass.Project.ProjectState>
- Enclosing class:
- ProjectOuterClass.Project
public static enum ProjectOuterClass.Project.ProjectState extends Enum<ProjectOuterClass.Project.ProjectState> implements com.google.protobuf.ProtocolMessageEnum
The state of the project is used to control its visibility in the UI and validity.
Protobuf enumflyteidl.admin.Project.ProjectState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEBy default, all projects are considered active.ARCHIVEDArchived projects are no longer visible in the UI and no longer valid.SYSTEM_GENERATEDSystem generated projects that aren't explicitly created or managed by a user.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACTIVE_VALUEBy default, all projects are considered active.static intARCHIVED_VALUEArchived projects are no longer visible in the UI and no longer valid.private static com.google.protobuf.Internal.EnumLiteMap<ProjectOuterClass.Project.ProjectState>internalValueMapstatic intSYSTEM_GENERATED_VALUESystem generated projects that aren't explicitly created or managed by a user.private intvalueprivate static ProjectOuterClass.Project.ProjectState[]VALUES
-
Constructor Summary
Constructors Modifier Constructor Description privateProjectState(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProjectOuterClass.Project.ProjectStateforNumber(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<ProjectOuterClass.Project.ProjectState>internalGetValueMap()static ProjectOuterClass.Project.ProjectStatevalueOf(int value)Deprecated.static ProjectOuterClass.Project.ProjectStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProjectOuterClass.Project.ProjectStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ProjectOuterClass.Project.ProjectState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final ProjectOuterClass.Project.ProjectState ACTIVE
By default, all projects are considered active.
ACTIVE = 0;
-
ARCHIVED
public static final ProjectOuterClass.Project.ProjectState ARCHIVED
Archived projects are no longer visible in the UI and no longer valid.
ARCHIVED = 1;
-
SYSTEM_GENERATED
public static final ProjectOuterClass.Project.ProjectState SYSTEM_GENERATED
System generated projects that aren't explicitly created or managed by a user.
SYSTEM_GENERATED = 2;
-
UNRECOGNIZED
public static final ProjectOuterClass.Project.ProjectState UNRECOGNIZED
-
-
Field Detail
-
ACTIVE_VALUE
public static final int ACTIVE_VALUE
By default, all projects are considered active.
ACTIVE = 0;- See Also:
- Constant Field Values
-
ARCHIVED_VALUE
public static final int ARCHIVED_VALUE
Archived projects are no longer visible in the UI and no longer valid.
ARCHIVED = 1;- See Also:
- Constant Field Values
-
SYSTEM_GENERATED_VALUE
public static final int SYSTEM_GENERATED_VALUE
System generated projects 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<ProjectOuterClass.Project.ProjectState> internalValueMap
-
VALUES
private static final ProjectOuterClass.Project.ProjectState[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ProjectOuterClass.Project.ProjectState[] 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 (ProjectOuterClass.Project.ProjectState c : ProjectOuterClass.Project.ProjectState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectOuterClass.Project.ProjectState 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 ProjectOuterClass.Project.ProjectState 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 ProjectOuterClass.Project.ProjectState 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<ProjectOuterClass.Project.ProjectState> 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 ProjectOuterClass.Project.ProjectState 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
-
-