Class NetworkFirewallPoliciesStubSettings.Builder (1.65.0)

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

Builder for NetworkFirewallPoliciesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkFirewallPoliciesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkFirewallPoliciesStubSettings settings)

protected Builder(NetworkFirewallPoliciesStubSettings settings)
Parameter
Name Description
settings NetworkFirewallPoliciesStubSettings

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 NetworkFirewallPoliciesStubSettings.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
NetworkFirewallPoliciesStubSettings.Builder

build()

public NetworkFirewallPoliciesStubSettings build()
Returns
Type Description
NetworkFirewallPoliciesStubSettings
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>

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>

unaryMethodSettingsBuilders()

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