Class ProjectServiceStubSettings.Builder (0.38.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

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

getProjectSettings()

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

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

Returns
Type Description
Builder<GetProjectRequest,Project>

provisionProjectOperationSettings()

public OperationCallSettings.Builder<ProvisionProjectRequest,Project,ProvisionProjectMetadata> provisionProjectOperationSettings()

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

Returns
Type Description
Builder<ProvisionProjectRequest,Project,ProvisionProjectMetadata>

provisionProjectSettings()

public UnaryCallSettings.Builder<ProvisionProjectRequest,Operation> provisionProjectSettings()

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

Returns
Type Description
Builder<ProvisionProjectRequest,Operation>

reportConsentChangeSettings()

public UnaryCallSettings.Builder<ReportConsentChangeRequest,Project> reportConsentChangeSettings()

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

Returns
Type Description
Builder<ReportConsentChangeRequest,Project>

unaryMethodSettingsBuilders()

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