We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a07192 commit 104658dCopy full SHA for 104658d
src/main/java/build/buf/protovalidate/internal/evaluator/ObjectValue.java
@@ -26,6 +26,8 @@
26
import java.util.Map;
27
import org.projectnessie.cel.common.ULong;
28
29
+import javax.annotation.Nullable;
30
+
31
/** The {@link Value} type that contains a field descriptor and its value. */
32
public final class ObjectValue implements Value {
33
@@ -49,6 +51,7 @@ public final class ObjectValue implements Value {
49
51
}
50
52
53
@Override
54
+ @Nullable
55
public MessageLike messageValue() {
56
if (fieldDescriptor.getType() == Descriptors.FieldDescriptor.Type.MESSAGE) {
57
return new ProtobufMessageLike((Message) value);
0 commit comments