CaricamentoManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

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


Riepilogo

Costruttori pubblici

Builder()

Metodi pubblici

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)

Costruttori pubblici

Costruttore

public Builder ()

Metodi pubblici

AggiungiBlob

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

Parametri
digest Digest

blob ByteString

Ritorni
UploadManifest.Builder

addBlob

public final UploadManifest.Builder addBlobs ( digestToBlob)

Parametri
digestToBlob

Ritorni
UploadManifest.Builder

addFile

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

Parametri
digest Digest

file File

Ritorni
UploadManifest.Builder

addFile

public final UploadManifest.Builder addFiles ( digestToFile)

Parametri
digestToFile

Ritorni
UploadManifest.Builder

Creazione automatica

public abstract UploadManifest autoBuild ()

Ritorni
UploadManifest

creare

public UploadManifest build ()

Ritorni
UploadManifest

setDigestToBlob

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

Parametri
digestToBlob ImmutableMap

Ritorni
UploadManifest.Builder

setDigestToFile

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

Parametri
digestToFile ImmutableMap

Ritorni
UploadManifest.Builder