Tải lênManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

java.lang.Object
   ↳ com.android.tradefed.cache.UploadManifest.Builder


Tóm tắt

Hàm khởi tạo công khai

Builder()

Phương thức công khai

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)

Hàm khởi tạo công khai

Trình tạo

public Builder ()

Phương thức công khai

addBlob

public final UploadManifest.Builder addBlob (Digest digest, 
                ByteString blob)

Tham số
digest Digest

blob ByteString

Giá trị trả về
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

Tham số
digestToBlob

Giá trị trả về
UploadManifest.Builder

addFile

public final UploadManifest.Builder addFile (Digest digest, 
                File file)

Tham số
digest Digest

file File

Giá trị trả về
UploadManifest.Builder

addFiles

public final UploadManifest.Builder addFiles ( digestToFile)

Tham số
digestToFile

Giá trị trả về
UploadManifest.Builder

Tạo tự động

public abstract UploadManifest autoBuild ()

Giá trị trả về
UploadManifest

build

public UploadManifest build ()

Giá trị trả về
UploadManifest

setDigestToBlob

public abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)

Tham số
digestToBlob ImmutableMap

Giá trị trả về
UploadManifest.Builder

setDigestToFile

public abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)

Tham số
digestToFile ImmutableMap

Trả về
UploadManifest.Builder