public static class ImageAnnotatorSettings.Builder extends ClientSettings.Builder<ImageAnnotatorSettings,ImageAnnotatorSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ImageAnnotatorSettings settings) |
protected |
Builder(ImageAnnotatorStubSettings.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(ImageAnnotatorSettings settings)
protected Builder(ImageAnnotatorStubSettings.Builder stubSettings)
public ImageAnnotatorStubSettings.Builder getStubSettingsBuilder()
public ImageAnnotatorSettings.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<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesSettings()
public UnaryCallSettings.Builder<AsyncBatchAnnotateFilesRequest,Operation> asyncBatchAnnotateFilesSettings()
public OperationCallSettings.Builder<AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesResponse,OperationMetadata> asyncBatchAnnotateFilesOperationSettings()
public ImageAnnotatorSettings build() throws IOException
build
in class ClientSettings.Builder<ImageAnnotatorSettings,ImageAnnotatorSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.