public class GSBlobIdentifier extends Object
Modifier and Type | Field and Description |
---|---|
String |
bucketName
The bucket name.
|
String |
objectName
The object name, within the bucket.
|
Constructor and Description |
---|
GSBlobIdentifier(String bucketName,
String objectName)
Construct an abstract blob identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static GSBlobIdentifier |
fromBlobId(com.google.cloud.storage.BlobId blobId)
Construct an abstract blob identifier from a Google BlobId.
|
com.google.cloud.storage.BlobId |
getBlobId()
Get a Google blob id for this identifier, with generation=null.
|
int |
hashCode() |
String |
toString() |
public final String bucketName
public final String objectName
public com.google.cloud.storage.BlobId getBlobId()
public static GSBlobIdentifier fromBlobId(com.google.cloud.storage.BlobId blobId)
blobId
- The Google BlobIdCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.