public class GrpcProfileServiceStub extends ProfileServiceStub
gRPC stub implementation for the ProfileService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcProfileServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcProfileServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ProfileServiceStubSettings settings)
public static final GrpcProfileServiceStub create(ProfileServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext)
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcProfileServiceStub, 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
GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProfileServiceStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createProfileCallable()
public UnaryCallable<CreateProfileRequest,Profile> createProfileCallable()
Returns
Overrides
deleteProfileCallable()
public UnaryCallable<DeleteProfileRequest,Empty> deleteProfileCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getProfileCallable()
public UnaryCallable<GetProfileRequest,Profile> getProfileCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listProfilesCallable()
public UnaryCallable<ListProfilesRequest,ListProfilesResponse> listProfilesCallable()
Returns
Overrides
listProfilesPagedCallable()
public UnaryCallable<ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> listProfilesPagedCallable()
Returns
Overrides
searchProfilesCallable()
public UnaryCallable<SearchProfilesRequest,SearchProfilesResponse> searchProfilesCallable()
Returns
Overrides
searchProfilesPagedCallable()
public UnaryCallable<SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> searchProfilesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateProfileCallable()
public UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
Returns
Overrides