[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the API is 2.46.1, with a history of many previous versions available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation pertains to the \u003ccode\u003eObsoleteApi\u003c/code\u003e interface within the \u003ccode\u003ecom.google.api.core\u003c/code\u003e package, which is intended for Java applications.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObsoleteApi\u003c/code\u003e interface is used to mark public APIs as obsolete and scheduled for deprecation in future versions.\u003c/p\u003e\n"],["\u003cp\u003eWhen using the \u003ccode\u003eObsoleteApi\u003c/code\u003e annotation, it must include a description and be applied only to APIs with non-private visibility, with alternatives given if possible.\u003c/p\u003e\n"],["\u003cp\u003eThis library is currently in a pre-GA stage, which means limited support and possible breaking changes in future pre-GA releases are possible.\u003c/p\u003e\n"]]],[],null,["# Annotation Type ObsoleteApi (2.52.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.52.0 (latest)](/java/docs/reference/api-common/latest/com.google.api.core.ObsoleteApi)\n- [2.51.2](/java/docs/reference/api-common/2.51.2/com.google.api.core.ObsoleteApi)\n- [2.50.0](/java/docs/reference/api-common/2.50.0/com.google.api.core.ObsoleteApi)\n- [2.49.0](/java/docs/reference/api-common/2.49.0/com.google.api.core.ObsoleteApi)\n- [2.48.0](/java/docs/reference/api-common/2.48.0/com.google.api.core.ObsoleteApi)\n- [2.46.1](/java/docs/reference/api-common/2.46.1/com.google.api.core.ObsoleteApi)\n- [2.45.0](/java/docs/reference/api-common/2.45.0/com.google.api.core.ObsoleteApi)\n- [2.44.0](/java/docs/reference/api-common/2.44.0/com.google.api.core.ObsoleteApi)\n- [2.43.0](/java/docs/reference/api-common/2.43.0/com.google.api.core.ObsoleteApi)\n- [2.42.1](/java/docs/reference/api-common/2.42.1/com.google.api.core.ObsoleteApi)\n- [2.41.0](/java/docs/reference/api-common/2.41.0/com.google.api.core.ObsoleteApi)\n- [2.40.0](/java/docs/reference/api-common/2.40.0/com.google.api.core.ObsoleteApi)\n- [2.38.0](/java/docs/reference/api-common/2.38.0/com.google.api.core.ObsoleteApi)\n- [2.37.1](/java/docs/reference/api-common/2.37.1/com.google.api.core.ObsoleteApi)\n- [2.36.0](/java/docs/reference/api-common/2.36.0/com.google.api.core.ObsoleteApi)\n- [2.35.0](/java/docs/reference/api-common/2.35.0/com.google.api.core.ObsoleteApi)\n- [2.34.0](/java/docs/reference/api-common/2.34.0/com.google.api.core.ObsoleteApi)\n- [2.33.0](/java/docs/reference/api-common/2.33.0/com.google.api.core.ObsoleteApi)\n- [2.32.0](/java/docs/reference/api-common/2.32.0/com.google.api.core.ObsoleteApi)\n- [2.31.1](/java/docs/reference/api-common/2.31.1/com.google.api.core.ObsoleteApi)\n- [2.30.0](/java/docs/reference/api-common/2.30.0/com.google.api.core.ObsoleteApi)\n- [2.29.1](/java/docs/reference/api-common/2.29.1/com.google.api.core.ObsoleteApi)\n- [2.28.0](/java/docs/reference/api-common/2.28.0/com.google.api.core.ObsoleteApi)\n- [2.26.0](/java/docs/reference/api-common/2.26.0/com.google.api.core.ObsoleteApi)\n- [2.25.0](/java/docs/reference/api-common/2.25.0/com.google.api.core.ObsoleteApi)\n- [2.24.0](/java/docs/reference/api-common/2.24.0/com.google.api.core.ObsoleteApi)\n- [2.22.0](/java/docs/reference/api-common/2.22.0/com.google.api.core.ObsoleteApi)\n- [2.21.0](/java/docs/reference/api-common/2.21.0/com.google.api.core.ObsoleteApi)\n- [2.20.0](/java/docs/reference/api-common/2.20.0/com.google.api.core.ObsoleteApi)\n- [2.19.0](/java/docs/reference/api-common/2.19.0/com.google.api.core.ObsoleteApi)\n- [2.18.0](/java/docs/reference/api-common/2.18.0/com.google.api.core.ObsoleteApi)\n- [2.17.1](/java/docs/reference/api-common/2.17.1/com.google.api.core.ObsoleteApi)\n- [2.16.0](/java/docs/reference/api-common/2.16.0/com.google.api.core.ObsoleteApi)\n- [2.15.1](/java/docs/reference/api-common/2.15.1/com.google.api.core.ObsoleteApi)\n- [2.14.1](/java/docs/reference/api-common/2.14.1/com.google.api.core.ObsoleteApi)\n- [2.13.1](/java/docs/reference/api-common/2.13.1/com.google.api.core.ObsoleteApi)\n- [2.7.0](/java/docs/reference/api-common/2.7.0/com.google.api.core.ObsoleteApi)\n- [2.6.3](/java/docs/reference/api-common/2.6.3/com.google.api.core.ObsoleteApi)\n- [2.5.0](/java/docs/reference/api-common/2.5.0/com.google.api.core.ObsoleteApi)\n- [2.4.0](/java/docs/reference/api-common/2.4.0/com.google.api.core.ObsoleteApi)\n- [2.3.1](/java/docs/reference/api-common/2.3.1/com.google.api.core.ObsoleteApi)\n- [2.1.2](/java/docs/reference/api-common/2.1.2/com.google.api.core.ObsoleteApi) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \n\n public interface ObsoleteApi implements Annotation\n\nIndicates a public API is obsolete, and will be deprecated in a future version.\n\nUsage guidelines:\n\n1. This annotation must be used only on APIs with non-private visibility.\n2. This annotation should only be added if either an alternative API is provided and/or we plan to stop supporting the API in a future version.\n3. This annotation must be used with a description.\n4. Alternative APIs must be referenced in Javadoc and/or description if possible. \n\nImplements\n----------\n\n[Annotation](https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Annotation.html)\n\nMethods\n-------\n\n### value()\n\n public abstract String value()\n\nContext information such as reasons and alternatives."]]