Class ImageFamilyViewsSettings.Builder (1.22.0)

public static class ImageFamilyViewsSettings.Builder extends ClientSettings.Builder<ImageFamilyViewsSettings,ImageFamilyViewsSettings.Builder>

Builder for ImageFamilyViewsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ImageFamilyViewsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ImageFamilyViewsSettings settings)

protected Builder(ImageFamilyViewsSettings settings)
Parameter
NameDescription
settingsImageFamilyViewsSettings

Builder(ImageFamilyViewsStubSettings.Builder stubSettings)

protected Builder(ImageFamilyViewsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsImageFamilyViewsStubSettings.Builder

Methods

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

public ImageFamilyViewsSettings.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
ImageFamilyViewsSettings.Builder

build()

public ImageFamilyViewsSettings build()
Returns
TypeDescription
ImageFamilyViewsSettings
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>

getStubSettingsBuilder()

public ImageFamilyViewsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ImageFamilyViewsStubSettings.Builder