Class EngineServiceSettings.Builder (0.43.0)

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

Builder for EngineServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EngineServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EngineServiceSettings settings)

protected Builder(EngineServiceSettings settings)
Parameter
Name Description
settings EngineServiceSettings

Builder(EngineServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createEngineOperationSettings()

public OperationCallSettings.Builder<CreateEngineRequest,Engine,CreateEngineMetadata> createEngineOperationSettings()

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

Returns
Type Description
Builder<CreateEngineRequest,Engine,CreateEngineMetadata>

createEngineSettings()

public UnaryCallSettings.Builder<CreateEngineRequest,Operation> createEngineSettings()

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

Returns
Type Description
Builder<CreateEngineRequest,Operation>

deleteEngineOperationSettings()

public OperationCallSettings.Builder<DeleteEngineRequest,Empty,DeleteEngineMetadata> deleteEngineOperationSettings()

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

Returns
Type Description
Builder<DeleteEngineRequest,Empty,DeleteEngineMetadata>

deleteEngineSettings()

public UnaryCallSettings.Builder<DeleteEngineRequest,Operation> deleteEngineSettings()

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

Returns
Type Description
Builder<DeleteEngineRequest,Operation>

getEngineSettings()

public UnaryCallSettings.Builder<GetEngineRequest,Engine> getEngineSettings()

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

Returns
Type Description
Builder<GetEngineRequest,Engine>

getStubSettingsBuilder()

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

listEnginesSettings()

public PagedCallSettings.Builder<ListEnginesRequest,ListEnginesResponse,EngineServiceClient.ListEnginesPagedResponse> listEnginesSettings()

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

Returns
Type Description
Builder<ListEnginesRequest,ListEnginesResponse,ListEnginesPagedResponse>

pauseEngineSettings()

public UnaryCallSettings.Builder<PauseEngineRequest,Engine> pauseEngineSettings()

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

Returns
Type Description
Builder<PauseEngineRequest,Engine>

resumeEngineSettings()

public UnaryCallSettings.Builder<ResumeEngineRequest,Engine> resumeEngineSettings()

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

Returns
Type Description
Builder<ResumeEngineRequest,Engine>

tuneEngineOperationSettings()

public OperationCallSettings.Builder<TuneEngineRequest,TuneEngineResponse,TuneEngineMetadata> tuneEngineOperationSettings()

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

Returns
Type Description
Builder<TuneEngineRequest,TuneEngineResponse,TuneEngineMetadata>

tuneEngineSettings()

public UnaryCallSettings.Builder<TuneEngineRequest,Operation> tuneEngineSettings()

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

Returns
Type Description
Builder<TuneEngineRequest,Operation>

updateEngineSettings()

public UnaryCallSettings.Builder<UpdateEngineRequest,Engine> updateEngineSettings()

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

Returns
Type Description
Builder<UpdateEngineRequest,Engine>