Class ProfileServiceGrpc.ProfileServiceStub (2.2.9)

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

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
Type Description
ProfileServiceGrpc.ProfileServiceStub
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
Name Description
request CreateProfileRequest
responseObserver io.grpc.stub.StreamObserver<Profile>

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
Name Description
request DeleteProfileRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)

public void getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)

Gets the specified profile.

Parameters
Name Description
request GetProfileRequest
responseObserver io.grpc.stub.StreamObserver<Profile>

listProfiles(ListProfilesRequest request, StreamObserver<ListProfilesResponse> responseObserver)

public void listProfiles(ListProfilesRequest request, StreamObserver<ListProfilesResponse> responseObserver)

Lists profiles by filter. The order is unspecified.

Parameters
Name Description
request ListProfilesRequest
responseObserver io.grpc.stub.StreamObserver<ListProfilesResponse>

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
Name Description
request SearchProfilesRequest
responseObserver io.grpc.stub.StreamObserver<SearchProfilesResponse>

updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)

public void updateProfile(UpdateProfileRequest request, StreamObserver<Profile> responseObserver)

Updates the specified profile and returns the updated result.

Parameters
Name Description
request UpdateProfileRequest
responseObserver io.grpc.stub.StreamObserver<Profile>