Class ProfileServiceGrpc.ProfileServiceFutureStub

public static final class ProfileServiceGrpc.ProfileServiceFutureStub extends AbstractFutureStub<ProfileServiceGrpc.ProfileServiceFutureStub>

A service that handles profile management, including profile CRUD, enumeration and search.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ProfileServiceGrpc.ProfileServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProfileServiceGrpc.ProfileServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ProfileServiceGrpc.ProfileServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createProfile(CreateProfileRequest request)

public ListenableFuture<Profile> createProfile(CreateProfileRequest request)

Creates and returns a new profile.

Parameter
NameDescription
requestCreateProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Profile>

deleteProfile(DeleteProfileRequest request)

public ListenableFuture<Empty> deleteProfile(DeleteProfileRequest request)

Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.

Parameter
NameDescription
requestDeleteProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getProfile(GetProfileRequest request)

public ListenableFuture<Profile> getProfile(GetProfileRequest request)

Gets the specified profile.

Parameter
NameDescription
requestGetProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Profile>

listProfiles(ListProfilesRequest request)

public ListenableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest request)

Lists profiles by filter. The order is unspecified.

Parameter
NameDescription
requestListProfilesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListProfilesResponse>

searchProfiles(SearchProfilesRequest request)

public ListenableFuture<SearchProfilesResponse> searchProfiles(SearchProfilesRequest request)

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.

Parameter
NameDescription
requestSearchProfilesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchProfilesResponse>

updateProfile(UpdateProfileRequest request)

public ListenableFuture<Profile> updateProfile(UpdateProfileRequest request)

Updates the specified profile and returns the updated result.

Parameter
NameDescription
requestUpdateProfileRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Profile>