public static class MetricsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<MetricsSettings,MetricsSettings.Builder>
| Modifier and Type | Method and Description |
|---|---|
MetricsSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
MetricsSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.CreateLogMetricRequest,com.google.logging.v2.LogMetric> |
createLogMetricSettings()
Returns the builder for the settings used for calls to createLogMetric.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogMetricRequest,com.google.protobuf.Empty> |
deleteLogMetricSettings()
Returns the builder for the settings used for calls to deleteLogMetric.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetLogMetricRequest,com.google.logging.v2.LogMetric> |
getLogMetricSettings()
Returns the builder for the settings used for calls to getLogMetric.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogMetricsRequest,com.google.logging.v2.ListLogMetricsResponse,PagedResponseWrappers.ListLogMetricsPagedResponse> |
listLogMetricsSettings()
Returns the builder for the settings used for calls to listLogMetrics.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateLogMetricRequest,com.google.logging.v2.LogMetric> |
updateLogMetricSettings()
Returns the builder for the settings used for calls to updateLogMetric.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setTransportChannelProvider, toStringpublic MetricsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exceptionpublic com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.logging.v2.ListLogMetricsRequest,com.google.logging.v2.ListLogMetricsResponse,PagedResponseWrappers.ListLogMetricsPagedResponse> listLogMetricsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.GetLogMetricRequest,com.google.logging.v2.LogMetric> getLogMetricSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.CreateLogMetricRequest,com.google.logging.v2.LogMetric> createLogMetricSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.UpdateLogMetricRequest,com.google.logging.v2.LogMetric> updateLogMetricSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.logging.v2.DeleteLogMetricRequest,com.google.protobuf.Empty> deleteLogMetricSettings()
public MetricsSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<MetricsSettings,MetricsSettings.Builder>IOExceptionCopyright © 2017 Google. All rights reserved.