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