Package udpa.annotations
Class Sensitive
- java.lang.Object
-
- udpa.annotations.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)
-
-
-
Field Detail
-
SENSITIVE_FIELD_NUMBER
public static final int SENSITIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
-
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()
-
-