public static enum TraceConfig.SamplerCase extends Enum<TraceConfig.SamplerCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONSTANT_SAMPLER |
PROBABILITY_SAMPLER |
RATE_LIMITING_SAMPLER |
SAMPLER_NOT_SET |
| Modifier and Type | Method and Description |
|---|---|
static TraceConfig.SamplerCase |
forNumber(int value) |
int |
getNumber() |
static TraceConfig.SamplerCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TraceConfig.SamplerCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TraceConfig.SamplerCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceConfig.SamplerCase PROBABILITY_SAMPLER
public static final TraceConfig.SamplerCase CONSTANT_SAMPLER
public static final TraceConfig.SamplerCase RATE_LIMITING_SAMPLER
public static final TraceConfig.SamplerCase SAMPLER_NOT_SET
public static TraceConfig.SamplerCase[] values()
for (TraceConfig.SamplerCase c : TraceConfig.SamplerCase.values()) System.out.println(c);
public static TraceConfig.SamplerCase 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@Deprecated public static TraceConfig.SamplerCase valueOf(int value)
forNumber(int) instead.public static TraceConfig.SamplerCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite