@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcSubscriberStub extends SubscriberStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSubscriberStub(SubscriberStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSubscriberStub, using the given settings.
|
protected |
GrpcSubscriberStub(SubscriberStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSubscriberStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.gax.rpc.UnaryCallable<AcknowledgeRequest,Empty> |
acknowledgeCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSubscriberStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSubscriberStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSubscriberStub |
create(SubscriberStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateSnapshotRequest,Snapshot> |
createSnapshotCallable() |
com.google.api.gax.rpc.UnaryCallable<Subscription,Subscription> |
createSubscriptionCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSnapshotRequest,Empty> |
deleteSnapshotCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSubscriptionRequest,Empty> |
deleteSubscriptionCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<GetSubscriptionRequest,Subscription> |
getSubscriptionCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> |
listSnapshotsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,SubscriptionAdminClient.ListSnapshotsPagedResponse> |
listSnapshotsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> |
listSubscriptionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,SubscriptionAdminClient.ListSubscriptionsPagedResponse> |
listSubscriptionsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ModifyAckDeadlineRequest,Empty> |
modifyAckDeadlineCallable() |
com.google.api.gax.rpc.UnaryCallable<ModifyPushConfigRequest,Empty> |
modifyPushConfigCallable() |
com.google.api.gax.rpc.UnaryCallable<PullRequest,PullResponse> |
pullCallable() |
com.google.api.gax.rpc.UnaryCallable<SeekRequest,SeekResponse> |
seekCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.BidiStreamingCallable<StreamingPullRequest,StreamingPullResponse> |
streamingPullCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateSnapshotRequest,Snapshot> |
updateSnapshotCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateSubscriptionRequest,Subscription> |
updateSubscriptionCallable() |
protected GrpcSubscriberStub(SubscriberStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSubscriberStub(SubscriberStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSubscriberStub create(SubscriberStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<Subscription,Subscription> createSubscriptionCallable()
createSubscriptionCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
getSubscriptionCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateSubscriptionRequest,Subscription> updateSubscriptionCallable()
updateSubscriptionCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
listSubscriptionsPagedCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
listSubscriptionsCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSubscriptionRequest,Empty> deleteSubscriptionCallable()
deleteSubscriptionCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ModifyAckDeadlineRequest,Empty> modifyAckDeadlineCallable()
modifyAckDeadlineCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<AcknowledgeRequest,Empty> acknowledgeCallable()
acknowledgeCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<PullRequest,PullResponse> pullCallable()
pullCallable in class SubscriberStubpublic com.google.api.gax.rpc.BidiStreamingCallable<StreamingPullRequest,StreamingPullResponse> streamingPullCallable()
streamingPullCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ModifyPushConfigRequest,Empty> modifyPushConfigCallable()
modifyPushConfigCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
listSnapshotsPagedCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
listSnapshotsCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<CreateSnapshotRequest,Snapshot> createSnapshotCallable()
createSnapshotCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateSnapshotRequest,Snapshot> updateSnapshotCallable()
updateSnapshotCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteSnapshotRequest,Empty> deleteSnapshotCallable()
deleteSnapshotCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<SeekRequest,SeekResponse> seekCallable()
seekCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class SubscriberStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class SubscriberStubpublic final void close()
close in interface AutoCloseableclose in class SubscriberStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2019 Google LLC. All rights reserved.