Enum Class ProjectRepository.Status

java.lang.Object
java.lang.Enum<ProjectRepository.Status>
com.buildless.projects.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
  • Enum Constant Details

    • STATUS_UNKNOWN

      public static final ProjectRepository.Status 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

      public static final ProjectRepository.Status 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

      public static final ProjectRepository.Status 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

      public static final ProjectRepository.Status 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

      public static final ProjectRepository.Status ACTIVE
       Indicates that the repository is properly configured, linked, and ready to use.
       
      ACTIVE = 4;
    • UNRECOGNIZED

      public static final ProjectRepository.Status UNRECOGNIZED
  • Field Details

    • STATUS_UNKNOWN_VALUE

      public static final int STATUS_UNKNOWN_VALUE
       Status 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_VALUE
       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;
      See Also:
    • WORKING_VALUE

      public static final int WORKING_VALUE
       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;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
       Indicates 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_VALUE
       Indicates that the repository is properly configured, linked, and ready to use.
       
      ACTIVE = 4;
      See Also:
  • Method Details

    • values

      public static ProjectRepository.Status[] 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

      public static ProjectRepository.Status valueOf(String name)
      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 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 ProjectRepository.Status valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static ProjectRepository.Status 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<ProjectRepository.Status> 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 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 name
      NullPointerException - if the argument is null