Enum Class CommandLookupTopicResponse.LookupType
java.lang.Object
java.lang.Enum<CommandLookupTopicResponse.LookupType>
org.apache.pulsar.common.api.proto.CommandLookupTopicResponse.LookupType
- All Implemented Interfaces:
Serializable
,Comparable<CommandLookupTopicResponse.LookupType>
,Constable
- Enclosing class:
- CommandLookupTopicResponse
public static enum CommandLookupTopicResponse.LookupType
extends Enum<CommandLookupTopicResponse.LookupType>
-
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
-
Enum Constant Details
-
Redirect
-
Connect
-
Failed
-
-
Field Details
-
Redirect_VALUE
public static final int Redirect_VALUE- See Also:
-
Connect_VALUE
public static final int Connect_VALUE- See Also:
-
Failed_VALUE
public static final int Failed_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
-