Class ErrorStatsServiceSettings.Builder (0.124.12-beta)

See more code actions.
public static class ErrorStatsServiceSettings.Builder extends ClientSettings.Builder<ErrorStatsServiceSettings,ErrorStatsServiceSettings.Builder>

Builder for ErrorStatsServiceSettings.

java.lang.Object > ClientSettings.Builder > ErrorStatsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ErrorStatsServiceSettings settings)

protected Builder(ErrorStatsServiceSettings settings)
Parameter
NameDescription
settingsErrorStatsServiceSettings

Builder(ErrorStatsServiceStubSettings.Builder stubSettings)

protected Builder(ErrorStatsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsErrorStatsServiceStubSettings.Builder

Methods

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

public ErrorStatsServiceSettings.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

build()

public ErrorStatsServiceSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

deleteEventsSettings()

public UnaryCallSettings.Builder<DeleteEventsRequest,DeleteEventsResponse> deleteEventsSettings()

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

Returns

getStubSettingsBuilder()

public ErrorStatsServiceStubSettings.Builder getStubSettingsBuilder()
Returns

listEventsSettings()

public PagedCallSettings.Builder<ListEventsRequest,ListEventsResponse,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsSettings()

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

Returns

listGroupStatsSettings()

public PagedCallSettings.Builder<ListGroupStatsRequest,ListGroupStatsResponse,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsSettings()

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

Returns