Class ImageVersionsStubSettings.Builder (1.37.0)

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

Builder for ImageVersionsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ImageVersionsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ImageVersionsStubSettings settings)

protected Builder(ImageVersionsStubSettings settings)
Parameter
Name Description
settings ImageVersionsStubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
Type Description
String
Overrides

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>

unaryMethodSettingsBuilders()

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