Enum InstallationState.Stage

java.lang.Object
java.lang.Enum<InstallationState.Stage>
com.google.cloud.developerconnect.v1.InstallationState.Stage
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<InstallationState.Stage>
Enclosing class:
InstallationState

public static enum InstallationState.Stage extends Enum<InstallationState.Stage> implements com.google.protobuf.ProtocolMessageEnum
 Stage of the installation process.
 
Protobuf enum google.cloud.developerconnect.v1.InstallationState.Stage
  • Enum Constant Details

    • STAGE_UNSPECIFIED

      public static final InstallationState.Stage STAGE_UNSPECIFIED
       No stage specified.
       
      STAGE_UNSPECIFIED = 0;
    • PENDING_CREATE_APP

      public static final InstallationState.Stage PENDING_CREATE_APP
       Only for GitHub Enterprise. An App creation has been requested.
       The user needs to confirm the creation in their GitHub enterprise host.
       
      PENDING_CREATE_APP = 1;
    • PENDING_USER_OAUTH

      public static final InstallationState.Stage PENDING_USER_OAUTH
       User needs to authorize the GitHub (or Enterprise) App via OAuth.
       
      PENDING_USER_OAUTH = 2;
    • PENDING_INSTALL_APP

      public static final InstallationState.Stage PENDING_INSTALL_APP
       User needs to follow the link to install the GitHub (or Enterprise) App.
       
      PENDING_INSTALL_APP = 3;
    • COMPLETE

      public static final InstallationState.Stage COMPLETE
       Installation process has been completed.
       
      COMPLETE = 10;
    • UNRECOGNIZED

      public static final InstallationState.Stage UNRECOGNIZED
  • Field Details

    • STAGE_UNSPECIFIED_VALUE

      public static final int STAGE_UNSPECIFIED_VALUE
       No stage specified.
       
      STAGE_UNSPECIFIED = 0;
      See Also:
    • PENDING_CREATE_APP_VALUE

      public static final int PENDING_CREATE_APP_VALUE
       Only for GitHub Enterprise. An App creation has been requested.
       The user needs to confirm the creation in their GitHub enterprise host.
       
      PENDING_CREATE_APP = 1;
      See Also:
    • PENDING_USER_OAUTH_VALUE

      public static final int PENDING_USER_OAUTH_VALUE
       User needs to authorize the GitHub (or Enterprise) App via OAuth.
       
      PENDING_USER_OAUTH = 2;
      See Also:
    • PENDING_INSTALL_APP_VALUE

      public static final int PENDING_INSTALL_APP_VALUE
       User needs to follow the link to install the GitHub (or Enterprise) App.
       
      PENDING_INSTALL_APP = 3;
      See Also:
    • COMPLETE_VALUE

      public static final int COMPLETE_VALUE
       Installation process has been completed.
       
      COMPLETE = 10;
      See Also:
  • Method Details

    • values

      public static InstallationState.Stage[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static InstallationState.Stage 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 InstallationState.Stage 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 InstallationState.Stage 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<InstallationState.Stage> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static InstallationState.Stage 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