public static class SubscriberStubSettings.Builder extends StubSettings.Builder<SubscriberStubSettings,SubscriberStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(SubscriberStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<com.google.pubsub.v1.AcknowledgeRequest,Empty> |
acknowledgeSettings()
Returns the builder for the settings used for calls to acknowledge.
|
SubscriberStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
SubscriberStubSettings |
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.
|
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.ModifyAckDeadlineRequest,Empty> |
modifyAckDeadlineSettings()
Returns the builder for the settings used for calls to modifyAckDeadline.
|
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.PullRequest,com.google.pubsub.v1.PullResponse> |
pullSettings()
Returns the builder for the settings used for calls to pull.
|
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.
|
StreamingCallSettings.Builder<com.google.pubsub.v1.StreamingPullRequest,com.google.pubsub.v1.StreamingPullResponse> |
streamingPullSettings()
Returns the builder for the settings used for calls to streamingPull.
|
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.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(SubscriberStubSettings settings)
public SubscriberStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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.ModifyAckDeadlineRequest,Empty> modifyAckDeadlineSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.AcknowledgeRequest,Empty> acknowledgeSettings()
public UnaryCallSettings.Builder<com.google.pubsub.v1.PullRequest,com.google.pubsub.v1.PullResponse> pullSettings()
public StreamingCallSettings.Builder<com.google.pubsub.v1.StreamingPullRequest,com.google.pubsub.v1.StreamingPullResponse> streamingPullSettings()
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 SubscriberStubSettings build() throws IOException
build
in class StubSettings.Builder<SubscriberStubSettings,SubscriberStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.