Package com.google.cloud.compute.v1.stub
Class SecurityPoliciesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<SecurityPoliciesStubSettings,SecurityPoliciesStubSettings.Builder>
-
- com.google.cloud.compute.v1.stub.SecurityPoliciesStubSettings.Builder
-
- Enclosing class:
- SecurityPoliciesStubSettings
public static class SecurityPoliciesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<SecurityPoliciesStubSettings,SecurityPoliciesStubSettings.Builder>
Builder for SecurityPoliciesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(SecurityPoliciesStubSettings settings)
-
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.SecurityPoliciesStubSettings.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.SecurityPoliciesStubSettings
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.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.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(SecurityPoliciesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public SecurityPoliciesStubSettings.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()
-
addRuleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddRuleSecurityPolicyRequest,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<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
@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<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
@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<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
@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<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
@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<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
@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<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
@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<SetLabelsSecurityPolicyRequest,Operation,Operation> setLabelsOperationSettings()
Returns the builder for the settings used for calls to setLabels.
-
build
public SecurityPoliciesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<SecurityPoliciesStubSettings,SecurityPoliciesStubSettings.Builder>
- Throws:
IOException
-
-