public static class TopicStatsServiceStubSettings.Builder extends StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>
Builder for TopicStatsServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(TopicStatsServiceStubSettings settings)
protected Builder(TopicStatsServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | TopicStatsServiceStubSettings |
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 | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Returns | |
---|---|
Type | Description |
TopicStatsServiceStubSettings.Builder |
build()
public TopicStatsServiceStubSettings build()
Returns | |
---|---|
Type | Description |
TopicStatsServiceStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
computeHeadCursorSettings()
public UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorSettings()
Returns the builder for the settings used for calls to computeHeadCursor.
Returns | |
---|---|
Type | Description |
Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> |
computeMessageStatsSettings()
public UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsSettings()
Returns the builder for the settings used for calls to computeMessageStats.
Returns | |
---|---|
Type | Description |
Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> |
computeTimeCursorSettings()
public UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorSettings()
Returns the builder for the settings used for calls to computeTimeCursor.
Returns | |
---|---|
Type | Description |
Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |