Class TopicStatsServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>
-
- com.google.cloud.pubsublite.v1.stub.TopicStatsServiceStubSettings.Builder
-
- Enclosing class:
- TopicStatsServiceStubSettings
public static class TopicStatsServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>
Builder for TopicStatsServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(TopicStatsServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopicStatsServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.TopicStatsServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse>
computeHeadCursorSettings()
Returns the builder for the settings used for calls to computeHeadCursor.com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse>
computeMessageStatsSettings()
Returns the builder for the settings used for calls to computeMessageStats.com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse>
computeTimeCursorSettings()
Returns the builder for the settings used for calls to computeTimeCursor.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(TopicStatsServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public TopicStatsServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
computeMessageStatsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsSettings()
Returns the builder for the settings used for calls to computeMessageStats.
-
computeHeadCursorSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorSettings()
Returns the builder for the settings used for calls to computeHeadCursor.
-
computeTimeCursorSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorSettings()
Returns the builder for the settings used for calls to computeTimeCursor.
-
build
public TopicStatsServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>
- Throws:
IOException
-
-