Class NetworkSecuritySettings.Builder (0.6.2)

public static class NetworkSecuritySettings.Builder extends ClientSettings.Builder<NetworkSecuritySettings,NetworkSecuritySettings.Builder>

Builder for NetworkSecuritySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NetworkSecuritySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NetworkSecuritySettings settings)

protected Builder(NetworkSecuritySettings settings)
Parameter
NameDescription
settingsNetworkSecuritySettings

Builder(NetworkSecurityStubSettings.Builder stubSettings)

protected Builder(NetworkSecurityStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNetworkSecurityStubSettings.Builder

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
NetworkSecuritySettings.Builder

build()

public NetworkSecuritySettings build()
Returns
TypeDescription
NetworkSecuritySettings
Overrides Exceptions
TypeDescription
IOException

createAuthorizationPolicyOperationSettings()

public OperationCallSettings.Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata> createAuthorizationPolicyOperationSettings()

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

Returns
TypeDescription
Builder<CreateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>

createAuthorizationPolicySettings()

public UnaryCallSettings.Builder<CreateAuthorizationPolicyRequest,Operation> createAuthorizationPolicySettings()

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

Returns
TypeDescription
Builder<CreateAuthorizationPolicyRequest,Operation>

createClientTlsPolicyOperationSettings()

public OperationCallSettings.Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> createClientTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<CreateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>

createClientTlsPolicySettings()

public UnaryCallSettings.Builder<CreateClientTlsPolicyRequest,Operation> createClientTlsPolicySettings()

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

Returns
TypeDescription
Builder<CreateClientTlsPolicyRequest,Operation>

createServerTlsPolicyOperationSettings()

public OperationCallSettings.Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> createServerTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<CreateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>

createServerTlsPolicySettings()

public UnaryCallSettings.Builder<CreateServerTlsPolicyRequest,Operation> createServerTlsPolicySettings()

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

Returns
TypeDescription
Builder<CreateServerTlsPolicyRequest,Operation>

deleteAuthorizationPolicyOperationSettings()

public OperationCallSettings.Builder<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata> deleteAuthorizationPolicyOperationSettings()

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

Returns
TypeDescription
Builder<DeleteAuthorizationPolicyRequest,Empty,OperationMetadata>

deleteAuthorizationPolicySettings()

public UnaryCallSettings.Builder<DeleteAuthorizationPolicyRequest,Operation> deleteAuthorizationPolicySettings()

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

Returns
TypeDescription
Builder<DeleteAuthorizationPolicyRequest,Operation>

deleteClientTlsPolicyOperationSettings()

public OperationCallSettings.Builder<DeleteClientTlsPolicyRequest,Empty,OperationMetadata> deleteClientTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<DeleteClientTlsPolicyRequest,Empty,OperationMetadata>

deleteClientTlsPolicySettings()

public UnaryCallSettings.Builder<DeleteClientTlsPolicyRequest,Operation> deleteClientTlsPolicySettings()

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

Returns
TypeDescription
Builder<DeleteClientTlsPolicyRequest,Operation>

deleteServerTlsPolicyOperationSettings()

public OperationCallSettings.Builder<DeleteServerTlsPolicyRequest,Empty,OperationMetadata> deleteServerTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<DeleteServerTlsPolicyRequest,Empty,OperationMetadata>

deleteServerTlsPolicySettings()

public UnaryCallSettings.Builder<DeleteServerTlsPolicyRequest,Operation> deleteServerTlsPolicySettings()

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

Returns
TypeDescription
Builder<DeleteServerTlsPolicyRequest,Operation>

getAuthorizationPolicySettings()

public UnaryCallSettings.Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy> getAuthorizationPolicySettings()

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

Returns
TypeDescription
Builder<GetAuthorizationPolicyRequest,AuthorizationPolicy>

getClientTlsPolicySettings()

public UnaryCallSettings.Builder<GetClientTlsPolicyRequest,ClientTlsPolicy> getClientTlsPolicySettings()

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

Returns
TypeDescription
Builder<GetClientTlsPolicyRequest,ClientTlsPolicy>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetServerTlsPolicyRequest,ServerTlsPolicy>

getStubSettingsBuilder()

public NetworkSecurityStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
NetworkSecurityStubSettings.Builder

listAuthorizationPoliciesSettings()

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

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

Returns
TypeDescription
Builder<ListAuthorizationPoliciesRequest,ListAuthorizationPoliciesResponse,ListAuthorizationPoliciesPagedResponse>

listClientTlsPoliciesSettings()

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

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

Returns
TypeDescription
Builder<ListClientTlsPoliciesRequest,ListClientTlsPoliciesResponse,ListClientTlsPoliciesPagedResponse>

listLocationsSettings()

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

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

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

listServerTlsPoliciesSettings()

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

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

Returns
TypeDescription
Builder<ListServerTlsPoliciesRequest,ListServerTlsPoliciesResponse,ListServerTlsPoliciesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateAuthorizationPolicyRequest,AuthorizationPolicy,OperationMetadata>

updateAuthorizationPolicySettings()

public UnaryCallSettings.Builder<UpdateAuthorizationPolicyRequest,Operation> updateAuthorizationPolicySettings()

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

Returns
TypeDescription
Builder<UpdateAuthorizationPolicyRequest,Operation>

updateClientTlsPolicyOperationSettings()

public OperationCallSettings.Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata> updateClientTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<UpdateClientTlsPolicyRequest,ClientTlsPolicy,OperationMetadata>

updateClientTlsPolicySettings()

public UnaryCallSettings.Builder<UpdateClientTlsPolicyRequest,Operation> updateClientTlsPolicySettings()

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

Returns
TypeDescription
Builder<UpdateClientTlsPolicyRequest,Operation>

updateServerTlsPolicyOperationSettings()

public OperationCallSettings.Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata> updateServerTlsPolicyOperationSettings()

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

Returns
TypeDescription
Builder<UpdateServerTlsPolicyRequest,ServerTlsPolicy,OperationMetadata>

updateServerTlsPolicySettings()

public UnaryCallSettings.Builder<UpdateServerTlsPolicyRequest,Operation> updateServerTlsPolicySettings()

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

Returns
TypeDescription
Builder<UpdateServerTlsPolicyRequest,Operation>