public abstract class SubscriberStub implements BackgroundResource
Base stub class for the Subscriber service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
SubscriberStub()
Methods
acknowledgeCallable()
public UnaryCallable<AcknowledgeRequest,Empty> acknowledgeCallable()
close()
public abstract void close()
createSnapshotCallable()
public UnaryCallable<CreateSnapshotRequest,Snapshot> createSnapshotCallable()
createSubscriptionCallable()
public UnaryCallable<Subscription,Subscription> createSubscriptionCallable()
deleteSnapshotCallable()
public UnaryCallable<DeleteSnapshotRequest,Empty> deleteSnapshotCallable()
deleteSubscriptionCallable()
public UnaryCallable<DeleteSubscriptionRequest,Empty> deleteSubscriptionCallable()
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
getSnapshotCallable()
public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
getSubscriptionCallable()
public UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
listSnapshotsCallable()
public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
listSnapshotsPagedCallable()
public UnaryCallable<ListSnapshotsRequest,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
listSubscriptionsCallable()
public UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
listSubscriptionsPagedCallable()
public UnaryCallable<ListSubscriptionsRequest,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
modifyAckDeadlineCallable()
public UnaryCallable<ModifyAckDeadlineRequest,Empty> modifyAckDeadlineCallable()
modifyPushConfigCallable()
public UnaryCallable<ModifyPushConfigRequest,Empty> modifyPushConfigCallable()
pullCallable()
public UnaryCallable<PullRequest,PullResponse> pullCallable()
seekCallable()
public UnaryCallable<SeekRequest,SeekResponse> seekCallable()
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
streamingPullCallable()
public BidiStreamingCallable<StreamingPullRequest,StreamingPullResponse> streamingPullCallable()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
updateSnapshotCallable()
public UnaryCallable<UpdateSnapshotRequest,Snapshot> updateSnapshotCallable()
updateSubscriptionCallable()
public UnaryCallable<UpdateSubscriptionRequest,Subscription> updateSubscriptionCallable()