Class PubsubMessages.ParsePubsubMessageProtoAsPayload
java.lang.Object
org.apache.beam.sdk.io.gcp.pubsub.PubsubMessages.ParsePubsubMessageProtoAsPayload
- All Implemented Interfaces:
Serializable,ProcessFunction<byte[],,PubsubMessage> SerializableFunction<byte[],PubsubMessage>
- Enclosing class:
PubsubMessages
public static class PubsubMessages.ParsePubsubMessageProtoAsPayload
extends Object
implements SerializableFunction<byte[],PubsubMessage>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(byte[] input) Returns the result of invoking this function on the given input.
-
Constructor Details
-
ParsePubsubMessageProtoAsPayload
public ParsePubsubMessageProtoAsPayload()
-
-
Method Details
-
apply
Description copied from interface:SerializableFunctionReturns the result of invoking this function on the given input.- Specified by:
applyin interfaceProcessFunction<byte[],PubsubMessage> - Specified by:
applyin interfaceSerializableFunction<byte[],PubsubMessage>
-