public static enum PulsarApi.CommandSubscribe.SubType extends Enum<PulsarApi.CommandSubscribe.SubType> implements org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLite
| Enum Constant and Description |
|---|
Exclusive |
Failover |
Key_Shared |
Shared |
| Modifier and Type | Field and Description |
|---|---|
static int |
Exclusive_VALUE |
static int |
Failover_VALUE |
static int |
Key_Shared_VALUE |
static int |
Shared_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.CommandSubscribe.SubType> |
internalGetValueMap() |
static PulsarApi.CommandSubscribe.SubType |
valueOf(int value) |
static PulsarApi.CommandSubscribe.SubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarApi.CommandSubscribe.SubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PulsarApi.CommandSubscribe.SubType Exclusive
public static final PulsarApi.CommandSubscribe.SubType Shared
public static final PulsarApi.CommandSubscribe.SubType Failover
public static final PulsarApi.CommandSubscribe.SubType Key_Shared
public static final int Exclusive_VALUE
public static final int Shared_VALUE
public static final int Failover_VALUE
public static final int Key_Shared_VALUE
public static PulsarApi.CommandSubscribe.SubType[] values()
for (PulsarApi.CommandSubscribe.SubType c : PulsarApi.CommandSubscribe.SubType.values()) System.out.println(c);
public static PulsarApi.CommandSubscribe.SubType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLitepublic static PulsarApi.CommandSubscribe.SubType valueOf(int value)
public static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.CommandSubscribe.SubType> internalGetValueMap()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.