@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcProfileServiceStub extends ProfileServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcProfileServiceStub(ProfileServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcProfileServiceStub, using the given settings.
|
protected |
GrpcProfileServiceStub(ProfileServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcProfileServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcProfileServiceStub |
create(ClientContext clientContext) |
static GrpcProfileServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcProfileServiceStub |
create(ProfileServiceStubSettings settings) |
UnaryCallable<com.google.cloud.talent.v4beta1.CreateProfileRequest,com.google.cloud.talent.v4beta1.Profile> |
createProfileCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.DeleteProfileRequest,Empty> |
deleteProfileCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.GetProfileRequest,com.google.cloud.talent.v4beta1.Profile> |
getProfileCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListProfilesRequest,com.google.cloud.talent.v4beta1.ListProfilesResponse> |
listProfilesCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> |
listProfilesPagedCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchProfilesRequest,com.google.cloud.talent.v4beta1.SearchProfilesResponse> |
searchProfilesCallable() |
UnaryCallable<com.google.cloud.talent.v4beta1.SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> |
searchProfilesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.talent.v4beta1.UpdateProfileRequest,com.google.cloud.talent.v4beta1.Profile> |
updateProfileCallable() |
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcProfileServiceStub create(ProfileServiceStubSettings settings) throws IOException
IOException
public static final GrpcProfileServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcProfileServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public UnaryCallable<com.google.cloud.talent.v4beta1.ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> listProfilesPagedCallable()
listProfilesPagedCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.ListProfilesRequest,com.google.cloud.talent.v4beta1.ListProfilesResponse> listProfilesCallable()
listProfilesCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.CreateProfileRequest,com.google.cloud.talent.v4beta1.Profile> createProfileCallable()
createProfileCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.GetProfileRequest,com.google.cloud.talent.v4beta1.Profile> getProfileCallable()
getProfileCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.UpdateProfileRequest,com.google.cloud.talent.v4beta1.Profile> updateProfileCallable()
updateProfileCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.DeleteProfileRequest,Empty> deleteProfileCallable()
deleteProfileCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> searchProfilesPagedCallable()
searchProfilesPagedCallable
in class ProfileServiceStub
public UnaryCallable<com.google.cloud.talent.v4beta1.SearchProfilesRequest,com.google.cloud.talent.v4beta1.SearchProfilesResponse> searchProfilesCallable()
searchProfilesCallable
in class ProfileServiceStub
public final void close()
close
in interface AutoCloseable
close
in class ProfileServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.