public enum PubSubDataSetMessageType extends Enum<PubSubDataSetMessageType>
PubSubDataSetMessage is.| Enum Constant and Description |
|---|
Chunk |
DataDeltaFrame |
DataKeyFrame |
Event |
KeepAlive |
| Modifier and Type | Method and Description |
|---|---|
static PubSubDataSetMessageType |
fromJsonValue(String jsonValue)
Returns the equivalent enum constant or throws
IllegalArgumentException if none found. |
String |
getJsonValue() |
int |
getValue() |
static PubSubDataSetMessageType |
valueOf(int value)
Returns the equivalent enum constant or throws
IllegalArgumentException if none found. |
static PubSubDataSetMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PubSubDataSetMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PubSubDataSetMessageType DataKeyFrame
public static final PubSubDataSetMessageType DataDeltaFrame
public static final PubSubDataSetMessageType Event
public static final PubSubDataSetMessageType KeepAlive
public static final PubSubDataSetMessageType Chunk
public static PubSubDataSetMessageType[] values()
for (PubSubDataSetMessageType c : PubSubDataSetMessageType.values()) System.out.println(c);
public static PubSubDataSetMessageType 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 static PubSubDataSetMessageType fromJsonValue(String jsonValue)
IllegalArgumentException if none found.
Returns null if given null or empty Stringpublic static PubSubDataSetMessageType valueOf(int value)
IllegalArgumentException if none found.public String getJsonValue()
public int getValue()
Copyright © 2026. All rights reserved.