@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonPublisherStub extends PublisherStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonPublisherStub(PublisherStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonPublisherStub, using the given settings.
|
protected |
HttpJsonPublisherStub(PublisherStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPublisherStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonPublisherStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonPublisherStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonPublisherStub |
create(PublisherStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<Topic,Topic> |
createTopicCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteTopicRequest,com.google.protobuf.Empty> |
deleteTopicCallable() |
com.google.api.gax.rpc.UnaryCallable<DetachSubscriptionRequest,DetachSubscriptionResponse> |
detachSubscriptionCallable() |
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<GetTopicRequest,Topic> |
getTopicCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,ListTopicsResponse> |
listTopicsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> |
listTopicSnapshotsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,TopicAdminClient.ListTopicSnapshotsPagedResponse> |
listTopicSnapshotsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,TopicAdminClient.ListTopicsPagedResponse> |
listTopicsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> |
listTopicSubscriptionsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,TopicAdminClient.ListTopicSubscriptionsPagedResponse> |
listTopicSubscriptionsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PublishRequest,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<UpdateTopicRequest,Topic> |
updateTopicCallable() |
protected HttpJsonPublisherStub(PublisherStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonPublisherStub(PublisherStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonPublisherStub create(PublisherStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonPublisherStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonPublisherStub 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<Topic,Topic> createTopicCallable()
createTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateTopicRequest,Topic> updateTopicCallable()
updateTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<PublishRequest,PublishResponse> publishCallable()
publishCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<GetTopicRequest,Topic> getTopicCallable()
getTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,ListTopicsResponse> listTopicsCallable()
listTopicsCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicsRequest,TopicAdminClient.ListTopicsPagedResponse> listTopicsPagedCallable()
listTopicsPagedCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> listTopicSubscriptionsCallable()
listTopicSubscriptionsCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicSubscriptionsRequest,TopicAdminClient.ListTopicSubscriptionsPagedResponse> listTopicSubscriptionsPagedCallable()
listTopicSubscriptionsPagedCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> listTopicSnapshotsCallable()
listTopicSnapshotsCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<ListTopicSnapshotsRequest,TopicAdminClient.ListTopicSnapshotsPagedResponse> listTopicSnapshotsPagedCallable()
listTopicSnapshotsPagedCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteTopicRequest,com.google.protobuf.Empty> deleteTopicCallable()
deleteTopicCallable in class PublisherStubpublic com.google.api.gax.rpc.UnaryCallable<DetachSubscriptionRequest,DetachSubscriptionResponse> detachSubscriptionCallable()
detachSubscriptionCallable 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 final void close()
close in interface AutoCloseableclose in class PublisherStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.