public static enum DistributedTraceServiceImpl.SamplerCase extends java.lang.Enum<DistributedTraceServiceImpl.SamplerCase>
| Enum Constant and Description |
|---|
REMOTE_PARENT_NOT_SAMPLED |
REMOTE_PARENT_SAMPLED |
ROOT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName() |
static DistributedTraceServiceImpl.SamplerCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistributedTraceServiceImpl.SamplerCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributedTraceServiceImpl.SamplerCase ROOT
public static final DistributedTraceServiceImpl.SamplerCase REMOTE_PARENT_SAMPLED
public static final DistributedTraceServiceImpl.SamplerCase REMOTE_PARENT_NOT_SAMPLED
public static DistributedTraceServiceImpl.SamplerCase[] values()
for (DistributedTraceServiceImpl.SamplerCase c : DistributedTraceServiceImpl.SamplerCase.values()) System.out.println(c);
public static DistributedTraceServiceImpl.SamplerCase valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getDisplayName()