Class FlexTemplatesServiceStubSettings.Builder (0.52.0)

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

Builder for FlexTemplatesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FlexTemplatesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FlexTemplatesServiceStubSettings settings)

protected Builder(FlexTemplatesServiceStubSettings settings)
Parameter
Name Description
settings FlexTemplatesServiceStubSettings

Methods

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

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

build()

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

launchFlexTemplateSettings()

public UnaryCallSettings.Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse> launchFlexTemplateSettings()

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

Returns
Type Description
Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse>

unaryMethodSettingsBuilders()

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