Class FirewallsSettings.Builder (1.46.0)

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

Builder for FirewallsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FirewallsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FirewallsSettings settings)

protected Builder(FirewallsSettings settings)
Parameter
NameDescription
settingsFirewallsSettings

Builder(FirewallsStubSettings.Builder stubSettings)

protected Builder(FirewallsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsFirewallsStubSettings.Builder

Methods

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

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

build()

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

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteFirewallRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteFirewallRequest,Operation>

getSettings()

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

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

Returns
TypeDescription
Builder<GetFirewallRequest,Firewall>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertFirewallRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertFirewallRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListFirewallsRequest,FirewallList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchFirewallRequest,Operation,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchFirewallRequest,Operation>

updateOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateFirewallRequest,Operation,Operation>

updateSettings()

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

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

Returns
TypeDescription
Builder<UpdateFirewallRequest,Operation>