public static enum PublishMessage.UnionMember extends Enum<PublishMessage.UnionMember>
| Enum Constant and Description |
|---|
BINARY_MESSAGE |
JSON_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static PublishMessage.UnionMember |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PublishMessage.UnionMember[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PublishMessage.UnionMember JSON_MESSAGE
public static final PublishMessage.UnionMember BINARY_MESSAGE
public static PublishMessage.UnionMember[] values()
for (PublishMessage.UnionMember c : PublishMessage.UnionMember.values()) System.out.println(c);
public static PublishMessage.UnionMember 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 nullCopyright ? 2021. All rights reserved.