Class PredictionApiKeyRegistrySettings.Builder (0.36.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
NameDescription
clientContextClientContext

Builder(PredictionApiKeyRegistrySettings settings)

protected Builder(PredictionApiKeyRegistrySettings settings)
Parameter
NameDescription
settingsPredictionApiKeyRegistrySettings

Builder(PredictionApiKeyRegistryStubSettings.Builder stubSettings)

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

build()

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

createPredictionApiKeyRegistrationSettings()

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

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

Returns
TypeDescription
Builder<CreatePredictionApiKeyRegistrationRequest,PredictionApiKeyRegistration>

deletePredictionApiKeyRegistrationSettings()

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

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

Returns
TypeDescription
Builder<DeletePredictionApiKeyRegistrationRequest,Empty>

getStubSettingsBuilder()

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

listPredictionApiKeyRegistrationsSettings()

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

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

Returns
TypeDescription
Builder<ListPredictionApiKeyRegistrationsRequest,ListPredictionApiKeyRegistrationsResponse,ListPredictionApiKeyRegistrationsPagedResponse>