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) |
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 UnaryCallSettings.Builder<AsyncBatchAnnotateFilesRequest,Operation> asyncBatchAnnotateFilesSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesResponse,OperationMetadata> asyncBatchAnnotateFilesOperationSettings()
public ImageAnnotatorStubSettings build() throws IOException
build
in class StubSettings.Builder<ImageAnnotatorStubSettings,ImageAnnotatorStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.