public final class PublishResultCoders
extends java.lang.Object
PublishResult
.Modifier and Type | Method and Description |
---|---|
static Coder<PublishResult> |
defaultPublishResult()
Returns a new PublishResult coder which by default serializes only the messageId.
|
static Coder<PublishResult> |
fullPublishResult()
Returns a new PublishResult coder which serializes the sdkResponseMetadata and sdkHttpMetadata,
including the HTTP response headers.
|
static Coder<PublishResult> |
fullPublishResultWithoutHeaders()
Returns a new PublishResult coder which serializes the sdkResponseMetadata and sdkHttpMetadata,
but does not include the HTTP response headers.
|
public static Coder<PublishResult> defaultPublishResult()
public static Coder<PublishResult> fullPublishResult()
public static Coder<PublishResult> fullPublishResultWithoutHeaders()