Class MethodName (2.63.1)

  public 
  
 abstract 
  
 class 
 MethodName 
 

A value class to represent the name of the RPC method in an ApiTracer .

Inheritance

java.lang.Object > MethodName

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

Constructors

MethodName()

  public 
  
 MethodName 
 () 
 

Methods

getMethodName()

  public 
  
 abstract 
  
 String 
  
 getMethodName 
 () 
 

The name of the logical operation being traced. ie. ReadRows.

Returns
Type
Description

getServiceName()

  public 
  
 abstract 
  
 String 
  
 getServiceName 
 () 
 

The name of the service. ie BigtableData

Returns
Type
Description

toString()

  public 
  
 String 
  
 toString 
 () 
 
Returns
Type
Description
Overrides
Create a Mobile Website
View Site in Mobile | Classic
Share by: