Class ErrorStatsServiceSettings.Builder (0.167.0-beta)

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

Builder for ErrorStatsServiceSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ErrorStatsServiceSettings settings)

protected Builder(ErrorStatsServiceSettings settings)
Parameter
Name Description
settings ErrorStatsServiceSettings

Builder(ErrorStatsServiceStubSettings.Builder stubSettings)

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

build()

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

deleteEventsSettings()

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

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

Returns
Type Description
Builder<DeleteEventsRequest,DeleteEventsResponse>

getStubSettingsBuilder()

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

listEventsSettings()

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

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

Returns
Type Description
Builder<ListEventsRequest,ListEventsResponse,ListEventsPagedResponse>

listGroupStatsSettings()

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

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

Returns
Type Description
Builder<ListGroupStatsRequest,ListGroupStatsResponse,ListGroupStatsPagedResponse>