Class MetricsV1Beta3Settings.Builder (0.13.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
NameDescription
clientContextClientContext

Builder(MetricsV1Beta3Settings settings)

protected Builder(MetricsV1Beta3Settings settings)
Parameter
NameDescription
settingsMetricsV1Beta3Settings

Builder(MetricsV1Beta3StubSettings.Builder stubSettings)

protected Builder(MetricsV1Beta3StubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMetricsV1Beta3StubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
MetricsV1Beta3Settings.Builder

build()

public MetricsV1Beta3Settings build()
Returns
TypeDescription
MetricsV1Beta3Settings
Overrides Exceptions
TypeDescription
IOException

getJobExecutionDetailsSettings()

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

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

Returns
TypeDescription
Builder<GetJobExecutionDetailsRequest,JobExecutionDetails,GetJobExecutionDetailsPagedResponse>

getJobMetricsSettings()

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

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

Returns
TypeDescription
Builder<GetJobMetricsRequest,JobMetrics>

getStageExecutionDetailsSettings()

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

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

Returns
TypeDescription
Builder<GetStageExecutionDetailsRequest,StageExecutionDetails,GetStageExecutionDetailsPagedResponse>

getStubSettingsBuilder()

public MetricsV1Beta3StubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
MetricsV1Beta3StubSettings.Builder