@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PrebuiltPythonLibraryDescriptionArg extends Object
PrebuiltPythonLibraryDescription.AbstractPrebuiltPythonLibraryDescriptionArg
.
Use the builder to create immutable instances:
PrebuiltPythonLibraryDescriptionArg.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
PrebuiltPythonLibraryDescriptionArg.Builder
Builds instances of type
PrebuiltPythonLibraryDescriptionArg . |
DEFAULT_TARGET_PLATFORM_PARAM_NAME
Modifier and Type | Method and Description |
---|---|
static PrebuiltPythonLibraryDescriptionArg.Builder |
builder()
Creates a builder for
PrebuiltPythonLibraryDescriptionArg . |
boolean |
equals(Object another)
This instance is equal to all instances of
PrebuiltPythonLibraryDescriptionArg that have equal attribute values. |
SourcePath |
getBinarySrc() |
com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> |
getCompatibleWith()
A list of
config_setting a target is compatible with. |
Optional<UnconfiguredBuildTarget> |
getDefaultTargetPlatform()
The name of build target default "new" platform: it is used when a platform is not specified
either globally or in a target which used this target as a dependency.
|
com.google.common.collect.ImmutableSortedSet<BuildTarget> |
getDeps() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
int |
hashCode()
Computes a hash code from attributes:
binarySrc , excludeDepsFromMergedLinking , ignoreCompileErrors , compile , compatibleWith , defaultTargetPlatform , labels , licenses , name , deps . |
boolean |
isCompile() |
boolean |
isExcludeDepsFromMergedLinking() |
boolean |
isIgnoreCompileErrors() |
String |
toString()
Prints the immutable value
PrebuiltPythonLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
labelsContainsAnyOf
public SourcePath getBinarySrc()
binarySrc
attributepublic boolean isExcludeDepsFromMergedLinking()
excludeDepsFromMergedLinking
attributepublic boolean isIgnoreCompileErrors()
ignoreCompileErrors
attributepublic boolean isCompile()
compile
attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArg
config_setting
a target is compatible with.compatibleWith
attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArg
The value is a build target, but we specify it as string, because this function is not actually called, but the attr is fetched by name from the raw (unconfigured) target node.
defaultTargetPlatform
attributepublic com.google.common.collect.ImmutableSortedSet<String> getLabels()
labels
attributepublic com.google.common.collect.ImmutableSet<SourcePath> getLicenses()
licenses
attributepublic String getName()
ConstructorArg
name
attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps
attributepublic boolean equals(@Nullable Object another)
PrebuiltPythonLibraryDescriptionArg
that have equal attribute values.public int hashCode()
binarySrc
, excludeDepsFromMergedLinking
, ignoreCompileErrors
, compile
, compatibleWith
, defaultTargetPlatform
, labels
, licenses
, name
, deps
.public String toString()
PrebuiltPythonLibraryDescriptionArg
with attribute values.public static PrebuiltPythonLibraryDescriptionArg.Builder builder()
PrebuiltPythonLibraryDescriptionArg
.