Class UserEventServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<UserEventServiceSettings,UserEventServiceSettings.Builder>
-
- com.google.cloud.discoveryengine.v1beta.UserEventServiceSettings.Builder
-
- Enclosing class:
- UserEventServiceSettings
public static class UserEventServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<UserEventServiceSettings,UserEventServiceSettings.Builder>
Builder for UserEventServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(UserEventServiceStubSettings.Builder stubSettings)protectedBuilder(UserEventServiceSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserEventServiceSettings.BuilderapplyToAllUnaryMethods(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.UserEventServiceSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<CollectUserEventRequest,com.google.api.HttpBody>collectUserEventSettings()Returns the builder for the settings used for calls to collectUserEvent.UserEventServiceStubSettings.BuildergetStubSettingsBuilder()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.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.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(UserEventServiceSettings settings)
-
Builder
protected Builder(UserEventServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public UserEventServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public UserEventServiceSettings.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.
-
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
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 UserEventServiceSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<UserEventServiceSettings,UserEventServiceSettings.Builder>- Throws:
IOException
-
-