public interface ProtoCloudEventData
extends io.cloudevents.CloudEventData
CloudEventData that supports access to a protocol
buffer message.| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Message |
getMessage()
Gets the protobuf
Message representation of this data. |
static io.cloudevents.CloudEventData |
wrap(com.google.protobuf.Message protoMessage)
Convenience helper to wrap a Protobuf Message as
CloudEventData.
|
com.google.protobuf.Message getMessage()
Message representation of this data.Messagestatic io.cloudevents.CloudEventData wrap(com.google.protobuf.Message protoMessage)
protoMessage - The message to wrapCopyright © 2023. All rights reserved.