public static enum GroupUserList.GroupUser.State extends java.lang.Enum<GroupUserList.GroupUser.State> implements com.google.protobuf.ProtocolMessageEnum
The group role status.Protobuf enum
nakama.api.GroupUserList.GroupUser.State| Enum Constant and Description |
|---|
ADMIN
The user is an admin with additional privileges.
|
JOIN_REQUEST
The user has requested to join the group
|
MEMBER
The user is a regular member.
|
SUPERADMIN
The user is a superadmin with full control of the group.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADMIN_VALUE
The user is an admin with additional privileges.
|
static int |
JOIN_REQUEST_VALUE
The user has requested to join the group
|
static int |
MEMBER_VALUE
The user is a regular member.
|
static int |
SUPERADMIN_VALUE
The user is a superadmin with full control of the group.
|
| Modifier and Type | Method and Description |
|---|---|
static GroupUserList.GroupUser.State |
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<GroupUserList.GroupUser.State> |
internalGetValueMap() |
static GroupUserList.GroupUser.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GroupUserList.GroupUser.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GroupUserList.GroupUser.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupUserList.GroupUser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupUserList.GroupUser.State SUPERADMIN
The user is a superadmin with full control of the group.
SUPERADMIN = 0;public static final GroupUserList.GroupUser.State ADMIN
The user is an admin with additional privileges.
ADMIN = 1;public static final GroupUserList.GroupUser.State MEMBER
The user is a regular member.
MEMBER = 2;public static final GroupUserList.GroupUser.State JOIN_REQUEST
The user has requested to join the group
JOIN_REQUEST = 3;public static final GroupUserList.GroupUser.State UNRECOGNIZED
public static final int SUPERADMIN_VALUE
The user is a superadmin with full control of the group.
SUPERADMIN = 0;public static final int ADMIN_VALUE
The user is an admin with additional privileges.
ADMIN = 1;public static final int MEMBER_VALUE
The user is a regular member.
MEMBER = 2;public static final int JOIN_REQUEST_VALUE
The user has requested to join the group
JOIN_REQUEST = 3;public static GroupUserList.GroupUser.State[] values()
for (GroupUserList.GroupUser.State c : GroupUserList.GroupUser.State.values()) System.out.println(c);
public static GroupUserList.GroupUser.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - 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 GroupUserList.GroupUser.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static GroupUserList.GroupUser.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GroupUserList.GroupUser.State> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GroupUserList.GroupUser.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)