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) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeEntitiesRequest,com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse> |
analyzeEntitiesSettings()
Returns the builder for the settings used for calls to analyzeEntities.
|
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest,com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse> |
analyzeEntitySentimentSettings()
Returns the builder for the settings used for calls to analyzeEntitySentiment.
|
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeSentimentRequest,com.google.cloud.language.v1beta2.AnalyzeSentimentResponse> |
analyzeSentimentSettings()
Returns the builder for the settings used for calls to analyzeSentiment.
|
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest,com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse> |
analyzeSyntaxSettings()
Returns the builder for the settings used for calls to analyzeSyntax.
|
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnnotateTextRequest,com.google.cloud.language.v1beta2.AnnotateTextResponse> |
annotateTextSettings()
Returns the builder for the settings used for calls to annotateText.
|
LanguageServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
LanguageServiceStubSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.ClassifyTextRequest,com.google.cloud.language.v1beta2.ClassifyTextResponse> |
classifyTextSettings()
Returns the builder for the settings used for calls to classifyText.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, 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) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeSentimentRequest,com.google.cloud.language.v1beta2.AnalyzeSentimentResponse> analyzeSentimentSettings()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeEntitiesRequest,com.google.cloud.language.v1beta2.AnalyzeEntitiesResponse> analyzeEntitiesSettings()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeEntitySentimentRequest,com.google.cloud.language.v1beta2.AnalyzeEntitySentimentResponse> analyzeEntitySentimentSettings()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnalyzeSyntaxRequest,com.google.cloud.language.v1beta2.AnalyzeSyntaxResponse> analyzeSyntaxSettings()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.ClassifyTextRequest,com.google.cloud.language.v1beta2.ClassifyTextResponse> classifyTextSettings()
public UnaryCallSettings.Builder<com.google.cloud.language.v1beta2.AnnotateTextRequest,com.google.cloud.language.v1beta2.AnnotateTextResponse> annotateTextSettings()
public LanguageServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<LanguageServiceStubSettings,LanguageServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.