Enum Class CommandGetTopicsOfNamespace.Mode
java.lang.Object
java.lang.Enum<CommandGetTopicsOfNamespace.Mode>
org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode
- All Implemented Interfaces:
Serializable
,Comparable<CommandGetTopicsOfNamespace.Mode>
,Constable
- Enclosing class:
- CommandGetTopicsOfNamespace
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
valueOf
(int n) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static CommandGetTopicsOfNamespace.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PERSISTENT
-
NON_PERSISTENT
-
ALL
-
-
Field Details
-
PERSISTENT_VALUE
public static final int PERSISTENT_VALUE- See Also:
-
NON_PERSISTENT_VALUE
public static final int NON_PERSISTENT_VALUE- See Also:
-
ALL_VALUE
public static final int ALL_VALUE- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
n
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-