Class AckRequestData.Builder (1.134.2)

protected static final class AckRequestData.Builder

Builder of AckRequestData.

Inheritance

java.lang.Object > AckRequestData.Builder

Constructors

Builder(String ackId)

protected Builder(String ackId)
Parameter
Name Description
ackId String

Methods

build()

public AckRequestData build()
Returns
Type Description
AckRequestData

setMessageFuture(SettableApiFuture<AckResponse> messageFuture)

public AckRequestData.Builder setMessageFuture(SettableApiFuture<AckResponse> messageFuture)
Parameter
Name Description
messageFuture SettableApiFuture<AckResponse>
Returns
Type Description
AckRequestData.Builder

setMessageWrapper(PubsubMessageWrapper messageWrapper)

public AckRequestData.Builder setMessageWrapper(PubsubMessageWrapper messageWrapper)
Parameter
Name Description
messageWrapper PubsubMessageWrapper
Returns
Type Description
AckRequestData.Builder