Class SecuritySettingsServiceSettings.Builder (0.55.0)

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

Builder for SecuritySettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SecuritySettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SecuritySettingsServiceSettings settings)

protected Builder(SecuritySettingsServiceSettings settings)
Parameter
Name Description
settings SecuritySettingsServiceSettings

Builder(SecuritySettingsServiceStubSettings.Builder stubSettings)

protected Builder(SecuritySettingsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings SecuritySettingsServiceStubSettings.Builder

Methods

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

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

build()

public SecuritySettingsServiceSettings build()
Returns
Type Description
SecuritySettingsServiceSettings
Overrides
Exceptions
Type Description
IOException

createSecuritySettingsSettings()

public UnaryCallSettings.Builder<CreateSecuritySettingsRequest,SecuritySettings> createSecuritySettingsSettings()

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

Returns
Type Description
Builder<CreateSecuritySettingsRequest,SecuritySettings>

deleteSecuritySettingsSettings()

public UnaryCallSettings.Builder<DeleteSecuritySettingsRequest,Empty> deleteSecuritySettingsSettings()

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

Returns
Type Description
Builder<DeleteSecuritySettingsRequest,Empty>

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>

getSecuritySettingsSettings()

public UnaryCallSettings.Builder<GetSecuritySettingsRequest,SecuritySettings> getSecuritySettingsSettings()

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

Returns
Type Description
Builder<GetSecuritySettingsRequest,SecuritySettings>

getStubSettingsBuilder()

public SecuritySettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SecuritySettingsServiceStubSettings.Builder

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,SecuritySettingsServiceClient.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>

listSecuritySettingsSettings()

public PagedCallSettings.Builder<ListSecuritySettingsRequest,ListSecuritySettingsResponse,SecuritySettingsServiceClient.ListSecuritySettingsPagedResponse> listSecuritySettingsSettings()

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

Returns
Type Description
Builder<ListSecuritySettingsRequest,ListSecuritySettingsResponse,ListSecuritySettingsPagedResponse>

updateSecuritySettingsSettings()

public UnaryCallSettings.Builder<UpdateSecuritySettingsRequest,SecuritySettings> updateSecuritySettingsSettings()

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

Returns
Type Description
Builder<UpdateSecuritySettingsRequest,SecuritySettings>