Package com.google.api.gax.tracing
Class MethodName
java.lang.Object
com.google.api.gax.tracing.MethodName
A value class to represent the name of the RPC method in an
ApiTracer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringThe name of the logical operation being traced. ie.abstract StringThe name of the service. ie BigtableDatastatic MethodNameCreates a new instance of the RPC method name.toString()
-
Constructor Details
-
MethodName
public MethodName()
-
-
Method Details
-
of
Creates a new instance of the RPC method name.- Parameters:
serviceName- The name of the service. In general this will be GAPIC generated service nameStubSettings.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- The name of the logical operation being traced.
-
getServiceName
The name of the service. ie BigtableData -
getMethodName
The name of the logical operation being traced. ie. ReadRows. -
toString
-