Class SecuritySettingsServiceStubSettings.Builder (0.54.0)

public static class SecuritySettingsServiceStubSettings.Builder extends StubSettings.Builder<SecuritySettingsServiceStubSettings,SecuritySettingsServiceStubSettings.Builder>

Builder for SecuritySettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SecuritySettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SecuritySettingsServiceStubSettings settings)

protected Builder(SecuritySettingsServiceStubSettings settings)
Parameter
Name Description
settings SecuritySettingsServiceStubSettings

Methods

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

public SecuritySettingsServiceStubSettings.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
SecuritySettingsServiceStubSettings.Builder

build()

public SecuritySettingsServiceStubSettings build()
Returns
Type Description
SecuritySettingsServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

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

updateSecuritySettingsSettings()

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

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

Returns
Type Description
Builder<UpdateSecuritySettingsRequest,SecuritySettings>