Class ErrorStatsServiceSettings.Builder (0.132.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
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
TypeDescription
ErrorStatsServiceSettings.Builder

build()

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

deleteEventsSettings()

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

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

Returns
TypeDescription
Builder<DeleteEventsRequest,DeleteEventsResponse>

getStubSettingsBuilder()

public ErrorStatsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ErrorStatsServiceStubSettings.Builder

listEventsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<ListGroupStatsRequest,ListGroupStatsResponse,ListGroupStatsPagedResponse>