public static class SubscriptionAdminSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.AcknowledgeRequest,com.google.protobuf.Empty> |
acknowledgeSettings()
Returns the builder for the settings used for calls to acknowledge.
|
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<com.google.pubsub.v1.CreateSnapshotRequest,com.google.pubsub.v1.Snapshot> |
createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.Subscription,com.google.pubsub.v1.Subscription> |
createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSnapshotRequest,com.google.protobuf.Empty> |
deleteSnapshotSettings()
Returns the builder for the settings used for calls to deleteSnapshot.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSubscriptionRequest,com.google.protobuf.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.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.GetSubscriptionRequest,com.google.pubsub.v1.Subscription> |
getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.pubsub.v1.ListSnapshotsRequest,com.google.pubsub.v1.ListSnapshotsResponse,PagedResponseWrappers.ListSnapshotsPagedResponse> |
listSnapshotsSettings()
Returns the builder for the settings used for calls to listSnapshots.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.pubsub.v1.ListSubscriptionsRequest,com.google.pubsub.v1.ListSubscriptionsResponse,PagedResponseWrappers.ListSubscriptionsPagedResponse> |
listSubscriptionsSettings()
Returns the builder for the settings used for calls to listSubscriptions.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyAckDeadlineRequest,com.google.protobuf.Empty> |
modifyAckDeadlineSettings()
Returns the builder for the settings used for calls to modifyAckDeadline.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyPushConfigRequest,com.google.protobuf.Empty> |
modifyPushConfigSettings()
Returns the builder for the settings used for calls to modifyPushConfig.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.PullRequest,com.google.pubsub.v1.PullResponse> |
pullSettings()
Returns the builder for the settings used for calls to pull.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.SeekRequest,com.google.pubsub.v1.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.StreamingCallSettings.Builder<com.google.pubsub.v1.StreamingPullRequest,com.google.pubsub.v1.StreamingPullResponse> |
streamingPullSettings()
Returns the builder for the settings used for calls to streamingPull.
|
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<com.google.pubsub.v1.UpdateSnapshotRequest,com.google.pubsub.v1.Snapshot> |
updateSnapshotSettings()
Returns the builder for the settings used for calls to updateSnapshot.
|
com.google.api.gax.rpc.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, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setTransportChannelProvider, toStringpublic 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.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.Subscription,com.google.pubsub.v1.Subscription> createSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.GetSubscriptionRequest,com.google.pubsub.v1.Subscription> getSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSubscriptionRequest,com.google.pubsub.v1.Subscription> updateSubscriptionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.pubsub.v1.ListSubscriptionsRequest,com.google.pubsub.v1.ListSubscriptionsResponse,PagedResponseWrappers.ListSubscriptionsPagedResponse> listSubscriptionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSubscriptionRequest,com.google.protobuf.Empty> deleteSubscriptionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyAckDeadlineRequest,com.google.protobuf.Empty> modifyAckDeadlineSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.AcknowledgeRequest,com.google.protobuf.Empty> acknowledgeSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.PullRequest,com.google.pubsub.v1.PullResponse> pullSettings()
public com.google.api.gax.rpc.StreamingCallSettings.Builder<com.google.pubsub.v1.StreamingPullRequest,com.google.pubsub.v1.StreamingPullResponse> streamingPullSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.ModifyPushConfigRequest,com.google.protobuf.Empty> modifyPushConfigSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.pubsub.v1.ListSnapshotsRequest,com.google.pubsub.v1.ListSnapshotsResponse,PagedResponseWrappers.ListSnapshotsPagedResponse> listSnapshotsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.CreateSnapshotRequest,com.google.pubsub.v1.Snapshot> createSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.UpdateSnapshotRequest,com.google.pubsub.v1.Snapshot> updateSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.DeleteSnapshotRequest,com.google.protobuf.Empty> deleteSnapshotSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.pubsub.v1.SeekRequest,com.google.pubsub.v1.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>IOExceptionCopyright © 2017 Google. All rights reserved.