Class EvaluationServiceSettings.Builder (0.50.0)

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

Builder for EvaluationServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EvaluationServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(EvaluationServiceSettings settings)

protected Builder(EvaluationServiceSettings settings)
Parameter
Name Description
settings EvaluationServiceSettings

Builder(EvaluationServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public EvaluationServiceSettings build()
Returns
Type Description
EvaluationServiceSettings
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>

getStubSettingsBuilder()

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

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>