@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonConversationsStub extends ConversationsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonConversationsStub(ConversationsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonConversationsStub, using the given settings.
|
protected |
HttpJsonConversationsStub(ConversationsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonConversationsStub, using the given settings.
|
protected HttpJsonConversationsStub(ConversationsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonConversationsStub(ConversationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonConversationsStub create(ConversationsStubSettings settings) throws IOException
IOException
public static final HttpJsonConversationsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonConversationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.