public class AckRequestData extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
AckRequestData.Builder
Builder of
AckRequestData . |
Modifier | Constructor and Description |
---|---|
protected |
AckRequestData(AckRequestData.Builder builder) |
Modifier and Type | Method and Description |
---|---|
String |
getAckId() |
com.google.api.core.SettableApiFuture<AckResponse> |
getMessageFutureIfExists() |
boolean |
hasMessageFuture() |
static AckRequestData.Builder |
newBuilder(String ackId) |
AckRequestData |
setResponse(AckResponse ackResponse,
boolean setResponseOnSuccess) |
protected AckRequestData(AckRequestData.Builder builder)
public String getAckId()
public com.google.api.core.SettableApiFuture<AckResponse> getMessageFutureIfExists()
public AckRequestData setResponse(AckResponse ackResponse, boolean setResponseOnSuccess)
public boolean hasMessageFuture()
public static AckRequestData.Builder newBuilder(String ackId)
Copyright © 2023 Google LLC. All rights reserved.