public static enum TransactionMetadataEntry.TransactionMetadataOp extends Enum<TransactionMetadataEntry.TransactionMetadataOp>
| Enum Constant and Description |
|---|
ADD_PARTITION |
ADD_SUBSCRIPTION |
NEW |
UPDATE |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_PARTITION_VALUE |
static int |
ADD_SUBSCRIPTION_VALUE |
static int |
NEW_VALUE |
static int |
UPDATE_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static TransactionMetadataEntry.TransactionMetadataOp |
valueOf(int n) |
static TransactionMetadataEntry.TransactionMetadataOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMetadataEntry.TransactionMetadataOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMetadataEntry.TransactionMetadataOp NEW
public static final TransactionMetadataEntry.TransactionMetadataOp ADD_PARTITION
public static final TransactionMetadataEntry.TransactionMetadataOp ADD_SUBSCRIPTION
public static final TransactionMetadataEntry.TransactionMetadataOp UPDATE
public static final int NEW_VALUE
public static final int ADD_PARTITION_VALUE
public static final int ADD_SUBSCRIPTION_VALUE
public static final int UPDATE_VALUE
public static TransactionMetadataEntry.TransactionMetadataOp[] values()
for (TransactionMetadataEntry.TransactionMetadataOp c : TransactionMetadataEntry.TransactionMetadataOp.values()) System.out.println(c);
public static TransactionMetadataEntry.TransactionMetadataOp 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 int getValue()
public static TransactionMetadataEntry.TransactionMetadataOp valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.