public static class ErrorStatsServiceSettings.Builder extends ClientSettings.Builder<ErrorStatsServiceSettings,ErrorStatsServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ErrorStatsServiceSettings settings) |
protected |
Builder(ErrorStatsServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
ErrorStatsServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ErrorStatsServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest,com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse> |
deleteEventsSettings()
Returns the builder for the settings used for calls to deleteEvents.
|
ErrorStatsServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest,com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse,ErrorStatsServiceClient.ListEventsPagedResponse> |
listEventsSettings()
Returns the builder for the settings used for calls to listEvents.
|
PagedCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest,com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse,ErrorStatsServiceClient.ListGroupStatsPagedResponse> |
listGroupStatsSettings()
Returns the builder for the settings used for calls to listGroupStats.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(ErrorStatsServiceSettings settings)
protected Builder(ErrorStatsServiceStubSettings.Builder stubSettings)
public ErrorStatsServiceStubSettings.Builder getStubSettingsBuilder()
public ErrorStatsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest,com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse,ErrorStatsServiceClient.ListGroupStatsPagedResponse> listGroupStatsSettings()
public PagedCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest,com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse,ErrorStatsServiceClient.ListEventsPagedResponse> listEventsSettings()
public UnaryCallSettings.Builder<com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest,com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse> deleteEventsSettings()
public ErrorStatsServiceSettings build() throws IOException
build
in class ClientSettings.Builder<ErrorStatsServiceSettings,ErrorStatsServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.