Class SubscriptionsServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<SubscriptionsServiceStubSettings,SubscriptionsServiceStubSettings.Builder>
com.google.apps.events.subscriptions.v1beta.stub.SubscriptionsServiceStubSettings.Builder
- Enclosing class:
- SubscriptionsServiceStubSettings
public static class SubscriptionsServiceStubSettings.Builder
extends StubSettings.Builder<SubscriptionsServiceStubSettings,SubscriptionsServiceStubSettings.Builder>
Builder for SubscriptionsServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(SubscriptionsServiceStubSettings 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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public SubscriptionsServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<SubscriptionsServiceStubSettings,SubscriptionsServiceStubSettings.Builder> - Throws:
IOException
-