UploadManifest.Builder

public static abstract class UploadManifest.Builder
extends Object

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


概要

パブリック コンストラクタ

Builder()

パブリック メソッド

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)

パブリック コンストラクタ

Builder

public Builder ()

パブリック メソッド

addBlob

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

パラメータ
digest Digest

blob ByteString

戻り値
UploadManifest.Builder

addBlobs

public final UploadManifest.Builder addBlobs ( digestToBlob)

パラメータ
digestToBlob

戻り値
UploadManifest.Builder

addFile

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

パラメータ
digest Digest

file File

戻り値
UploadManifest.Builder

addFiles

public final UploadManifest.Builder addFiles ( digestToFile)

パラメータ
digestToFile

戻り値
UploadManifest.Builder

自動ビルド

public abstract UploadManifest autoBuild ()

戻り値
UploadManifest

build

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