| Constructor and Description |
|---|
SpanName() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getClientName()
The name of the client.
|
abstract String |
getMethodName()
The name of the logical operation being traced.
|
static SpanName |
of(String clientName,
String methodName)
Creates a new instance of the name.
|
String |
toString() |
public static SpanName of(String clientName, String methodName)
clientName - The name of the client. In general this will be GAPIC generated client name.
However, in some cases, when the GAPIC generated client is wrapped, this will be overridden
to specify the manually written wrapper's name.methodName - The name of the logical operation being traced.public abstract String getClientName()
public abstract String getMethodName()