Class NetworkFirewallPoliciesStubSettings.Builder (1.42.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
NameDescription
clientContextClientContext

Builder(NetworkFirewallPoliciesStubSettings settings)

protected Builder(NetworkFirewallPoliciesStubSettings settings)
Parameter
NameDescription
settingsNetworkFirewallPoliciesStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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