UploadManifest.Builder
public
static
abstract
class
UploadManifest.Builder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cache.UploadManifest.Builder |
Summary
Public constructors | |
---|---|
Builder()
|
Public methods | |
---|---|
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)
|
Public constructors
Builder
public Builder ()
Public methods
addBlob
public final UploadManifest.Builder addBlob (Digest digest, ByteString blob)
Parameters | |
---|---|
digest |
Digest |
blob |
ByteString |
Returns | |
---|---|
UploadManifest.Builder |
addBlobs
public final UploadManifest.Builder addBlobs (digestToBlob)
Parameters | |
---|---|
digestToBlob |
|
Returns | |
---|---|
UploadManifest.Builder |
addFile
public final UploadManifest.Builder addFile (Digest digest, File file)
Parameters | |
---|---|
digest |
Digest |
file |
File |
Returns | |
---|---|
UploadManifest.Builder |
addFiles
public final UploadManifest.Builder addFiles (digestToFile)
Parameters | |
---|---|
digestToFile |
|
Returns | |
---|---|
UploadManifest.Builder |
setDigestToBlob
public abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)
Parameters | |
---|---|
digestToBlob |
ImmutableMap |
Returns | |
---|---|
UploadManifest.Builder |
setDigestToFile
public abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)
Parameters | |
---|---|
digestToFile |
ImmutableMap |
Returns | |
---|---|
UploadManifest.Builder |