public static class ConversationsStubSettings.Builder extends StubSettings.Builder<ConversationsStubSettings,ConversationsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ConversationsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ConversationsStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ConversationsStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ConversationsStubSettings settings)
public ConversationsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ConversationsStubSettings build() throws IOException
build
in class StubSettings.Builder<ConversationsStubSettings,ConversationsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.