public enum ProtobufMessageType extends Enum<ProtobufMessageType>
| Enum Constant and Description |
|---|
DYNAMIC_MESSAGE
DynamicMessage object type
|
POJO
Pojo object type
|
UNKNOWN
Unknown
|
| Modifier and Type | Method and Description |
|---|---|
static ProtobufMessageType |
fromName(String name) |
String |
getName() |
int |
getValue() |
static ProtobufMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtobufMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtobufMessageType UNKNOWN
public static final ProtobufMessageType POJO
public static final ProtobufMessageType DYNAMIC_MESSAGE
public static ProtobufMessageType[] values()
for (ProtobufMessageType c : ProtobufMessageType.values()) System.out.println(c);
public static ProtobufMessageType 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 String getName()
public int getValue()
public static ProtobufMessageType fromName(String name)
Copyright © 2025. All rights reserved.