public static enum Span.Kind extends Enum<Span.Kind>
Enum Constant and Description |
---|
CLIENT
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
|
SERVER
Indicates that the span covers server-side handling of an RPC or other remote request.
|
Modifier and Type | Method and Description |
---|---|
static Span.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Span.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Span.Kind SERVER
public static final Span.Kind CLIENT
public static Span.Kind[] values()
for (Span.Kind c : Span.Kind.values()) System.out.println(c);
public static Span.Kind 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