public static class LanguageServiceStubSettings.Builder extends StubSettings.Builder<LanguageServiceStubSettings,LanguageServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(LanguageServiceStubSettings settings) |
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(LanguageServiceStubSettings settings)
public LanguageServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.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<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 LanguageServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<LanguageServiceStubSettings,LanguageServiceStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.