public static class NetworkSecurityStubSettings.Builder extends StubSettings.Builder<NetworkSecurityStubSettings,NetworkSecurityStubSettings.Builder>
Builder for NetworkSecurityStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(NetworkSecurityStubSettings settings)
protected Builder(NetworkSecurityStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public NetworkSecurityStubSettings.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.
build()
public NetworkSecurityStubSettings build()
Overrides
createAuthorizationPolicyOperationSettings()
public OperationCallSettings.Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> createAuthorizationPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createAuthorizationPolicy.
createAuthorizationPolicySettings()
public UnaryCallSettings.Builder<CreateAuthorizationPolicyRequest,Operation> createAuthorizationPolicySettings()
Returns the builder for the settings used for calls to createAuthorizationPolicy.
createClientTlsPolicyOperationSettings()
public OperationCallSettings.Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> createClientTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createClientTlsPolicy.
createClientTlsPolicySettings()
public UnaryCallSettings.Builder<CreateClientTlsPolicyRequest,Operation> createClientTlsPolicySettings()
Returns the builder for the settings used for calls to createClientTlsPolicy.
createServerTlsPolicyOperationSettings()
public OperationCallSettings.Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> createServerTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createServerTlsPolicy.
createServerTlsPolicySettings()
public UnaryCallSettings.Builder<CreateServerTlsPolicyRequest,Operation> createServerTlsPolicySettings()
Returns the builder for the settings used for calls to createServerTlsPolicy.
deleteAuthorizationPolicyOperationSettings()
public OperationCallSettings.Builder<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata> deleteAuthorizationPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
deleteAuthorizationPolicySettings()
public UnaryCallSettings.Builder<DeleteAuthorizationPolicyRequest,Operation> deleteAuthorizationPolicySettings()
Returns the builder for the settings used for calls to deleteAuthorizationPolicy.
deleteClientTlsPolicyOperationSettings()
public OperationCallSettings.Builder<DeleteClientTlsPolicyRequest,Empty,OperationMetadata> deleteClientTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
deleteClientTlsPolicySettings()
public UnaryCallSettings.Builder<DeleteClientTlsPolicyRequest,Operation> deleteClientTlsPolicySettings()
Returns the builder for the settings used for calls to deleteClientTlsPolicy.
deleteServerTlsPolicyOperationSettings()
public OperationCallSettings.Builder<DeleteServerTlsPolicyRequest,Empty,OperationMetadata> deleteServerTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
deleteServerTlsPolicySettings()
public UnaryCallSettings.Builder<DeleteServerTlsPolicyRequest,Operation> deleteServerTlsPolicySettings()
Returns the builder for the settings used for calls to deleteServerTlsPolicy.
getAuthorizationPolicySettings()
public UnaryCallSettings.Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy> getAuthorizationPolicySettings()
Returns the builder for the settings used for calls to getAuthorizationPolicy.
getClientTlsPolicySettings()
public UnaryCallSettings.Builder<GetClientTlsPolicyRequest,ClientTlsPolicy> getClientTlsPolicySettings()
Returns the builder for the settings used for calls to getClientTlsPolicy.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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.
listAuthorizationPoliciesSettings()
public PagedCallSettings.Builder<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse,NetworkSecurityClient.ListAuthorizationPoliciesPagedResponse> listAuthorizationPoliciesSettings()
Returns the builder for the settings used for calls to listAuthorizationPolicies.
listClientTlsPoliciesSettings()
public PagedCallSettings.Builder<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse,NetworkSecurityClient.ListClientTlsPoliciesPagedResponse> listClientTlsPoliciesSettings()
Returns the builder for the settings used for calls to listClientTlsPolicies.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NetworkSecurityClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listServerTlsPoliciesSettings()
public PagedCallSettings.Builder<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse,NetworkSecurityClient.ListServerTlsPoliciesPagedResponse> listServerTlsPoliciesSettings()
Returns the builder for the settings used for calls to listServerTlsPolicies.
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 >
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateAuthorizationPolicyOperationSettings()
public OperationCallSettings.Builder<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> updateAuthorizationPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
updateAuthorizationPolicySettings()
public UnaryCallSettings.Builder<UpdateAuthorizationPolicyRequest,Operation> updateAuthorizationPolicySettings()
Returns the builder for the settings used for calls to updateAuthorizationPolicy.
updateClientTlsPolicyOperationSettings()
public OperationCallSettings.Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> updateClientTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateClientTlsPolicy.
updateClientTlsPolicySettings()
public UnaryCallSettings.Builder<UpdateClientTlsPolicyRequest,Operation> updateClientTlsPolicySettings()
Returns the builder for the settings used for calls to updateClientTlsPolicy.
updateServerTlsPolicyOperationSettings()
public OperationCallSettings.Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> updateServerTlsPolicyOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateServerTlsPolicy.
updateServerTlsPolicySettings()
public UnaryCallSettings.Builder<UpdateServerTlsPolicyRequest,Operation> updateServerTlsPolicySettings()
Returns the builder for the settings used for calls to updateServerTlsPolicy.