public static class PublisherServiceSettings.Builder extends ClientSettings.Builder<PublisherServiceSettings,PublisherServiceSettings.Builder>
Builder for PublisherServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(PublisherServiceSettings settings)
protected Builder(PublisherServiceSettings settings)
Name | Description |
settings | PublisherServiceSettings |
Builder(PublisherServiceStubSettings.Builder stubSettings)
protected Builder(PublisherServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | PublisherServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public PublisherServiceSettings.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 |
PublisherServiceSettings.Builder |
build()
public PublisherServiceSettings build()
Type | Description |
PublisherServiceSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public PublisherServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
PublisherServiceStubSettings.Builder |
publishSettings()
public StreamingCallSettings.Builder<PublishRequest,PublishResponse> publishSettings()
Returns the builder for the settings used for calls to publish.
Type | Description |
Builder<PublishRequest,PublishResponse> |