Package com.buildless.projects
Enum Class ProjectRepository.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProjectRepository.Status>,Constable
- Enclosing class:
ProjectRepository
public static enum ProjectRepository.Status
extends Enum<ProjectRepository.Status>
implements com.google.protobuf.ProtocolMessageEnum
## Project Repository: Status Enumerates statuses which can be inhabited by a project repository. These statuses indicate the current state of the project as it relates to a given source repository.Protobuf enum
buildless.projects.ProjectRepository.Status-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the repository is properly configured, linked, and ready to use.Indicates that an error occurred in the background, while processing code or events from this repository, or while setting it up.The repository is currently pending linkage.Status is unknown.The system is currently working with the repository under reference. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates that the repository is properly configured, linked, and ready to use.static final intIndicates that an error occurred in the background, while processing code or events from this repository, or while setting it up.static final intThe repository is currently pending linkage.static final intStatus is unknown.static final intThe system is currently working with the repository under reference. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectRepository.StatusforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ProjectRepository.Status>static ProjectRepository.StatusvalueOf(int value) Deprecated.static ProjectRepository.StatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static ProjectRepository.StatusReturns the enum constant of this class with the specified name.static ProjectRepository.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS_UNKNOWN
Status is unknown. This value typically should not be used from regular code, and may signify a backward- incompatible value.
STATUS_UNKNOWN = 0; -
PENDING
The repository is currently pending linkage. The repository has been configured, but must be linked to the matching repository on the provider's side. For example, this may indicate that the user must add the Buildless GitHub app to their repo.
PENDING = 1; -
WORKING
The system is currently working with the repository under reference. This status may be used in various UI circumstances if active work is underway.
WORKING = 2; -
ERROR
Indicates that an error occurred in the background, while processing code or events from this repository, or while setting it up.
ERROR = 3; -
ACTIVE
Indicates that the repository is properly configured, linked, and ready to use.
ACTIVE = 4; -
UNRECOGNIZED
-
-
Field Details
-
STATUS_UNKNOWN_VALUE
public static final int STATUS_UNKNOWN_VALUEStatus is unknown. This value typically should not be used from regular code, and may signify a backward- incompatible value.
STATUS_UNKNOWN = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEThe repository is currently pending linkage. The repository has been configured, but must be linked to the matching repository on the provider's side. For example, this may indicate that the user must add the Buildless GitHub app to their repo.
PENDING = 1;- See Also:
-
WORKING_VALUE
public static final int WORKING_VALUEThe system is currently working with the repository under reference. This status may be used in various UI circumstances if active work is underway.
WORKING = 2;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEIndicates that an error occurred in the background, while processing code or events from this repository, or while setting it up.
ERROR = 3;- See Also:
-
ACTIVE_VALUE
public static final int ACTIVE_VALUEIndicates that the repository is properly configured, linked, and ready to use.
ACTIVE = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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<ProjectRepository.Status> 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 ProjectRepository.Status valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-