Class PredictionApiKeyRegistryStubSettings.Builder (0.59.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
Name Description
clientContext ClientContext

Builder(PredictionApiKeyRegistryStubSettings settings)

protected Builder(PredictionApiKeyRegistryStubSettings settings)
Parameter
Name Description
settings PredictionApiKeyRegistryStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
PredictionApiKeyRegistryStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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