Send feedback
Class NetworkSecuritySettings.Builder (0.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.8.0 keyboard_arrow_down
public static class NetworkSecuritySettings . Builder extends ClientSettings . Builder<NetworkSecuritySettings , NetworkSecuritySettings . Builder >
Builder for NetworkSecuritySettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
Builder(NetworkSecuritySettings settings)
protected Builder ( NetworkSecuritySettings settings )
Parameter
Builder(NetworkSecurityStubSettings.Builder stubSettings)
protected Builder ( NetworkSecurityStubSettings . Builder stubSettings )
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public NetworkSecuritySettings . 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
Returns
build()
public NetworkSecuritySettings build ()
Returns
Overrides
Exceptions
createAuthorizationPolicyOperationSettings()
public OperationCallSettings . Builder<CreateAuthorizationPolicyRequest , AuthorizationPolicy , OperationMetadata > createAuthorizationPolicyOperationSettings ()
Returns the builder for the settings used for calls to createAuthorizationPolicy.
Returns
createAuthorizationPolicySettings()
public UnaryCallSettings . Builder<CreateAuthorizationPolicyRequest , Operation > createAuthorizationPolicySettings ()
Returns the builder for the settings used for calls to createAuthorizationPolicy.
Returns
createClientTlsPolicyOperationSettings()
public OperationCallSettings . Builder<CreateClientTlsPolicyRequest , ClientTlsPolicy , OperationMetadata > createClientTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to createClientTlsPolicy.
Returns
createClientTlsPolicySettings()
public UnaryCallSettings . Builder<CreateClientTlsPolicyRequest , Operation > createClientTlsPolicySettings ()
Returns the builder for the settings used for calls to createClientTlsPolicy.
Returns
createServerTlsPolicyOperationSettings()
public OperationCallSettings . Builder<CreateServerTlsPolicyRequest , ServerTlsPolicy , OperationMetadata > createServerTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to createServerTlsPolicy.
Returns
createServerTlsPolicySettings()
public UnaryCallSettings . Builder<CreateServerTlsPolicyRequest , Operation > createServerTlsPolicySettings ()
Returns the builder for the settings used for calls to createServerTlsPolicy.
Returns
deleteAuthorizationPolicyOperationSettings()
public OperationCallSettings . Builder<DeleteAuthorizationPolicyRequest , Empty , OperationMetadata > deleteAuthorizationPolicyOperationSettings ()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
Returns
deleteAuthorizationPolicySettings()
public UnaryCallSettings . Builder<DeleteAuthorizationPolicyRequest , Operation > deleteAuthorizationPolicySettings ()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
Returns
deleteClientTlsPolicyOperationSettings()
public OperationCallSettings . Builder<DeleteClientTlsPolicyRequest , Empty , OperationMetadata > deleteClientTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
Returns
deleteClientTlsPolicySettings()
public UnaryCallSettings . Builder<DeleteClientTlsPolicyRequest , Operation > deleteClientTlsPolicySettings ()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
Returns
deleteServerTlsPolicyOperationSettings()
public OperationCallSettings . Builder<DeleteServerTlsPolicyRequest , Empty , OperationMetadata > deleteServerTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
Returns
deleteServerTlsPolicySettings()
public UnaryCallSettings . Builder<DeleteServerTlsPolicyRequest , Operation > deleteServerTlsPolicySettings ()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
Returns
getAuthorizationPolicySettings()
public UnaryCallSettings . Builder<GetAuthorizationPolicyRequest , AuthorizationPolicy > getAuthorizationPolicySettings ()
Returns the builder for the settings used for calls to getAuthorizationPolicy.
Returns
getClientTlsPolicySettings()
public UnaryCallSettings . Builder<GetClientTlsPolicyRequest , ClientTlsPolicy > getClientTlsPolicySettings ()
Returns the builder for the settings used for calls to getClientTlsPolicy.
Returns
getIamPolicySettings()
public UnaryCallSettings . Builder<GetIamPolicyRequest , Policy > getIamPolicySettings ()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
getLocationSettings()
public UnaryCallSettings . Builder<GetLocationRequest , Location > getLocationSettings ()
Returns the builder for the settings used for calls to getLocation.
Returns
Type Description Builder <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
getServerTlsPolicySettings()
public UnaryCallSettings . Builder<GetServerTlsPolicyRequest , ServerTlsPolicy > getServerTlsPolicySettings ()
Returns the builder for the settings used for calls to getServerTlsPolicy.
Returns
getStubSettingsBuilder()
public NetworkSecurityStubSettings . Builder getStubSettingsBuilder ()
Returns
listAuthorizationPoliciesSettings()
public PagedCallSettings . Builder<ListAuthorizationPoliciesRequest , ListAuthorizationPoliciesResponse , NetworkSecurityClient . ListAuthorizationPoliciesPagedResponse > listAuthorizationPoliciesSettings ()
Returns the builder for the settings used for calls to listAuthorizationPolicies.
Returns
listClientTlsPoliciesSettings()
public PagedCallSettings . Builder<ListClientTlsPoliciesRequest , ListClientTlsPoliciesResponse , NetworkSecurityClient . ListClientTlsPoliciesPagedResponse > listClientTlsPoliciesSettings ()
Returns the builder for the settings used for calls to listClientTlsPolicies.
Returns
listLocationsSettings()
public PagedCallSettings . Builder<ListLocationsRequest , ListLocationsResponse , NetworkSecurityClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the builder for the settings used for calls to listLocations.
Returns
listServerTlsPoliciesSettings()
public PagedCallSettings . Builder<ListServerTlsPoliciesRequest , ListServerTlsPoliciesResponse , NetworkSecurityClient . ListServerTlsPoliciesPagedResponse > listServerTlsPoliciesSettings ()
Returns the builder for the settings used for calls to listServerTlsPolicies.
Returns
setIamPolicySettings()
public UnaryCallSettings . Builder<SetIamPolicyRequest , Policy > setIamPolicySettings ()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type Description Builder <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy >
testIamPermissionsSettings()
public UnaryCallSettings . Builder<TestIamPermissionsRequest , TestIamPermissionsResponse > testIamPermissionsSettings ()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type Description Builder <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse >
updateAuthorizationPolicyOperationSettings()
public OperationCallSettings . Builder<UpdateAuthorizationPolicyRequest , AuthorizationPolicy , OperationMetadata > updateAuthorizationPolicyOperationSettings ()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
Returns
updateAuthorizationPolicySettings()
public UnaryCallSettings . Builder<UpdateAuthorizationPolicyRequest , Operation > updateAuthorizationPolicySettings ()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
Returns
updateClientTlsPolicyOperationSettings()
public OperationCallSettings . Builder<UpdateClientTlsPolicyRequest , ClientTlsPolicy , OperationMetadata > updateClientTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to updateClientTlsPolicy.
Returns
updateClientTlsPolicySettings()
public UnaryCallSettings . Builder<UpdateClientTlsPolicyRequest , Operation > updateClientTlsPolicySettings ()
Returns the builder for the settings used for calls to updateClientTlsPolicy.
Returns
updateServerTlsPolicyOperationSettings()
public OperationCallSettings . Builder<UpdateServerTlsPolicyRequest , ServerTlsPolicy , OperationMetadata > updateServerTlsPolicyOperationSettings ()
Returns the builder for the settings used for calls to updateServerTlsPolicy.
Returns
updateServerTlsPolicySettings()
public UnaryCallSettings . Builder<UpdateServerTlsPolicyRequest , Operation > updateServerTlsPolicySettings ()
Returns the builder for the settings used for calls to updateServerTlsPolicy.
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]