Package com.google.pubsub.v1
Class SubscriberGrpc
java.lang.Object
com.google.pubsub.v1.SubscriberGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: google/pubsub/v1/pubsub.proto")
public final class SubscriberGrpc
extends Object
The service that an application uses to manipulate subscriptions and to consume messages from a subscription via the `Pull` method or by establishing a bi-directional stream using the `StreamingPull` method.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
The service that an application uses to manipulate subscriptions and to consume messages from a subscription via the `Pull` method or by establishing a bi-directional stream using the `StreamingPull` method.static final class
A stub to allow clients to do synchronous rpc calls to service Subscriber.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service Subscriber.static class
Base class for the server implementation of the service Subscriber.static final class
A stub to allow clients to do asynchronous rpc calls to service Subscriber. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
bindService
(SubscriberGrpc.AsyncService service) static io.grpc.MethodDescriptor<AcknowledgeRequest,
com.google.protobuf.Empty> static io.grpc.MethodDescriptor<CreateSnapshotRequest,
Snapshot> static io.grpc.MethodDescriptor<Subscription,
Subscription> static io.grpc.MethodDescriptor<DeleteSnapshotRequest,
com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteSubscriptionRequest,
com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetSnapshotRequest,
Snapshot> static io.grpc.MethodDescriptor<GetSubscriptionRequest,
Subscription> static io.grpc.MethodDescriptor<ListSnapshotsRequest,
ListSnapshotsResponse> static io.grpc.MethodDescriptor<ListSubscriptionsRequest,
ListSubscriptionsResponse> static io.grpc.MethodDescriptor<ModifyAckDeadlineRequest,
com.google.protobuf.Empty> static io.grpc.MethodDescriptor<ModifyPushConfigRequest,
com.google.protobuf.Empty> static io.grpc.MethodDescriptor<PullRequest,
PullResponse> static io.grpc.MethodDescriptor<SeekRequest,
SeekResponse> static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<StreamingPullRequest,
StreamingPullResponse> static io.grpc.MethodDescriptor<UpdateSnapshotRequest,
Snapshot> static io.grpc.MethodDescriptor<UpdateSubscriptionRequest,
Subscription> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateSubscriptionMethod
-
getGetSubscriptionMethod
public static io.grpc.MethodDescriptor<GetSubscriptionRequest,Subscription> getGetSubscriptionMethod() -
getUpdateSubscriptionMethod
public static io.grpc.MethodDescriptor<UpdateSubscriptionRequest,Subscription> getUpdateSubscriptionMethod() -
getListSubscriptionsMethod
public static io.grpc.MethodDescriptor<ListSubscriptionsRequest,ListSubscriptionsResponse> getListSubscriptionsMethod() -
getDeleteSubscriptionMethod
public static io.grpc.MethodDescriptor<DeleteSubscriptionRequest,com.google.protobuf.Empty> getDeleteSubscriptionMethod() -
getModifyAckDeadlineMethod
public static io.grpc.MethodDescriptor<ModifyAckDeadlineRequest,com.google.protobuf.Empty> getModifyAckDeadlineMethod() -
getAcknowledgeMethod
public static io.grpc.MethodDescriptor<AcknowledgeRequest,com.google.protobuf.Empty> getAcknowledgeMethod() -
getPullMethod
-
getStreamingPullMethod
public static io.grpc.MethodDescriptor<StreamingPullRequest,StreamingPullResponse> getStreamingPullMethod() -
getModifyPushConfigMethod
public static io.grpc.MethodDescriptor<ModifyPushConfigRequest,com.google.protobuf.Empty> getModifyPushConfigMethod() -
getGetSnapshotMethod
-
getListSnapshotsMethod
public static io.grpc.MethodDescriptor<ListSnapshotsRequest,ListSnapshotsResponse> getListSnapshotsMethod() -
getCreateSnapshotMethod
-
getUpdateSnapshotMethod
-
getDeleteSnapshotMethod
public static io.grpc.MethodDescriptor<DeleteSnapshotRequest,com.google.protobuf.Empty> getDeleteSnapshotMethod() -
getSeekMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(SubscriberGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-