Class AckRequestData (1.122.2)

public class AckRequestData

Inheritance

java.lang.Object > AckRequestData

Static Methods

newBuilder(String ackId)

public static AckRequestData.Builder newBuilder(String ackId)
Parameter
NameDescription
ackIdString
Returns
TypeDescription
AckRequestData.Builder

Constructors

AckRequestData(AckRequestData.Builder builder)

protected AckRequestData(AckRequestData.Builder builder)
Parameter
NameDescription
builderAckRequestData.Builder

Methods

getAckId()

public String getAckId()
Returns
TypeDescription
String

getMessageFutureIfExists()

public SettableApiFuture<AckResponse> getMessageFutureIfExists()
Returns
TypeDescription
SettableApiFuture<AckResponse>

hasMessageFuture()

public boolean hasMessageFuture()
Returns
TypeDescription
boolean

setResponse(AckResponse ackResponse, boolean setResponseOnSuccess)

public AckRequestData setResponse(AckResponse ackResponse, boolean setResponseOnSuccess)
Parameters
NameDescription
ackResponseAckResponse
setResponseOnSuccessboolean
Returns
TypeDescription
AckRequestData