@Generated(value="by GAPIC v0.0.5") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcPublisherStub extends PublisherStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcPublisherStub(TopicAdminSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcPublisherStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcPublisherStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcPublisherStub |
create(TopicAdminSettings settings) |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.Topic,com.google.pubsub.v1.Topic> |
createTopicCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.DeleteTopicRequest,com.google.protobuf.Empty> |
deleteTopicCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.GetTopicRequest,com.google.pubsub.v1.Topic> |
getTopicCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicsRequest,com.google.pubsub.v1.ListTopicsResponse> |
listTopicsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicsRequest,PagedResponseWrappers.ListTopicsPagedResponse> |
listTopicsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicSubscriptionsRequest,com.google.pubsub.v1.ListTopicSubscriptionsResponse> |
listTopicSubscriptionsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicSubscriptionsRequest,PagedResponseWrappers.ListTopicSubscriptionsPagedResponse> |
listTopicSubscriptionsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.PublishRequest,com.google.pubsub.v1.PublishResponse> |
publishCallable() |
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.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.UpdateTopicRequest,com.google.pubsub.v1.Topic> |
updateTopicCallable() |
protected GrpcPublisherStub(TopicAdminSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcPublisherStub create(TopicAdminSettings settings) throws IOException
IOExceptionpublic static final GrpcPublisherStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.Topic,com.google.pubsub.v1.Topic> createTopicCallable()
createTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.UpdateTopicRequest,com.google.pubsub.v1.Topic> updateTopicCallable()
updateTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.PublishRequest,com.google.pubsub.v1.PublishResponse> publishCallable()
publishCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.GetTopicRequest,com.google.pubsub.v1.Topic> getTopicCallable()
getTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicsRequest,PagedResponseWrappers.ListTopicsPagedResponse> listTopicsPagedCallable()
listTopicsPagedCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicsRequest,com.google.pubsub.v1.ListTopicsResponse> listTopicsCallable()
listTopicsCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicSubscriptionsRequest,PagedResponseWrappers.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsPagedCallable()
listTopicSubscriptionsPagedCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.ListTopicSubscriptionsRequest,com.google.pubsub.v1.ListTopicSubscriptionsResponse> listTopicSubscriptionsCallable()
listTopicSubscriptionsCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.pubsub.v1.DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicCallable()
deleteTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class PublisherStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2017 Google. All rights reserved.