@NotThreadSafe public static final class AndroidBundleDescriptionArg.Builder extends Object
AndroidBundleDescriptionArg
.
Initialize attributes and then invoke the build()
method to create an
immutable instance.
Builder
is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final AndroidBundleDescriptionArg.Builder from(HasApplicationModuleBlacklist instance)
com.facebook.buck.core.description.arg.HasApplicationModuleBlacklist
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(AndroidGraphEnhancerArgs instance)
com.facebook.buck.android.AndroidGraphEnhancerArgs
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(HasDeclaredDeps instance)
com.facebook.buck.core.description.arg.HasDeclaredDeps
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(HasTests instance)
com.facebook.buck.core.description.arg.HasTests
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(AndroidBundleDescriptionArg instance)
AndroidBundleDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(com.facebook.buck.android.AndroidBundleDescription.AbstractAndroidBundleDescriptionArg instance)
AbstractAndroidBundleDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(HasExopackageArgs instance)
com.facebook.buck.android.HasExopackageArgs
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(BuildRuleArg instance)
com.facebook.buck.core.description.arg.BuildRuleArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(HasDuplicateAndroidResourceTypes instance)
com.facebook.buck.android.HasDuplicateAndroidResourceTypes
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder from(ConstructorArg instance)
com.facebook.buck.core.description.arg.ConstructorArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setKeystore(BuildTarget keystore)
keystore
attribute.keystore
- The value for keystorethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setUseSplitDex(boolean useSplitDex)
useSplitDex
attribute.
If not set, this attribute will have a default value as returned by the initializer of useSplitDex
.
useSplitDex
- The value for useSplitDexthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setMinimizePrimaryDexSize(boolean minimizePrimaryDexSize)
minimizePrimaryDexSize
attribute.
If not set, this attribute will have a default value as returned by the initializer of minimizePrimaryDexSize
.
minimizePrimaryDexSize
- The value for minimizePrimaryDexSizethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexCompression(com.facebook.buck.android.DexStore dexCompression)
dexCompression
to dexCompression.dexCompression
- The value for dexCompressionthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexCompression(Optional<? extends com.facebook.buck.android.DexStore> dexCompression)
dexCompression
to dexCompression.dexCompression
- The value for dexCompressionthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addPrimaryDexPatterns(String element)
primaryDexPatterns
list.element
- A primaryDexPatterns elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addPrimaryDexPatterns(String... elements)
primaryDexPatterns
list.elements
- An array of primaryDexPatterns elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexPatterns(Iterable<String> elements)
primaryDexPatterns
list.elements
- An iterable of primaryDexPatterns elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllPrimaryDexPatterns(Iterable<String> elements)
primaryDexPatterns
list.elements
- An iterable of primaryDexPatterns elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexClassesFile(SourcePath primaryDexClassesFile)
primaryDexClassesFile
to primaryDexClassesFile.primaryDexClassesFile
- The value for primaryDexClassesFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexClassesFile(Optional<? extends SourcePath> primaryDexClassesFile)
primaryDexClassesFile
to primaryDexClassesFile.primaryDexClassesFile
- The value for primaryDexClassesFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexScenarioFile(SourcePath primaryDexScenarioFile)
primaryDexScenarioFile
to primaryDexScenarioFile.primaryDexScenarioFile
- The value for primaryDexScenarioFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexScenarioFile(Optional<? extends SourcePath> primaryDexScenarioFile)
primaryDexScenarioFile
to primaryDexScenarioFile.primaryDexScenarioFile
- The value for primaryDexScenarioFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPrimaryDexScenarioOverflowAllowed(boolean primaryDexScenarioOverflowAllowed)
primaryDexScenarioOverflowAllowed
attribute.
If not set, this attribute will have a default value as returned by the initializer of primaryDexScenarioOverflowAllowed
.
primaryDexScenarioOverflowAllowed
- The value for primaryDexScenarioOverflowAllowedthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setSecondaryDexHeadClassesFile(SourcePath secondaryDexHeadClassesFile)
secondaryDexHeadClassesFile
to secondaryDexHeadClassesFile.secondaryDexHeadClassesFile
- The value for secondaryDexHeadClassesFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setSecondaryDexHeadClassesFile(Optional<? extends SourcePath> secondaryDexHeadClassesFile)
secondaryDexHeadClassesFile
to secondaryDexHeadClassesFile.secondaryDexHeadClassesFile
- The value for secondaryDexHeadClassesFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setSecondaryDexTailClassesFile(SourcePath secondaryDexTailClassesFile)
secondaryDexTailClassesFile
to secondaryDexTailClassesFile.secondaryDexTailClassesFile
- The value for secondaryDexTailClassesFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setSecondaryDexTailClassesFile(Optional<? extends SourcePath> secondaryDexTailClassesFile)
secondaryDexTailClassesFile
to secondaryDexTailClassesFile.secondaryDexTailClassesFile
- The value for secondaryDexTailClassesFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setBundleConfigFile(SourcePath bundleConfigFile)
bundleConfigFile
to bundleConfigFile.bundleConfigFile
- The value for bundleConfigFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setBundleConfigFile(Optional<? extends SourcePath> bundleConfigFile)
bundleConfigFile
to bundleConfigFile.bundleConfigFile
- The value for bundleConfigFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAndroidAppModularityResult(SourcePath androidAppModularityResult)
androidAppModularityResult
to androidAppModularityResult.androidAppModularityResult
- The value for androidAppModularityResultthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setAndroidAppModularityResult(Optional<? extends SourcePath> androidAppModularityResult)
androidAppModularityResult
to androidAppModularityResult.androidAppModularityResult
- The value for androidAppModularityResultthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setLinearAllocHardLimit(long linearAllocHardLimit)
linearAllocHardLimit
attribute.
If not set, this attribute will have a default value as returned by the initializer of linearAllocHardLimit
.
linearAllocHardLimit
- The value for linearAllocHardLimitthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexGroupLibLimit(int dexGroupLibLimit)
dexGroupLibLimit
attribute.
If not set, this attribute will have a default value as returned by the initializer of dexGroupLibLimit
.
dexGroupLibLimit
- The value for dexGroupLibLimitthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addResourceFilter(String element)
resourceFilter
list.element
- A resourceFilter elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addResourceFilter(String... elements)
resourceFilter
list.elements
- An array of resourceFilter elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setResourceFilter(Iterable<String> elements)
resourceFilter
list.elements
- An iterable of resourceFilter elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllResourceFilter(Iterable<String> elements)
resourceFilter
list.elements
- An iterable of resourceFilter elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addPreprocessJavaClassesDeps(BuildTarget element)
preprocessJavaClassesDeps
sortedSet.element
- A preprocessJavaClassesDeps elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addPreprocessJavaClassesDeps(BuildTarget... elements)
preprocessJavaClassesDeps
sortedSet.elements
- An array of preprocessJavaClassesDeps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPreprocessJavaClassesDeps(Iterable<? extends BuildTarget> elements)
preprocessJavaClassesDeps
sortedSet.elements
- An iterable of preprocessJavaClassesDeps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllPreprocessJavaClassesDeps(Iterable<? extends BuildTarget> elements)
preprocessJavaClassesDeps
sortedSet.elements
- An iterable of preprocessJavaClassesDeps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setXzCompressionLevel(int xzCompressionLevel)
xzCompressionLevel
attribute.
If not set, this attribute will have a default value as returned by the initializer of xzCompressionLevel
.
xzCompressionLevel
- The value for xzCompressionLevelthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPackageAssetLibraries(boolean packageAssetLibraries)
packageAssetLibraries
attribute.
If not set, this attribute will have a default value as returned by the initializer of packageAssetLibraries
.
packageAssetLibraries
- The value for packageAssetLibrariesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setCompressAssetLibraries(boolean compressAssetLibraries)
compressAssetLibraries
attribute.
If not set, this attribute will have a default value as returned by the initializer of compressAssetLibraries
.
compressAssetLibraries
- The value for compressAssetLibrariesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAssetCompressionAlgorithm(CompressionAlgorithm assetCompressionAlgorithm)
assetCompressionAlgorithm
to assetCompressionAlgorithm.assetCompressionAlgorithm
- The value for assetCompressionAlgorithmthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setAssetCompressionAlgorithm(Optional<? extends CompressionAlgorithm> assetCompressionAlgorithm)
assetCompressionAlgorithm
to assetCompressionAlgorithm.assetCompressionAlgorithm
- The value for assetCompressionAlgorithmthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setRedex(boolean redex)
redex
attribute.
If not set, this attribute will have a default value as returned by the initializer of redex
.
redex
- The value for redexthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setRedexConfig(SourcePath redexConfig)
redexConfig
to redexConfig.redexConfig
- The value for redexConfigthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setRedexConfig(Optional<? extends SourcePath> redexConfig)
redexConfig
to redexConfig.redexConfig
- The value for redexConfigthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addRedexExtraArgs(StringWithMacros element)
redexExtraArgs
list.element
- A redexExtraArgs elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addRedexExtraArgs(StringWithMacros... elements)
redexExtraArgs
list.elements
- An array of redexExtraArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setRedexExtraArgs(Iterable<? extends StringWithMacros> elements)
redexExtraArgs
list.elements
- An iterable of redexExtraArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllRedexExtraArgs(Iterable<? extends StringWithMacros> elements)
redexExtraArgs
list.elements
- An iterable of redexExtraArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAaptMode(com.facebook.buck.android.AaptMode aaptMode)
aaptMode
attribute.
If not set, this attribute will have a default value as returned by the initializer of aaptMode
.
aaptMode
- The value for aaptModethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setExopackage(boolean exopackage)
exopackage
to exopackage.exopackage
- The value for exopackagethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setExopackage(Optional<Boolean> exopackage)
exopackage
to exopackage.exopackage
- The value for exopackagethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addExopackageModes(ExopackageMode element)
exopackageModes
set.element
- A exopackageModes elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addExopackageModes(ExopackageMode... elements)
exopackageModes
set.elements
- An array of exopackageModes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setExopackageModes(Iterable<ExopackageMode> elements)
exopackageModes
set.elements
- An iterable of exopackageModes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllExopackageModes(Iterable<ExopackageMode> elements)
exopackageModes
set.elements
- An iterable of exopackageModes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addTests(BuildTarget element)
tests
sortedSet.element
- A tests elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addTests(BuildTarget... elements)
tests
sortedSet.elements
- An array of tests elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllTests(Iterable<? extends BuildTarget> elements)
tests
sortedSet.elements
- An iterable of tests elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setManifest(SourcePath manifest)
manifest
to manifest.manifest
- The value for manifestthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setManifest(Optional<? extends SourcePath> manifest)
manifest
to manifest.manifest
- The value for manifestthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setManifestSkeleton(SourcePath manifestSkeleton)
manifestSkeleton
to manifestSkeleton.manifestSkeleton
- The value for manifestSkeletonthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setManifestSkeleton(Optional<? extends SourcePath> manifestSkeleton)
manifestSkeleton
to manifestSkeleton.manifestSkeleton
- The value for manifestSkeletonthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setModuleManifestSkeleton(SourcePath moduleManifestSkeleton)
moduleManifestSkeleton
to moduleManifestSkeleton.moduleManifestSkeleton
- The value for moduleManifestSkeletonthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setModuleManifestSkeleton(Optional<? extends SourcePath> moduleManifestSkeleton)
moduleManifestSkeleton
to moduleManifestSkeleton.moduleManifestSkeleton
- The value for moduleManifestSkeletonthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPackageType(String packageType)
packageType
to packageType.packageType
- The value for packageTypethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setPackageType(Optional<String> packageType)
packageType
to packageType.packageType
- The value for packageTypethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addNoDx(BuildTarget element)
noDx
set.element
- A noDx elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addNoDx(BuildTarget... elements)
noDx
set.elements
- An array of noDx elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNoDx(Iterable<? extends BuildTarget> elements)
noDx
set.elements
- An iterable of noDx elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllNoDx(Iterable<? extends BuildTarget> elements)
noDx
set.elements
- An iterable of noDx elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDisablePreDex(boolean disablePreDex)
disablePreDex
attribute.
If not set, this attribute will have a default value as returned by the initializer of disablePreDex
.
disablePreDex
- The value for disablePreDexthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAndroidSdkProguardConfig(com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType androidSdkProguardConfig)
androidSdkProguardConfig
to androidSdkProguardConfig.androidSdkProguardConfig
- The value for androidSdkProguardConfigthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setAndroidSdkProguardConfig(Optional<? extends com.facebook.buck.android.ProGuardObfuscateStep.SdkProguardType> androidSdkProguardConfig)
androidSdkProguardConfig
to androidSdkProguardConfig.androidSdkProguardConfig
- The value for androidSdkProguardConfigthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setOptimizationPasses(int optimizationPasses)
optimizationPasses
attribute.
If not set, this attribute will have a default value as returned by the initializer of optimizationPasses
.
optimizationPasses
- The value for optimizationPassesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addProguardJvmArgs(String element)
proguardJvmArgs
list.element
- A proguardJvmArgs elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addProguardJvmArgs(String... elements)
proguardJvmArgs
list.elements
- An array of proguardJvmArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setProguardJvmArgs(Iterable<String> elements)
proguardJvmArgs
list.elements
- An iterable of proguardJvmArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllProguardJvmArgs(Iterable<String> elements)
proguardJvmArgs
list.elements
- An iterable of proguardJvmArgs elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setProguardConfig(SourcePath proguardConfig)
proguardConfig
to proguardConfig.proguardConfig
- The value for proguardConfigthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setProguardConfig(Optional<? extends SourcePath> proguardConfig)
proguardConfig
to proguardConfig.proguardConfig
- The value for proguardConfigthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setResourceCompression(com.facebook.buck.android.ResourcesFilter.ResourceCompressionMode resourceCompression)
resourceCompression
attribute.
If not set, this attribute will have a default value as returned by the initializer of resourceCompression
.
resourceCompression
- The value for resourceCompressionthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setSkipCrunchPngs(boolean skipCrunchPngs)
skipCrunchPngs
to skipCrunchPngs.skipCrunchPngs
- The value for skipCrunchPngsthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setSkipCrunchPngs(Optional<Boolean> skipCrunchPngs)
skipCrunchPngs
to skipCrunchPngs.skipCrunchPngs
- The value for skipCrunchPngsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setIncludesVectorDrawables(boolean includesVectorDrawables)
includesVectorDrawables
attribute.
If not set, this attribute will have a default value as returned by the initializer of includesVectorDrawables
.
includesVectorDrawables
- The value for includesVectorDrawablesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNoAutoVersionResources(boolean noAutoVersionResources)
noAutoVersionResources
attribute.
If not set, this attribute will have a default value as returned by the initializer of noAutoVersionResources
.
noAutoVersionResources
- The value for noAutoVersionResourcesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNoVersionTransitionsResources(boolean noVersionTransitionsResources)
noVersionTransitionsResources
attribute.
If not set, this attribute will have a default value as returned by the initializer of noVersionTransitionsResources
.
noVersionTransitionsResources
- The value for noVersionTransitionsResourcesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNoAutoAddOverlayResources(boolean noAutoAddOverlayResources)
noAutoAddOverlayResources
attribute.
If not set, this attribute will have a default value as returned by the initializer of noAutoAddOverlayResources
.
noAutoAddOverlayResources
- The value for noAutoAddOverlayResourcesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModuleTargets(BuildTarget element)
applicationModuleTargets
set.element
- A applicationModuleTargets elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModuleTargets(BuildTarget... elements)
applicationModuleTargets
set.elements
- An array of applicationModuleTargets elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleTargets(Iterable<? extends BuildTarget> elements)
applicationModuleTargets
set.elements
- An iterable of applicationModuleTargets elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllApplicationModuleTargets(Iterable<? extends BuildTarget> elements)
applicationModuleTargets
set.elements
- An iterable of applicationModuleTargets elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putApplicationModuleConfigs(String key, com.google.common.collect.ImmutableList<BuildTarget> value)
applicationModuleConfigs
map.key
- The key in the applicationModuleConfigs mapvalue
- The associated value in the applicationModuleConfigs mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putApplicationModuleConfigs(Map.Entry<String,? extends com.google.common.collect.ImmutableList<BuildTarget>> entry)
applicationModuleConfigs
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleConfigs(Map<String,? extends com.google.common.collect.ImmutableList<BuildTarget>> entries)
applicationModuleConfigs
map. Nulls are not permittedentries
- The entries that will be added to the applicationModuleConfigs mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putAllApplicationModuleConfigs(Map<String,? extends com.google.common.collect.ImmutableList<BuildTarget>> entries)
applicationModuleConfigs
map. Nulls are not permittedentries
- The entries that will be added to the applicationModuleConfigs mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModulesWithResources(String element)
applicationModulesWithResources
set.element
- A applicationModulesWithResources elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModulesWithResources(String... elements)
applicationModulesWithResources
set.elements
- An array of applicationModulesWithResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModulesWithResources(Iterable<String> elements)
applicationModulesWithResources
set.elements
- An iterable of applicationModulesWithResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllApplicationModulesWithResources(Iterable<String> elements)
applicationModulesWithResources
set.elements
- An iterable of applicationModulesWithResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModulesWithManifest(String element)
applicationModulesWithManifest
set.element
- A applicationModulesWithManifest elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addApplicationModulesWithManifest(String... elements)
applicationModulesWithManifest
set.elements
- An array of applicationModulesWithManifest elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModulesWithManifest(Iterable<String> elements)
applicationModulesWithManifest
set.elements
- An iterable of applicationModulesWithManifest elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllApplicationModulesWithManifest(Iterable<String> elements)
applicationModulesWithManifest
set.elements
- An iterable of applicationModulesWithManifest elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleDependencies(com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>> applicationModuleDependencies)
applicationModuleDependencies
to applicationModuleDependencies.applicationModuleDependencies
- The value for applicationModuleDependenciesthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleDependencies(Optional<? extends com.google.common.collect.ImmutableMap<String,com.google.common.collect.ImmutableList<String>>> applicationModuleDependencies)
applicationModuleDependencies
to applicationModuleDependencies.applicationModuleDependencies
- The value for applicationModuleDependenciesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setIsCacheable(boolean isCacheable)
isCacheable
attribute.
If not set, this attribute will have a default value as returned by the initializer of isCacheable
.
isCacheable
- The value for isCacheablethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAdditionalAaptParams(String element)
additionalAaptParams
list.element
- A additionalAaptParams elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAdditionalAaptParams(String... elements)
additionalAaptParams
list.elements
- An array of additionalAaptParams elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAdditionalAaptParams(Iterable<String> elements)
additionalAaptParams
list.elements
- An iterable of additionalAaptParams elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllAdditionalAaptParams(Iterable<String> elements)
additionalAaptParams
list.elements
- An iterable of additionalAaptParams elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setTrimResourceIds(boolean trimResourceIds)
trimResourceIds
attribute.
If not set, this attribute will have a default value as returned by the initializer of trimResourceIds
.
trimResourceIds
- The value for trimResourceIdsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAllowRDotJavaInSecondaryDex(boolean allowRDotJavaInSecondaryDex)
allowRDotJavaInSecondaryDex
attribute.
If not set, this attribute will have a default value as returned by the initializer of allowRDotJavaInSecondaryDex
.
allowRDotJavaInSecondaryDex
- The value for allowRDotJavaInSecondaryDexthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setKeepResourcePattern(String keepResourcePattern)
keepResourcePattern
to keepResourcePattern.keepResourcePattern
- The value for keepResourcePatternthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setKeepResourcePattern(Optional<String> keepResourcePattern)
keepResourcePattern
to keepResourcePattern.keepResourcePattern
- The value for keepResourcePatternthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setResourceUnionPackage(String resourceUnionPackage)
resourceUnionPackage
to resourceUnionPackage.resourceUnionPackage
- The value for resourceUnionPackagethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setResourceUnionPackage(Optional<String> resourceUnionPackage)
resourceUnionPackage
to resourceUnionPackage.resourceUnionPackage
- The value for resourceUnionPackagethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLocales(String element)
locales
set.element
- A locales elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addLocales(String... elements)
locales
set.elements
- An array of locales elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setLocales(Iterable<String> elements)
locales
set.elements
- An iterable of locales elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllLocales(Iterable<String> elements)
locales
set.elements
- An iterable of locales elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAapt2LocaleFiltering(boolean aapt2LocaleFiltering)
aapt2LocaleFiltering
attribute.
If not set, this attribute will have a default value as returned by the initializer of aapt2LocaleFiltering
.
aapt2LocaleFiltering
- The value for aapt2LocaleFilteringthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setLocalizedStringFileName(String localizedStringFileName)
localizedStringFileName
to localizedStringFileName.localizedStringFileName
- The value for localizedStringFileNamethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setLocalizedStringFileName(Optional<String> localizedStringFileName)
localizedStringFileName
to localizedStringFileName.localizedStringFileName
- The value for localizedStringFileNamethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setBuildStringSourceMap(boolean buildStringSourceMap)
buildStringSourceMap
attribute.
If not set, this attribute will have a default value as returned by the initializer of buildStringSourceMap
.
buildStringSourceMap
- The value for buildStringSourceMapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setIgnoreAaptProguardConfig(boolean ignoreAaptProguardConfig)
ignoreAaptProguardConfig
attribute.
If not set, this attribute will have a default value as returned by the initializer of ignoreAaptProguardConfig
.
ignoreAaptProguardConfig
- The value for ignoreAaptProguardConfigthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addCpuFilters(TargetCpuType element)
cpuFilters
set.element
- A cpuFilters elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addCpuFilters(TargetCpuType... elements)
cpuFilters
set.elements
- An array of cpuFilters elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setCpuFilters(Iterable<TargetCpuType> elements)
cpuFilters
set.elements
- An iterable of cpuFilters elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllCpuFilters(Iterable<TargetCpuType> elements)
cpuFilters
set.elements
- An iterable of cpuFilters elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPreprocessJavaClassesBash(StringWithMacros preprocessJavaClassesBash)
preprocessJavaClassesBash
to preprocessJavaClassesBash.preprocessJavaClassesBash
- The value for preprocessJavaClassesBashthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setPreprocessJavaClassesBash(Optional<? extends StringWithMacros> preprocessJavaClassesBash)
preprocessJavaClassesBash
to preprocessJavaClassesBash.preprocessJavaClassesBash
- The value for preprocessJavaClassesBashthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setReorderClassesIntraDex(boolean reorderClassesIntraDex)
reorderClassesIntraDex
attribute.
If not set, this attribute will have a default value as returned by the initializer of reorderClassesIntraDex
.
reorderClassesIntraDex
- The value for reorderClassesIntraDexthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexTool(String dexTool)
dexTool
attribute.
If not set, this attribute will have a default value as returned by the initializer of dexTool
.
dexTool
- The value for dexToolthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexReorderToolFile(SourcePath dexReorderToolFile)
dexReorderToolFile
to dexReorderToolFile.dexReorderToolFile
- The value for dexReorderToolFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexReorderToolFile(Optional<? extends SourcePath> dexReorderToolFile)
dexReorderToolFile
to dexReorderToolFile.dexReorderToolFile
- The value for dexReorderToolFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexReorderDataDumpFile(SourcePath dexReorderDataDumpFile)
dexReorderDataDumpFile
to dexReorderDataDumpFile.dexReorderDataDumpFile
- The value for dexReorderDataDumpFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setDexReorderDataDumpFile(Optional<? extends SourcePath> dexReorderDataDumpFile)
dexReorderDataDumpFile
to dexReorderDataDumpFile.dexReorderDataDumpFile
- The value for dexReorderDataDumpFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putNativeLibraryMergeMap(String key, List<Pattern> value)
nativeLibraryMergeMap
map.key
- The key in the nativeLibraryMergeMap mapvalue
- The associated value in the nativeLibraryMergeMap mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putNativeLibraryMergeMap(Map.Entry<String,? extends List<Pattern>> entry)
nativeLibraryMergeMap
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeMap(Map<String,? extends List<Pattern>> entries)
nativeLibraryMergeMap
map. Nulls are not permittedentries
- The entries that will be added to the nativeLibraryMergeMap mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder putAllNativeLibraryMergeMap(Map<String,? extends List<Pattern>> entries)
nativeLibraryMergeMap
map. Nulls are not permittedentries
- The entries that will be added to the nativeLibraryMergeMap mapthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeGlue(BuildTarget nativeLibraryMergeGlue)
nativeLibraryMergeGlue
to nativeLibraryMergeGlue.nativeLibraryMergeGlue
- The value for nativeLibraryMergeGluethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeGlue(Optional<? extends BuildTarget> nativeLibraryMergeGlue)
nativeLibraryMergeGlue
to nativeLibraryMergeGlue.nativeLibraryMergeGlue
- The value for nativeLibraryMergeGluethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeCodeGenerator(BuildTarget nativeLibraryMergeCodeGenerator)
nativeLibraryMergeCodeGenerator
to nativeLibraryMergeCodeGenerator.nativeLibraryMergeCodeGenerator
- The value for nativeLibraryMergeCodeGeneratorthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeCodeGenerator(Optional<? extends BuildTarget> nativeLibraryMergeCodeGenerator)
nativeLibraryMergeCodeGenerator
to nativeLibraryMergeCodeGenerator.nativeLibraryMergeCodeGenerator
- The value for nativeLibraryMergeCodeGeneratorthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeLocalizedSymbols(com.google.common.collect.ImmutableSortedSet<String> nativeLibraryMergeLocalizedSymbols)
nativeLibraryMergeLocalizedSymbols
to nativeLibraryMergeLocalizedSymbols.nativeLibraryMergeLocalizedSymbols
- The value for nativeLibraryMergeLocalizedSymbolsthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryMergeLocalizedSymbols(Optional<? extends com.google.common.collect.ImmutableSortedSet<String>> nativeLibraryMergeLocalizedSymbols)
nativeLibraryMergeLocalizedSymbols
to nativeLibraryMergeLocalizedSymbols.nativeLibraryMergeLocalizedSymbols
- The value for nativeLibraryMergeLocalizedSymbolsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryProguardConfigGenerator(BuildTarget nativeLibraryProguardConfigGenerator)
nativeLibraryProguardConfigGenerator
to nativeLibraryProguardConfigGenerator.nativeLibraryProguardConfigGenerator
- The value for nativeLibraryProguardConfigGeneratorthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setNativeLibraryProguardConfigGenerator(Optional<? extends BuildTarget> nativeLibraryProguardConfigGenerator)
nativeLibraryProguardConfigGenerator
to nativeLibraryProguardConfigGenerator.nativeLibraryProguardConfigGenerator
- The value for nativeLibraryProguardConfigGeneratorthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setEnableRelinker(boolean enableRelinker)
enableRelinker
attribute.
If not set, this attribute will have a default value as returned by the initializer of enableRelinker
.
enableRelinker
- The value for enableRelinkerthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addRelinkerWhitelist(Pattern element)
relinkerWhitelist
list.element
- A relinkerWhitelist elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addRelinkerWhitelist(Pattern... elements)
relinkerWhitelist
list.elements
- An array of relinkerWhitelist elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setRelinkerWhitelist(Iterable<? extends Pattern> elements)
relinkerWhitelist
list.elements
- An iterable of relinkerWhitelist elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllRelinkerWhitelist(Iterable<? extends Pattern> elements)
relinkerWhitelist
list.elements
- An iterable of relinkerWhitelist elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setManifestEntries(ManifestEntries manifestEntries)
manifestEntries
attribute.
If not set, this attribute will have a default value as returned by the initializer of manifestEntries
.
manifestEntries
- The value for manifestEntriesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setBuildConfigValues(BuildConfigFields buildConfigValues)
buildConfigValues
attribute.
If not set, this attribute will have a default value as returned by the initializer of buildConfigValues
.
buildConfigValues
- The value for buildConfigValuesthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setPostFilterResourcesCmd(StringWithMacros postFilterResourcesCmd)
postFilterResourcesCmd
to postFilterResourcesCmd.postFilterResourcesCmd
- The value for postFilterResourcesCmdthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setPostFilterResourcesCmd(Optional<? extends StringWithMacros> postFilterResourcesCmd)
postFilterResourcesCmd
to postFilterResourcesCmd.postFilterResourcesCmd
- The value for postFilterResourcesCmdthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setBuildConfigValuesFile(SourcePath buildConfigValuesFile)
buildConfigValuesFile
to buildConfigValuesFile.buildConfigValuesFile
- The value for buildConfigValuesFilethis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setBuildConfigValuesFile(Optional<? extends SourcePath> buildConfigValuesFile)
buildConfigValuesFile
to buildConfigValuesFile.buildConfigValuesFile
- The value for buildConfigValuesFilethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setSkipProguard(boolean skipProguard)
skipProguard
attribute.
If not set, this attribute will have a default value as returned by the initializer of skipProguard
.
skipProguard
- The value for skipProguardthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setUseDynamicFeature(boolean useDynamicFeature)
useDynamicFeature
attribute.
If not set, this attribute will have a default value as returned by the initializer of useDynamicFeature
.
useDynamicFeature
- The value for useDynamicFeaturethis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addExtraFilteredResources(String element)
extraFilteredResources
set.element
- A extraFilteredResources elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addExtraFilteredResources(String... elements)
extraFilteredResources
set.elements
- An array of extraFilteredResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setExtraFilteredResources(Iterable<String> elements)
extraFilteredResources
set.elements
- An iterable of extraFilteredResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllExtraFilteredResources(Iterable<String> elements)
extraFilteredResources
set.elements
- An iterable of extraFilteredResources elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDuplicateResourceBehavior(HasDuplicateAndroidResourceTypes.DuplicateResourceBehaviour duplicateResourceBehavior)
duplicateResourceBehavior
attribute.
If not set, this attribute will have a default value as returned by the initializer of duplicateResourceBehavior
.
duplicateResourceBehavior
- The value for duplicateResourceBehaviorthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllowedDuplicateResourceTypes(RDotTxtEntry.RType element)
allowedDuplicateResourceTypes
set.element
- A allowedDuplicateResourceTypes elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllowedDuplicateResourceTypes(RDotTxtEntry.RType... elements)
allowedDuplicateResourceTypes
set.elements
- An array of allowedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setAllowedDuplicateResourceTypes(Iterable<RDotTxtEntry.RType> elements)
allowedDuplicateResourceTypes
set.elements
- An iterable of allowedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllAllowedDuplicateResourceTypes(Iterable<RDotTxtEntry.RType> elements)
allowedDuplicateResourceTypes
set.elements
- An iterable of allowedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addBannedDuplicateResourceTypes(RDotTxtEntry.RType element)
bannedDuplicateResourceTypes
set.element
- A bannedDuplicateResourceTypes elementthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addBannedDuplicateResourceTypes(RDotTxtEntry.RType... elements)
bannedDuplicateResourceTypes
set.elements
- An array of bannedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setBannedDuplicateResourceTypes(Iterable<RDotTxtEntry.RType> elements)
bannedDuplicateResourceTypes
set.elements
- An iterable of bannedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder addAllBannedDuplicateResourceTypes(Iterable<RDotTxtEntry.RType> elements)
bannedDuplicateResourceTypes
set.elements
- An iterable of bannedDuplicateResourceTypes elementsthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setDuplicateResourceWhitelist(SourcePath duplicateResourceWhitelist)
duplicateResourceWhitelist
to duplicateResourceWhitelist.duplicateResourceWhitelist
- The value for duplicateResourceWhitelistthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setDuplicateResourceWhitelist(Optional<? extends SourcePath> duplicateResourceWhitelist)
duplicateResourceWhitelist
to duplicateResourceWhitelist.duplicateResourceWhitelist
- The value for duplicateResourceWhitelistthis
builder for use in a chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleBlacklist(List<Query> applicationModuleBlacklist)
applicationModuleBlacklist
to applicationModuleBlacklist.applicationModuleBlacklist
- The value for applicationModuleBlacklistthis
builder for chained invocationpublic final AndroidBundleDescriptionArg.Builder setApplicationModuleBlacklist(Optional<? extends List<Query>> applicationModuleBlacklist)
applicationModuleBlacklist
to applicationModuleBlacklist.applicationModuleBlacklist
- The value for applicationModuleBlacklistthis
builder for use in a chained invocationpublic AndroidBundleDescriptionArg build()
AndroidBundleDescriptionArg
.IllegalStateException
- if any required attributes are missing