public static class ConversationsSettings.Builder extends ClientSettings.Builder<ConversationsSettings,ConversationsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConversationsSettings settings) |
protected |
Builder(ConversationsStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ConversationsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ConversationsSettings |
build() |
UnaryCallSettings.Builder<CompleteConversationRequest,Conversation> |
completeConversationSettings()
Returns the builder for the settings used for calls to completeConversation.
|
UnaryCallSettings.Builder<CreateConversationRequest,Conversation> |
createConversationSettings()
Returns the builder for the settings used for calls to createConversation.
|
UnaryCallSettings.Builder<GetConversationRequest,Conversation> |
getConversationSettings()
Returns the builder for the settings used for calls to getConversation.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
ConversationsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationsClient.ListConversationsPagedResponse> |
listConversationsSettings()
Returns the builder for the settings used for calls to listConversations.
|
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse,ConversationsClient.ListMessagesPagedResponse> |
listMessagesSettings()
Returns the builder for the settings used for calls to listMessages.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ConversationsSettings settings)
protected Builder(ConversationsStubSettings.Builder stubSettings)
public ConversationsStubSettings.Builder getStubSettingsBuilder()
public ConversationsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()
public PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse,ConversationsClient.ListConversationsPagedResponse> listConversationsSettings()
public UnaryCallSettings.Builder<GetConversationRequest,Conversation> getConversationSettings()
public UnaryCallSettings.Builder<CompleteConversationRequest,Conversation> completeConversationSettings()
public PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse,ConversationsClient.ListMessagesPagedResponse> listMessagesSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ConversationsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public ConversationsSettings build() throws IOException
build
in class ClientSettings.Builder<ConversationsSettings,ConversationsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.