Class FlexTemplatesServiceSettings.Builder (0.56.0)

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

Builder for FlexTemplatesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FlexTemplatesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FlexTemplatesServiceSettings settings)

protected Builder(FlexTemplatesServiceSettings settings)
Parameter
Name Description
settings FlexTemplatesServiceSettings

Builder(FlexTemplatesServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

launchFlexTemplateSettings()

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

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

Returns
Type Description
Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse>