Class EngineServiceStubSettings.Builder (0.30.0)

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

Builder for EngineServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EngineServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EngineServiceStubSettings settings)

protected Builder(EngineServiceStubSettings settings)
Parameter
NameDescription
settingsEngineServiceStubSettings

Methods

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

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

build()

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

createEngineOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateEngineRequest,Engine,CreateEngineMetadata>

createEngineSettings()

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

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

Returns
TypeDescription
Builder<CreateEngineRequest,Operation>

deleteEngineOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteEngineRequest,Empty,DeleteEngineMetadata>

deleteEngineSettings()

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

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

Returns
TypeDescription
Builder<DeleteEngineRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getEngineSettings()

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

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

Returns
TypeDescription
Builder<GetEngineRequest,Engine>

listEnginesSettings()

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

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

Returns
TypeDescription
Builder<ListEnginesRequest,ListEnginesResponse,ListEnginesPagedResponse>

pauseEngineSettings()

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

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

Returns
TypeDescription
Builder<PauseEngineRequest,Engine>

resumeEngineSettings()

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

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

Returns
TypeDescription
Builder<ResumeEngineRequest,Engine>

tuneEngineOperationSettings()

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

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

Returns
TypeDescription
Builder<TuneEngineRequest,TuneEngineResponse,TuneEngineMetadata>

tuneEngineSettings()

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

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

Returns
TypeDescription
Builder<TuneEngineRequest,Operation>

unaryMethodSettingsBuilders()

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

updateEngineSettings()

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

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

Returns
TypeDescription
Builder<UpdateEngineRequest,Engine>