Class BlobKey (5.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
public final class BlobKey implements Serializable, Comparable<BlobKey>
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.
Constructors
BlobKey(String blobKey)
public BlobKey(String blobKey)
Construct a new BlobKey with the specified key string.
| Parameter |
| Name |
Description |
blobKey |
String
|
Methods
compareTo(BlobKey o)
public int compareTo(BlobKey o)
| Parameter |
| Name |
Description |
o |
BlobKey
|
| Returns |
| Type |
Description |
int |
|
equals(@Nullable Object object)
public boolean equals(@Nullable Object object)
Two BlobKey objects are considered equal if they point
to the same blobs.
Overrides
getKeyString()
public String getKeyString()
Returns the blob key as a String.
| Returns |
| Type |
Description |
String |
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
toString()
| Returns |
| Type |
Description |
String |
|
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]