Class ProfileServiceGrpc.ProfileServiceStub

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateProfileRequest
responseObserverio.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
NameDescription
requestDeleteProfileRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getProfile(GetProfileRequest request, StreamObserver<Profile> responseObserver)

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

Gets the specified profile.

Parameters
NameDescription
requestGetProfileRequest
responseObserverio.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
NameDescription
requestListProfilesRequest
responseObserverio.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
NameDescription
requestSearchProfilesRequest
responseObserverio.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
NameDescription
requestUpdateProfileRequest
responseObserverio.grpc.stub.StreamObserver<Profile>