Class ExportServiceStubSettings.Builder (2.36.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
NameDescription
clientContextClientContext

Builder(ExportServiceStubSettings settings)

protected Builder(ExportServiceStubSettings settings)
Parameter
NameDescription
settingsExportServiceStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

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