public static class MetricServiceStubSettings.Builder extends StubSettings.Builder<MetricServiceStubSettings,MetricServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(MetricServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
MetricServiceStubSettings.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.
|
MetricServiceStubSettings |
build() |
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateMetricDescriptorRequest,com.google.api.MetricDescriptor> |
createMetricDescriptorSettings()
Returns the builder for the settings used for calls to createMetricDescriptor.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.CreateTimeSeriesRequest,Empty> |
createTimeSeriesSettings()
Returns the builder for the settings used for calls to createTimeSeries.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteMetricDescriptorRequest,Empty> |
deleteMetricDescriptorSettings()
Returns the builder for the settings used for calls to deleteMetricDescriptor.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetMetricDescriptorRequest,com.google.api.MetricDescriptor> |
getMetricDescriptorSettings()
Returns the builder for the settings used for calls to getMetricDescriptor.
|
UnaryCallSettings.Builder<com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest,com.google.api.MonitoredResourceDescriptor> |
getMonitoredResourceDescriptorSettings()
Returns the builder for the settings used for calls to getMonitoredResourceDescriptor.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListMetricDescriptorsRequest,com.google.monitoring.v3.ListMetricDescriptorsResponse,MetricServiceClient.ListMetricDescriptorsPagedResponse> |
listMetricDescriptorsSettings()
Returns the builder for the settings used for calls to listMetricDescriptors.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListMonitoredResourceDescriptorsRequest,com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse,MetricServiceClient.ListMonitoredResourceDescriptorsPagedResponse> |
listMonitoredResourceDescriptorsSettings()
Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.
|
PagedCallSettings.Builder<com.google.monitoring.v3.ListTimeSeriesRequest,com.google.monitoring.v3.ListTimeSeriesResponse,MetricServiceClient.ListTimeSeriesPagedResponse> |
listTimeSeriesSettings()
Returns the builder for the settings used for calls to listTimeSeries.
|
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(MetricServiceStubSettings settings)
public MetricServiceStubSettings.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.monitoring.v3.ListMonitoredResourceDescriptorsRequest,com.google.monitoring.v3.ListMonitoredResourceDescriptorsResponse,MetricServiceClient.ListMonitoredResourceDescriptorsPagedResponse> listMonitoredResourceDescriptorsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetMonitoredResourceDescriptorRequest,com.google.api.MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings()
public PagedCallSettings.Builder<com.google.monitoring.v3.ListMetricDescriptorsRequest,com.google.monitoring.v3.ListMetricDescriptorsResponse,MetricServiceClient.ListMetricDescriptorsPagedResponse> listMetricDescriptorsSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.GetMetricDescriptorRequest,com.google.api.MetricDescriptor> getMetricDescriptorSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateMetricDescriptorRequest,com.google.api.MetricDescriptor> createMetricDescriptorSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.DeleteMetricDescriptorRequest,Empty> deleteMetricDescriptorSettings()
public PagedCallSettings.Builder<com.google.monitoring.v3.ListTimeSeriesRequest,com.google.monitoring.v3.ListTimeSeriesResponse,MetricServiceClient.ListTimeSeriesPagedResponse> listTimeSeriesSettings()
public UnaryCallSettings.Builder<com.google.monitoring.v3.CreateTimeSeriesRequest,Empty> createTimeSeriesSettings()
public MetricServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<MetricServiceStubSettings,MetricServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.