Package com.google.cloud.compute.v1
Class SecurityPoliciesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<SecurityPoliciesSettings,SecurityPoliciesSettings.Builder>
-
- com.google.cloud.compute.v1.SecurityPoliciesSettings.Builder
-
- Enclosing class:
- SecurityPoliciesSettings
public static class SecurityPoliciesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SecurityPoliciesSettings,SecurityPoliciesSettings.Builder>
Builder for SecurityPoliciesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SecurityPoliciesSettings settings)
protected
Builder(SecurityPoliciesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddRuleSecurityPolicyRequest,Operation,Operation>
addRuleOperationSettings()
Returns the builder for the settings used for calls to addRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddRuleSecurityPolicyRequest,Operation>
addRuleSettings()
Returns the builder for the settings used for calls to addRule.com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListSecurityPoliciesRequest,SecurityPoliciesAggregatedList,SecurityPoliciesClient.AggregatedListPagedResponse>
aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.SecurityPoliciesSettings.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.SecurityPoliciesSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSecurityPolicyRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSecurityPolicyRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuleSecurityPolicyRequest,SecurityPolicyRule>
getRuleSettings()
Returns the builder for the settings used for calls to getRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSecurityPolicyRequest,SecurityPolicy>
getSettings()
Returns the builder for the settings used for calls to get.SecurityPoliciesStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertSecurityPolicyRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertSecurityPolicyRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListPreconfiguredExpressionSetsSecurityPoliciesRequest,SecurityPoliciesListPreconfiguredExpressionSetsResponse>
listPreconfiguredExpressionSetsSettings()
Returns the builder for the settings used for calls to listPreconfiguredExpressionSets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListSecurityPoliciesRequest,SecurityPolicyList,SecurityPoliciesClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchSecurityPolicyRequest,Operation,Operation>
patchOperationSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchRuleSecurityPolicyRequest,Operation,Operation>
patchRuleOperationSettings()
Returns the builder for the settings used for calls to patchRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchRuleSecurityPolicyRequest,Operation>
patchRuleSettings()
Returns the builder for the settings used for calls to patchRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchSecurityPolicyRequest,Operation>
patchSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveRuleSecurityPolicyRequest,Operation,Operation>
removeRuleOperationSettings()
Returns the builder for the settings used for calls to removeRule.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveRuleSecurityPolicyRequest,Operation>
removeRuleSettings()
Returns the builder for the settings used for calls to removeRule.com.google.api.gax.rpc.OperationCallSettings.Builder<SetLabelsSecurityPolicyRequest,Operation,Operation>
setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsSecurityPolicyRequest,Operation>
setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(SecurityPoliciesSettings settings)
-
Builder
protected Builder(SecurityPoliciesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public SecurityPoliciesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public SecurityPoliciesSettings.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.
-
addRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddRuleSecurityPolicyRequest,Operation> addRuleSettings()
Returns the builder for the settings used for calls to addRule.
-
addRuleOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddRuleSecurityPolicyRequest,Operation,Operation> addRuleOperationSettings()
Returns the builder for the settings used for calls to addRule.
-
aggregatedListSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListSecurityPoliciesRequest,SecurityPoliciesAggregatedList,SecurityPoliciesClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSecurityPolicyRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteSecurityPolicyRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSecurityPolicyRequest,SecurityPolicy> getSettings()
Returns the builder for the settings used for calls to get.
-
getRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetRuleSecurityPolicyRequest,SecurityPolicyRule> getRuleSettings()
Returns the builder for the settings used for calls to getRule.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertSecurityPolicyRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertSecurityPolicyRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSecurityPoliciesRequest,SecurityPolicyList,SecurityPoliciesClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
listPreconfiguredExpressionSetsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListPreconfiguredExpressionSetsSecurityPoliciesRequest,SecurityPoliciesListPreconfiguredExpressionSetsResponse> listPreconfiguredExpressionSetsSettings()
Returns the builder for the settings used for calls to listPreconfiguredExpressionSets.
-
patchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchSecurityPolicyRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
-
patchOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchSecurityPolicyRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
-
patchRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchRuleSecurityPolicyRequest,Operation> patchRuleSettings()
Returns the builder for the settings used for calls to patchRule.
-
patchRuleOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchRuleSecurityPolicyRequest,Operation,Operation> patchRuleOperationSettings()
Returns the builder for the settings used for calls to patchRule.
-
removeRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveRuleSecurityPolicyRequest,Operation> removeRuleSettings()
Returns the builder for the settings used for calls to removeRule.
-
removeRuleOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemoveRuleSecurityPolicyRequest,Operation,Operation> removeRuleOperationSettings()
Returns the builder for the settings used for calls to removeRule.
-
setLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetLabelsSecurityPolicyRequest,Operation> setLabelsSettings()
Returns the builder for the settings used for calls to setLabels.
-
setLabelsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SetLabelsSecurityPolicyRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
-
build
public SecurityPoliciesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<SecurityPoliciesSettings,SecurityPoliciesSettings.Builder>
- Throws:
IOException
-
-