Package com.google.cloud.retail.v2alpha
Class UserEventServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<UserEventServiceSettings,UserEventServiceSettings.Builder>
-
- com.google.cloud.retail.v2alpha.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 protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(UserEventServiceStubSettings.Builder stubSettings)
protected
Builder(UserEventServiceSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.UserEventServiceSettings
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.UserEventServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportUserEventsRequest,ImportUserEventsResponse,ImportMetadata>
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.OperationCallSettings.Builder<PurgeUserEventsRequest,PurgeUserEventsResponse,PurgeMetadata>
purgeUserEventsOperationSettings()
Returns the builder for the settings used for calls to purgeUserEvents.com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeUserEventsRequest,com.google.longrunning.Operation>
purgeUserEventsSettings()
Returns the builder for the settings used for calls to purgeUserEvents.com.google.api.gax.rpc.OperationCallSettings.Builder<RejoinUserEventsRequest,RejoinUserEventsResponse,RejoinUserEventsMetadata>
rejoinUserEventsOperationSettings()
Returns the builder for the settings used for calls to rejoinUserEvents.com.google.api.gax.rpc.UnaryCallSettings.Builder<RejoinUserEventsRequest,com.google.longrunning.Operation>
rejoinUserEventsSettings()
Returns the builder for the settings used for calls to rejoinUserEvents.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.
-
purgeUserEventsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PurgeUserEventsRequest,com.google.longrunning.Operation> purgeUserEventsSettings()
Returns the builder for the settings used for calls to purgeUserEvents.
-
purgeUserEventsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PurgeUserEventsRequest,PurgeUserEventsResponse,PurgeMetadata> purgeUserEventsOperationSettings()
Returns the builder for the settings used for calls to purgeUserEvents.
-
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,ImportMetadata> importUserEventsOperationSettings()
Returns the builder for the settings used for calls to importUserEvents.
-
rejoinUserEventsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RejoinUserEventsRequest,com.google.longrunning.Operation> rejoinUserEventsSettings()
Returns the builder for the settings used for calls to rejoinUserEvents.
-
rejoinUserEventsOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RejoinUserEventsRequest,RejoinUserEventsResponse,RejoinUserEventsMetadata> rejoinUserEventsOperationSettings()
Returns the builder for the settings used for calls to rejoinUserEvents.
-
build
public UserEventServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<UserEventServiceSettings,UserEventServiceSettings.Builder>
- Throws:
IOException
-
-