Enum GitHubConfig.GitHubApp
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GitHubConfig.GitHubApp>
- Enclosing class:
- GitHubConfig
public static enum GitHubConfig.GitHubApp
extends Enum<GitHubConfig.GitHubApp>
implements com.google.protobuf.ProtocolMessageEnum
Represents the various GitHub Applications that can be installed to a GitHub user or organization and used with Developer Connect.Protobuf enum
google.cloud.developerconnect.v1.GitHubConfig.GitHubApp-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe Developer Connect GitHub Application.The Firebase GitHub Application.The Gemini Code Assist Application.GitHub App not specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe Developer Connect GitHub Application.static final intThe Firebase GitHub Application.static final intThe Gemini Code Assist Application.static final intGitHub App not specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic GitHubConfig.GitHubAppforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GitHubConfig.GitHubApp>static GitHubConfig.GitHubAppvalueOf(int value) Deprecated.static GitHubConfig.GitHubAppvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GitHubConfig.GitHubAppReturns the enum constant of this type with the specified name.static GitHubConfig.GitHubApp[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GIT_HUB_APP_UNSPECIFIED
GitHub App not specified.
GIT_HUB_APP_UNSPECIFIED = 0; -
DEVELOPER_CONNECT
The Developer Connect GitHub Application.
DEVELOPER_CONNECT = 1; -
FIREBASE
The Firebase GitHub Application.
FIREBASE = 2; -
GEMINI_CODE_ASSIST
The Gemini Code Assist Application.
GEMINI_CODE_ASSIST = 3; -
UNRECOGNIZED
-
-
Field Details
-
GIT_HUB_APP_UNSPECIFIED_VALUE
public static final int GIT_HUB_APP_UNSPECIFIED_VALUEGitHub App not specified.
GIT_HUB_APP_UNSPECIFIED = 0;- See Also:
-
DEVELOPER_CONNECT_VALUE
public static final int DEVELOPER_CONNECT_VALUEThe Developer Connect GitHub Application.
DEVELOPER_CONNECT = 1;- See Also:
-
FIREBASE_VALUE
public static final int FIREBASE_VALUEThe Firebase GitHub Application.
FIREBASE = 2;- See Also:
-
GEMINI_CODE_ASSIST_VALUE
public static final int GEMINI_CODE_ASSIST_VALUEThe Gemini Code Assist Application.
GEMINI_CODE_ASSIST = 3;- 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<GitHubConfig.GitHubApp> 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 GitHubConfig.GitHubApp 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
-