@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonSubscriberStub extends SubscriberStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonSubscriberStub(SubscriberStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSubscriberStub, using the given settings.
|
protected |
HttpJsonSubscriberStub(SubscriberStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSubscriberStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallable<AcknowledgeRequest,com.google.protobuf.Empty> |
acknowledgeCallable() |
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonSubscriberStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonSubscriberStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonSubscriberStub |
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,com.google.protobuf.Empty> |
deleteSnapshotCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteSubscriptionRequest,com.google.protobuf.Empty> |
deleteSubscriptionCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetSnapshotRequest,Snapshot> |
getSnapshotCallable() |
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,com.google.protobuf.Empty> |
modifyAckDeadlineCallable() |
com.google.api.gax.rpc.UnaryCallable<ModifyPushConfigRequest,com.google.protobuf.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 HttpJsonSubscriberStub(SubscriberStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonSubscriberStub(SubscriberStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonSubscriberStub create(SubscriberStubSettings settings) throws IOException
IOException
public static final HttpJsonSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonSubscriberStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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,ListSubscriptionsResponse> listSubscriptionsCallable()
listSubscriptionsCallable
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<DeleteSubscriptionRequest,com.google.protobuf.Empty> deleteSubscriptionCallable()
deleteSubscriptionCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ModifyAckDeadlineRequest,com.google.protobuf.Empty> modifyAckDeadlineCallable()
modifyAckDeadlineCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<AcknowledgeRequest,com.google.protobuf.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.UnaryCallable<ModifyPushConfigRequest,com.google.protobuf.Empty> modifyPushConfigCallable()
modifyPushConfigCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
getSnapshotCallable
in class SubscriberStub
public com.google.api.gax.rpc.UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
listSnapshotsCallable
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<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,com.google.protobuf.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 com.google.api.gax.rpc.BidiStreamingCallable<StreamingPullRequest,StreamingPullResponse> streamingPullCallable()
streamingPullCallable
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 © 2023 Google LLC. All rights reserved.