Class MetricsV1Beta3StubSettings.Builder (0.38.0)

public static class MetricsV1Beta3StubSettings.Builder extends StubSettings.Builder<MetricsV1Beta3StubSettings,MetricsV1Beta3StubSettings.Builder>

Builder for MetricsV1Beta3StubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MetricsV1Beta3StubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MetricsV1Beta3StubSettings settings)

protected Builder(MetricsV1Beta3StubSettings settings)
Parameter
NameDescription
settingsMetricsV1Beta3StubSettings

Methods

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

public MetricsV1Beta3StubSettings.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
MetricsV1Beta3StubSettings.Builder

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>