Class DeploymentsStubSettings.Builder (0.13.1)

See more code actions.
public static class DeploymentsStubSettings.Builder extends StubSettings.Builder<DeploymentsStubSettings,DeploymentsStubSettings.Builder>

Builder for DeploymentsStubSettings.

java.lang.Object > StubSettings.Builder > DeploymentsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DeploymentsStubSettings settings)

protected Builder(DeploymentsStubSettings settings)
Parameter
Name Description
settings DeploymentsStubSettings

Methods

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

public DeploymentsStubSettings.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

build()

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

getDeploymentSettings()

public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()

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

Returns

listDeploymentsSettings()

public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,DeploymentsClient.ListDeploymentsPagedResponse> listDeploymentsSettings()

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

Returns

unaryMethodSettingsBuilders()

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