public static class ImageAnnotatorSettings.Builder
extends com.google.api.gax.grpc.ClientSettings.Builder
| Modifier and Type | Method and Description |
|---|---|
ImageAnnotatorSettings.Builder |
applyToAllUnaryMethods(com.google.api.gax.grpc.UnaryCallSettings.Builder unaryCallSettings)
Applies the given settings to all of the unary API methods in this service.
|
com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.cloud.vision.v1.BatchAnnotateImagesRequest,com.google.cloud.vision.v1.BatchAnnotateImagesResponse> |
batchAnnotateImagesSettings()
Returns the builder for the settings used for calls to batchAnnotateImages.
|
ImageAnnotatorSettings |
build() |
ImageAnnotatorSettings.Builder |
setChannelProvider(com.google.api.gax.grpc.ChannelProvider channelProvider) |
ImageAnnotatorSettings.Builder |
setExecutorProvider(com.google.api.gax.grpc.ExecutorProvider executorProvider) |
public ImageAnnotatorSettings.Builder setExecutorProvider(com.google.api.gax.grpc.ExecutorProvider executorProvider)
setExecutorProvider in class com.google.api.gax.grpc.ClientSettings.Builderpublic ImageAnnotatorSettings.Builder setChannelProvider(com.google.api.gax.grpc.ChannelProvider channelProvider)
setChannelProvider in class com.google.api.gax.grpc.ClientSettings.Builderpublic ImageAnnotatorSettings.Builder applyToAllUnaryMethods(com.google.api.gax.grpc.UnaryCallSettings.Builder unaryCallSettings) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.api.gax.grpc.SimpleCallSettings.Builder<com.google.cloud.vision.v1.BatchAnnotateImagesRequest,com.google.cloud.vision.v1.BatchAnnotateImagesResponse> batchAnnotateImagesSettings()
public ImageAnnotatorSettings build() throws IOException
build in class com.google.api.gax.grpc.ClientSettings.BuilderIOExceptionCopyright © 2017 Google. All rights reserved.