Class TopicStatsServiceSettings.Builder (1.10.0)

public static class TopicStatsServiceSettings.Builder extends ClientSettings.Builder<TopicStatsServiceSettings,TopicStatsServiceSettings.Builder>

Builder for TopicStatsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TopicStatsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TopicStatsServiceSettings settings)

protected Builder(TopicStatsServiceSettings settings)
Parameter
NameDescription
settingsTopicStatsServiceSettings

Builder(TopicStatsServiceStubSettings.Builder stubSettings)

protected Builder(TopicStatsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTopicStatsServiceStubSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns

build()

public TopicStatsServiceSettings build()
Returns Overrides Exceptions
TypeDescription
IOException

computeHeadCursorSettings()

public UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorSettings()

Returns the builder for the settings used for calls to computeHeadCursor.

Returns

computeMessageStatsSettings()

public UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsSettings()

Returns the builder for the settings used for calls to computeMessageStats.

Returns

computeTimeCursorSettings()

public UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorSettings()

Returns the builder for the settings used for calls to computeTimeCursor.

Returns

getStubSettingsBuilder()

public TopicStatsServiceStubSettings.Builder getStubSettingsBuilder()
Returns