Class ExportServiceSettings.Builder (2.43.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
Name Description
clientContext ClientContext

Builder(ExportServiceSettings settings)

protected Builder(ExportServiceSettings settings)
Parameter
Name Description
settings ExportServiceSettings

Builder(ExportServiceStubSettings.Builder stubSettings)

protected Builder(ExportServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ExportServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ExportServiceSettings.Builder

build()

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

getStubSettingsBuilder()

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

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>