Class ImageVersionsSettings.Builder (1.53.0)

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

Builder for ImageVersionsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ImageVersionsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ImageVersionsSettings settings)

protected Builder(ImageVersionsSettings settings)
Parameter
Name Description
settings ImageVersionsSettings

Builder(ImageVersionsStubSettings.Builder stubSettings)

protected Builder(ImageVersionsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ImageVersionsStubSettings.Builder

Methods

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

public ImageVersionsSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ImageVersionsSettings.Builder

build()

public ImageVersionsSettings build()
Returns
Type Description
ImageVersionsSettings
Overrides
Exceptions
Type Description
IOException

getStubSettingsBuilder()

public ImageVersionsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ImageVersionsStubSettings.Builder

listImageVersionsSettings()

public PagedCallSettings.Builder<ListImageVersionsRequest,ListImageVersionsResponse,ImageVersionsClient.ListImageVersionsPagedResponse> listImageVersionsSettings()

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

Returns
Type Description
Builder<ListImageVersionsRequest,ListImageVersionsResponse,ListImageVersionsPagedResponse>