Class NetworkSecurityStubSettings.Builder (0.15.0)

publicstaticclass NetworkSecurityStubSettings.BuilderextendsStubSettings.Builder<NetworkSecurityStubSettings,NetworkSecurityStubSettings.Builder>

Builder for NetworkSecurityStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > NetworkSecurityStubSettings.Builder

Inherited Members

Constructors

Builder()

protectedBuilder()

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext

Builder(NetworkSecurityStubSettings settings)

protectedBuilder(NetworkSecurityStubSettingssettings)
Parameter
Name Description

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

publicNetworkSecurityStubSettings.BuilderapplyToAllUnaryMethods(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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description

build()

publicNetworkSecurityStubSettingsbuild()
Returns
Type Description
Overrides Exceptions
Type Description

createAuthorizationPolicyOperationSettings()

publicOperationCallSettings.Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>createAuthorizationPolicyOperationSettings()

Returns the builder for the settings used for calls to createAuthorizationPolicy.

Returns
Type Description

createAuthorizationPolicySettings()

publicUnaryCallSettings.Builder<CreateAuthorizationPolicyRequest,Operation>createAuthorizationPolicySettings()

Returns the builder for the settings used for calls to createAuthorizationPolicy.

Returns
Type Description

createClientTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>createClientTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to createClientTlsPolicy.

Returns
Type Description

createClientTlsPolicySettings()

publicUnaryCallSettings.Builder<CreateClientTlsPolicyRequest,Operation>createClientTlsPolicySettings()

Returns the builder for the settings used for calls to createClientTlsPolicy.

Returns
Type Description

createServerTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>createServerTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to createServerTlsPolicy.

Returns
Type Description

createServerTlsPolicySettings()

publicUnaryCallSettings.Builder<CreateServerTlsPolicyRequest,Operation>createServerTlsPolicySettings()

Returns the builder for the settings used for calls to createServerTlsPolicy.

Returns
Type Description

deleteAuthorizationPolicyOperationSettings()

publicOperationCallSettings.Builder<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata>deleteAuthorizationPolicyOperationSettings()

Returns the builder for the settings used for calls to deleteAuthorizationPolicy.

Returns
Type Description

deleteAuthorizationPolicySettings()

publicUnaryCallSettings.Builder<DeleteAuthorizationPolicyRequest,Operation>deleteAuthorizationPolicySettings()

Returns the builder for the settings used for calls to deleteAuthorizationPolicy.

Returns
Type Description

deleteClientTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<DeleteClientTlsPolicyRequest,Empty,OperationMetadata>deleteClientTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to deleteClientTlsPolicy.

Returns
Type Description

deleteClientTlsPolicySettings()

publicUnaryCallSettings.Builder<DeleteClientTlsPolicyRequest,Operation>deleteClientTlsPolicySettings()

Returns the builder for the settings used for calls to deleteClientTlsPolicy.

Returns
Type Description

deleteServerTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<DeleteServerTlsPolicyRequest,Empty,OperationMetadata>deleteServerTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to deleteServerTlsPolicy.

Returns
Type Description

deleteServerTlsPolicySettings()

publicUnaryCallSettings.Builder<DeleteServerTlsPolicyRequest,Operation>deleteServerTlsPolicySettings()

Returns the builder for the settings used for calls to deleteServerTlsPolicy.

Returns
Type Description

getAuthorizationPolicySettings()

publicUnaryCallSettings.Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy>getAuthorizationPolicySettings()

Returns the builder for the settings used for calls to getAuthorizationPolicy.

Returns
Type Description

getClientTlsPolicySettings()

publicUnaryCallSettings.Builder<GetClientTlsPolicyRequest,ClientTlsPolicy>getClientTlsPolicySettings()

Returns the builder for the settings used for calls to getClientTlsPolicy.

Returns
Type Description

getIamPolicySettings()

publicUnaryCallSettings.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()

publicUnaryCallSettings.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()

publicUnaryCallSettings.Builder<GetServerTlsPolicyRequest,ServerTlsPolicy>getServerTlsPolicySettings()

Returns the builder for the settings used for calls to getServerTlsPolicy.

Returns
Type Description

listAuthorizationPoliciesSettings()

publicPagedCallSettings.Builder<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse>listAuthorizationPoliciesSettings()

Returns the builder for the settings used for calls to listAuthorizationPolicies.

Returns
Type Description

listClientTlsPoliciesSettings()

publicPagedCallSettings.Builder<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse>listClientTlsPoliciesSettings()

Returns the builder for the settings used for calls to listClientTlsPolicies.

Returns
Type Description

listLocationsSettings()

publicPagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NetworkSecurityClient.ListLocationsPagedResponse>listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listServerTlsPoliciesSettings()

publicPagedCallSettings.Builder<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse>listServerTlsPoliciesSettings()

Returns the builder for the settings used for calls to listServerTlsPolicies.

Returns
Type Description

setIamPolicySettings()

publicUnaryCallSettings.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()

publicUnaryCallSettings.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>

unaryMethodSettingsBuilders()

publicImmutableList<UnaryCallSettings.Builder<?,?>>unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateAuthorizationPolicyOperationSettings()

publicOperationCallSettings.Builder<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>updateAuthorizationPolicyOperationSettings()

Returns the builder for the settings used for calls to updateAuthorizationPolicy.

Returns
Type Description

updateAuthorizationPolicySettings()

publicUnaryCallSettings.Builder<UpdateAuthorizationPolicyRequest,Operation>updateAuthorizationPolicySettings()

Returns the builder for the settings used for calls to updateAuthorizationPolicy.

Returns
Type Description

updateClientTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>updateClientTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to updateClientTlsPolicy.

Returns
Type Description

updateClientTlsPolicySettings()

publicUnaryCallSettings.Builder<UpdateClientTlsPolicyRequest,Operation>updateClientTlsPolicySettings()

Returns the builder for the settings used for calls to updateClientTlsPolicy.

Returns
Type Description

updateServerTlsPolicyOperationSettings()

publicOperationCallSettings.Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>updateServerTlsPolicyOperationSettings()

Returns the builder for the settings used for calls to updateServerTlsPolicy.

Returns
Type Description

updateServerTlsPolicySettings()

publicUnaryCallSettings.Builder<UpdateServerTlsPolicyRequest,Operation>updateServerTlsPolicySettings()

Returns the builder for the settings used for calls to updateServerTlsPolicy.

Returns
Type Description

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年10月30日 UTC.