UploadManifest.Builder
public
static
abstract
class
UploadManifest.Builder
extends Object
java.lang.Object | |
↳ | com.android.tradefed.cache.UploadManifest.Builder |
摘要
公用建構函式 | |
---|---|
Builder()
|
公用方法 | |
---|---|
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)
|
公用建構函式
Builder
public Builder ()
公用方法
addBlob
public final UploadManifest.Builder addBlob (Digest digest, ByteString blob)
參數 | |
---|---|
digest |
Digest |
blob |
ByteString |
傳回 | |
---|---|
UploadManifest.Builder |
addBlob
public final UploadManifest.Builder addBlobs (digestToBlob)
參數 | |
---|---|
digestToBlob |
|
傳回 | |
---|---|
UploadManifest.Builder |
新增檔案
public final UploadManifest.Builder addFile (Digest digest, File file)
參數 | |
---|---|
digest |
Digest |
file |
File |
傳回 | |
---|---|
UploadManifest.Builder |
addFiles (新增檔案)
public final UploadManifest.Builder addFiles (digestToFile)
參數 | |
---|---|
digestToFile |
|
傳回 | |
---|---|
UploadManifest.Builder |
setDigestToBlob
public abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)
參數 | |
---|---|
digestToBlob |
ImmutableMap |
傳回 | |
---|---|
UploadManifest.Builder |
setDigestToFile
public abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)
參數 | |
---|---|
digestToFile |
ImmutableMap |
傳回 | |
---|---|
UploadManifest.Builder |