Class FlexTemplatesServiceStubSettings.Builder (0.17.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
NameDescription
clientContextClientContext

Builder(FlexTemplatesServiceStubSettings settings)

protected Builder(FlexTemplatesServiceStubSettings settings)
Parameter
NameDescription
settingsFlexTemplatesServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
FlexTemplatesServiceStubSettings.Builder

build()

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

launchFlexTemplateSettings()

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

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

Returns
TypeDescription
Builder<LaunchFlexTemplateRequest,LaunchFlexTemplateResponse>

unaryMethodSettingsBuilders()

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