public static class DeploymentsSettings.Builder extends ClientSettings.Builder<DeploymentsSettings,DeploymentsSettings.Builder>
Builder for DeploymentsSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(DeploymentsSettings settings)
protected Builder(DeploymentsSettings settings)
Name | Description |
settings | DeploymentsSettings |
Builder(DeploymentsStubSettings.Builder stubSettings)
protected Builder(DeploymentsStubSettings.Builder stubSettings)
Name | Description |
stubSettings | DeploymentsStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DeploymentsSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
DeploymentsSettings.Builder |
build()
public DeploymentsSettings build()
Type | Description |
DeploymentsSettings |
Type | Description |
IOException |
getDeploymentSettings()
public UnaryCallSettings.Builder<GetDeploymentRequest,Deployment> getDeploymentSettings()
Returns the builder for the settings used for calls to getDeployment.
Type | Description |
Builder<GetDeploymentRequest,Deployment> |
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getStubSettingsBuilder()
public DeploymentsStubSettings.Builder getStubSettingsBuilder()
Type | Description |
DeploymentsStubSettings.Builder |
listDeploymentsSettings()
public PagedCallSettings.Builder<ListDeploymentsRequest,ListDeploymentsResponse,DeploymentsClient.ListDeploymentsPagedResponse> listDeploymentsSettings()
Returns the builder for the settings used for calls to listDeployments.
Type | Description |
Builder<ListDeploymentsRequest,ListDeploymentsResponse,ListDeploymentsPagedResponse> |
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DeploymentsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Type | Description |
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |