public static final class AdminServiceGrpc.AdminServiceFutureStub extends io.grpc.stub.AbstractFutureStub<AdminServiceGrpc.AdminServiceFutureStub>
The service that a client application uses to manage topics and subscriptions, such creating, listing, and deleting topics and subscriptions.
| Modifier and Type | Method and Description |
|---|---|
protected AdminServiceGrpc.AdminServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Subscription> |
createSubscription(CreateSubscriptionRequest request)
Creates a new subscription.
|
com.google.common.util.concurrent.ListenableFuture<Topic> |
createTopic(CreateTopicRequest request)
Creates a new topic.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteSubscription(DeleteSubscriptionRequest request)
Deletes the specified subscription.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
deleteTopic(DeleteTopicRequest request)
Deletes the specified topic.
|
com.google.common.util.concurrent.ListenableFuture<Subscription> |
getSubscription(GetSubscriptionRequest request)
Returns the subscription configuration.
|
com.google.common.util.concurrent.ListenableFuture<Topic> |
getTopic(GetTopicRequest request)
Returns the topic configuration.
|
com.google.common.util.concurrent.ListenableFuture<TopicPartitions> |
getTopicPartitions(GetTopicPartitionsRequest request)
Returns the partition information for the requested topic.
|
com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> |
listSubscriptions(ListSubscriptionsRequest request)
Returns the list of subscriptions for the given project.
|
com.google.common.util.concurrent.ListenableFuture<ListTopicsResponse> |
listTopics(ListTopicsRequest request)
Returns the list of topics for the given project.
|
com.google.common.util.concurrent.ListenableFuture<ListTopicSubscriptionsResponse> |
listTopicSubscriptions(ListTopicSubscriptionsRequest request)
Lists the subscriptions attached to the specified topic.
|
com.google.common.util.concurrent.ListenableFuture<Subscription> |
updateSubscription(UpdateSubscriptionRequest request)
Updates properties of the specified subscription.
|
com.google.common.util.concurrent.ListenableFuture<Topic> |
updateTopic(UpdateTopicRequest request)
Updates properties of the specified topic.
|
protected AdminServiceGrpc.AdminServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AdminServiceGrpc.AdminServiceFutureStub>public com.google.common.util.concurrent.ListenableFuture<Topic> createTopic(CreateTopicRequest request)
Creates a new topic.
public com.google.common.util.concurrent.ListenableFuture<Topic> getTopic(GetTopicRequest request)
Returns the topic configuration.
public com.google.common.util.concurrent.ListenableFuture<TopicPartitions> getTopicPartitions(GetTopicPartitionsRequest request)
Returns the partition information for the requested topic.
public com.google.common.util.concurrent.ListenableFuture<ListTopicsResponse> listTopics(ListTopicsRequest request)
Returns the list of topics for the given project.
public com.google.common.util.concurrent.ListenableFuture<Topic> updateTopic(UpdateTopicRequest request)
Updates properties of the specified topic.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTopic(DeleteTopicRequest request)
Deletes the specified topic.
public com.google.common.util.concurrent.ListenableFuture<ListTopicSubscriptionsResponse> listTopicSubscriptions(ListTopicSubscriptionsRequest request)
Lists the subscriptions attached to the specified topic. (-- aip.dev/not-precedent: ListTopicSubscriptions returns only a list of names rather than full Subscription messages, as ListSubscriptions does. This is consistent with the Cloud Pub/Sub API. --)
public com.google.common.util.concurrent.ListenableFuture<Subscription> createSubscription(CreateSubscriptionRequest request)
Creates a new subscription.
public com.google.common.util.concurrent.ListenableFuture<Subscription> getSubscription(GetSubscriptionRequest request)
Returns the subscription configuration.
public com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest request)
Returns the list of subscriptions for the given project.
public com.google.common.util.concurrent.ListenableFuture<Subscription> updateSubscription(UpdateSubscriptionRequest request)
Updates properties of the specified subscription.
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSubscription(DeleteSubscriptionRequest request)
Deletes the specified subscription.
Copyright © 2020 Google LLC. All rights reserved.