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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonProfilerServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonProfilerServiceStub create(ProfilerServiceStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public final void close()
Overrides
public UnaryCallable<CreateOfflineProfileRequest,Profile> createOfflineProfileCallable()
Overrides
public UnaryCallable<CreateProfileRequest,Profile> createProfileCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
Overrides