Package akka.javasdk
Interface Metadata.MetadataEntry
- Enclosing interface:
Metadata
public static interface Metadata.MetadataEntry
A metadata entry.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getKey()
The key for the metadata entry.getValue()
The string value for the metadata entry.boolean
isBinary()
Deprecated.binary not supported, usegetValue()
boolean
isText()
Whether this entry is a text entry.
-
Method Details
-
getKey
String getKey()The key for the metadata entry.The key will be in the original case it was inserted or sent as.
- Returns:
- The key.
-
getValue
String getValue()The string value for the metadata entry.- Returns:
- The string value, or null if this entry is not a string Metadata entry.
-
getBinaryValue
Deprecated.binary not supported, usegetValue()
The binary value for the metadata entry.- Returns:
- The binary value, or null if this entry is not a string Metadata entry.
-
isText
boolean isText()Whether this entry is a text entry.- Returns:
- True if this entry is a text entry.
-
isBinary
Deprecated.binary not supported, usegetValue()
Whether this entry is a binary entry.- Returns:
- True if this entry is a binary entry.
-
getValue()