public static class HealthCheckServiceSettings.Builder extends ClientSettings.Builder<HealthCheckServiceSettings,HealthCheckServiceSettings.Builder>
Builder for HealthCheckServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Builder(HealthCheckServiceSettings settings)
protected Builder(HealthCheckServiceSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
HealthCheckServiceSettings |
Builder(HealthCheckServiceStubSettings.Builder stubSettings)
protected Builder(HealthCheckServiceStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings |
HealthCheckServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public HealthCheckServiceSettings.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 |
HealthCheckServiceSettings.Builder |
build()
public HealthCheckServiceSettings build()
Returns | |
---|---|
Type | Description |
HealthCheckServiceSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getStubSettingsBuilder()
public HealthCheckServiceStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
HealthCheckServiceStubSettings.Builder |
healthCheckSettings()
public UnaryCallSettings.Builder<HealthCheckRequest,HealthCheckResponse> healthCheckSettings()
Returns the builder for the settings used for calls to healthCheck.
Returns | |
---|---|
Type | Description |
Builder<HealthCheckRequest,HealthCheckResponse> |