Class ErrorStatsServiceStubSettings.Builder (0.150.0-beta)

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

Builder for ErrorStatsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ErrorStatsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ErrorStatsServiceStubSettings settings)

protected Builder(ErrorStatsServiceStubSettings settings)
Parameter
NameDescription
settingsErrorStatsServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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