public static class LanguageServiceSettings.Builder extends ClientSettings.Builder<LanguageServiceSettings,LanguageServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(LanguageServiceSettings settings) |
protected |
Builder(LanguageServiceStubSettings.Builder stubSettings) |
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(LanguageServiceSettings settings)
protected Builder(LanguageServiceStubSettings.Builder stubSettings)
public LanguageServiceStubSettings.Builder getStubSettingsBuilder()
public LanguageServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public UnaryCallSettings.Builder<AnalyzeSentimentRequest,AnalyzeSentimentResponse> analyzeSentimentSettings()
public UnaryCallSettings.Builder<AnalyzeEntitiesRequest,AnalyzeEntitiesResponse> analyzeEntitiesSettings()
public UnaryCallSettings.Builder<AnalyzeEntitySentimentRequest,AnalyzeEntitySentimentResponse> analyzeEntitySentimentSettings()
public UnaryCallSettings.Builder<AnalyzeSyntaxRequest,AnalyzeSyntaxResponse> analyzeSyntaxSettings()
public UnaryCallSettings.Builder<ClassifyTextRequest,ClassifyTextResponse> classifyTextSettings()
public UnaryCallSettings.Builder<AnnotateTextRequest,AnnotateTextResponse> annotateTextSettings()
public LanguageServiceSettings build() throws IOException
build
in class ClientSettings.Builder<LanguageServiceSettings,LanguageServiceSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.