Package xds.annotations.v3
Class Sensitive
- java.lang.Object
-
- xds.annotations.v3.Sensitive
-
public final class Sensitive extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,Boolean>sensitiveMagic number is the 28 most significant bits in the sha256sum of "xds.annotations.v3.sensitive".static intSENSITIVE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.protobuf.Descriptors.FileDescriptorgetDescriptor()static voidregisterAllExtensions(com.google.protobuf.ExtensionRegistry registry)static voidregisterAllExtensions(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,Boolean> sensitive
Magic number is the 28 most significant bits in the sha256sum of "xds.annotations.v3.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 { ... }
-
-
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()
-
-