Class TopicStatsServiceStubSettings.Builder (1.12.22)

public static class TopicStatsServiceStubSettings.Builder extends StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>

Builder for TopicStatsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TopicStatsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TopicStatsServiceStubSettings settings)

protected Builder(TopicStatsServiceStubSettings settings)
Parameter
NameDescription
settingsTopicStatsServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public TopicStatsServiceStubSettings.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>

build()

public TopicStatsServiceStubSettings build()
Returns
TypeDescription
TopicStatsServiceStubSettings
Overrides
Exceptions
TypeDescription
IOException

computeHeadCursorSettings()

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

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

computeMessageStatsSettings()

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

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

computeTimeCursorSettings()

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

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>