Class FirewallsStubSettings.Builder (1.54.0)

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

Builder for FirewallsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FirewallsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FirewallsStubSettings settings)

protected Builder(FirewallsStubSettings settings)
Parameter
Name Description
settings FirewallsStubSettings

Methods

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

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

build()

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

deleteOperationSettings()

public OperationCallSettings.Builder<DeleteFirewallRequest,Operation,Operation> deleteOperationSettings()

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

Returns
Type Description
Builder<DeleteFirewallRequest,Operation,Operation>

deleteSettings()

public UnaryCallSettings.Builder<DeleteFirewallRequest,Operation> deleteSettings()

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

Returns
Type Description
Builder<DeleteFirewallRequest,Operation>

getSettings()

public UnaryCallSettings.Builder<GetFirewallRequest,Firewall> getSettings()

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

Returns
Type Description
Builder<GetFirewallRequest,Firewall>

insertOperationSettings()

public OperationCallSettings.Builder<InsertFirewallRequest,Operation,Operation> insertOperationSettings()

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

Returns
Type Description
Builder<InsertFirewallRequest,Operation,Operation>

insertSettings()

public UnaryCallSettings.Builder<InsertFirewallRequest,Operation> insertSettings()

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

Returns
Type Description
Builder<InsertFirewallRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListFirewallsRequest,FirewallList,FirewallsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListFirewallsRequest,FirewallList,ListPagedResponse>

patchOperationSettings()

public OperationCallSettings.Builder<PatchFirewallRequest,Operation,Operation> patchOperationSettings()

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

Returns
Type Description
Builder<PatchFirewallRequest,Operation,Operation>

patchSettings()

public UnaryCallSettings.Builder<PatchFirewallRequest,Operation> patchSettings()

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

Returns
Type Description
Builder<PatchFirewallRequest,Operation>

unaryMethodSettingsBuilders()

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

updateOperationSettings()

public OperationCallSettings.Builder<UpdateFirewallRequest,Operation,Operation> updateOperationSettings()

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

Returns
Type Description
Builder<UpdateFirewallRequest,Operation,Operation>

updateSettings()

public UnaryCallSettings.Builder<UpdateFirewallRequest,Operation> updateSettings()

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

Returns
Type Description
Builder<UpdateFirewallRequest,Operation>