public static class MetricsServiceV2StubSettings.Builder extends StubSettings.Builder<MetricsServiceV2StubSettings,MetricsServiceV2StubSettings.Builder>
Builder for MetricsServiceV2StubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(MetricsServiceV2StubSettings settings)
protected Builder(MetricsServiceV2StubSettings settings)
Name | Description |
settings | MetricsServiceV2StubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public MetricsServiceV2StubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
MetricsServiceV2StubSettings.Builder |
build()
public MetricsServiceV2StubSettings build()
Type | Description |
MetricsServiceV2StubSettings |
Type | Description |
IOException |
createLogMetricSettings()
public UnaryCallSettings.Builder<CreateLogMetricRequest,LogMetric> createLogMetricSettings()
Returns the builder for the settings used for calls to createLogMetric.
Type | Description |
Builder<CreateLogMetricRequest,LogMetric> |
deleteLogMetricSettings()
public UnaryCallSettings.Builder<DeleteLogMetricRequest,Empty> deleteLogMetricSettings()
Returns the builder for the settings used for calls to deleteLogMetric.
Type | Description |
Builder<DeleteLogMetricRequest,Empty> |
getLogMetricSettings()
public UnaryCallSettings.Builder<GetLogMetricRequest,LogMetric> getLogMetricSettings()
Returns the builder for the settings used for calls to getLogMetric.
Type | Description |
Builder<GetLogMetricRequest,LogMetric> |
listLogMetricsSettings()
public PagedCallSettings.Builder<ListLogMetricsRequest,ListLogMetricsResponse,MetricsClient.ListLogMetricsPagedResponse> listLogMetricsSettings()
Returns the builder for the settings used for calls to listLogMetrics.
Type | Description |
Builder<ListLogMetricsRequest,ListLogMetricsResponse,ListLogMetricsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateLogMetricSettings()
public UnaryCallSettings.Builder<UpdateLogMetricRequest,LogMetric> updateLogMetricSettings()
Returns the builder for the settings used for calls to updateLogMetric.
Type | Description |
Builder<UpdateLogMetricRequest,LogMetric> |