From 7bd2e5b59c3ddccbc029881362d9141da3330b3d Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Wed, 25 Oct 2023 15:37:49 -0700 Subject: [PATCH] protobuf-lite: ProtoLiteUtils experimental comment (#10627) Add a comment clarifying that the ProtoLiteUtils class will remain experimental. --- .../src/main/java/io/grpc/protobuf/lite/ProtoLiteUtils.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ProtoLiteUtils.java b/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ProtoLiteUtils.java index a0f50cae8d..7e33fc6762 100644 --- a/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ProtoLiteUtils.java +++ b/protobuf-lite/src/main/java/io/grpc/protobuf/lite/ProtoLiteUtils.java @@ -38,8 +38,12 @@ import java.lang.ref.WeakReference; /** * Utility methods for using protobuf with grpc. + * + *

Note that this class will remain experimental for the foreseeable future as the proto lite + * API, which this class depends on, is not guaranteed to be stable. This is explained in protobuf + * documentation at: https://github.com/protocolbuffers/protobuf/blob/main/java/lite.md */ -@ExperimentalApi("Experimental until Lite is stable in protobuf") +@ExperimentalApi("Will remain experimental as protobuf lite API is not stable") public final class ProtoLiteUtils { // default visibility to avoid synthetic accessors