public static class UserEventServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(UserEventServiceStubSettings settings) |
| Modifier and Type | Method and 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.
|
String |
getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
|
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.
|
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, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(UserEventServiceStubSettings settings)
public UserEventServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<WriteUserEventRequest,UserEvent> writeUserEventSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CollectUserEventRequest,com.google.api.HttpBody> collectUserEventSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportUserEventsRequest,com.google.longrunning.Operation> importUserEventsSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportUserEventsRequest,ImportUserEventsResponse,ImportUserEventsMetadata> importUserEventsOperationSettings()
public String getEndpoint()
getEndpoint in class com.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>public UserEventServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<UserEventServiceStubSettings,UserEventServiceStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.