Class ServiceControllerStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ServiceControllerStubSettings,ServiceControllerStubSettings.Builder>
-
- com.google.api.servicecontrol.v1.stub.ServiceControllerStubSettings.Builder
-
- Enclosing class:
- ServiceControllerStubSettings
public static class ServiceControllerStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ServiceControllerStubSettings,ServiceControllerStubSettings.Builder>
Builder for ServiceControllerStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ServiceControllerStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceControllerStubSettings.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.ServiceControllerStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckRequest,CheckResponse>
checkSettings()
Returns the builder for the settings used for calls to check.com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRequest,ReportResponse>
reportSettings()
Returns the builder for the settings used for calls to report.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(ServiceControllerStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ServiceControllerStubSettings.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()
-
checkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CheckRequest,CheckResponse> checkSettings()
Returns the builder for the settings used for calls to check.
-
reportSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ReportRequest,ReportResponse> reportSettings()
Returns the builder for the settings used for calls to report.
-
build
public ServiceControllerStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ServiceControllerStubSettings,ServiceControllerStubSettings.Builder>
- Throws:
IOException
-
-