Class PredictionApiKeyRegistrySettings.Builder (0.62.0)

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

Builder for PredictionApiKeyRegistrySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > PredictionApiKeyRegistrySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(PredictionApiKeyRegistrySettings settings)

protected Builder(PredictionApiKeyRegistrySettings settings)
Parameter
Name Description
settings PredictionApiKeyRegistrySettings

Builder(PredictionApiKeyRegistryStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createPredictionApiKeyRegistrationSettings()

public UnaryCallSettings.Builder<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration> createPredictionApiKeyRegistrationSettings()

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

Returns
Type Description
Builder<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration>

deletePredictionApiKeyRegistrationSettings()

public UnaryCallSettings.Builder<DeletePredictionApiKeyRegistrationRequest,Empty> deletePredictionApiKeyRegistrationSettings()

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

Returns
Type Description
Builder<DeletePredictionApiKeyRegistrationRequest,Empty>

getStubSettingsBuilder()

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

listPredictionApiKeyRegistrationsSettings()

public PagedCallSettings.Builder<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse,PredictionApiKeyRegistryClient.ListPredictionApiKeyRegistrationsPagedResponse> listPredictionApiKeyRegistrationsSettings()

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

Returns
Type Description
Builder<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse,ListPredictionApiKeyRegistrationsPagedResponse>