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 Summary
Enum ConstantsEnum ConstantDescriptionInstallation process has been completed.Only for GitHub Enterprise.User needs to follow the link to install the GitHub (or Enterprise) App.User needs to authorize the GitHub (or Enterprise) App via OAuth.No stage specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intInstallation process has been completed.static final intOnly for GitHub Enterprise.static final intUser needs to follow the link to install the GitHub (or Enterprise) App.static final intUser needs to authorize the GitHub (or Enterprise) App via OAuth.static final intNo stage specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic InstallationState.StageforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<InstallationState.Stage>static InstallationState.StagevalueOf(int value) Deprecated.static InstallationState.StagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static InstallationState.StageReturns the enum constant of this type with the specified name.static InstallationState.Stage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STAGE_UNSPECIFIED
No stage specified.
STAGE_UNSPECIFIED = 0; -
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
User needs to authorize the GitHub (or Enterprise) App via OAuth.
PENDING_USER_OAUTH = 2; -
PENDING_INSTALL_APP
User needs to follow the link to install the GitHub (or Enterprise) App.
PENDING_INSTALL_APP = 3; -
COMPLETE
Installation process has been completed.
COMPLETE = 10; -
UNRECOGNIZED
-
-
Field Details
-
STAGE_UNSPECIFIED_VALUE
public static final int STAGE_UNSPECIFIED_VALUENo stage specified.
STAGE_UNSPECIFIED = 0;- See Also:
-
PENDING_CREATE_APP_VALUE
public static final int PENDING_CREATE_APP_VALUEOnly 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_VALUEUser 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_VALUEUser 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_VALUEInstallation process has been completed.
COMPLETE = 10;- See Also:
-
-
Method Details
-
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
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.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
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-