public static class SubscriberServiceSettings.Builder extends ClientSettings.Builder<SubscriberServiceSettings,SubscriberServiceSettings.Builder>
Builder for SubscriberServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(SubscriberServiceSettings settings)
protected Builder(SubscriberServiceSettings settings)
Name | Description |
settings | SubscriberServiceSettings |
Builder(SubscriberServiceStubSettings.Builder stubSettings)
protected Builder(SubscriberServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | SubscriberServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SubscriberServiceSettings.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<?,?>,Void> |
Type | Description |
SubscriberServiceSettings.Builder |
build()
public SubscriberServiceSettings build()
Type | Description |
SubscriberServiceSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public SubscriberServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
SubscriberServiceStubSettings.Builder |
subscribeSettings()
public StreamingCallSettings.Builder<SubscribeRequest,SubscribeResponse> subscribeSettings()
Returns the builder for the settings used for calls to subscribe.
Type | Description |
Builder<SubscribeRequest,SubscribeResponse> |