Class ReflectionScrubber


  • public class ReflectionScrubber
    extends java.lang.Object
    Scrubs messages using reflection.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.protobuf.Message scrub​(com.google.protobuf.Message input)
      Scrubs the given message using the protobuf descriptor API.
      boolean supports​(com.google.protobuf.Message input)
      Checks if a given message needs to be scrubbed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReflectionScrubber

        public ReflectionScrubber()
    • Method Detail

      • scrub

        public com.google.protobuf.Message scrub​(com.google.protobuf.Message input)
        Scrubs the given message using the protobuf descriptor API.
      • supports

        public boolean supports​(com.google.protobuf.Message input)
        Checks if a given message needs to be scrubbed.