Class Deprecation


  • public final class Deprecation
    extends Object
    • 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,​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,​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,​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,​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 { ... }
    • 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()