@BetaApi @Generated(value="by gapic-generator-java") public class GrpcConversationsStub extends ConversationsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcConversationsStub(ConversationsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcConversationsStub, using the given settings.
|
protected |
GrpcConversationsStub(ConversationsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcConversationsStub, using the given settings.
|
protected GrpcConversationsStub(ConversationsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcConversationsStub(ConversationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcConversationsStub create(ConversationsStubSettings settings) throws IOException
IOException
public static final GrpcConversationsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcConversationsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<CreateConversationRequest,Conversation> createConversationCallable()
createConversationCallable
in class ConversationsStub
public UnaryCallable<ListConversationsRequest,ListConversationsResponse> listConversationsCallable()
listConversationsCallable
in class ConversationsStub
public UnaryCallable<ListConversationsRequest,ConversationsClient.ListConversationsPagedResponse> listConversationsPagedCallable()
listConversationsPagedCallable
in class ConversationsStub
public UnaryCallable<GetConversationRequest,Conversation> getConversationCallable()
getConversationCallable
in class ConversationsStub
public UnaryCallable<CompleteConversationRequest,Conversation> completeConversationCallable()
completeConversationCallable
in class ConversationsStub
public UnaryCallable<BatchCreateMessagesRequest,BatchCreateMessagesResponse> batchCreateMessagesCallable()
batchCreateMessagesCallable
in class ConversationsStub
public UnaryCallable<ListMessagesRequest,ListMessagesResponse> listMessagesCallable()
listMessagesCallable
in class ConversationsStub
public UnaryCallable<ListMessagesRequest,ConversationsClient.ListMessagesPagedResponse> listMessagesPagedCallable()
listMessagesPagedCallable
in class ConversationsStub
public UnaryCallable<SuggestConversationSummaryRequest,SuggestConversationSummaryResponse> suggestConversationSummaryCallable()
suggestConversationSummaryCallable
in class ConversationsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class ConversationsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,ConversationsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class ConversationsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class ConversationsStub
public final void close()
close
in interface AutoCloseable
close
in class ConversationsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.