envoy.annotations.Deprecation Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/annotations/deprecation.proto
package envoy.annotations;
public final class Deprecation {
private Deprecation() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(envoy.annotations.Deprecation.disallowedByDefault);
registry.add(envoy.annotations.Deprecation.deprecatedAtMinorVersion);
registry.add(envoy.annotations.Deprecation.disallowedByDefaultEnum);
registry.add(envoy.annotations.Deprecation.deprecatedAtMinorVersionEnum);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public static final int DISALLOWED_BY_DEFAULT_FIELD_NUMBER = 189503207;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.lang.Boolean> disallowedByDefault = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.Boolean.class,
null);
public static final int DEPRECATED_AT_MINOR_VERSION_FIELD_NUMBER = 157299826;
/**
*
* The API major and minor version on which the field was deprecated
* (e.g., "3.5" for major version 3 and minor version 5).
*
*
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.lang.String> deprecatedAtMinorVersion = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.String.class,
null);
public static final int DISALLOWED_BY_DEFAULT_ENUM_FIELD_NUMBER = 70100853;
/**
* extend .google.protobuf.EnumValueOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.EnumValueOptions,
java.lang.Boolean> disallowedByDefaultEnum = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.Boolean.class,
null);
public static final int DEPRECATED_AT_MINOR_VERSION_ENUM_FIELD_NUMBER = 181198657;
/**
*
* The API major and minor version on which the enum value was deprecated
* (e.g., "3.5" for major version 3 and minor version 5).
*
*
* extend .google.protobuf.EnumValueOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.EnumValueOptions,
java.lang.String> deprecatedAtMinorVersionEnum = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.String.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#envoy/annotations/deprecation.proto\022\021e" +
"nvoy.annotations\032 google/protobuf/descri" +
"ptor.proto:?\n\025disallowed_by_default\022\035.go" +
"ogle.protobuf.FieldOptions\030\347\255\256Z \001(\010:E\n\033d" +
"eprecated_at_minor_version\022\035.google.prot" +
"obuf.FieldOptions\030\362\350\200K \001(\t:H\n\032disallowed" +
"_by_default_enum\022!.google.protobuf.EnumV" +
"alueOptions\030\365\316\266! \001(\010:N\n deprecated_at_mi" +
"nor_version_enum\022!.google.protobuf.EnumV" +
"alueOptions\030\301\276\263V \001(\tB:Z8github.com/envoy" +
"proxy/go-control-plane/envoy/annotations" +
"b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
disallowedByDefault.internalInit(descriptor.getExtensions().get(0));
deprecatedAtMinorVersion.internalInit(descriptor.getExtensions().get(1));
disallowedByDefaultEnum.internalInit(descriptor.getExtensions().get(2));
deprecatedAtMinorVersionEnum.internalInit(descriptor.getExtensions().get(3));
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}