public static class SubscriptionAdminSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(SubscriberStubSettings.Builder stubSettings) |
protected |
Builder(SubscriptionAdminSettings settings) |
Modifier and Type | Method and Description |
---|---|
SubscriptionAdminSettings.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.
|
SubscriptionAdminSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotRequest,Snapshot> |
createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<Subscription,Subscription> |
createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSnapshotRequest,Empty> |
deleteSnapshotSettings()
Returns the builder for the settings used for calls to deleteSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> |
deleteSubscriptionSettings()
Returns the builder for the settings used for calls to deleteSubscription.
|
com.google.api.gax.rpc.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() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> |
getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSnapshotsRequest,ListSnapshotsResponse,SubscriptionAdminClient.ListSnapshotsPagedResponse> |
listSnapshotsSettings()
Returns the builder for the settings used for calls to listSnapshots.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,SubscriptionAdminClient.ListSubscriptionsPagedResponse> |
listSubscriptionsSettings()
Returns the builder for the settings used for calls to listSubscriptions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ModifyPushConfigRequest,Empty> |
modifyPushConfigSettings()
Returns the builder for the settings used for calls to modifyPushConfig.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SeekRequest,SeekResponse> |
seekSettings()
Returns the builder for the settings used for calls to seek.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSnapshotRequest,Snapshot> |
updateSnapshotSettings()
Returns the builder for the settings used for calls to updateSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(SubscriptionAdminSettings settings)
protected Builder(SubscriberStubSettings.Builder stubSettings)
public SubscriberStubSettings.Builder getStubSettingsBuilder()
public SubscriptionAdminSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<Subscription,Subscription> createSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ModifyPushConfigRequest,Empty> modifyPushConfigSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListSnapshotsRequest,ListSnapshotsResponse,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateSnapshotRequest,Snapshot> createSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateSnapshotRequest,Snapshot> updateSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteSnapshotRequest,Empty> deleteSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SeekRequest,SeekResponse> seekSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public SubscriptionAdminSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.