UploadManifest.Builder
public
static
abstract
class
UploadManifest.Builder
extends Object
java.lang.Object | |
😎 | com.android.tradefed.cache.UploadManifest.Builder |
Zusammenfassung
Öffentliche Konstruktoren | |
---|---|
Builder()
|
Öffentliche Methoden | |
---|---|
final
UploadManifest.Builder
|
addBlob(Digest digest, ByteString blob)
|
final
UploadManifest.Builder
|
addBlobs(
|
final
UploadManifest.Builder
|
addFile(Digest digest, File file)
|
final
UploadManifest.Builder
|
addFiles(
|
abstract
UploadManifest
|
autoBuild()
|
UploadManifest
|
build()
|
abstract
UploadManifest.Builder
|
setDigestToBlob(ImmutableMap<Digest, ByteString> digestToBlob)
|
abstract
UploadManifest.Builder
|
setDigestToFile(ImmutableMap<Digest, File> digestToFile)
|
Öffentliche Konstruktoren
Builder
public Builder ()
Öffentliche Methoden
addBlob
public final UploadManifest.Builder addBlob (Digest digest, ByteString blob)
Parameter | |
---|---|
digest |
Digest |
blob |
ByteString |
Returns | |
---|---|
UploadManifest.Builder |
addBlobs
public final UploadManifest.Builder addBlobs (digestToBlob)
Parameter | |
---|---|
digestToBlob |
|
Returns | |
---|---|
UploadManifest.Builder |
Datei hinzufügen
public final UploadManifest.Builder addFile (Digest digest, File file)
Parameter | |
---|---|
digest |
Digest |
file |
File |
Returns | |
---|---|
UploadManifest.Builder |
Dateien hinzufügen
public final UploadManifest.Builder addFiles (digestToFile)
Parameter | |
---|---|
digestToFile |
|
Returns | |
---|---|
UploadManifest.Builder |
setDigestToBlob
public abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)
Parameter | |
---|---|
digestToBlob |
ImmutableMap |
Returns | |
---|---|
UploadManifest.Builder |
setDigestToFile
public abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)
Parameter | |
---|---|
digestToFile |
ImmutableMap |
Returns | |
---|---|
UploadManifest.Builder |