From fed569adb237060ac0d712b453d0a8ca106b1a17 Mon Sep 17 00:00:00 2001 From: Tim Aebi Date: Tue, 20 Jan 2026 08:08:46 +0100 Subject: [PATCH] Make ProtoDeserializer and ProtoSerializer public fixes #706 Signed-off-by: Tim Aebi --- .../main/java/io/cloudevents/protobuf/ProtoDeserializer.java | 2 +- .../src/main/java/io/cloudevents/protobuf/ProtoSerializer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoDeserializer.java b/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoDeserializer.java index a3a254fd8..8ab3266c3 100644 --- a/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoDeserializer.java +++ b/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoDeserializer.java @@ -34,7 +34,7 @@ /** * Implements a {@link CloudEventReader} that can deserialize a {@link CloudEvent} protobuf representation; */ -class ProtoDeserializer implements CloudEventReader { +public class ProtoDeserializer implements CloudEventReader { private final CloudEvent protoCe; public ProtoDeserializer(CloudEvent protoCe) { diff --git a/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSerializer.java b/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSerializer.java index 46fb295c4..5bc941c6e 100644 --- a/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSerializer.java +++ b/formats/protobuf/src/main/java/io/cloudevents/protobuf/ProtoSerializer.java @@ -45,7 +45,7 @@ /** * Provides functionality for turning a {@link io.cloudevents.CloudEvent} to the protobuf representation {@link CloudEvent}. */ -class ProtoSerializer { +public class ProtoSerializer { /** * Convert the Java SDK CloudEvent into a protobuf representation.