xds.annotations.v3.Sensitive Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/annotations/v3/sensitive.proto
package xds.annotations.v3;
public final class Sensitive {
private Sensitive() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(xds.annotations.v3.Sensitive.sensitive);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static final int SENSITIVE_FIELD_NUMBER = 61008053;
/**
*
* 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 { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.lang.Boolean> sensitive = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.Boolean.class,
null);
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"xds/annotations/v3/sensitive.proto\022\022xd" +
"s.annotations.v3\032 google/protobuf/descri" +
"ptor.proto:3\n\tsensitive\022\035.google.protobu" +
"f.FieldOptions\030\265\321\213\035 \001(\010B+Z)github.com/cn" +
"cf/xds/go/xds/annotations/v3b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
sensitive.internalInit(descriptor.getExtensions().get(0));
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}