Class EvaluationServiceStubSettings.Builder (0.44.0)

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

Builder for EvaluationServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EvaluationServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EvaluationServiceStubSettings settings)

protected Builder(EvaluationServiceStubSettings settings)
Parameter
Name Description
settings EvaluationServiceStubSettings

Methods

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

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

build()

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

createEvaluationOperationSettings()

public OperationCallSettings.Builder<CreateEvaluationRequest,Evaluation,CreateEvaluationMetadata> createEvaluationOperationSettings()

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

Returns
Type Description
Builder<CreateEvaluationRequest,Evaluation,CreateEvaluationMetadata>

createEvaluationSettings()

public UnaryCallSettings.Builder<CreateEvaluationRequest,Operation> createEvaluationSettings()

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

Returns
Type Description
Builder<CreateEvaluationRequest,Operation>

getEvaluationSettings()

public UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()

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

Returns
Type Description
Builder<GetEvaluationRequest,Evaluation>

listEvaluationResultsSettings()

public PagedCallSettings.Builder<ListEvaluationResultsRequest,ListEvaluationResultsResponse,EvaluationServiceClient.ListEvaluationResultsPagedResponse> listEvaluationResultsSettings()

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

Returns
Type Description
Builder<ListEvaluationResultsRequest,ListEvaluationResultsResponse,ListEvaluationResultsPagedResponse>

listEvaluationsSettings()

public PagedCallSettings.Builder<ListEvaluationsRequest,ListEvaluationsResponse,EvaluationServiceClient.ListEvaluationsPagedResponse> listEvaluationsSettings()

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

Returns
Type Description
Builder<ListEvaluationsRequest,ListEvaluationsResponse,ListEvaluationsPagedResponse>

unaryMethodSettingsBuilders()

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