Class ChangelogsStubSettings.Builder (0.39.0)

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

Builder for ChangelogsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ChangelogsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ChangelogsStubSettings settings)

protected Builder(ChangelogsStubSettings settings)
Parameter
Name Description
settings ChangelogsStubSettings

Methods

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

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

build()

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

getChangelogSettings()

public UnaryCallSettings.Builder<GetChangelogRequest,Changelog> getChangelogSettings()

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

Returns
Type Description
Builder<GetChangelogRequest,Changelog>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listChangelogsSettings()

public PagedCallSettings.Builder<ListChangelogsRequest,ListChangelogsResponse,ChangelogsClient.ListChangelogsPagedResponse> listChangelogsSettings()

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

Returns
Type Description
Builder<ListChangelogsRequest,ListChangelogsResponse,ListChangelogsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,ChangelogsClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

unaryMethodSettingsBuilders()

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