Class ExportServiceSettings.Builder (2.41.0)

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

Builder for ExportServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ExportServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ExportServiceSettings settings)

protected Builder(ExportServiceSettings settings)
Parameter
NameDescription
settingsExportServiceSettings

Builder(ExportServiceStubSettings.Builder stubSettings)

protected Builder(ExportServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsExportServiceStubSettings.Builder

Methods

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

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

build()

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

getStubSettingsBuilder()

public ExportServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ExportServiceStubSettings.Builder

listProfilesSettings()

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

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

Returns
TypeDescription
Builder<ListProfilesRequest,ListProfilesResponse,ListProfilesPagedResponse>