public class GrpcProfilerServiceStub extends ProfilerServiceStub
gRPC 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 GrpcProfilerServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcProfilerServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final GrpcProfilerServiceStub create(ProfilerServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext)
protected GrpcProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcProfilerServiceStub, 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
GrpcProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcProfilerServiceStub(ProfilerServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProfilerServiceStub, 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 GrpcOperationsStub getOperationsStub()
Returns
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public void shutdownNow()
public UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
Returns
Overrides