Enum UserLicense.LicenseAssignmentState
java.lang.Object
java.lang.Enum<UserLicense.LicenseAssignmentState>
com.google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UserLicense.LicenseAssignmentState>
- Enclosing class:
- UserLicense
public static enum UserLicense.LicenseAssignmentState
extends Enum<UserLicense.LicenseAssignmentState>
implements com.google.protobuf.ProtocolMessageEnum
License assignment state enumeration.Protobuf enum
google.cloud.discoveryengine.v1.UserLicense.LicenseAssignmentState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLicense assigned to the user.Default value.No license assigned to the user.User attempted to login but no license assigned to the user.No license assigned to the user. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLicense assigned to the user.static final intDefault value.static final intUser attempted to login but no license assigned to the user.static final intNo license assigned to the user.static final intNo license assigned to the user. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UserLicense.LicenseAssignmentState>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static UserLicense.LicenseAssignmentState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED
Default value.
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0; -
ASSIGNED
License assigned to the user.
ASSIGNED = 1; -
UNASSIGNED
No license assigned to the user. Deprecated, translated to NO_LICENSE.
UNASSIGNED = 2; -
NO_LICENSE
No license assigned to the user.
NO_LICENSE = 3; -
NO_LICENSE_ATTEMPTED_LOGIN
User attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).
NO_LICENSE_ATTEMPTED_LOGIN = 4; -
UNRECOGNIZED
-
-
Field Details
-
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED_VALUE
public static final int LICENSE_ASSIGNMENT_STATE_UNSPECIFIED_VALUEDefault value.
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;- See Also:
-
ASSIGNED_VALUE
public static final int ASSIGNED_VALUELicense assigned to the user.
ASSIGNED = 1;- See Also:
-
UNASSIGNED_VALUE
public static final int UNASSIGNED_VALUENo license assigned to the user. Deprecated, translated to NO_LICENSE.
UNASSIGNED = 2;- See Also:
-
NO_LICENSE_VALUE
public static final int NO_LICENSE_VALUENo license assigned to the user.
NO_LICENSE = 3;- See Also:
-
NO_LICENSE_ATTEMPTED_LOGIN_VALUE
public static final int NO_LICENSE_ATTEMPTED_LOGIN_VALUEUser attempted to login but no license assigned to the user. This state is only used for no user first time login attempt but cannot get license assigned. Users already logged in but cannot get license assigned will be assigned NO_LICENSE state(License could be unassigned by admin).
NO_LICENSE_ATTEMPTED_LOGIN = 4;- 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<UserLicense.LicenseAssignmentState> 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 UserLicense.LicenseAssignmentState 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
-