@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class PrebuiltGoLibraryDescriptionArg extends Object
PrebuiltGoLibraryDescription.AbstractPrebuiltGoLibraryDescriptionArg.
Use the builder to create immutable instances:
PrebuiltGoLibraryDescriptionArg.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
PrebuiltGoLibraryDescriptionArg.Builder
Builds instances of type
PrebuiltGoLibraryDescriptionArg. |
DEFAULT_TARGET_PLATFORM_PARAM_NAME| Modifier and Type | Method and Description |
|---|---|
static PrebuiltGoLibraryDescriptionArg.Builder |
builder()
Creates a builder for
PrebuiltGoLibraryDescriptionArg. |
boolean |
equals(Object another)
This instance is equal to all instances of
PrebuiltGoLibraryDescriptionArg that have equal attribute values. |
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<BuildTarget> |
getExportedDeps() |
com.google.common.collect.ImmutableSortedSet<String> |
getLabels() |
SourcePath |
getLibrary() |
com.google.common.collect.ImmutableSet<SourcePath> |
getLicenses() |
String |
getName()
Each rule has a name
|
Optional<String> |
getPackageName() |
int |
hashCode()
Computes a hash code from attributes:
library, packageName, exportedDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps. |
String |
toString()
Prints the immutable value
PrebuiltGoLibraryDescriptionArg with attribute values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitlabelsContainsAnyOfpublic SourcePath getLibrary()
library attributepublic Optional<String> getPackageName()
packageName attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getExportedDeps()
exportedDeps attributepublic com.google.common.collect.ImmutableList<UnconfiguredBuildTarget> getCompatibleWith()
BuildRuleArgconfig_setting a target is compatible with.compatibleWith attributepublic Optional<UnconfiguredBuildTarget> getDefaultTargetPlatform()
BuildRuleArgThe 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()
ConstructorArgname attributepublic com.google.common.collect.ImmutableSortedSet<BuildTarget> getDeps()
deps attributepublic boolean equals(@Nullable Object another)
PrebuiltGoLibraryDescriptionArg that have equal attribute values.public int hashCode()
library, packageName, exportedDeps, compatibleWith, defaultTargetPlatform, labels, licenses, name, deps.public String toString()
PrebuiltGoLibraryDescriptionArg with attribute values.public static PrebuiltGoLibraryDescriptionArg.Builder builder()
PrebuiltGoLibraryDescriptionArg.