Class NetworkFirewallPoliciesSettings.Builder (1.22.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
NameDescription
clientContextClientContext

Builder(NetworkFirewallPoliciesSettings settings)

protected Builder(NetworkFirewallPoliciesSettings settings)
Parameter
NameDescription
settingsNetworkFirewallPoliciesSettings

Builder(NetworkFirewallPoliciesStubSettings.Builder stubSettings)

protected Builder(NetworkFirewallPoliciesStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNetworkFirewallPoliciesStubSettings.Builder

Methods

addAssociationOperationSettings()

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

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

Returns
TypeDescription
Builder<AddAssociationNetworkFirewallPolicyRequest,Operation,Operation>

addAssociationSettings()

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

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

Returns
TypeDescription
Builder<AddAssociationNetworkFirewallPolicyRequest,Operation>

addRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<AddRuleNetworkFirewallPolicyRequest,Operation,Operation>

addRuleSettings()

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

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

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

build()

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

cloneRulesOperationSettings()

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

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

Returns
TypeDescription
Builder<CloneRulesNetworkFirewallPolicyRequest,Operation,Operation>

cloneRulesSettings()

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

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

Returns
TypeDescription
Builder<CloneRulesNetworkFirewallPolicyRequest,Operation>

deleteOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkFirewallPolicyRequest,Operation,Operation>

deleteSettings()

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

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

Returns
TypeDescription
Builder<DeleteNetworkFirewallPolicyRequest,Operation>

getAssociationSettings()

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

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

Returns
TypeDescription
Builder<GetAssociationNetworkFirewallPolicyRequest,FirewallPolicyAssociation>

getIamPolicySettings()

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

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

Returns
TypeDescription
Builder<GetIamPolicyNetworkFirewallPolicyRequest,Policy>

getRuleSettings()

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

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

Returns
TypeDescription
Builder<GetRuleNetworkFirewallPolicyRequest,FirewallPolicyRule>

getSettings()

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

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

Returns
TypeDescription
Builder<GetNetworkFirewallPolicyRequest,FirewallPolicy>

getStubSettingsBuilder()

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

insertOperationSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkFirewallPolicyRequest,Operation,Operation>

insertSettings()

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

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

Returns
TypeDescription
Builder<InsertNetworkFirewallPolicyRequest,Operation>

listSettings()

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

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

Returns
TypeDescription
Builder<ListNetworkFirewallPoliciesRequest,FirewallPolicyList,ListPagedResponse>

patchOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleNetworkFirewallPolicyRequest,Operation,Operation>

patchRuleSettings()

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

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

Returns
TypeDescription
Builder<PatchRuleNetworkFirewallPolicyRequest,Operation>

patchSettings()

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

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

Returns
TypeDescription
Builder<PatchNetworkFirewallPolicyRequest,Operation>

removeAssociationOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation,Operation>

removeAssociationSettings()

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

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

Returns
TypeDescription
Builder<RemoveAssociationNetworkFirewallPolicyRequest,Operation>

removeRuleOperationSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation,Operation>

removeRuleSettings()

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

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

Returns
TypeDescription
Builder<RemoveRuleNetworkFirewallPolicyRequest,Operation>

setIamPolicySettings()

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

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

Returns
TypeDescription
Builder<SetIamPolicyNetworkFirewallPolicyRequest,Policy>

testIamPermissionsSettings()

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

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

Returns
TypeDescription
Builder<TestIamPermissionsNetworkFirewallPolicyRequest,TestPermissionsResponse>