Enum SystemProvider
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SystemProvider>
@Generated
public enum SystemProvider
extends Enum<SystemProvider>
implements com.google.protobuf.ProtocolMessageEnum
SystemProvider is a list of providers that are owned by Developer Connect.Protobuf enum
google.cloud.developerconnect.v1.SystemProvider-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDatastax provider.Dynatrace provider.GitHub provider.GitLab provider.Google provider.New Relic provider.Rovo provider.Sentry provider.No system provider specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDatastax provider.static final intDynatrace provider.static final intGitHub provider.static final intGitLab provider.static final intGoogle provider.static final intNew Relic provider.static final intRovo provider.static final intSentry provider.static final intNo system provider specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemProviderforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SystemProvider>static SystemProvidervalueOf(int value) Deprecated.static SystemProvidervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SystemProviderReturns the enum constant of this type with the specified name.static SystemProvider[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SYSTEM_PROVIDER_UNSPECIFIED
No system provider specified.
SYSTEM_PROVIDER_UNSPECIFIED = 0; -
GITHUB
GitHub provider. Scopes can be found at https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes
GITHUB = 1; -
GITLAB
GitLab provider. Scopes can be found at https://docs.gitlab.com/user/profile/personal_access_tokens/#personal-access-token-scopes
GITLAB = 2; -
GOOGLE
Google provider. Recommended scopes: "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/documents.readonly"
GOOGLE = 3; -
SENTRY
Sentry provider. Scopes can be found at https://docs.sentry.io/api/permissions/
SENTRY = 4; -
ROVO
Rovo provider. Must select the "rovo" scope.
ROVO = 5; -
NEW_RELIC
New Relic provider. No scopes are allowed.
NEW_RELIC = 6; -
DATASTAX
Datastax provider. No scopes are allowed.
DATASTAX = 7; -
DYNATRACE
Dynatrace provider.
DYNATRACE = 8; -
UNRECOGNIZED
-
-
Field Details
-
SYSTEM_PROVIDER_UNSPECIFIED_VALUE
public static final int SYSTEM_PROVIDER_UNSPECIFIED_VALUENo system provider specified.
SYSTEM_PROVIDER_UNSPECIFIED = 0;- See Also:
-
GITHUB_VALUE
public static final int GITHUB_VALUEGitHub provider. Scopes can be found at https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps#available-scopes
GITHUB = 1;- See Also:
-
GITLAB_VALUE
public static final int GITLAB_VALUEGitLab provider. Scopes can be found at https://docs.gitlab.com/user/profile/personal_access_tokens/#personal-access-token-scopes
GITLAB = 2;- See Also:
-
GOOGLE_VALUE
public static final int GOOGLE_VALUEGoogle provider. Recommended scopes: "https://www.googleapis.com/auth/drive.readonly", "https://www.googleapis.com/auth/documents.readonly"
GOOGLE = 3;- See Also:
-
SENTRY_VALUE
public static final int SENTRY_VALUESentry provider. Scopes can be found at https://docs.sentry.io/api/permissions/
SENTRY = 4;- See Also:
-
ROVO_VALUE
public static final int ROVO_VALUERovo provider. Must select the "rovo" scope.
ROVO = 5;- See Also:
-
NEW_RELIC_VALUE
public static final int NEW_RELIC_VALUENew Relic provider. No scopes are allowed.
NEW_RELIC = 6;- See Also:
-
DATASTAX_VALUE
public static final int DATASTAX_VALUEDatastax provider. No scopes are allowed.
DATASTAX = 7;- See Also:
-
DYNATRACE_VALUE
public static final int DYNATRACE_VALUEDynatrace provider.
DYNATRACE = 8;- 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
-
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
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
-