Class ImageAnnotatorStubSettings.Builder (3.1.0)

Stay organized with collections Save and categorize content based on your preferences.
public static class ImageAnnotatorStubSettings.Builder extends StubSettings.Builder<ImageAnnotatorStubSettings,ImageAnnotatorStubSettings.Builder>

Builder for ImageAnnotatorStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ImageAnnotatorStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ImageAnnotatorStubSettings settings)

protected Builder(ImageAnnotatorStubSettings settings)
Parameter
NameDescription
settingsImageAnnotatorStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ImageAnnotatorStubSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<