ЗагрузитьМанифест.Builder

public static abstract class UploadManifest.Builder
extends Object

java.lang.Объект
com.android.tradefed.cache.UploadManifest.Builder


Краткое содержание

Общественные конструкторы

Builder ()

Публичные методы

final UploadManifest.Builder addBlob (Digest digest, ByteString blob)
final UploadManifest.Builder addBlobs ( digestToBlob) addBlobs ( digestToBlob)
final UploadManifest.Builder addFile (Digest digest, File file)
final UploadManifest.Builder addFiles ( digestToFile) addFiles ( digestToFile)
abstract UploadManifest autoBuild ()
UploadManifest build ()
abstract UploadManifest.Builder setDigestToBlob (ImmutableMap<Digest, ByteString> digestToBlob)
abstract UploadManifest.Builder setDigestToFile (ImmutableMap<Digest, File> digestToFile)

Общественные конструкторы

Строитель

public Builder ()

Публичные методы

addBlob

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

Параметры
digest Digest

blob ByteString

Возврат
UploadManifest.Builder

добавитьблобы

public final UploadManifest.Builder addBlobs ( digestToBlob)

Параметры
digestToBlob

Возврат
UploadManifest.Builder

добавитьфайл

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

Параметры
digest Digest

file File

Возврат
UploadManifest.Builder

добавитьфайлы

public final UploadManifest.Builder addFiles ( digestToFile)

Параметры
digestToFile

Возврат
UploadManifest.Builder

автосборка

public abstract UploadManifest autoBuild ()

Возврат
UploadManifest

строить

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