public static enum PulsarApi.KeySharedMode extends Enum<PulsarApi.KeySharedMode> implements org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLite
| Enum Constant and Description |
|---|
AUTO_SPLIT |
STICKY |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_SPLIT_VALUE |
static int |
STICKY_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.KeySharedMode> |
internalGetValueMap() |
static PulsarApi.KeySharedMode |
valueOf(int value) |
static PulsarApi.KeySharedMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PulsarApi.KeySharedMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PulsarApi.KeySharedMode AUTO_SPLIT
public static final PulsarApi.KeySharedMode STICKY
public static final int AUTO_SPLIT_VALUE
public static final int STICKY_VALUE
public static PulsarApi.KeySharedMode[] values()
for (PulsarApi.KeySharedMode c : PulsarApi.KeySharedMode.values()) System.out.println(c);
public static PulsarApi.KeySharedMode 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.KeySharedMode valueOf(int value)
public static org.apache.pulsar.shaded.com.google.protobuf.v241.Internal.EnumLiteMap<PulsarApi.KeySharedMode> internalGetValueMap()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.