Class PredictionApiKeyRegistryStubSettings.Builder (0.30.0)

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

Builder for PredictionApiKeyRegistryStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > PredictionApiKeyRegistryStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(PredictionApiKeyRegistryStubSettings settings)

protected Builder(PredictionApiKeyRegistryStubSettings settings)
Parameter
NameDescription
settingsPredictionApiKeyRegistryStubSettings

Methods

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

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

build()

public PredictionApiKeyRegistryStubSettings build()
Returns
TypeDescription
PredictionApiKeyRegistryStubSettings
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>

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>

unaryMethodSettingsBuilders()

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