Class ReportServiceStubSettings.Builder (0.13.0)

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

Builder for ReportServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ReportServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReportServiceStubSettings settings)

protected Builder(ReportServiceStubSettings settings)
Parameter
NameDescription
settingsReportServiceStubSettings

Methods

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

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

build()

public ReportServiceStubSettings build()
Returns
TypeDescription
ReportServiceStubSettings
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

searchSettings()

public PagedCallSettings.Builder<SearchRequest,SearchResponse,ReportServiceClient.SearchPagedResponse> searchSettings()

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

Returns
TypeDescription
Builder<SearchRequest,SearchResponse,SearchPagedResponse>

unaryMethodSettingsBuilders()

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