Class DataChatServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DataChatServiceStubSettings,DataChatServiceStubSettings.Builder>
com.google.cloud.geminidataanalytics.v1beta.stub.DataChatServiceStubSettings.Builder
- Enclosing class:
- DataChatServiceStubSettings
public static class DataChatServiceStubSettings.Builder
extends StubSettings.Builder<DataChatServiceStubSettings,DataChatServiceStubSettings.Builder>
Builder for DataChatServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataChatServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to chat.Returns the builder for the settings used for calls to createConversation.UnaryCallSettings.Builder<DeleteConversationRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteConversation.Returns the builder for the settings used for calls to getConversation.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse, DataChatServiceClient.ListConversationsPagedResponse> Returns the builder for the settings used for calls to listConversations.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, DataChatServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse, DataChatServiceClient.ListMessagesPagedResponse> Returns the builder for the settings used for calls to listMessages.Returns the builder for the settings used for calls to queryData.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public DataChatServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
chatSettings
Returns the builder for the settings used for calls to chat. -
createConversationSettings
public UnaryCallSettings.Builder<CreateConversationRequest,Conversation> createConversationSettings()Returns the builder for the settings used for calls to createConversation. -
deleteConversationSettings
public UnaryCallSettings.Builder<DeleteConversationRequest,com.google.protobuf.Empty> deleteConversationSettings()Returns the builder for the settings used for calls to deleteConversation. -
getConversationSettings
Returns the builder for the settings used for calls to getConversation. -
listConversationsSettings
public PagedCallSettings.Builder<ListConversationsRequest,ListConversationsResponse, listConversationsSettings()DataChatServiceClient.ListConversationsPagedResponse> Returns the builder for the settings used for calls to listConversations. -
listMessagesSettings
public PagedCallSettings.Builder<ListMessagesRequest,ListMessagesResponse, listMessagesSettings()DataChatServiceClient.ListMessagesPagedResponse> Returns the builder for the settings used for calls to listMessages. -
queryDataSettings
Returns the builder for the settings used for calls to queryData. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()DataChatServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<DataChatServiceStubSettings,DataChatServiceStubSettings.Builder> - Throws:
IOException
-