Class Sensitive


  • public final class Sensitive
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.google.protobuf.Descriptors.FileDescriptor descriptor  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.Boolean> sensitive
      Magic number is the 28 most significant bits in the sha256sum of "udpa.annotations.sensitive".
      static int SENSITIVE_FIELD_NUMBER  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Sensitive()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()  
      static void registerAllExtensions​(com.google.protobuf.ExtensionRegistry registry)  
      static void registerAllExtensions​(com.google.protobuf.ExtensionRegistryLite registry)  
      • Methods inherited from class java.lang.Object

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

      • sensitive

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.Boolean> sensitive
         Magic number is the 28 most significant bits in the sha256sum of "udpa.annotations.sensitive".
         When set to true, `sensitive` indicates that this field contains sensitive data, such as
         personally identifiable information, passwords, or private keys, and should be redacted for
         display by tools aware of this annotation. Note that that this has no effect on standard
         Protobuf functions such as `TextFormat::PrintToString`.
         
        extend .google.protobuf.FieldOptions { ... }
      • descriptor

        private static com.google.protobuf.Descriptors.FileDescriptor descriptor
    • Constructor Detail

      • Sensitive

        private Sensitive()
    • Method Detail

      • registerAllExtensions

        public static void registerAllExtensions​(com.google.protobuf.ExtensionRegistryLite registry)
      • registerAllExtensions

        public static void registerAllExtensions​(com.google.protobuf.ExtensionRegistry registry)
      • getDescriptor

        public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()