BlobKey contains the string identifier of a large (possibly
larger than 1MB) blob of binary data that was uploaded in a
previous request and can be streamed directly to users.
[[["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."],[[["\u003cp\u003e\u003ccode\u003eBlobKey\u003c/code\u003e is a class that represents the string identifier for a large binary data blob, potentially exceeding 1MB in size, which was uploaded in a prior request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBlobKey\u003c/code\u003e implements the \u003ccode\u003eSerializable\u003c/code\u003e and \u003ccode\u003eComparable<BlobKey>\u003c/code\u003e interfaces, allowing it to be serialized and compared with other \u003ccode\u003eBlobKey\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eBlobKey\u003c/code\u003e can be constructed using its constructor, \u003ccode\u003eBlobKey(String blobKey)\u003c/code\u003e, providing a key string to reference a specific blob.\u003c/p\u003e\n"],["\u003cp\u003eTwo \u003ccode\u003eBlobKey\u003c/code\u003e instances are considered equal if they reference the same blob, as determined by the \u003ccode\u003eequals(@Nullable Object object)\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetKeyString()\u003c/code\u003e method retrieves the string representation of the blob key.\u003c/p\u003e\n"]]],[],null,["# Class BlobKey (2.0.0)\n\n public final class BlobKey implements Serializable, Comparable\u003cBlobKey\u003e\n\n`BlobKey` contains the string identifier of a large (possibly\nlarger than 1MB) blob of binary data that was uploaded in a\nprevious request and can be streamed directly to users. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e BlobKey \n\nImplements\n----------\n\n[Serializable](https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html), [Comparable\\\u003cBlobKey\\\u003e](https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable\u003ccom/google/appengine/api/blobstore/BlobKey\u003e.html) \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### BlobKey(String blobKey)\n\n public BlobKey(String blobKey)\n\nConstruct a new `BlobKey` with the specified key string.\n\nMethods\n-------\n\n### compareTo(BlobKey o)\n\n public int compareTo(BlobKey o)\n\n### equals(@Nullable Object object)\n\n public boolean equals(@Nullable Object object)\n\nTwo `BlobKey` objects are considered equal if they point\nto the same blobs.\n\n**Overrides** \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-)\n\n### getKeyString()\n\n public String getKeyString()\n\nReturns the blob key as a String.\n\n### hashCode()\n\n public int hashCode()\n\n**Overrides** \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--)\n\n### toString()\n\n public String toString()\n\n**Overrides** \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--)"]]