public abstract class MethodName
A value class to represent the name of the RPC method in an ApiTracer.
Static Methods
of(String serviceName, String methodName)
public static MethodName of(String serviceName, String methodName)
Creates a new instance of the RPC method name.
Parameters | |
---|---|
Name | Description |
serviceName |
String The name of the service. In general this will be GAPIC generated service name StubSettings#getServiceName(). However, in some cases, when the GAPIC generated service is wrapped, this will be overridden to specify the manually written wrapper's name. |
methodName |
String The name of the logical operation being traced. |
Returns | |
---|---|
Type | Description |
MethodName |
Constructors
MethodName()
public MethodName()
Methods
getMethodName()
public abstract String getMethodName()
The name of the logical operation being traced. ie. ReadRows.
Returns | |
---|---|
Type | Description |
String |
getServiceName()
public abstract String getServiceName()
The name of the service. ie BigtableData
Returns | |
---|---|
Type | Description |
String |
toString()
public String toString()
Returns | |
---|---|
Type | Description |
String |