public class GrpcConversationProfilesStub extends ConversationProfilesStub
gRPC stub implementation for the ConversationProfiles service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)
protected GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcConversationProfilesStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcConversationProfilesStub(ConversationProfilesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationProfilesStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
create(ClientContext clientContext)
public static final GrpcConversationProfilesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcConversationProfilesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ConversationProfilesStubSettings settings)
public static final GrpcConversationProfilesStub create(ConversationProfilesStubSettings settings)
Parameter
Returns
Exceptions
createConversationProfileCallable()
public UnaryCallable<CreateConversationProfileRequest,ConversationProfile> createConversationProfileCallable()
Returns
Overrides
deleteConversationProfileCallable()
public UnaryCallable<DeleteConversationProfileRequest,Empty> deleteConversationProfileCallable()
Returns
Overrides
getConversationProfileCallable()
public UnaryCallable<GetConversationProfileRequest,ConversationProfile> getConversationProfileCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConversationProfilesCallable()
public UnaryCallable<ListConversationProfilesRequest,ListConversationProfilesResponse> listConversationProfilesCallable()
Returns
Overrides
listConversationProfilesPagedCallable()
public UnaryCallable<ListConversationProfilesRequest,ConversationProfilesClient.ListConversationProfilesPagedResponse> listConversationProfilesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateConversationProfileCallable()
public UnaryCallable<UpdateConversationProfileRequest,ConversationProfile> updateConversationProfileCallable()
Returns
Overrides