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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcProfilerServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcProfilerServiceStub create(ProfilerServiceStubSettings settings)
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.
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.
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 GrpcOperationsStub getOperationsStub()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
Overrides