Class MetricsV1Beta3Settings.Builder (0.51.0)

public static class MetricsV1Beta3Settings.Builder extends ClientSettings.Builder<MetricsV1Beta3Settings,MetricsV1Beta3Settings.Builder>

Builder for MetricsV1Beta3Settings.

Inheritance

java.lang.Object > ClientSettings.Builder > MetricsV1Beta3Settings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(MetricsV1Beta3Settings settings)

protected Builder(MetricsV1Beta3Settings settings)
Parameter
Name Description
settings MetricsV1Beta3Settings

Builder(MetricsV1Beta3StubSettings.Builder stubSettings)

protected Builder(MetricsV1Beta3StubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings MetricsV1Beta3StubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public MetricsV1Beta3Settings.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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
MetricsV1Beta3Settings.Builder

build()

public MetricsV1Beta3Settings build()
Returns
Type Description
MetricsV1Beta3Settings
Overrides
Exceptions
Type Description
IOException

getJobExecutionDetailsSettings()

public PagedCallSettings.Builder<GetJobExecutionDetailsRequest,JobExecutionDetails,MetricsV1Beta3Client.GetJobExecutionDetailsPagedResponse> getJobExecutionDetailsSettings()

Returns the builder for the settings used for calls to getJobExecutionDetails.

Returns
Type Description
Builder<GetJobExecutionDetailsRequest,JobExecutionDetails,GetJobExecutionDetailsPagedResponse>

getJobMetricsSettings()

public UnaryCallSettings.Builder<GetJobMetricsRequest,JobMetrics> getJobMetricsSettings()

Returns the builder for the settings used for calls to getJobMetrics.

Returns
Type Description
Builder<GetJobMetricsRequest,JobMetrics>

getStageExecutionDetailsSettings()

public PagedCallSettings.Builder<GetStageExecutionDetailsRequest,StageExecutionDetails,MetricsV1Beta3Client.GetStageExecutionDetailsPagedResponse> getStageExecutionDetailsSettings()

Returns the builder for the settings used for calls to getStageExecutionDetails.

Returns
Type Description
Builder<GetStageExecutionDetailsRequest,StageExecutionDetails,GetStageExecutionDetailsPagedResponse>

getStubSettingsBuilder()

public MetricsV1Beta3StubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
MetricsV1Beta3StubSettings.Builder