Package com.streamlayer.users
Enum UpdatePublicChatNameRequest.NameCase
- java.lang.Object
-
- java.lang.Enum<UpdatePublicChatNameRequest.NameCase>
-
- com.streamlayer.users.UpdatePublicChatNameRequest.NameCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UpdatePublicChatNameRequest.NameCase>
- Enclosing class:
- UpdatePublicChatNameRequest
public static enum UpdatePublicChatNameRequest.NameCase extends java.lang.Enum<UpdatePublicChatNameRequest.NameCase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEL_NAMENAME_NOT_SETSET_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UpdatePublicChatNameRequest.NameCaseforNumber(int value)intgetNumber()static UpdatePublicChatNameRequest.NameCasevalueOf(int value)Deprecated.static UpdatePublicChatNameRequest.NameCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UpdatePublicChatNameRequest.NameCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SET_NAME
public static final UpdatePublicChatNameRequest.NameCase SET_NAME
-
DEL_NAME
public static final UpdatePublicChatNameRequest.NameCase DEL_NAME
-
NAME_NOT_SET
public static final UpdatePublicChatNameRequest.NameCase NAME_NOT_SET
-
-
Method Detail
-
values
public static UpdatePublicChatNameRequest.NameCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UpdatePublicChatNameRequest.NameCase c : UpdatePublicChatNameRequest.NameCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdatePublicChatNameRequest.NameCase valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static UpdatePublicChatNameRequest.NameCase valueOf(int value)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static UpdatePublicChatNameRequest.NameCase forNumber(int value)
-
getNumber
public int getNumber()
-
-