Class Deprecation


  • public final class Deprecation
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DEPRECATED_AT_MINOR_VERSION_ENUM_FIELD_NUMBER  
      static int DEPRECATED_AT_MINOR_VERSION_FIELD_NUMBER  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.String> deprecatedAtMinorVersion
      The API major and minor version on which the field was deprecated (e.g., "3.5" for major version 3 and minor version 5).
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.EnumValueOptions,​java.lang.String> deprecatedAtMinorVersionEnum
      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).
      private static com.google.protobuf.Descriptors.FileDescriptor descriptor  
      static int DISALLOWED_BY_DEFAULT_ENUM_FIELD_NUMBER  
      static int DISALLOWED_BY_DEFAULT_FIELD_NUMBER  
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.Boolean> disallowedByDefault
      extend .google.protobuf.FieldOptions { ...
      static com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.EnumValueOptions,​java.lang.Boolean> disallowedByDefaultEnum
      extend .google.protobuf.EnumValueOptions { ...
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Deprecation()  
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DISALLOWED_BY_DEFAULT_FIELD_NUMBER

        public static final int DISALLOWED_BY_DEFAULT_FIELD_NUMBER
        See Also:
        Constant Field Values
      • disallowedByDefault

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.Boolean> disallowedByDefault
        extend .google.protobuf.FieldOptions { ... }
      • DEPRECATED_AT_MINOR_VERSION_FIELD_NUMBER

        public static final int DEPRECATED_AT_MINOR_VERSION_FIELD_NUMBER
        See Also:
        Constant Field Values
      • deprecatedAtMinorVersion

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.FieldOptions,​java.lang.String> deprecatedAtMinorVersion
         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 { ... }
      • DISALLOWED_BY_DEFAULT_ENUM_FIELD_NUMBER

        public static final int DISALLOWED_BY_DEFAULT_ENUM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • disallowedByDefaultEnum

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.EnumValueOptions,​java.lang.Boolean> disallowedByDefaultEnum
        extend .google.protobuf.EnumValueOptions { ... }
      • DEPRECATED_AT_MINOR_VERSION_ENUM_FIELD_NUMBER

        public static final int DEPRECATED_AT_MINOR_VERSION_ENUM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • deprecatedAtMinorVersionEnum

        public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<com.google.protobuf.DescriptorProtos.EnumValueOptions,​java.lang.String> deprecatedAtMinorVersionEnum
         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 { ... }
      • descriptor

        private static com.google.protobuf.Descriptors.FileDescriptor descriptor
    • Constructor Detail

      • Deprecation

        private Deprecation()
    • 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()