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( digestToBlob)
final UploadManifest.Builder addFile(Digest digest, File file)
final UploadManifest.Builder addFiles( digestToFile)
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

autoBuild

public abstract UploadManifest autoBuild ()

返回
UploadManifest

build

public UploadManifest build ()

返回
UploadManifest

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