public static final class ProfileServiceGrpc.ProfileServiceStub extends AbstractAsyncStub<ProfileServiceGrpc.ProfileServiceStub>
A service that handles profile management, including profile CRUD,
enumeration and search.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
ProfileServiceGrpc.ProfileServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ProfileServiceGrpc.ProfileServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createProfile(CreateProfileRequest request, StreamObserver<Profile> responseObserver)
public void createProfile(CreateProfileRequest request, StreamObserver<Profile> responseObserver)
Creates and returns a new profile.
Parameters
deleteProfile(DeleteProfileRequest request, StreamObserver<Empty> responseObserver)
public void deleteProfile(DeleteProfileRequest request, StreamObserver<Empty> responseObserver)
Deletes the specified profile.
Prerequisite: The profile has no associated applications or assignments
associated.
Parameters
getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)
public void getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)
Gets the specified profile.
Parameters
listProfiles(ListProfilesRequest request, StreamObserver<ListProfilesResponse> responseObserver)
public void listProfiles(ListProfilesRequest request, StreamObserver<ListProfilesResponse> responseObserver)
Lists profiles by filter. The order is unspecified.
Parameters
searchProfiles(SearchProfilesRequest request, StreamObserver<SearchProfilesResponse> responseObserver)
public void searchProfiles(SearchProfilesRequest request, StreamObserver<SearchProfilesResponse> responseObserver)
Searches for profiles within a tenant.
For example, search by raw queries "software engineer in Mountain View" or
search by structured filters (location filter, education filter, etc.).
See SearchProfilesRequest for more information.
Parameters
updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)
public void updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)
Updates the specified profile and returns the updated result.
Parameters