Class EncryptionSpecServiceStubSettings.Builder (4.55.0)

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

Builder for EncryptionSpecServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EncryptionSpecServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EncryptionSpecServiceStubSettings settings)

protected Builder(EncryptionSpecServiceStubSettings settings)
Parameter
Name Description
settings EncryptionSpecServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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