public static class TopicStatsServiceSettings.Builder extends ClientSettings.Builder<TopicStatsServiceSettings,TopicStatsServiceSettings.Builder>
Builder for TopicStatsServiceSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(TopicStatsServiceSettings settings)
protected Builder(TopicStatsServiceSettings settings)
Name | Description |
settings | TopicStatsServiceSettings |
Builder(TopicStatsServiceStubSettings.Builder stubSettings)
protected Builder(TopicStatsServiceStubSettings.Builder stubSettings)
Name | Description |
stubSettings | TopicStatsServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public TopicStatsServiceSettings.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 |
TopicStatsServiceSettings.Builder |
build()
public TopicStatsServiceSettings build()
Type | Description |
TopicStatsServiceSettings |
Type | Description |
IOException |
computeHeadCursorSettings()
public UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorSettings()
Returns the builder for the settings used for calls to computeHeadCursor.
Type | Description |
Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> |
computeMessageStatsSettings()
public UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsSettings()
Returns the builder for the settings used for calls to computeMessageStats.
Type | Description |
Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> |
computeTimeCursorSettings()
public UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorSettings()
Returns the builder for the settings used for calls to computeTimeCursor.
Type | Description |
Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> |
getStubSettingsBuilder()
public TopicStatsServiceStubSettings.Builder getStubSettingsBuilder()
Type | Description |
TopicStatsServiceStubSettings.Builder |