Package io.camunda.zeebe.msgpack.spec
Enum Class MsgPackFormat
- All Implemented Interfaces:
Serializable,Comparable<MsgPackFormat>,Constable
Describes the list of the message format types defined in the MessagePack specification.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetType()static MsgPackFormatvalueOf(byte b) Returns a MessageFormat type of the specified byte valuestatic MsgPackFormatReturns the enum constant of this class with the specified name.static MsgPackFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POSFIXINT
-
FIXMAP
-
FIXARRAY
-
FIXSTR
-
NIL
-
NEVER_USED
-
BOOLEAN
-
BIN8
-
BIN16
-
BIN32
-
EXT8
-
EXT16
-
EXT32
-
FLOAT32
-
FLOAT64
-
UINT8
-
UINT16
-
UINT32
-
UINT64
-
INT8
-
INT16
-
INT32
-
INT64
-
FIXEXT1
-
FIXEXT2
-
FIXEXT4
-
FIXEXT8
-
FIXEXT16
-
STR8
-
STR16
-
STR32
-
ARRAY16
-
ARRAY32
-
MAP16
-
MAP32
-
NEGFIXINT
-
-
Field Details
-
type
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getType
-
valueOf
Returns a MessageFormat type of the specified byte value- Parameters:
b- MessageFormat of the given byte- Returns:
-