Class EncryptionSpecServiceSettings.Builder (4.61.0)

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

Builder for EncryptionSpecServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EncryptionSpecServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EncryptionSpecServiceSettings settings)

protected Builder(EncryptionSpecServiceSettings settings)
Parameter
Name Description
settings EncryptionSpecServiceSettings

Builder(EncryptionSpecServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getEncryptionSpecSettings()

public UnaryCallSettings.Builder<GetEncryptionSpecRequest,EncryptionSpec> getEncryptionSpecSettings()

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

Returns
Type Description
Builder<GetEncryptionSpecRequest,EncryptionSpec>

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>

getStubSettingsBuilder()

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

initializeEncryptionSpecOperationSettings()

public OperationCallSettings.Builder<InitializeEncryptionSpecRequest,InitializeEncryptionSpecResponse,InitializeEncryptionSpecMetadata> initializeEncryptionSpecOperationSettings()

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

Returns
Type Description
Builder<InitializeEncryptionSpecRequest,InitializeEncryptionSpecResponse,InitializeEncryptionSpecMetadata>

initializeEncryptionSpecSettings()

public UnaryCallSettings.Builder<InitializeEncryptionSpecRequest,Operation> initializeEncryptionSpecSettings()

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

Returns
Type Description
Builder<InitializeEncryptionSpecRequest,Operation>

listLocationsSettings()

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