public static enum TracingMetadataCodec.Flags extends Enum<TracingMetadataCodec.Flags>
Enum Constant and Description |
---|
DEBUG |
NOT_SAMPLE |
SAMPLE |
UNDECIDED |
Modifier and Type | Method and Description |
---|---|
static TracingMetadataCodec.Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TracingMetadataCodec.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TracingMetadataCodec.Flags UNDECIDED
public static final TracingMetadataCodec.Flags NOT_SAMPLE
public static final TracingMetadataCodec.Flags SAMPLE
public static final TracingMetadataCodec.Flags DEBUG
public static TracingMetadataCodec.Flags[] values()
for (TracingMetadataCodec.Flags c : TracingMetadataCodec.Flags.values()) System.out.println(c);
public static TracingMetadataCodec.Flags 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 null