public static enum UserGroupList.UserGroup.State extends java.lang.Enum<UserGroupList.UserGroup.State> implements com.google.protobuf.ProtocolMessageEnum
The group role status.Protobuf enum
nakama.api.UserGroupList.UserGroup.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 UserGroupList.UserGroup.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<UserGroupList.UserGroup.State> |
internalGetValueMap() |
static UserGroupList.UserGroup.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserGroupList.UserGroup.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserGroupList.UserGroup.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserGroupList.UserGroup.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserGroupList.UserGroup.State SUPERADMIN
The user is a superadmin with full control of the group.
SUPERADMIN = 0;
public static final UserGroupList.UserGroup.State ADMIN
The user is an admin with additional privileges.
ADMIN = 1;
public static final UserGroupList.UserGroup.State MEMBER
The user is a regular member.
MEMBER = 2;
public static final UserGroupList.UserGroup.State JOIN_REQUEST
The user has requested to join the group
JOIN_REQUEST = 3;
public static final UserGroupList.UserGroup.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 UserGroupList.UserGroup.State[] values()
for (UserGroupList.UserGroup.State c : UserGroupList.UserGroup.State.values()) System.out.println(c);
public static UserGroupList.UserGroup.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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static UserGroupList.UserGroup.State valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserGroupList.UserGroup.State forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserGroupList.UserGroup.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserGroupList.UserGroup.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)