Class NetworkProfilesSettings.Builder (1.65.0)

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

Builder for NetworkProfilesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NetworkProfilesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkProfilesSettings settings)

protected Builder(NetworkProfilesSettings settings)
Parameter
Name Description
settings NetworkProfilesSettings

Builder(NetworkProfilesStubSettings.Builder stubSettings)

protected Builder(NetworkProfilesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings NetworkProfilesStubSettings.Builder

Methods

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

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

build()

public NetworkProfilesSettings build()
Returns
Type Description
NetworkProfilesSettings
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>

getStubSettingsBuilder()

public NetworkProfilesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
NetworkProfilesStubSettings.Builder

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>