Class ChangelogsStubSettings.Builder (0.14.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
NameDescription
clientContextClientContext

Builder(ChangelogsStubSettings settings)

protected Builder(ChangelogsStubSettings settings)
Parameter
NameDescription
settingsChangelogsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ChangelogsStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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