Class ChangelogsSettings.Builder (0.14.0)

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

Builder for ChangelogsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ChangelogsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ChangelogsSettings settings)

protected Builder(ChangelogsSettings settings)
Parameter
NameDescription
settingsChangelogsSettings

Builder(ChangelogsStubSettings.Builder stubSettings)

protected Builder(ChangelogsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsChangelogsStubSettings.Builder

Methods

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

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

build()

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

getChangelogSettings()

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

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

Returns
TypeDescription
Builder<GetChangelogRequest,Changelog>

getLocationSettings()

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

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

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

getStubSettingsBuilder()

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

listChangelogsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>