public static class SubscriptionAdminSettings.Builder extends ClientSettings.Builder<SubscriptionAdminSettings,SubscriptionAdminSettings.Builder>
Builder for SubscriptionAdminSettings.
Inherited Members
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(SubscriptionAdminSettings settings)
protected Builder(SubscriptionAdminSettings settings)
Parameter | |
---|---|
Name | Description |
settings | SubscriptionAdminSettings |
Builder(SubscriberStubSettings.Builder stubSettings)
protected Builder(SubscriberStubSettings.Builder stubSettings)
Parameter | |
---|---|
Name | Description |
stubSettings | SubscriberStubSettings.Builder |
Methods
acknowledgeSettings()
public UnaryCallSettings.Builder<AcknowledgeRequest,Empty> acknowledgeSettings()
Returns the builder for the settings used for calls to acknowledge.
Returns | |
---|---|
Type | Description |
Builder<AcknowledgeRequest,Empty> |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SubscriptionAdminSettings.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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
SubscriptionAdminSettings.Builder |
build()
public SubscriptionAdminSettings build()
Returns | |
---|---|
Type | Description |
SubscriptionAdminSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createSnapshotSettings()
public UnaryCallSettings.Builder<CreateSnapshotRequest,Snapshot> createSnapshotSettings()
Returns the builder for the settings used for calls to createSnapshot.
Returns | |
---|---|
Type | Description |
Builder<CreateSnapshotRequest,Snapshot> |
createSubscriptionSettings()
public UnaryCallSettings.Builder<Subscription,Subscription> createSubscriptionSettings()
Returns the builder for the settings used for calls to createSubscription.
Returns | |
---|---|
Type | Description |
Builder<Subscription,Subscription> |
deleteSnapshotSettings()
public UnaryCallSettings.Builder<DeleteSnapshotRequest,Empty> deleteSnapshotSettings()
Returns the builder for the settings used for calls to deleteSnapshot.
Returns | |
---|---|
Type | Description |
Builder<DeleteSnapshotRequest,Empty> |
deleteSubscriptionSettings()
public UnaryCallSettings.Builder<DeleteSubscriptionRequest,Empty> deleteSubscriptionSettings()
Returns the builder for the settings used for calls to deleteSubscription.
Returns | |
---|---|
Type | Description |
Builder<DeleteSubscriptionRequest,Empty> |
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<GetSnapshotRequest,Snapshot> |
getStubSettingsBuilder()
public SubscriberStubSettings.Builder getStubSettingsBuilder()
Returns | |
---|---|
Type | Description |
SubscriberStubSettings.Builder |
getSubscriptionSettings()
public UnaryCallSettings.Builder<GetSubscriptionRequest,Subscription> getSubscriptionSettings()
Returns the builder for the settings used for calls to getSubscription.
Returns | |
---|---|
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.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<ListSubscriptionsRequest,ListSubscriptionsResponse,ListSubscriptionsPagedResponse> |
modifyAckDeadlineSettings()
public UnaryCallSettings.Builder<ModifyAckDeadlineRequest,Empty> modifyAckDeadlineSettings()
Returns the builder for the settings used for calls to modifyAckDeadline.
Returns | |
---|---|
Type | Description |
Builder<ModifyAckDeadlineRequest,Empty> |
modifyPushConfigSettings()
public UnaryCallSettings.Builder<ModifyPushConfigRequest,Empty> modifyPushConfigSettings()
Returns the builder for the settings used for calls to modifyPushConfig.
Returns | |
---|---|
Type | Description |
Builder<ModifyPushConfigRequest,Empty> |
pullSettings()
public UnaryCallSettings.Builder<PullRequest,PullResponse> pullSettings()
Returns the builder for the settings used for calls to pull.
Returns | |
---|---|
Type | Description |
Builder<PullRequest,PullResponse> |
seekSettings()
public UnaryCallSettings.Builder<SeekRequest,SeekResponse> seekSettings()
Returns the builder for the settings used for calls to seek.
Returns | |
---|---|
Type | Description |
Builder<SeekRequest,SeekResponse> |
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns | |
---|---|
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.
Returns | |
---|---|
Type | Description |
Builder<StreamingPullRequest,StreamingPullResponse> |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns | |
---|---|
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateSnapshotSettings()
public UnaryCallSettings.Builder<UpdateSnapshotRequest,Snapshot> updateSnapshotSettings()
Returns the builder for the settings used for calls to updateSnapshot.
Returns | |
---|---|
Type | Description |
Builder<UpdateSnapshotRequest,Snapshot> |
updateSubscriptionSettings()
public UnaryCallSettings.Builder<UpdateSubscriptionRequest,Subscription> updateSubscriptionSettings()
Returns the builder for the settings used for calls to updateSubscription.
Returns | |
---|---|
Type | Description |
Builder<UpdateSubscriptionRequest,Subscription> |