Package com.google.cloud.monitoring.v3
Class MetricServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<MetricServiceSettings,MetricServiceSettings.Builder>
com.google.cloud.monitoring.v3.MetricServiceSettings.Builder
- Enclosing class:
- MetricServiceSettings
public static class MetricServiceSettings.Builder
extends ClientSettings.Builder<MetricServiceSettings,MetricServiceSettings.Builder>
Builder for MetricServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MetricServiceSettings settings) protectedBuilder(MetricServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createMetricDescriptor.UnaryCallSettings.Builder<CreateTimeSeriesRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to createServiceTimeSeries.UnaryCallSettings.Builder<CreateTimeSeriesRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to createTimeSeries.UnaryCallSettings.Builder<DeleteMetricDescriptorRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteMetricDescriptor.Returns the builder for the settings used for calls to getMetricDescriptor.Returns the builder for the settings used for calls to getMonitoredResourceDescriptor.PagedCallSettings.Builder<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse, MetricServiceClient.ListMetricDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMetricDescriptors.PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse, MetricServiceClient.ListMonitoredResourceDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMonitoredResourceDescriptors.PagedCallSettings.Builder<ListTimeSeriesRequest,ListTimeSeriesResponse, MetricServiceClient.ListTimeSeriesPagedResponse> Returns the builder for the settings used for calls to listTimeSeries.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public MetricServiceSettings.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.
-
listMonitoredResourceDescriptorsSettings
public PagedCallSettings.Builder<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse, listMonitoredResourceDescriptorsSettings()MetricServiceClient.ListMonitoredResourceDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMonitoredResourceDescriptors. -
getMonitoredResourceDescriptorSettings
public UnaryCallSettings.Builder<GetMonitoredResourceDescriptorRequest,MonitoredResourceDescriptor> getMonitoredResourceDescriptorSettings()Returns the builder for the settings used for calls to getMonitoredResourceDescriptor. -
listMetricDescriptorsSettings
public PagedCallSettings.Builder<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse, listMetricDescriptorsSettings()MetricServiceClient.ListMetricDescriptorsPagedResponse> Returns the builder for the settings used for calls to listMetricDescriptors. -
getMetricDescriptorSettings
public UnaryCallSettings.Builder<GetMetricDescriptorRequest,MetricDescriptor> getMetricDescriptorSettings()Returns the builder for the settings used for calls to getMetricDescriptor. -
createMetricDescriptorSettings
public UnaryCallSettings.Builder<CreateMetricDescriptorRequest,MetricDescriptor> createMetricDescriptorSettings()Returns the builder for the settings used for calls to createMetricDescriptor. -
deleteMetricDescriptorSettings
public UnaryCallSettings.Builder<DeleteMetricDescriptorRequest,com.google.protobuf.Empty> deleteMetricDescriptorSettings()Returns the builder for the settings used for calls to deleteMetricDescriptor. -
listTimeSeriesSettings
public PagedCallSettings.Builder<ListTimeSeriesRequest,ListTimeSeriesResponse, listTimeSeriesSettings()MetricServiceClient.ListTimeSeriesPagedResponse> Returns the builder for the settings used for calls to listTimeSeries. -
createTimeSeriesSettings
public UnaryCallSettings.Builder<CreateTimeSeriesRequest,com.google.protobuf.Empty> createTimeSeriesSettings()Returns the builder for the settings used for calls to createTimeSeries. -
createServiceTimeSeriesSettings
public UnaryCallSettings.Builder<CreateTimeSeriesRequest,com.google.protobuf.Empty> createServiceTimeSeriesSettings()Returns the builder for the settings used for calls to createServiceTimeSeries. -
build
- Specified by:
buildin classClientSettings.Builder<MetricServiceSettings,MetricServiceSettings.Builder> - Throws:
IOException
-