Class ImageFamilyViewsStubSettings.Builder (1.21.0)

public static class ImageFamilyViewsStubSettings.Builder extends StubSettings.Builder<ImageFamilyViewsStubSettings,ImageFamilyViewsStubSettings.Builder>

Builder for ImageFamilyViewsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ImageFamilyViewsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ImageFamilyViewsStubSettings settings)

protected Builder(ImageFamilyViewsStubSettings settings)
Parameter
NameDescription
settingsImageFamilyViewsStubSettings

Methods

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

public ImageFamilyViewsStubSettings.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<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ImageFamilyViewsStubSettings.Builder

build()

public ImageFamilyViewsStubSettings build()
Returns
TypeDescription
ImageFamilyViewsStubSettings
Overrides Exceptions
TypeDescription
IOException

getSettings()

public UnaryCallSettings.Builder<GetImageFamilyViewRequest,ImageFamilyView> getSettings()

Returns the builder for the settings used for calls to get.

Returns
TypeDescription
Builder<GetImageFamilyViewRequest,ImageFamilyView>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>