UploadManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

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


Resumo

Construtores públicos

Builder()

Métodos públicos

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)

Construtores públicos

Builder

public Builder ()

Métodos públicos

addBlob

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

Parâmetros
digest Digest

blob ByteString

Retorna
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

Parâmetros
digestToBlob

Retorna
UploadManifest.Builder

addFile

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

Parâmetros
digest Digest

file File

Retorna
UploadManifest.Builder

adicionararquivos

public final UploadManifest.Builder addFiles ( digestToFile)

Parâmetros
digestToFile

Retorna
UploadManifest.Builder

Criação automática

public abstract UploadManifest autoBuild ()

Retorna
UploadManifest

build

public UploadManifest build ()

Retorna
UploadManifest

setDigestToBlob

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

Parâmetros
digestToBlob ImmutableMap

Retorna
UploadManifest.Builder

setDigestToFile

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

Parâmetros
digestToFile ImmutableMap

Retorna
UploadManifest.Builder