Class NetworkFirewallPoliciesSettings.Builder (1.56.0)

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

Builder for NetworkFirewallPoliciesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NetworkFirewallPoliciesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkFirewallPoliciesSettings settings)

protected Builder(NetworkFirewallPoliciesSettings settings)
Parameter
Name Description
settings NetworkFirewallPoliciesSettings

Builder(NetworkFirewallPoliciesStubSettings.Builder stubSettings)

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

Methods

addAssociationOperationSettings()

public OperationCallSettings.Builder<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation> addAssociationOperationSettings()

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

Returns
Type Description
Builder<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation>

addAssociationSettings()

public UnaryCallSettings.Builder<AddAssociationNetworkFirewallPolicyRequest,Operation> addAssociationSettings()

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

Returns
Type Description
Builder<AddAssociationNetworkFirewallPolicyRequest,Operation>

addRuleOperationSettings()

public OperationCallSettings.Builder<AddRuleNetworkFirewallPolicyRequest,Operation,Operation> addRuleOperationSettings()

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

Returns
Type Description
Builder<AddRuleNetworkFirewallPolicyRequest,Operation,Operation>

addRuleSettings()

public UnaryCallSettings.Builder<AddRuleNetworkFirewallPolicyRequest,Operation> addRuleSettings()

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

Returns
Type Description
Builder<AddRuleNetworkFirewallPolicyRequest,Operation>

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

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

build()

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

cloneRulesOperationSettings()

public OperationCallSettings.Builder<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation> cloneRulesOperationSettings()

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

Returns
Type Description
Builder<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation>

cloneRulesSettings()

public UnaryCallSettings.Builder<CloneRulesNetworkFirewallPolicyRequest,Operation> cloneRulesSettings()

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

Returns
Type Description
Builder<CloneRulesNetworkFirewallPolicyRequest,Operation>

deleteOperationSettings()

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

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

Returns
Type Description
Builder<DeleteNetworkFirewallPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
Type Description
Builder<DeleteNetworkFirewallPolicyRequest,Operation>

getAssociationSettings()

public UnaryCallSettings.Builder<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationSettings()

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

Returns
Type Description
Builder<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyNetworkFirewallPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<GetIamPolicyNetworkFirewallPolicyRequest,Policy>

getRuleSettings()

public UnaryCallSettings.Builder<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule> getRuleSettings()

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

Returns
Type Description
Builder<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule>

getSettings()

public UnaryCallSettings.Builder<GetNetworkFirewallPolicyRequest,FirewallPolicy> getSettings()

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

Returns
Type Description
Builder<GetNetworkFirewallPolicyRequest,FirewallPolicy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
Type Description
Builder<InsertNetworkFirewallPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
Type Description
Builder<InsertNetworkFirewallPolicyRequest,Operation>

listSettings()

public PagedCallSettings.Builder<ListNetworkFirewallPoliciesRequest,FirewallPolicyList,NetworkFirewallPoliciesClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListNetworkFirewallPoliciesRequest,FirewallPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
Type Description
Builder<PatchNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

public OperationCallSettings.Builder<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation> patchRuleOperationSettings()

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

Returns
Type Description
Builder<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleSettings()

public UnaryCallSettings.Builder<PatchRuleNetworkFirewallPolicyRequest,Operation> patchRuleSettings()

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

Returns
Type Description
Builder<PatchRuleNetworkFirewallPolicyRequest,Operation>

patchSettings()

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

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

Returns
Type Description
Builder<PatchNetworkFirewallPolicyRequest,Operation>

removeAssociationOperationSettings()

public OperationCallSettings.Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation> removeAssociationOperationSettings()

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

Returns
Type Description
Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation>

removeAssociationSettings()

public UnaryCallSettings.Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation> removeAssociationSettings()

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

Returns
Type Description
Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation>

removeRuleOperationSettings()

public OperationCallSettings.Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation> removeRuleOperationSettings()

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

Returns
Type Description
Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation>

removeRuleSettings()

public UnaryCallSettings.Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation> removeRuleSettings()

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

Returns
Type Description
Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyNetworkFirewallPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<SetIamPolicyNetworkFirewallPolicyRequest,Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse>