Class FirewallsStubSettings.Builder (1.20.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
NameDescription
clientContextClientContext

Builder(FirewallsStubSettings settings)

protected Builder(FirewallsStubSettings settings)
Parameter
NameDescription
settingsFirewallsStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>