Class SubscriptionsServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<SubscriptionsServiceSettings,SubscriptionsServiceSettings.Builder>
com.google.apps.events.subscriptions.v1beta.SubscriptionsServiceSettings.Builder
- Enclosing class:
- SubscriptionsServiceSettings
public static class SubscriptionsServiceSettings.Builder
extends ClientSettings.Builder<SubscriptionsServiceSettings,SubscriptionsServiceSettings.Builder>
Builder for SubscriptionsServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SubscriptionsServiceStubSettings.Builder stubSettings) protectedBuilder(SubscriptionsServiceSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createSubscription.Returns the builder for the settings used for calls to createSubscription.OperationCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty, DeleteSubscriptionMetadata> Returns the builder for the settings used for calls to deleteSubscription.Returns the builder for the settings used for calls to deleteSubscription.Returns the builder for the settings used for calls to getSubscription.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse, SubscriptionsServiceClient.ListSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listSubscriptions.OperationCallSettings.Builder<ReactivateSubscriptionRequest,Subscription, ReactivateSubscriptionMetadata> Returns the builder for the settings used for calls to reactivateSubscription.Returns the builder for the settings used for calls to reactivateSubscription.Returns the builder for the settings used for calls to updateSubscription.Returns the builder for the settings used for calls to updateSubscription.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public SubscriptionsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
-
createSubscriptionSettings
Returns the builder for the settings used for calls to createSubscription. -
createSubscriptionOperationSettings
public OperationCallSettings.Builder<CreateSubscriptionRequest,Subscription, createSubscriptionOperationSettings()CreateSubscriptionMetadata> Returns the builder for the settings used for calls to createSubscription. -
deleteSubscriptionSettings
Returns the builder for the settings used for calls to deleteSubscription. -
deleteSubscriptionOperationSettings
public OperationCallSettings.Builder<DeleteSubscriptionRequest,com.google.protobuf.Empty, deleteSubscriptionOperationSettings()DeleteSubscriptionMetadata> Returns the builder for the settings used for calls to deleteSubscription. -
getSubscriptionSettings
Returns the builder for the settings used for calls to getSubscription. -
listSubscriptionsSettings
public PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse, listSubscriptionsSettings()SubscriptionsServiceClient.ListSubscriptionsPagedResponse> Returns the builder for the settings used for calls to listSubscriptions. -
updateSubscriptionSettings
Returns the builder for the settings used for calls to updateSubscription. -
updateSubscriptionOperationSettings
public OperationCallSettings.Builder<UpdateSubscriptionRequest,Subscription, updateSubscriptionOperationSettings()UpdateSubscriptionMetadata> Returns the builder for the settings used for calls to updateSubscription. -
reactivateSubscriptionSettings
public UnaryCallSettings.Builder<ReactivateSubscriptionRequest,Operation> reactivateSubscriptionSettings()Returns the builder for the settings used for calls to reactivateSubscription. -
reactivateSubscriptionOperationSettings
public OperationCallSettings.Builder<ReactivateSubscriptionRequest,Subscription, reactivateSubscriptionOperationSettings()ReactivateSubscriptionMetadata> Returns the builder for the settings used for calls to reactivateSubscription. -
build
- Specified by:
buildin classClientSettings.Builder<SubscriptionsServiceSettings,SubscriptionsServiceSettings.Builder> - Throws:
IOException
-