Class Sensitive

java.lang.Object
udpa.annotations.Sensitive

public final class Sensitive extends Object
  • Field Summary

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

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.google.protobuf.Descriptors.FileDescriptor
     
    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 Details

    • SENSITIVE_FIELD_NUMBER

      public static final int SENSITIVE_FIELD_NUMBER
      See Also:
    • sensitive

      public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,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 Details

    • Sensitive

      private Sensitive()
  • Method Details

    • 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()