@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,
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.
|
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcProfileServiceStub(ProfileServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcProfileServiceStub create(ProfileServiceStubSettings settings) throws IOException
IOException
public static final GrpcProfileServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcProfileServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ProfileServiceClient.ListProfilesPagedResponse> listProfilesPagedCallable()
listProfilesPagedCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListProfilesRequest,ListProfilesResponse> listProfilesCallable()
listProfilesCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateProfileRequest,Profile> createProfileCallable()
createProfileCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetProfileRequest,Profile> getProfileCallable()
getProfileCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateProfileRequest,Profile> updateProfileCallable()
updateProfileCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteProfileRequest,Empty> deleteProfileCallable()
deleteProfileCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,ProfileServiceClient.SearchProfilesPagedResponse> searchProfilesPagedCallable()
searchProfilesPagedCallable
in class ProfileServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchProfilesRequest,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.