You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponse.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,8 @@
16
16
17
17
packagecom.google.cloud.pubsub.v1;
18
18
19
+
importcom.google.api.core.ApiFuture;
19
20
importcom.google.api.core.BetaApi;
20
-
importjava.util.concurrent.Future;
21
21
22
22
/**
23
23
* Acknowledging a message in Pub/Sub means that you are done with it, and it will not be delivered
@@ -42,13 +42,13 @@ public interface AckReplyConsumerWithResponse {
42
42
*
43
43
* <p>A future representing the server response is returned
44
44
*/
45
-
Future<AckResponse> ack();
45
+
ApiFuture<AckResponse> ack();
46
46
47
47
/**
48
48
* Signals that the message has not been successfully processed. The service should resend the
49
49
* message.
50
50
*
51
51
* <p>A future representing the server response is returned
Copy file name to clipboardExpand all lines: java-pubsub/google-cloud-pubsub/src/main/java/com/google/cloud/pubsub/v1/AckReplyConsumerWithResponseImpl.java
0 commit comments