Package xds.annotations.v3
Class Sensitive
java.lang.Object
xds.annotations.v3.Sensitive
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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 "xds.annotations.v3.sensitive".static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.protobuf.Descriptors.FileDescriptor
static void
registerAllExtensions
(com.google.protobuf.ExtensionRegistry registry) static void
registerAllExtensions
(com.google.protobuf.ExtensionRegistryLite registry)
-
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> sensitiveMagic 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 { ... }
-
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()
-