public static class ImageAnnotatorStubSettings.Builder extends StubSettings.Builder<ImageAnnotatorStubSettings,ImageAnnotatorStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ImageAnnotatorStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ImageAnnotatorStubSettings.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.
|
UnaryCallSettings.Builder<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> |
batchAnnotateImagesSettings()
Returns the builder for the settings used for calls to batchAnnotateImages.
|
ImageAnnotatorStubSettings |
build() |
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(ImageAnnotatorStubSettings settings)
public ImageAnnotatorStubSettings.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<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesSettings()
public ImageAnnotatorStubSettings build() throws IOException
build
in class StubSettings.Builder<ImageAnnotatorStubSettings,ImageAnnotatorStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.