Class NetworkProfilesStubSettings.Builder (1.65.0)

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

Builder for NetworkProfilesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkProfilesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkProfilesStubSettings settings)

protected Builder(NetworkProfilesStubSettings settings)
Parameter
Name Description
settings NetworkProfilesStubSettings

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetNetworkProfileRequest,NetworkProfile> getSettings()

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

Returns
Type Description
Builder<GetNetworkProfileRequest,NetworkProfile>

listSettings()

public PagedCallSettings.Builder<ListNetworkProfilesRequest,NetworkProfilesListResponse,NetworkProfilesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListNetworkProfilesRequest,NetworkProfilesListResponse,ListPagedResponse>

unaryMethodSettingsBuilders()

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