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
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) protectedBuilder(TopicStatsServiceStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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.build()com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeHeadCursorRequest,ComputeHeadCursorResponse> Returns the builder for the settings used for calls to computeHeadCursor.com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeMessageStatsRequest,ComputeMessageStatsResponse> Returns the builder for the settings used for calls to computeMessageStats.com.google.api.gax.rpc.UnaryCallSettings.Builder<ComputeTimeCursorRequest,ComputeTimeCursorResponse> Returns the builder for the settings used for calls to computeTimeCursor.Returns the endpoint set by the user or the the service's default endpoint.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, 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, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
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. -
getEndpoint
Returns the endpoint set by the user or the the service's default endpoint.- Overrides:
getEndpointin classcom.google.api.gax.rpc.StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder>
-
build
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<TopicStatsServiceStubSettings,TopicStatsServiceStubSettings.Builder> - Throws:
IOException
-