Class UserEventServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>
-
- com.google.cloud.discoveryengine.v1.stub.UserEventServiceStubSettings.Builder
-
- Enclosing class:
- UserEventServiceStubSettings
public static class UserEventServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>
Builder for UserEventServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(UserEventServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserEventServiceStubSettings.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.UserEventServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CollectUserEventRequest,com.google.api.HttpBody>
collectUserEventSettings()
Returns the builder for the settings used for calls to collectUserEvent.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata>
importUserEventsOperationSettings()
Returns the builder for the settings used for calls to importUserEvents.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportUserEventsRequest,com.google.longrunning.Operation>
importUserEventsSettings()
Returns the builder for the settings used for calls to importUserEvents.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<WriteUserEventRequest,UserEvent>
writeUserEventSettings()
Returns the builder for the settings used for calls to writeUserEvent.-
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(UserEventServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public UserEventServiceStubSettings.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()
-
writeUserEventSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<WriteUserEventRequest,UserEvent> writeUserEventSettings()
Returns the builder for the settings used for calls to writeUserEvent.
-
collectUserEventSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CollectUserEventRequest,com.google.api.HttpBody> collectUserEventSettings()
Returns the builder for the settings used for calls to collectUserEvent.
-
importUserEventsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportUserEventsRequest,com.google.longrunning.Operation> importUserEventsSettings()
Returns the builder for the settings used for calls to importUserEvents.
-
importUserEventsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata> importUserEventsOperationSettings()
Returns the builder for the settings used for calls to importUserEvents.
-
build
public UserEventServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>
- Throws:
IOException
-
-