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