Class ProjectServiceStubSettings.Builder (2.57.0)

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

Builder for ProjectServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ProjectServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ProjectServiceStubSettings settings)

protected Builder(ProjectServiceStubSettings settings)
Parameter
Name Description
settings ProjectServiceStubSettings

Methods

acceptTermsSettings()

public UnaryCallSettings.Builder<AcceptTermsRequest,Project> acceptTermsSettings()

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

Returns
Type Description
Builder<AcceptTermsRequest,Project>

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

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

build()

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

enrollSolutionOperationSettings()

public OperationCallSettings.Builder<EnrollSolutionRequest,EnrollSolutionResponse,EnrollSolutionMetadata> enrollSolutionOperationSettings()

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

Returns
Type Description
Builder<EnrollSolutionRequest,EnrollSolutionResponse,EnrollSolutionMetadata>

enrollSolutionSettings()

public UnaryCallSettings.Builder<EnrollSolutionRequest,Operation> enrollSolutionSettings()

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

Returns
Type Description
Builder<EnrollSolutionRequest,Operation>

getAlertConfigSettings()

public UnaryCallSettings.Builder<GetAlertConfigRequest,AlertConfig> getAlertConfigSettings()

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

Returns
Type Description
Builder<GetAlertConfigRequest,AlertConfig>

getLoggingConfigSettings()

public UnaryCallSettings.Builder<GetLoggingConfigRequest,LoggingConfig> getLoggingConfigSettings()

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

Returns
Type Description
Builder<GetLoggingConfigRequest,LoggingConfig>

getProjectSettings()

public UnaryCallSettings.Builder<GetProjectRequest,Project> getProjectSettings()

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

Returns
Type Description
Builder<GetProjectRequest,Project>

listEnrolledSolutionsSettings()

public UnaryCallSettings.Builder<ListEnrolledSolutionsRequest,ListEnrolledSolutionsResponse> listEnrolledSolutionsSettings()

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

Returns
Type Description
Builder<ListEnrolledSolutionsRequest,ListEnrolledSolutionsResponse>

unaryMethodSettingsBuilders()

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

updateAlertConfigSettings()

public UnaryCallSettings.Builder<UpdateAlertConfigRequest,AlertConfig> updateAlertConfigSettings()

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

Returns
Type Description
Builder<UpdateAlertConfigRequest,AlertConfig>

updateLoggingConfigSettings()

public UnaryCallSettings.Builder<UpdateLoggingConfigRequest,LoggingConfig> updateLoggingConfigSettings()

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

Returns
Type Description
Builder<UpdateLoggingConfigRequest,LoggingConfig>