public static class SubscriberStubSettings.Builder extends StubSettings.Builder<SubscriberStubSettings,SubscriberStubSettings.Builder>Builder for SubscriberStubSettings.
Constructors
Builder()
protected Builder()Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)| Name | Description |
| clientContext | ClientContext |
Builder(SubscriberStubSettings settings)
protected Builder(SubscriberStubSettings settings)| Name | Description |
| settings | SubscriberStubSettings |
Methods
acknowledgeSettings()
public UnaryCallSettings.Builder<AcknowledgeRequest,Empty> acknowledgeSettings()Returns the builder for the settings used for calls to acknowledge.
| Type | Description |
| Builder<AcknowledgeRequest,Empty> |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SubscriberStubSettings.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.
| Name | Description |
| settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
| Type | Description |
| SubscriberStubSettings.Builder |
build()
public SubscriberStubSettings build()| Type | Description |
| SubscriberStubSettings |
| Type | Description |
| IOException |
createSnapshotSettings()
public UnaryCallSettings.Builder<CreateSnapshotRequest,Snapshot> createSnapshotSettings()Returns the builder for the settings used for calls to createSnapshot.
| Type | Description |
| Builder<CreateSnapshotRequest,Snapshot> |
createSubscriptionSettings()
public UnaryCallSettings.Builder<Subscription,Subscription> createSubscriptionSettings()Returns the builder for the settings used for calls to createSubscription.
| Type | Description |
| Builder<Subscription,Subscription> |
deleteSnapshotSettings()
public UnaryCallSettings.Builder<DeleteSnapshotRequest,Empty> deleteSnapshotSettings()Returns the builder for the settings used for calls to deleteSnapshot.
| Type | Description |
| Builder<DeleteSnapshotRequest,Empty> |
deleteSubscriptionSettings()
public UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()Returns the builder for the settings used for calls to deleteSubscription.
| Type | Description |
| Builder<DeleteSubscriptionRequest,Empty> |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy.
| Type | Description |
| Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getSnapshotSettings()
public UnaryCallSettings.Builder<GetSnapshotRequest,Snapshot> getSnapshotSettings()Returns the builder for the settings used for calls to getSnapshot.
| Type | Description |
| Builder<GetSnapshotRequest,Snapshot> |
getSubscriptionSettings()
public UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()Returns the builder for the settings used for calls to getSubscription.
| Type | Description |
| Builder<GetSubscriptionRequest,Subscription> |
listSnapshotsSettings()
public PagedCallSettings.Builder<ListSnapshotsRequest,ListSnapshotsResponse,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsSettings()Returns the builder for the settings used for calls to listSnapshots.
| Type | Description |
| Builder<ListSnapshotsRequest,ListSnapshotsResponse,ListSnapshotsPagedResponse> |
listSubscriptionsSettings()
public PagedCallSettings.Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsSettings()Returns the builder for the settings used for calls to listSubscriptions.
| Type | Description |
| Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,ListSubscriptionsPagedResponse> |
modifyAckDeadlineSettings()
public UnaryCallSettings.Builder<ModifyAckDeadlineRequest,Empty> modifyAckDeadlineSettings()Returns the builder for the settings used for calls to modifyAckDeadline.
| Type | Description |
| Builder<ModifyAckDeadlineRequest,Empty> |
modifyPushConfigSettings()
public UnaryCallSettings.Builder<ModifyPushConfigRequest,Empty> modifyPushConfigSettings()Returns the builder for the settings used for calls to modifyPushConfig.
| Type | Description |
| Builder<ModifyPushConfigRequest,Empty> |
pullSettings()
public UnaryCallSettings.Builder<PullRequest,PullResponse> pullSettings()Returns the builder for the settings used for calls to pull.
| Type | Description |
| Builder<PullRequest,PullResponse> |
seekSettings()
public UnaryCallSettings.Builder<SeekRequest,SeekResponse> seekSettings()Returns the builder for the settings used for calls to seek.
| Type | Description |
| Builder<SeekRequest,SeekResponse> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy.
| Type | Description |
| Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
streamingPullSettings()
public StreamingCallSettings.Builder<StreamingPullRequest,StreamingPullResponse> streamingPullSettings()Returns the builder for the settings used for calls to streamingPull.
| Type | Description |
| Builder<StreamingPullRequest,StreamingPullResponse> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions.
| Type | Description |
| Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()| Type | Description |
| com.google.common.collect.ImmutableList<Builder<?,?>> |
updateSnapshotSettings()
public UnaryCallSettings.Builder<UpdateSnapshotRequest,Snapshot> updateSnapshotSettings()Returns the builder for the settings used for calls to updateSnapshot.
| Type | Description |
| Builder<UpdateSnapshotRequest,Snapshot> |
updateSubscriptionSettings()
public UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()Returns the builder for the settings used for calls to updateSubscription.
| Type | Description |
| Builder<UpdateSubscriptionRequest,Subscription> |