public class HttpJsonProfilerServiceStub extends ProfilerServiceStub
REST stub implementation for the ProfilerService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonProfilerServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonProfilerServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonProfilerServiceStub create(ProfilerServiceStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonProfilerServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
HttpJsonProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonProfilerServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public final void close()
Overrides
public UnaryCallable<CreateOfflineProfileRequest,Profile> createOfflineProfileCallable()
Returns
Overrides
public UnaryCallable<CreateProfileRequest,Profile> createProfileCallable()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public void shutdownNow()
public UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
Returns
Overrides