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 and Description |
|---|
ASSIGNED
License assigned to the user.
|
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED
Default value.
|
NO_LICENSE
No license assigned to the user.
|
NO_LICENSE_ATTEMPTED_LOGIN
User attempted to login but no license assigned to the user.
|
UNASSIGNED
No license assigned to the user.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASSIGNED_VALUE
License assigned to the user.
|
static int |
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED_VALUE
Default value.
|
static int |
NO_LICENSE_ATTEMPTED_LOGIN_VALUE
User attempted to login but no license assigned to the user.
|
static int |
NO_LICENSE_VALUE
No license assigned to the user.
|
static int |
UNASSIGNED_VALUE
No license assigned to the user.
|
| Modifier and Type | Method and Description |
|---|---|
static UserLicense.LicenseAssignmentState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<UserLicense.LicenseAssignmentState> |
internalGetValueMap() |
static UserLicense.LicenseAssignmentState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserLicense.LicenseAssignmentState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserLicense.LicenseAssignmentState |
valueOf(String 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.
|
public static final UserLicense.LicenseAssignmentState LICENSE_ASSIGNMENT_STATE_UNSPECIFIED
Default value.
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;public static final UserLicense.LicenseAssignmentState ASSIGNED
License assigned to the user.
ASSIGNED = 1;public static final UserLicense.LicenseAssignmentState UNASSIGNED
No license assigned to the user. Deprecated, translated to NO_LICENSE.
UNASSIGNED = 2;public static final UserLicense.LicenseAssignmentState NO_LICENSE
No license assigned to the user.
NO_LICENSE = 3;public static final UserLicense.LicenseAssignmentState 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;public static final UserLicense.LicenseAssignmentState UNRECOGNIZED
public static final int LICENSE_ASSIGNMENT_STATE_UNSPECIFIED_VALUE
Default value.
LICENSE_ASSIGNMENT_STATE_UNSPECIFIED = 0;public static final int ASSIGNED_VALUE
License assigned to the user.
ASSIGNED = 1;public static final int UNASSIGNED_VALUE
No license assigned to the user. Deprecated, translated to NO_LICENSE.
UNASSIGNED = 2;public static final int NO_LICENSE_VALUE
No license assigned to the user.
NO_LICENSE = 3;public static final int NO_LICENSE_ATTEMPTED_LOGIN_VALUE
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;public static UserLicense.LicenseAssignmentState[] values()
for (UserLicense.LicenseAssignmentState c : UserLicense.LicenseAssignmentState.values()) System.out.println(c);
public static UserLicense.LicenseAssignmentState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static UserLicense.LicenseAssignmentState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static UserLicense.LicenseAssignmentState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserLicense.LicenseAssignmentState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserLicense.LicenseAssignmentState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.