From d68e571b5bfd6f3cefe81d2243e585a8905d49db Mon Sep 17 00:00:00 2001 From: Lauri Tulmin Date: Wed, 27 Nov 2024 09:51:24 +0200 Subject: [PATCH] fix compile error --- .../java/com/splunk/opentelemetry/TelemetryRetriever.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smoke-tests/src/test/java/com/splunk/opentelemetry/TelemetryRetriever.java b/smoke-tests/src/test/java/com/splunk/opentelemetry/TelemetryRetriever.java index 15df37937..92f39ba15 100644 --- a/smoke-tests/src/test/java/com/splunk/opentelemetry/TelemetryRetriever.java +++ b/smoke-tests/src/test/java/com/splunk/opentelemetry/TelemetryRetriever.java @@ -19,7 +19,7 @@ import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; -import com.google.protobuf.GeneratedMessageV3; +import com.google.protobuf.GeneratedMessage; import com.google.protobuf.InvalidProtocolBufferException; import com.google.protobuf.util.JsonFormat; import io.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest; @@ -95,7 +95,7 @@ private ExportLogsServiceRequest deserializeLogsRequest(JsonNode it) { return builder.build(); } - private void deserializeIntoBuilder(JsonNode it, GeneratedMessageV3.Builder builder) { + private void deserializeIntoBuilder(JsonNode it, GeneratedMessage.Builder builder) { try { JsonFormat.parser().merge(OBJECT_MAPPER.writeValueAsString(it), builder); } catch (InvalidProtocolBufferException | JsonProcessingException e) {