Class TemplatesServiceStubSettings.Builder (0.51.0)

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

Builder for TemplatesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TemplatesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TemplatesServiceStubSettings settings)

protected Builder(TemplatesServiceStubSettings settings)
Parameter
Name Description
settings TemplatesServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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