diff --git a/dependencyManagement/build.gradle.kts b/dependencyManagement/build.gradle.kts index ffe00976c..e6f03406d 100644 --- a/dependencyManagement/build.gradle.kts +++ b/dependencyManagement/build.gradle.kts @@ -55,6 +55,6 @@ dependencies { api("io.opentelemetry.contrib:opentelemetry-samplers:$otelContribAlphaVersion") api("io.opentelemetry.contrib:opentelemetry-resource-providers:$otelContribAlphaVersion") - api("io.opentelemetry.proto:opentelemetry-proto:1.3.2-alpha") + api("io.opentelemetry.proto:opentelemetry-proto:1.4.0-alpha") } } 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) {