public static final class ProfileServiceGrpc.ProfileServiceStub extends io.grpc.stub.AbstractStub<ProfileServiceGrpc.ProfileServiceStub>
A service that handles profile management, including profile CRUD, enumeration and search.
| Modifier and Type | Method and Description |
|---|---|
protected ProfileServiceGrpc.ProfileServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createProfile(CreateProfileRequest request,
io.grpc.stub.StreamObserver<Profile> responseObserver)
Creates and returns a new profile.
|
void |
deleteProfile(DeleteProfileRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified profile.
|
void |
getProfile(GetProfileRequest request,
io.grpc.stub.StreamObserver<Profile> responseObserver)
Gets the specified profile.
|
void |
listProfiles(ListProfilesRequest request,
io.grpc.stub.StreamObserver<ListProfilesResponse> responseObserver)
Lists profiles by filter.
|
void |
searchProfiles(SearchProfilesRequest request,
io.grpc.stub.StreamObserver<SearchProfilesResponse> responseObserver)
Searches for profiles within a tenant.
|
void |
updateProfile(UpdateProfileRequest request,
io.grpc.stub.StreamObserver<Profile> responseObserver)
Updates the specified profile and returns the updated result.
|
protected ProfileServiceGrpc.ProfileServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ProfileServiceGrpc.ProfileServiceStub>public void listProfiles(ListProfilesRequest request, io.grpc.stub.StreamObserver<ListProfilesResponse> responseObserver)
Lists profiles by filter. The order is unspecified.
public void createProfile(CreateProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver)
Creates and returns a new profile.
public void getProfile(GetProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver)
Gets the specified profile.
public void updateProfile(UpdateProfileRequest request, io.grpc.stub.StreamObserver<Profile> responseObserver)
Updates the specified profile and returns the updated result.
public void deleteProfile(DeleteProfileRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified profile. Prerequisite: The profile has no associated applications or assignments associated.
public void searchProfiles(SearchProfilesRequest request, io.grpc.stub.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][google.cloud.talent.v4beta1.SearchProfilesRequest] for more information.
Copyright © 2019 Google LLC. All rights reserved.