Class ErrorStatsServiceStubSettings.Builder (0.164.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
Name Description
clientContext ClientContext

Builder(ErrorStatsServiceStubSettings settings)

protected Builder(ErrorStatsServiceStubSettings settings)
Parameter
Name Description
settings ErrorStatsServiceStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ErrorStatsServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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