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
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
NameDescription
channelio.grpc.Channel
callOptionsio.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
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>