@BetaApi @Generated(value="by gapic-generator-java") 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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcProfileServiceStub, using the given settings.
|
protected |
GrpcProfileServiceStub(ProfileServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcProfileServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcProfileServiceStub |
create(ProfileServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateProfileRequest,Profile> |
createProfileCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteProfileRequest,com.google.protobuf.Empty> |
deleteProfileCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetProfileRequest,Profile> |
getProfileCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ListProfilesResponse> |
listProfilesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> |
listProfilesPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,SearchProfilesResponse> |
searchProfilesCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> |
searchProfilesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateProfileRequest,Profile> |
updateProfileCallable() |
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcProfileServiceStub(ProfileServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcProfileServiceStub create(ProfileServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcProfileServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcProfileServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ListProfilesResponse> listProfilesCallable()
listProfilesCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> listProfilesPagedCallable()
listProfilesPagedCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateProfileRequest,Profile> createProfileCallable()
createProfileCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetProfileRequest,Profile> getProfileCallable()
getProfileCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
updateProfileCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteProfileRequest,com.google.protobuf.Empty> deleteProfileCallable()
deleteProfileCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,SearchProfilesResponse> searchProfilesCallable()
searchProfilesCallable in class ProfileServiceStubpublic com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> searchProfilesPagedCallable()
searchProfilesPagedCallable in class ProfileServiceStubpublic final void close()
close in interface AutoCloseableclose in class ProfileServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.