Class SecuritySettingsServiceSettings.Builder (0.14.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
NameDescription
clientContextClientContext

Builder(SecuritySettingsServiceSettings settings)

protected Builder(SecuritySettingsServiceSettings settings)
Parameter
NameDescription
settingsSecuritySettingsServiceSettings

Builder(SecuritySettingsServiceStubSettings.Builder stubSettings)

protected Builder(SecuritySettingsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSecuritySettingsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SecuritySettingsServiceSettings.Builder

build()

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

createSecuritySettingsSettings()

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

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

Returns
TypeDescription
Builder<CreateSecuritySettingsRequest,SecuritySettings>

deleteSecuritySettingsSettings()

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

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

Returns
TypeDescription
Builder<DeleteSecuritySettingsRequest,Empty>

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>

getSecuritySettingsSettings()

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

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

Returns
TypeDescription
Builder<GetSecuritySettingsRequest,SecuritySettings>

getStubSettingsBuilder()

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

listLocationsSettings()

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

listSecuritySettingsSettings()

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

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

Returns
TypeDescription
Builder<ListSecuritySettingsRequest,ListSecuritySettingsResponse,ListSecuritySettingsPagedResponse>

updateSecuritySettingsSettings()

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

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

Returns
TypeDescription
Builder<UpdateSecuritySettingsRequest,SecuritySettings>