@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
IOException
protected GrpcSubscriberStub(SubscriberStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcSubscriberStub create(SubscriberStubSettings settings) throws IOException
IOException
public static final GrpcSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<Subscription,Subscription> createSubscriptionCallable()
createSubscriptionCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
getSubscriptionCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<UpdateSubscriptionRequest,Subscription> updateSubscriptionCallable()
updateSubscriptionCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,SubscriptionAdminClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
listSubscriptionsPagedCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
listSubscriptionsCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<DeleteSubscriptionRequest,Empty> deleteSubscriptionCallable()
deleteSubscriptionCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ModifyAckDeadlineRequest,Empty> modifyAckDeadlineCallable()
modifyAckDeadlineCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<AcknowledgeRequest,Empty> acknowledgeCallable()
acknowledgeCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<PullRequest,PullResponse> pullCallable()
pullCallable
in class SubscriberStub
public com.google.api.gax.rpc.BidiStreamingCallable<StreamingPullRequest,StreamingPullResponse> streamingPullCallable()
streamingPullCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ModifyPushConfigRequest,Empty> modifyPushConfigCallable()
modifyPushConfigCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,SubscriptionAdminClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
listSnapshotsPagedCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
listSnapshotsCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<CreateSnapshotRequest,Snapshot> createSnapshotCallable()
createSnapshotCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<UpdateSnapshotRequest,Snapshot> updateSnapshotCallable()
updateSnapshotCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<DeleteSnapshotRequest,Empty> deleteSnapshotCallable()
deleteSnapshotCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<SeekRequest,SeekResponse> seekCallable()
seekCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable
in class SubscriberStub
public final void close()
close
in interface AutoCloseable
close
in class SubscriberStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.