Class TemplatesServiceSettings.Builder (0.57.0)

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

Builder for TemplatesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TemplatesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TemplatesServiceSettings settings)

protected Builder(TemplatesServiceSettings settings)
Parameter
Name Description
settings TemplatesServiceSettings

Builder(TemplatesServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createJobFromTemplateSettings()

public UnaryCallSettings.Builder<CreateJobFromTemplateRequest,Job> createJobFromTemplateSettings()

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

Returns
Type Description
Builder<CreateJobFromTemplateRequest,Job>

getStubSettingsBuilder()

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

getTemplateSettings()

public UnaryCallSettings.Builder<GetTemplateRequest,GetTemplateResponse> getTemplateSettings()

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

Returns
Type Description
Builder<GetTemplateRequest,GetTemplateResponse>

launchTemplateSettings()

public UnaryCallSettings.Builder<LaunchTemplateRequest,LaunchTemplateResponse> launchTemplateSettings()

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

Returns
Type Description
Builder<LaunchTemplateRequest,LaunchTemplateResponse>