UploadManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

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


Ringkasan

Konstruktor publik

Builder()

Metode publik

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)

Konstruktor publik

Builder

public Builder ()

Metode publik

addBlob

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

Parameter
digest Digest

blob ByteString

Hasil
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

Parameter
digestToBlob

Hasil
UploadManifest.Builder

File

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

Parameter
digest Digest

file File

Hasil
UploadManifest.Builder

addFile

public final UploadManifest.Builder addFiles ( digestToFile)

Parameter
digestToFile

Hasil
UploadManifest.Builder

build otomatis

public abstract UploadManifest autoBuild ()

Hasil
UploadManifest

build

public UploadManifest build ()

Hasil
UploadManifest

setDigestToBlob

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

Parameter
digestToBlob ImmutableMap

Hasil
UploadManifest.Builder

{i>setDigestToFile<i}

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

Parameter
digestToFile ImmutableMap

Hasil
UploadManifest.Builder