Package org.jgroups.upgrade_server
Enum Request.OneOfCase
- java.lang.Object
-
- java.lang.Enum<Request.OneOfCase>
-
- org.jgroups.upgrade_server.Request.OneOfCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Request.OneOfCase>
- Enclosing class:
- Request
public static enum Request.OneOfCase extends Enum<Request.OneOfCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JOIN_REQLEAVE_REQMESSAGEONEOF_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Request.OneOfCaseforNumber(int value)intgetNumber()static Request.OneOfCasevalueOf(int value)Deprecated.static Request.OneOfCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Request.OneOfCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MESSAGE
public static final Request.OneOfCase MESSAGE
-
JOIN_REQ
public static final Request.OneOfCase JOIN_REQ
-
LEAVE_REQ
public static final Request.OneOfCase LEAVE_REQ
-
ONEOF_NOT_SET
public static final Request.OneOfCase ONEOF_NOT_SET
-
-
Method Detail
-
values
public static Request.OneOfCase[] 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 (Request.OneOfCase c : Request.OneOfCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Request.OneOfCase valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static Request.OneOfCase 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Request.OneOfCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-