public static class ErrorStatsServiceStubSettings.Builder extends StubSettings.Builder<ErrorStatsServiceStubSettings,ErrorStatsServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(ErrorStatsServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
ErrorStatsServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ErrorStatsServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(ErrorStatsServiceStubSettings settings)
public ErrorStatsServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 ErrorStatsServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<ErrorStatsServiceStubSettings,ErrorStatsServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.