Class AdminServiceGrpc.AdminServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AdminServiceGrpc.AdminServiceBlockingStub>
com.google.cloud.pubsublite.proto.AdminServiceGrpc.AdminServiceBlockingStub
- Enclosing class:
- AdminServiceGrpc
public static final class AdminServiceGrpc.AdminServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AdminServiceGrpc.AdminServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service AdminService.
The service that a client application uses to manage topics and subscriptions, such creating, listing, and deleting topics and subscriptions.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new reservation.Creates a new subscription.createTopic(CreateTopicRequest request) Creates a new topic.com.google.protobuf.EmptyDeletes the specified reservation.com.google.protobuf.EmptyDeletes the specified subscription.com.google.protobuf.EmptydeleteTopic(DeleteTopicRequest request) Deletes the specified topic.getReservation(GetReservationRequest request) Returns the reservation configuration.getSubscription(GetSubscriptionRequest request) Returns the subscription configuration.getTopic(GetTopicRequest request) Returns the topic configuration.Returns the partition information for the requested topic.listReservations(ListReservationsRequest request) Returns the list of reservations for the given project.Lists the topics attached to the specified reservation.Returns the list of subscriptions for the given project.listTopics(ListTopicsRequest request) Returns the list of topics for the given project.Lists the subscriptions attached to the specified topic.com.google.longrunning.OperationseekSubscription(SeekSubscriptionRequest request) Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog.Updates properties of the specified reservation.Updates properties of the specified subscription.updateTopic(UpdateTopicRequest request) Updates properties of the specified topic.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected AdminServiceGrpc.AdminServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AdminServiceGrpc.AdminServiceBlockingStub>
-
createTopic
Creates a new topic.
-
getTopic
Returns the topic configuration.
-
getTopicPartitions
Returns the partition information for the requested topic.
-
listTopics
Returns the list of topics for the given project.
-
updateTopic
Updates properties of the specified topic.
-
deleteTopic
Deletes the specified topic.
-
listTopicSubscriptions
Lists the subscriptions attached to the specified topic.
-
createSubscription
Creates a new subscription.
-
getSubscription
Returns the subscription configuration.
-
listSubscriptions
Returns the list of subscriptions for the given project.
-
updateSubscription
Updates properties of the specified subscription.
-
deleteSubscription
Deletes the specified subscription.
-
seekSubscription
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
Creates a new reservation.
-
getReservation
Returns the reservation configuration.
-
listReservations
Returns the list of reservations for the given project.
-
updateReservation
Updates properties of the specified reservation.
-
deleteReservation
Deletes the specified reservation.
-
listReservationTopics
Lists the topics attached to the specified reservation.
-