public class PubsubMessageSchemaCoder
extends java.lang.Object
SchemaCoder
for PubsubMessage
, including the topic and all fields of a
PubSub message from server.
SchemaCoder
is used so that fields can be added in the future without breaking update
compatibility. Maintainers should prefer this coder when adding new features to PubsubIO
.
Constructor and Description |
---|
PubsubMessageSchemaCoder() |
Modifier and Type | Method and Description |
---|---|
static SchemaCoder<PubsubMessage> |
getSchemaCoder() |
public static SchemaCoder<PubsubMessage> getSchemaCoder()