[[["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-09-04 UTC."],[],[],null,["# Class ExtensionLite<ContainingType,Type> (3.19.4)\n\n public abstract class ExtensionLite\u003cContainingType,Type\u003e\n\nLite interface that generated extensions implement.\n\nMethods are for use by generated code only. You can hold a reference to extensions using this\ntype name. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e ExtensionLite\\\u003cContainingType,Type\\\u003e \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### ExtensionLite()\n\n public ExtensionLite()\n\nMethods\n-------\n\n### getDefaultValue()\n\n public abstract Type getDefaultValue()\n\nReturns the default value of the extension field.\n\n### getLiteType()\n\n public abstract WireFormat.FieldType getLiteType()\n\nReturns the type of the field.\n\n### getMessageDefaultInstance()\n\n public abstract MessageLite getMessageDefaultInstance()\n\nReturns the default instance of the extension field, if it's a message extension.\n\n### getNumber()\n\n public abstract int getNumber()\n\nReturns the field number of the extension.\n\n### isRepeated()\n\n public abstract boolean isRepeated()\n\nReturns whether it is a repeated field."]]