public static class ServiceControllerStubSettings.Builder extends StubSettings.Builder<ServiceControllerStubSettings,ServiceControllerStubSettings.Builder>
Builder for ServiceControllerStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(ServiceControllerStubSettings settings)
protected Builder(ServiceControllerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | ServiceControllerStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ServiceControllerStubSettings.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 |
ServiceControllerStubSettings.Builder |
build()
public ServiceControllerStubSettings build()
Returns | |
---|---|
Type | Description |
ServiceControllerStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
checkSettings()
public UnaryCallSettings.Builder<CheckRequest,CheckResponse> checkSettings()
Returns the builder for the settings used for calls to check.
Returns | |
---|---|
Type | Description |
Builder<CheckRequest,CheckResponse> |
reportSettings()
public UnaryCallSettings.Builder<ReportRequest,ReportResponse> reportSettings()
Returns the builder for the settings used for calls to report.
Returns | |
---|---|
Type | Description |
Builder<ReportRequest,ReportResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |