public static class ImageAnnotatorSettings.Builder extends ClientSettings.Builder<ImageAnnotatorSettings,ImageAnnotatorSettings.Builder>
Builder for ImageAnnotatorSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(ImageAnnotatorSettings settings)
protected Builder(ImageAnnotatorSettings settings)
Name | Description |
settings | ImageAnnotatorSettings |
Builder(ImageAnnotatorStubSettings.Builder stubSettings)
protected Builder(ImageAnnotatorStubSettings.Builder stubSettings)
Name | Description |
stubSettings | ImageAnnotatorStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ImageAnnotatorSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
ImageAnnotatorSettings.Builder |
batchAnnotateImagesSettings()
public UnaryCallSettings.Builder<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> batchAnnotateImagesSettings()
Returns the builder for the settings used for calls to batchAnnotateImages.
Type | Description |
Builder<BatchAnnotateImagesRequest,BatchAnnotateImagesResponse> |
build()
public ImageAnnotatorSettings build()
Type | Description |
ImageAnnotatorSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public ImageAnnotatorStubSettings.Builder getStubSettingsBuilder()
Type | Description |
ImageAnnotatorStubSettings.Builder |