Package com.google.cloud.pubsub.v1.stub
Class PublisherStub
java.lang.Object
com.google.cloud.pubsub.v1.stub.PublisherStub
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcPublisherStub,HttpJsonPublisherStub
@Generated("by gapic-generator-java")
public abstract class PublisherStub
extends Object
implements com.google.api.gax.core.BackgroundResource
Base stub class for the Publisher service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()com.google.api.gax.rpc.UnaryCallable<DeleteTopicRequest,com.google.protobuf.Empty> com.google.api.gax.rpc.UnaryCallable<DetachSubscriptionRequest,DetachSubscriptionResponse> com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> com.google.api.gax.rpc.UnaryCallable<GetTopicRequest,Topic> com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,ListTopicsResponse> com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,TopicAdminClient.ListTopicSnapshotsPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,TopicAdminClient.ListTopicsPagedResponse> com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,TopicAdminClient.ListTopicSubscriptionsPagedResponse> com.google.api.gax.rpc.UnaryCallable<PublishRequest,PublishResponse> com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> com.google.api.gax.rpc.UnaryCallable<UpdateTopicRequest,Topic> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
Constructor Details
-
PublisherStub
public PublisherStub()
-
-
Method Details
-
createTopicCallable
-
updateTopicCallable
-
publishCallable
-
getTopicCallable
-
listTopicsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,TopicAdminClient.ListTopicsPagedResponse> listTopicsPagedCallable() -
listTopicsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,ListTopicsResponse> listTopicsCallable() -
listTopicSubscriptionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,TopicAdminClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsPagedCallable() -
listTopicSubscriptionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> listTopicSubscriptionsCallable() -
listTopicSnapshotsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,TopicAdminClient.ListTopicSnapshotsPagedResponse> listTopicSnapshotsPagedCallable() -
listTopicSnapshotsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> listTopicSnapshotsCallable() -
deleteTopicCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicCallable() -
detachSubscriptionCallable
public com.google.api.gax.rpc.UnaryCallable<DetachSubscriptionRequest,DetachSubscriptionResponse> detachSubscriptionCallable() -
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable() -
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable() -
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable() -
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable
-