Class ProtoMessageValueProvider

    • Method Detail

      • newValue

        public java.util.Optional<CelValue> newValue​(java.lang.String structType,
                                                     java.util.Map<java.lang.String,​java.lang.Object> fields)
        Description copied from interface: CelValueProvider
        Constructs a new struct value.

        Note that the return type is defined as CelValue rather than StructValue to account for special cases such as wrappers where its primitive is returned.

        Specified by:
        newValue in interface CelValueProvider