public static class SubscriptionAdminSettings.Builder extends ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SubscriberStubSettings.Builder stubSettings) |
protected |
Builder(SubscriptionAdminSettings settings) |
Modifier and Type | Method and Description |
---|---|
SubscriptionAdminSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SubscriptionAdminSettings |
build() |
UnaryCallSettings.Builder<com.google.pubsub.v1.CreateSnapshotRequest,com.google.pubsub.v1.Snapshot> |
createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.Subscription,com.google.pubsub.v1.Subscription> |
createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSnapshotRequest,Empty> |
deleteSnapshotSettings()
Returns the builder for the settings used for calls to deleteSnapshot.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSubscriptionRequest,Empty> |
deleteSubscriptionSettings()
Returns the builder for the settings used for calls to deleteSubscription.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
SubscriberStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.pubsub.v1.GetSubscriptionRequest,com.google.pubsub.v1.Subscription> |
getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
|
PagedCallSettings.Builder<com.google.pubsub.v1.ListSnapshotsRequest,com.google.pubsub.v1.ListSnapshotsResponse,SubscriptionAdminClient.ListSnapshotsPagedResponse> |
listSnapshotsSettings()
Returns the builder for the settings used for calls to listSnapshots.
|
PagedCallSettings.Builder<com.google.pubsub.v1.ListSubscriptionsRequest,com.google.pubsub.v1.ListSubscriptionsResponse,SubscriptionAdminClient.ListSubscriptionsPagedResponse> |
listSubscriptionsSettings()
Returns the builder for the settings used for calls to listSubscriptions.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyPushConfigRequest,Empty> |
modifyPushConfigSettings()
Returns the builder for the settings used for calls to modifyPushConfig.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.SeekRequest,com.google.pubsub.v1.SeekResponse> |
seekSettings()
Returns the builder for the settings used for calls to seek.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSnapshotRequest,com.google.pubsub.v1.Snapshot> |
updateSnapshotSettings()
Returns the builder for the settings used for calls to updateSnapshot.
|
UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSubscriptionRequest,com.google.pubsub.v1.Subscription> |
updateSubscriptionSettings()
Returns the builder for the settings used for calls to updateSubscription.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(SubscriptionAdminSettings settings)
protected Builder(SubscriberStubSettings.Builder stubSettings)
public SubscriberStubSettings.Builder getStubSettingsBuilder()
public SubscriptionAdminSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.pubsub.v1.Subscription,com.google.pubsub.v1.Subscription> createSubscriptionSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.GetSubscriptionRequest,com.google.pubsub.v1.Subscription> getSubscriptionSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSubscriptionRequest,com.google.pubsub.v1.Subscription> updateSubscriptionSettings()
public PagedCallSettings.Builder<com.google.pubsub.v1.ListSubscriptionsRequest,com.google.pubsub.v1.ListSubscriptionsResponse,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyPushConfigRequest,Empty> modifyPushConfigSettings()
public PagedCallSettings.Builder<com.google.pubsub.v1.ListSnapshotsRequest,com.google.pubsub.v1.ListSnapshotsResponse,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.CreateSnapshotRequest,com.google.pubsub.v1.Snapshot> createSnapshotSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSnapshotRequest,com.google.pubsub.v1.Snapshot> updateSnapshotSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSnapshotRequest,Empty> deleteSnapshotSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.SeekRequest,com.google.pubsub.v1.SeekResponse> seekSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public SubscriptionAdminSettings build() throws IOException
build
in class ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.