Package com.buildless
Enum Class AccountProvider
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AccountProvider>,Constable
public enum AccountProvider
extends Enum<AccountProvider>
implements com.google.protobuf.ProtocolMessageEnum
## Account Provider Specifies identity or account providers which are integrated with Buildless. A user's primary identity originates from one of these providers in every case.Protobuf enum
buildless.AccountProvider-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies an account which is managed by Atlassian, as a consumer account.Specifies an Enterprise directory account.Specifies an account which is managed by GitHub, as a consumer account.Specifies an account which is managed by Google, as a consumer account.Specifies an account managed directly by Buildless.Specifies an account which is managed by Microsoft, as a consumer account.Specifies an unknown, or unrecognized, account or identity provider. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpecifies an account which is managed by Atlassian, as a consumer account.static final intSpecifies an Enterprise directory account.static final intSpecifies an account which is managed by GitHub, as a consumer account.static final intSpecifies an account which is managed by Google, as a consumer account.static final intSpecifies an account managed directly by Buildless.static final intSpecifies an account which is managed by Microsoft, as a consumer account.static final intSpecifies an unknown, or unrecognized, account or identity provider. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccountProviderforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AccountProvider>static AccountProvidervalueOf(int value) Deprecated.static AccountProvidervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static AccountProviderReturns the enum constant of this class with the specified name.static AccountProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROVIDER_UNKNOWN
Specifies an unknown, or unrecognized, account or identity provider. This value indicates a backwards-incompatible enumerated option and should not be used directly by code. Often, passing this value may result in an error.
PROVIDER_UNKNOWN = 0; -
IN_HOUSE
Specifies an account managed directly by Buildless. This account provider type covers email and phone-based accounts, as well as enterprise account root users.
IN_HOUSE = 1; -
GOOGLE
Specifies an account which is managed by Google, as a consumer account. This usually indicates an individual who has created a Buildless account through their Google account.
GOOGLE = 2; -
GITHUB
Specifies an account which is managed by GitHub, as a consumer account. This usually indicates a Marketplace Plan enrollment from an individual GitHub account.
GITHUB = 3; -
ATLASSIAN
Specifies an account which is managed by Atlassian, as a consumer account. This usually indicates a Marketplace Plan enrollment from an individual BitBucket account.
ATLASSIAN = 4; -
MICROSOFT
Specifies an account which is managed by Microsoft, as a consumer account. This usually indicates a Microsoft user who has enrolled for a Buildless individual account.
MICROSOFT = 5; -
DIRECTORY
Specifies an Enterprise directory account. Enterprise accounts are usually managed through SCIM, and originate from an enterprise identity provider.
DIRECTORY = 6; -
UNRECOGNIZED
-
-
Field Details
-
PROVIDER_UNKNOWN_VALUE
public static final int PROVIDER_UNKNOWN_VALUESpecifies an unknown, or unrecognized, account or identity provider. This value indicates a backwards-incompatible enumerated option and should not be used directly by code. Often, passing this value may result in an error.
PROVIDER_UNKNOWN = 0;- See Also:
-
IN_HOUSE_VALUE
public static final int IN_HOUSE_VALUESpecifies an account managed directly by Buildless. This account provider type covers email and phone-based accounts, as well as enterprise account root users.
IN_HOUSE = 1;- See Also:
-
GOOGLE_VALUE
public static final int GOOGLE_VALUESpecifies an account which is managed by Google, as a consumer account. This usually indicates an individual who has created a Buildless account through their Google account.
GOOGLE = 2;- See Also:
-
GITHUB_VALUE
public static final int GITHUB_VALUESpecifies an account which is managed by GitHub, as a consumer account. This usually indicates a Marketplace Plan enrollment from an individual GitHub account.
GITHUB = 3;- See Also:
-
ATLASSIAN_VALUE
public static final int ATLASSIAN_VALUESpecifies an account which is managed by Atlassian, as a consumer account. This usually indicates a Marketplace Plan enrollment from an individual BitBucket account.
ATLASSIAN = 4;- See Also:
-
MICROSOFT_VALUE
public static final int MICROSOFT_VALUESpecifies an account which is managed by Microsoft, as a consumer account. This usually indicates a Microsoft user who has enrolled for a Buildless individual account.
MICROSOFT = 5;- See Also:
-
DIRECTORY_VALUE
public static final int DIRECTORY_VALUESpecifies an Enterprise directory account. Enterprise accounts are usually managed through SCIM, and originate from an enterprise identity provider.
DIRECTORY = 6;- See Also:
-
-
Method Details
-
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
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 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 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 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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 nameNullPointerException- if the argument is null
-