public interface Enumeration
ServerState or handled by DynamicEnumeration. In either case, the enum
constants are also in an EnumerationSpecification obtainable from an
EncoderContext. In general only the SDK or Codegen should implement this interface.| Modifier and Type | Interface and Description |
|---|---|
static interface |
Enumeration.Builder
Builder for making Enumerations dynamically.
|
| Modifier and Type | Method and Description |
|---|---|
default LocalizedText |
getDescription()
Returns description of the
Enumeration or LocalizedText.EMPTY if not available. |
int |
getValue()
Return the integer value of this enumeration value.
|
default String |
getValueAsString()
Returns the string value of this enumeration value.
|
EnumerationSpecification |
specification()
Returns the specification of the
Enumeration. |
Enumeration.Builder |
toBuilder()
Returns a builder which can be used to make other instances of the
Enumeration. |
default LocalizedText getDescription()
Enumeration or LocalizedText.EMPTY if not available.int getValue()
default String getValueAsString()
EnumerationSpecification specification()
Enumeration.Enumeration.Builder toBuilder()
Enumeration.Copyright © 2026. All rights reserved.