Package com.google.cloud.compute.v1.stub
Class FirewallPoliciesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<FirewallPoliciesStubSettings,FirewallPoliciesStubSettings.Builder>
-
- com.google.cloud.compute.v1.stub.FirewallPoliciesStubSettings.Builder
-
- Enclosing class:
- FirewallPoliciesStubSettings
public static class FirewallPoliciesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<FirewallPoliciesStubSettings,FirewallPoliciesStubSettings.Builder>
Builder for FirewallPoliciesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(FirewallPoliciesStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddAssociationFirewallPolicyRequest,Operation,Operation>
addAssociationOperationSettings()
Returns the builder for the settings used for calls to addAssociation.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddAssociationFirewallPolicyRequest,Operation>
addAssociationSettings()
Returns the builder for the settings used for calls to addAssociation.com.google.api.gax.rpc.OperationCallSettings.Builder<AddRuleFirewallPolicyRequest,Operation,Operation>
addRuleOperationSettings()
Returns the builder for the settings used for calls to addRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddRuleFirewallPolicyRequest,Operation>
addRuleSettings()
Returns the builder for the settings used for calls to addRule.FirewallPoliciesStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.FirewallPoliciesStubSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CloneRulesFirewallPolicyRequest,Operation,Operation>
cloneRulesOperationSettings()
Returns the builder for the settings used for calls to cloneRules.com.google.api.gax.rpc.UnaryCallSettings.Builder<CloneRulesFirewallPolicyRequest,Operation>
cloneRulesSettings()
Returns the builder for the settings used for calls to cloneRules.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFirewallPolicyRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFirewallPolicyRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation>
getAssociationSettings()
Returns the builder for the settings used for calls to getAssociation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyFirewallPolicyRequest,Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuleFirewallPolicyRequest,FirewallPolicyRule>
getRuleSettings()
Returns the builder for the settings used for calls to getRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFirewallPolicyRequest,FirewallPolicy>
getSettings()
Returns the builder for the settings used for calls to get.com.google.api.gax.rpc.OperationCallSettings.Builder<InsertFirewallPolicyRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertFirewallPolicyRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse>
listAssociationsSettings()
Returns the builder for the settings used for calls to listAssociations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListFirewallPoliciesRequest,FirewallPolicyList,FirewallPoliciesClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveFirewallPolicyRequest,Operation,Operation>
moveOperationSettings()
Returns the builder for the settings used for calls to move.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveFirewallPolicyRequest,Operation>
moveSettings()
Returns the builder for the settings used for calls to move.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchFirewallPolicyRequest,Operation,Operation>
patchOperationSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchRuleFirewallPolicyRequest,Operation,Operation>
patchRuleOperationSettings()
Returns the builder for the settings used for calls to patchRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchRuleFirewallPolicyRequest,Operation>
patchRuleSettings()
Returns the builder for the settings used for calls to patchRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchFirewallPolicyRequest,Operation>
patchSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveAssociationFirewallPolicyRequest,Operation,Operation>
removeAssociationOperationSettings()
Returns the builder for the settings used for calls to removeAssociation.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveAssociationFirewallPolicyRequest,Operation>
removeAssociationSettings()
Returns the builder for the settings used for calls to removeAssociation.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveRuleFirewallPolicyRequest,Operation,Operation>
removeRuleOperationSettings()
Returns the builder for the settings used for calls to removeRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveRuleFirewallPolicyRequest,Operation>
removeRuleSettings()
Returns the builder for the settings used for calls to removeRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyFirewallPolicyRequest,Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(FirewallPoliciesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public FirewallPoliciesStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
addAssociationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddAssociationFirewallPolicyRequest,Operation> addAssociationSettings()
Returns the builder for the settings used for calls to addAssociation.
-
addAssociationOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<AddAssociationFirewallPolicyRequest,Operation,Operation> addAssociationOperationSettings()
Returns the builder for the settings used for calls to addAssociation.
-
addRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddRuleFirewallPolicyRequest,Operation> addRuleSettings()
Returns the builder for the settings used for calls to addRule.
-
addRuleOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<AddRuleFirewallPolicyRequest,Operation,Operation> addRuleOperationSettings()
Returns the builder for the settings used for calls to addRule.
-
cloneRulesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CloneRulesFirewallPolicyRequest,Operation> cloneRulesSettings()
Returns the builder for the settings used for calls to cloneRules.
-
cloneRulesOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CloneRulesFirewallPolicyRequest,Operation,Operation> cloneRulesOperationSettings()
Returns the builder for the settings used for calls to cloneRules.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFirewallPolicyRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFirewallPolicyRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFirewallPolicyRequest,FirewallPolicy> getSettings()
Returns the builder for the settings used for calls to get.
-
getAssociationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAssociationFirewallPolicyRequest,FirewallPolicyAssociation> getAssociationSettings()
Returns the builder for the settings used for calls to getAssociation.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetIamPolicyFirewallPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
getRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuleFirewallPolicyRequest,FirewallPolicyRule> getRuleSettings()
Returns the builder for the settings used for calls to getRule.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertFirewallPolicyRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertFirewallPolicyRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFirewallPoliciesRequest,FirewallPolicyList,FirewallPoliciesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
listAssociationsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListAssociationsFirewallPolicyRequest,FirewallPoliciesListAssociationsResponse> listAssociationsSettings()
Returns the builder for the settings used for calls to listAssociations.
-
moveSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveFirewallPolicyRequest,Operation> moveSettings()
Returns the builder for the settings used for calls to move.
-
moveOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveFirewallPolicyRequest,Operation,Operation> moveOperationSettings()
Returns the builder for the settings used for calls to move.
-
patchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchFirewallPolicyRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
-
patchOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchFirewallPolicyRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
-
patchRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchRuleFirewallPolicyRequest,Operation> patchRuleSettings()
Returns the builder for the settings used for calls to patchRule.
-
patchRuleOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchRuleFirewallPolicyRequest,Operation,Operation> patchRuleOperationSettings()
Returns the builder for the settings used for calls to patchRule.
-
removeAssociationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveAssociationFirewallPolicyRequest,Operation> removeAssociationSettings()
Returns the builder for the settings used for calls to removeAssociation.
-
removeAssociationOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveAssociationFirewallPolicyRequest,Operation,Operation> removeAssociationOperationSettings()
Returns the builder for the settings used for calls to removeAssociation.
-
removeRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveRuleFirewallPolicyRequest,Operation> removeRuleSettings()
Returns the builder for the settings used for calls to removeRule.
-
removeRuleOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveRuleFirewallPolicyRequest,Operation,Operation> removeRuleOperationSettings()
Returns the builder for the settings used for calls to removeRule.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetIamPolicyFirewallPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<TestIamPermissionsFirewallPolicyRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public FirewallPoliciesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<FirewallPoliciesStubSettings,FirewallPoliciesStubSettings.Builder>
- Throws:
IOException
-
-