Class ExportServiceStubSettings.Builder (2.49.0)

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

Builder for ExportServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ExportServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ExportServiceStubSettings settings)

protected Builder(ExportServiceStubSettings settings)
Parameter
Name Description
settings ExportServiceStubSettings

Methods

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

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

build()

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

listProfilesSettings()

public PagedCallSettings.Builder<ListProfilesRequest,ListProfilesResponse,ExportServiceClient.ListProfilesPagedResponse> listProfilesSettings()

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

Returns
Type Description
Builder<ListProfilesRequest,ListProfilesResponse,ListProfilesPagedResponse>

unaryMethodSettingsBuilders()

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