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