@NotThreadSafe public static final class PrebuiltCxxLibraryDescriptionArg.Builder extends Object
PrebuiltCxxLibraryDescriptionArg
.
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 PrebuiltCxxLibraryDescriptionArg.Builder from(PrebuiltCxxLibraryDescriptionArg instance)
PrebuiltCxxLibraryDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder from(com.facebook.buck.cxx.PrebuiltCxxLibraryDescription.AbstractPrebuiltCxxLibraryDescriptionArg instance)
AbstractPrebuiltCxxLibraryDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.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 PrebuiltCxxLibraryDescriptionArg.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 PrebuiltCxxLibraryDescriptionArg.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 PrebuiltCxxLibraryDescriptionArg.Builder setHeaderDirs(com.google.common.collect.ImmutableList<SourcePath> headerDirs)
headerDirs
to headerDirs.headerDirs
- The value for headerDirsthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setHeaderDirs(Optional<? extends com.google.common.collect.ImmutableList<SourcePath>> headerDirs)
headerDirs
to headerDirs.headerDirs
- The value for headerDirsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformHeaderDirs(PatternMatchedCollection<com.google.common.collect.ImmutableList<SourcePath>> platformHeaderDirs)
platformHeaderDirs
to platformHeaderDirs.platformHeaderDirs
- The value for platformHeaderDirsthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformHeaderDirs(Optional<? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<SourcePath>>> platformHeaderDirs)
platformHeaderDirs
to platformHeaderDirs.platformHeaderDirs
- The value for platformHeaderDirsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedHeaderDirs(VersionMatchedCollection<com.google.common.collect.ImmutableList<SourcePath>> versionedHeaderDirs)
versionedHeaderDirs
to versionedHeaderDirs.versionedHeaderDirs
- The value for versionedHeaderDirsthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedHeaderDirs(Optional<? extends VersionMatchedCollection<com.google.common.collect.ImmutableList<SourcePath>>> versionedHeaderDirs)
versionedHeaderDirs
to versionedHeaderDirs.versionedHeaderDirs
- The value for versionedHeaderDirsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setImportLib(SourcePath importLib)
importLib
to importLib.importLib
- The value for importLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setImportLib(Optional<? extends SourcePath> importLib)
importLib
to importLib.importLib
- The value for importLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformImportLib(PatternMatchedCollection<SourcePath> platformImportLib)
platformImportLib
to platformImportLib.platformImportLib
- The value for platformImportLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformImportLib(Optional<? extends PatternMatchedCollection<SourcePath>> platformImportLib)
platformImportLib
to platformImportLib.platformImportLib
- The value for platformImportLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedImportLib(VersionMatchedCollection<SourcePath> versionedImportLib)
versionedImportLib
to versionedImportLib.versionedImportLib
- The value for versionedImportLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedImportLib(Optional<? extends VersionMatchedCollection<SourcePath>> versionedImportLib)
versionedImportLib
to versionedImportLib.versionedImportLib
- The value for versionedImportLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSharedLib(SourcePath sharedLib)
sharedLib
to sharedLib.sharedLib
- The value for sharedLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSharedLib(Optional<? extends SourcePath> sharedLib)
sharedLib
to sharedLib.sharedLib
- The value for sharedLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformSharedLib(PatternMatchedCollection<SourcePath> platformSharedLib)
platformSharedLib
to platformSharedLib.platformSharedLib
- The value for platformSharedLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformSharedLib(Optional<? extends PatternMatchedCollection<SourcePath>> platformSharedLib)
platformSharedLib
to platformSharedLib.platformSharedLib
- The value for platformSharedLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedSharedLib(VersionMatchedCollection<SourcePath> versionedSharedLib)
versionedSharedLib
to versionedSharedLib.versionedSharedLib
- The value for versionedSharedLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedSharedLib(Optional<? extends VersionMatchedCollection<SourcePath>> versionedSharedLib)
versionedSharedLib
to versionedSharedLib.versionedSharedLib
- The value for versionedSharedLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setStaticLib(SourcePath staticLib)
staticLib
to staticLib.staticLib
- The value for staticLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setStaticLib(Optional<? extends SourcePath> staticLib)
staticLib
to staticLib.staticLib
- The value for staticLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformStaticLib(PatternMatchedCollection<SourcePath> platformStaticLib)
platformStaticLib
to platformStaticLib.platformStaticLib
- The value for platformStaticLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformStaticLib(Optional<? extends PatternMatchedCollection<SourcePath>> platformStaticLib)
platformStaticLib
to platformStaticLib.platformStaticLib
- The value for platformStaticLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedStaticLib(VersionMatchedCollection<SourcePath> versionedStaticLib)
versionedStaticLib
to versionedStaticLib.versionedStaticLib
- The value for versionedStaticLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedStaticLib(Optional<? extends VersionMatchedCollection<SourcePath>> versionedStaticLib)
versionedStaticLib
to versionedStaticLib.versionedStaticLib
- The value for versionedStaticLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setStaticPicLib(SourcePath staticPicLib)
staticPicLib
to staticPicLib.staticPicLib
- The value for staticPicLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setStaticPicLib(Optional<? extends SourcePath> staticPicLib)
staticPicLib
to staticPicLib.staticPicLib
- The value for staticPicLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformStaticPicLib(PatternMatchedCollection<SourcePath> platformStaticPicLib)
platformStaticPicLib
to platformStaticPicLib.platformStaticPicLib
- The value for platformStaticPicLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPlatformStaticPicLib(Optional<? extends PatternMatchedCollection<SourcePath>> platformStaticPicLib)
platformStaticPicLib
to platformStaticPicLib.platformStaticPicLib
- The value for platformStaticPicLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedStaticPicLib(VersionMatchedCollection<SourcePath> versionedStaticPicLib)
versionedStaticPicLib
to versionedStaticPicLib.versionedStaticPicLib
- The value for versionedStaticPicLibthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedStaticPicLib(Optional<? extends VersionMatchedCollection<SourcePath>> versionedStaticPicLib)
versionedStaticPicLib
to versionedStaticPicLib.versionedStaticPicLib
- The value for versionedStaticPicLibthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setHeaderOnly(boolean headerOnly)
headerOnly
attribute.
If not set, this attribute will have a default value as returned by the initializer of headerOnly
.
headerOnly
- The value for headerOnlythis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedHeaders(SourceSortedSet exportedHeaders)
exportedHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedHeaders
.
exportedHeaders
- The value for exportedHeadersthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPlatformHeaders(PatternMatchedCollection<SourceSortedSet> exportedPlatformHeaders)
exportedPlatformHeaders
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformHeaders
.
exportedPlatformHeaders
- The value for exportedPlatformHeadersthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setHeaderNamespace(String headerNamespace)
headerNamespace
to headerNamespace.headerNamespace
- The value for headerNamespacethis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setHeaderNamespace(Optional<String> headerNamespace)
headerNamespace
to headerNamespace.headerNamespace
- The value for headerNamespacethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setProvided(boolean provided)
provided
attribute.
If not set, this attribute will have a default value as returned by the initializer of provided
.
provided
- The value for providedthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setLinkWhole(boolean linkWhole)
linkWhole
attribute.
If not set, this attribute will have a default value as returned by the initializer of linkWhole
.
linkWhole
- The value for linkWholethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setForceStatic(boolean forceStatic)
forceStatic
attribute.
If not set, this attribute will have a default value as returned by the initializer of forceStatic
.
forceStatic
- The value for forceStaticthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPreferredLinkage(NativeLinkableGroup.Linkage preferredLinkage)
preferredLinkage
to preferredLinkage.preferredLinkage
- The value for preferredLinkagethis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setPreferredLinkage(Optional<? extends NativeLinkableGroup.Linkage> preferredLinkage)
preferredLinkage
to preferredLinkage.preferredLinkage
- The value for preferredLinkagethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedPreprocessorFlags(StringWithMacros element)
exportedPreprocessorFlags
list.element
- A exportedPreprocessorFlags elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedPreprocessorFlags(StringWithMacros... elements)
exportedPreprocessorFlags
list.elements
- An array of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
exportedPreprocessorFlags
list.elements
- An iterable of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllExportedPreprocessorFlags(Iterable<? extends StringWithMacros> elements)
exportedPreprocessorFlags
list.elements
- An iterable of exportedPreprocessorFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPlatformPreprocessorFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> exportedPlatformPreprocessorFlags)
exportedPlatformPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformPreprocessorFlags
.
exportedPlatformPreprocessorFlags
- The value for exportedPlatformPreprocessorFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putExportedLangPreprocessorFlags(CxxSource.Type key, com.google.common.collect.ImmutableList<StringWithMacros> value)
exportedLangPreprocessorFlags
map.key
- The key in the exportedLangPreprocessorFlags mapvalue
- The associated value in the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putExportedLangPreprocessorFlags(Map.Entry<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entry)
exportedLangPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
exportedLangPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putAllExportedLangPreprocessorFlags(Map<CxxSource.Type,? extends com.google.common.collect.ImmutableList<StringWithMacros>> entries)
exportedLangPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putExportedLangPlatformPreprocessorFlags(CxxSource.Type key, PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> value)
exportedLangPlatformPreprocessorFlags
map.key
- The key in the exportedLangPlatformPreprocessorFlags mapvalue
- The associated value in the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putExportedLangPlatformPreprocessorFlags(Map.Entry<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entry)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder putAllExportedLangPlatformPreprocessorFlags(Map<CxxSource.Type,? extends PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> entries)
exportedLangPlatformPreprocessorFlags
map. Nulls are not permittedentries
- The entries that will be added to the exportedLangPlatformPreprocessorFlags mapthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedExportedPreprocessorFlags(VersionMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> versionedExportedPreprocessorFlags)
versionedExportedPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of versionedExportedPreprocessorFlags
.
versionedExportedPreprocessorFlags
- The value for versionedExportedPreprocessorFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedExportedPlatformPreprocessorFlags(VersionMatchedCollection<PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>> versionedExportedPlatformPreprocessorFlags)
versionedExportedPlatformPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of versionedExportedPlatformPreprocessorFlags
.
versionedExportedPlatformPreprocessorFlags
- The value for versionedExportedPlatformPreprocessorFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedExportedLangPreprocessorFlags(VersionMatchedCollection<com.google.common.collect.ImmutableMap<CxxSource.Type,com.google.common.collect.ImmutableList<StringWithMacros>>> versionedExportedLangPreprocessorFlags)
versionedExportedLangPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of versionedExportedLangPreprocessorFlags
.
versionedExportedLangPreprocessorFlags
- The value for versionedExportedLangPreprocessorFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setVersionedExportedLangPlatformPreprocessorFlags(VersionMatchedCollection<com.google.common.collect.ImmutableMap<CxxSource.Type,PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>>>> versionedExportedLangPlatformPreprocessorFlags)
versionedExportedLangPlatformPreprocessorFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of versionedExportedLangPlatformPreprocessorFlags
.
versionedExportedLangPlatformPreprocessorFlags
- The value for versionedExportedLangPlatformPreprocessorFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedLinkerFlags(StringWithMacros element)
exportedLinkerFlags
list.element
- A exportedLinkerFlags elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedLinkerFlags(StringWithMacros... elements)
exportedLinkerFlags
list.elements
- An array of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedLinkerFlags
list.elements
- An iterable of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllExportedLinkerFlags(Iterable<? extends StringWithMacros> elements)
exportedLinkerFlags
list.elements
- An iterable of exportedLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedPostLinkerFlags(String element)
exportedPostLinkerFlags
list.element
- A exportedPostLinkerFlags elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedPostLinkerFlags(String... elements)
exportedPostLinkerFlags
list.elements
- An array of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPostLinkerFlags(Iterable<String> elements)
exportedPostLinkerFlags
list.elements
- An iterable of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllExportedPostLinkerFlags(Iterable<String> elements)
exportedPostLinkerFlags
list.elements
- An iterable of exportedPostLinkerFlags elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<StringWithMacros>> exportedPlatformLinkerFlags)
exportedPlatformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformLinkerFlags
.
exportedPlatformLinkerFlags
- The value for exportedPlatformLinkerFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPostPlatformLinkerFlags(PatternMatchedCollection<com.google.common.collect.ImmutableList<String>> exportedPostPlatformLinkerFlags)
exportedPostPlatformLinkerFlags
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPostPlatformLinkerFlags
.
exportedPostPlatformLinkerFlags
- The value for exportedPostPlatformLinkerFlagsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSoname(String soname)
soname
to soname.soname
- The value for sonamethis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSoname(Optional<String> soname)
soname
to soname.soname
- The value for sonamethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setLinkWithoutSoname(boolean linkWithoutSoname)
linkWithoutSoname
attribute.
If not set, this attribute will have a default value as returned by the initializer of linkWithoutSoname
.
linkWithoutSoname
- The value for linkWithoutSonamethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setCanBeAsset(boolean canBeAsset)
canBeAsset
attribute.
If not set, this attribute will have a default value as returned by the initializer of canBeAsset
.
canBeAsset
- The value for canBeAssetthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addFrameworks(FrameworkPath element)
frameworks
sortedSet.element
- A frameworks elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addFrameworks(FrameworkPath... elements)
frameworks
sortedSet.elements
- An array of frameworks elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setFrameworks(Iterable<? extends FrameworkPath> elements)
frameworks
sortedSet.elements
- An iterable of frameworks elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllFrameworks(Iterable<? extends FrameworkPath> elements)
frameworks
sortedSet.elements
- An iterable of frameworks elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLibraries(FrameworkPath element)
libraries
sortedSet.element
- A libraries elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLibraries(FrameworkPath... elements)
libraries
sortedSet.elements
- An array of libraries elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setLibraries(Iterable<? extends FrameworkPath> elements)
libraries
sortedSet.elements
- An iterable of libraries elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllLibraries(Iterable<? extends FrameworkPath> elements)
libraries
sortedSet.elements
- An iterable of libraries elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedDeps(BuildTarget element)
exportedDeps
sortedSet.element
- A exportedDeps elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addExportedDeps(BuildTarget... elements)
exportedDeps
sortedSet.elements
- An array of exportedDeps elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllExportedDeps(Iterable<? extends BuildTarget> elements)
exportedDeps
sortedSet.elements
- An iterable of exportedDeps elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setExportedPlatformDeps(PatternMatchedCollection<com.google.common.collect.ImmutableSortedSet<BuildTarget>> exportedPlatformDeps)
exportedPlatformDeps
attribute.
If not set, this attribute will have a default value as returned by the initializer of exportedPlatformDeps
.
exportedPlatformDeps
- The value for exportedPlatformDepsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSupportedPlatformsRegex(Pattern supportedPlatformsRegex)
supportedPlatformsRegex
to supportedPlatformsRegex.supportedPlatformsRegex
- The value for supportedPlatformsRegexthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSupportedPlatformsRegex(Optional<? extends Pattern> supportedPlatformsRegex)
supportedPlatformsRegex
to supportedPlatformsRegex.supportedPlatformsRegex
- The value for supportedPlatformsRegexthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSupportsSharedLibraryInterface(boolean supportsSharedLibraryInterface)
supportsSharedLibraryInterface
attribute.
If not set, this attribute will have a default value as returned by the initializer of supportsSharedLibraryInterface
.
supportsSharedLibraryInterface
- The value for supportsSharedLibraryInterfacethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSupportsMergedLinking(boolean supportsMergedLinking)
supportsMergedLinking
to supportsMergedLinking.supportsMergedLinking
- The value for supportsMergedLinkingthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setSupportsMergedLinking(Optional<Boolean> supportsMergedLinking)
supportsMergedLinking
to supportsMergedLinking.supportsMergedLinking
- The value for supportsMergedLinkingthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final PrebuiltCxxLibraryDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic PrebuiltCxxLibraryDescriptionArg build()
PrebuiltCxxLibraryDescriptionArg
.IllegalStateException
- if any required attributes are missing