Interface AdminServiceGrpc.AsyncService
-
- All Known Implementing Classes:
AdminServiceGrpc.AdminServiceImplBase
- Enclosing class:
- AdminServiceGrpc
public static interface AdminServiceGrpc.AsyncService
The service that a client application uses to manage topics and subscriptions, such creating, listing, and deleting topics and subscriptions.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createReservation(CreateReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Creates a new reservation.default void
createSubscription(CreateSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Creates a new subscription.default void
createTopic(CreateTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Creates a new topic.default void
deleteReservation(DeleteReservationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified reservation.default void
deleteSubscription(DeleteSubscriptionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified subscription.default void
deleteTopic(DeleteTopicRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified topic.default void
getReservation(GetReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Returns the reservation configuration.default void
getSubscription(GetSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Returns the subscription configuration.default void
getTopic(GetTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Returns the topic configuration.default void
getTopicPartitions(GetTopicPartitionsRequest request, io.grpc.stub.StreamObserver<TopicPartitions> responseObserver)
Returns the partition information for the requested topic.default void
listReservations(ListReservationsRequest request, io.grpc.stub.StreamObserver<ListReservationsResponse> responseObserver)
Returns the list of reservations for the given project.default void
listReservationTopics(ListReservationTopicsRequest request, io.grpc.stub.StreamObserver<ListReservationTopicsResponse> responseObserver)
Lists the topics attached to the specified reservation.default void
listSubscriptions(ListSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListSubscriptionsResponse> responseObserver)
Returns the list of subscriptions for the given project.default void
listTopics(ListTopicsRequest request, io.grpc.stub.StreamObserver<ListTopicsResponse> responseObserver)
Returns the list of topics for the given project.default void
listTopicSubscriptions(ListTopicSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListTopicSubscriptionsResponse> responseObserver)
Lists the subscriptions attached to the specified topic.default void
seekSubscription(SeekSubscriptionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog.default void
updateReservation(UpdateReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Updates properties of the specified reservation.default void
updateSubscription(UpdateSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Updates properties of the specified subscription.default void
updateTopic(UpdateTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Updates properties of the specified topic.
-
-
-
Method Detail
-
createTopic
default void createTopic(CreateTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Creates a new topic.
-
getTopic
default void getTopic(GetTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Returns the topic configuration.
-
getTopicPartitions
default void getTopicPartitions(GetTopicPartitionsRequest request, io.grpc.stub.StreamObserver<TopicPartitions> responseObserver)
Returns the partition information for the requested topic.
-
listTopics
default void listTopics(ListTopicsRequest request, io.grpc.stub.StreamObserver<ListTopicsResponse> responseObserver)
Returns the list of topics for the given project.
-
updateTopic
default void updateTopic(UpdateTopicRequest request, io.grpc.stub.StreamObserver<Topic> responseObserver)
Updates properties of the specified topic.
-
deleteTopic
default void deleteTopic(DeleteTopicRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified topic.
-
listTopicSubscriptions
default void listTopicSubscriptions(ListTopicSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListTopicSubscriptionsResponse> responseObserver)
Lists the subscriptions attached to the specified topic.
-
createSubscription
default void createSubscription(CreateSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Creates a new subscription.
-
getSubscription
default void getSubscription(GetSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Returns the subscription configuration.
-
listSubscriptions
default void listSubscriptions(ListSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListSubscriptionsResponse> responseObserver)
Returns the list of subscriptions for the given project.
-
updateSubscription
default void updateSubscription(UpdateSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver)
Updates properties of the specified subscription.
-
deleteSubscription
default void deleteSubscription(DeleteSubscriptionRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified subscription.
-
seekSubscription
default void seekSubscription(SeekSubscriptionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it.
-
createReservation
default void createReservation(CreateReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Creates a new reservation.
-
getReservation
default void getReservation(GetReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Returns the reservation configuration.
-
listReservations
default void listReservations(ListReservationsRequest request, io.grpc.stub.StreamObserver<ListReservationsResponse> responseObserver)
Returns the list of reservations for the given project.
-
updateReservation
default void updateReservation(UpdateReservationRequest request, io.grpc.stub.StreamObserver<Reservation> responseObserver)
Updates properties of the specified reservation.
-
deleteReservation
default void deleteReservation(DeleteReservationRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes the specified reservation.
-
listReservationTopics
default void listReservationTopics(ListReservationTopicsRequest request, io.grpc.stub.StreamObserver<ListReservationTopicsResponse> responseObserver)
Lists the topics attached to the specified reservation.
-
-