@NotThreadSafe public static final class GoTestDescriptionArg.Builder extends Object
GoTestDescriptionArg
.
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.
Modifier and Type | Method and Description |
---|---|
GoTestDescriptionArg.Builder |
addAllAssemblerFlags(Iterable<String> elements)
Adds elements to
assemblerFlags list. |
GoTestDescriptionArg.Builder |
addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Adds elements to
compatibleWith list. |
GoTestDescriptionArg.Builder |
addAllCompilerFlags(Iterable<String> elements)
Adds elements to
compilerFlags list. |
GoTestDescriptionArg.Builder |
addAllContacts(Iterable<String> elements)
Adds elements to
contacts sortedSet. |
GoTestDescriptionArg.Builder |
addAllDeps(Iterable<? extends BuildTarget> elements)
Adds elements to
deps sortedSet. |
GoTestDescriptionArg.Builder |
addAllExternalLinkerFlags(Iterable<String> elements)
Adds elements to
externalLinkerFlags list. |
GoTestDescriptionArg.Builder |
addAllLabels(Iterable<String> elements)
Adds elements to
labels sortedSet. |
GoTestDescriptionArg.Builder |
addAllLicenses(Iterable<? extends SourcePath> elements)
Adds elements to
licenses set. |
GoTestDescriptionArg.Builder |
addAllLinkerFlags(Iterable<String> elements)
Adds elements to
linkerFlags list. |
GoTestDescriptionArg.Builder |
addAllResources(Iterable<? extends SourcePath> elements)
Adds elements to
resources sortedSet. |
GoTestDescriptionArg.Builder |
addAllSrcs(Iterable<? extends SourcePath> elements)
Adds elements to
srcs sortedSet. |
GoTestDescriptionArg.Builder |
addAssemblerFlags(String... elements)
Adds elements to
assemblerFlags list. |
GoTestDescriptionArg.Builder |
addAssemblerFlags(String element)
Adds one element to
assemblerFlags list. |
GoTestDescriptionArg.Builder |
addCompatibleWith(UnconfiguredBuildTarget... elements)
Adds elements to
compatibleWith list. |
GoTestDescriptionArg.Builder |
addCompatibleWith(UnconfiguredBuildTarget element)
Adds one element to
compatibleWith list. |
GoTestDescriptionArg.Builder |
addCompilerFlags(String... elements)
Adds elements to
compilerFlags list. |
GoTestDescriptionArg.Builder |
addCompilerFlags(String element)
Adds one element to
compilerFlags list. |
GoTestDescriptionArg.Builder |
addContacts(String... elements)
Adds elements to
contacts sortedSet. |
GoTestDescriptionArg.Builder |
addContacts(String element)
Adds one element to
contacts sortedSet. |
GoTestDescriptionArg.Builder |
addDeps(BuildTarget... elements)
Adds elements to
deps sortedSet. |
GoTestDescriptionArg.Builder |
addDeps(BuildTarget element)
Adds one element to
deps sortedSet. |
GoTestDescriptionArg.Builder |
addExternalLinkerFlags(String... elements)
Adds elements to
externalLinkerFlags list. |
GoTestDescriptionArg.Builder |
addExternalLinkerFlags(String element)
Adds one element to
externalLinkerFlags list. |
GoTestDescriptionArg.Builder |
addLabels(String... elements)
Adds elements to
labels sortedSet. |
GoTestDescriptionArg.Builder |
addLabels(String element)
Adds one element to
labels sortedSet. |
GoTestDescriptionArg.Builder |
addLicenses(SourcePath... elements)
Adds elements to
licenses set. |
GoTestDescriptionArg.Builder |
addLicenses(SourcePath element)
Adds one element to
licenses set. |
GoTestDescriptionArg.Builder |
addLinkerFlags(String... elements)
Adds elements to
linkerFlags list. |
GoTestDescriptionArg.Builder |
addLinkerFlags(String element)
Adds one element to
linkerFlags list. |
GoTestDescriptionArg.Builder |
addResources(SourcePath... elements)
Adds elements to
resources sortedSet. |
GoTestDescriptionArg.Builder |
addResources(SourcePath element)
Adds one element to
resources sortedSet. |
GoTestDescriptionArg.Builder |
addSrcs(SourcePath... elements)
Adds elements to
srcs sortedSet. |
GoTestDescriptionArg.Builder |
addSrcs(SourcePath element)
Adds one element to
srcs sortedSet. |
GoTestDescriptionArg |
build()
Builds a new
GoTestDescriptionArg . |
GoTestDescriptionArg.Builder |
from(BuildRuleArg instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.BuildRuleArg instance. |
GoTestDescriptionArg.Builder |
from(ConstructorArg instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.ConstructorArg instance. |
GoTestDescriptionArg.Builder |
from(com.facebook.buck.features.go.GoTestDescription.AbstractGoTestDescriptionArg instance)
Copy abstract value type
AbstractGoTestDescriptionArg instance into builder. |
GoTestDescriptionArg.Builder |
from(GoTestDescriptionArg instance)
Fill a builder with attribute values from the provided
GoTestDescriptionArg instance. |
GoTestDescriptionArg.Builder |
from(HasContacts instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasContacts instance. |
GoTestDescriptionArg.Builder |
from(HasDeclaredDeps instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasDeclaredDeps instance. |
GoTestDescriptionArg.Builder |
from(HasGoLinkable instance)
Fill a builder with attribute values from the provided
com.facebook.buck.features.go.HasGoLinkable instance. |
GoTestDescriptionArg.Builder |
from(HasSrcs instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasSrcs instance. |
GoTestDescriptionArg.Builder |
from(HasTestRunner instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.test.rule.HasTestRunner instance. |
GoTestDescriptionArg.Builder |
from(HasTestTimeout instance)
Fill a builder with attribute values from the provided
com.facebook.buck.core.description.arg.HasTestTimeout instance. |
GoTestDescriptionArg.Builder |
putAllEnv(Map<String,? extends StringWithMacros> entries)
Put all mappings from the specified map as entries to
env map. |
GoTestDescriptionArg.Builder |
putEnv(Map.Entry<String,? extends StringWithMacros> entry)
Put one entry to the
env map. |
GoTestDescriptionArg.Builder |
putEnv(String key,
StringWithMacros value)
Put one entry to the
env map. |
GoTestDescriptionArg.Builder |
setAssemblerFlags(Iterable<String> elements)
Sets or replaces all elements for
assemblerFlags list. |
GoTestDescriptionArg.Builder |
setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
Sets or replaces all elements for
compatibleWith list. |
GoTestDescriptionArg.Builder |
setCompilerFlags(Iterable<String> elements)
Sets or replaces all elements for
compilerFlags list. |
GoTestDescriptionArg.Builder |
setContacts(Iterable<String> elements)
Sets or replaces all elements for
contacts sortedSet. |
GoTestDescriptionArg.Builder |
setCoverageMode(com.facebook.buck.features.go.GoTestCoverStep.Mode coverageMode)
Initializes the optional value
coverageMode to coverageMode. |
GoTestDescriptionArg.Builder |
setCoverageMode(Optional<? extends com.facebook.buck.features.go.GoTestCoverStep.Mode> coverageMode)
Initializes the optional value
coverageMode to coverageMode. |
GoTestDescriptionArg.Builder |
setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
Initializes the optional value
defaultTargetPlatform to defaultTargetPlatform. |
GoTestDescriptionArg.Builder |
setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
Initializes the optional value
defaultTargetPlatform to defaultTargetPlatform. |
GoTestDescriptionArg.Builder |
setDeps(Iterable<? extends BuildTarget> elements)
Sets or replaces all elements for
deps sortedSet. |
GoTestDescriptionArg.Builder |
setEnv(Map<String,? extends StringWithMacros> entries)
Sets or replaces all mappings from the specified map as entries for the
env map. |
GoTestDescriptionArg.Builder |
setExternalLinkerFlags(Iterable<String> elements)
Sets or replaces all elements for
externalLinkerFlags list. |
GoTestDescriptionArg.Builder |
setLabels(Iterable<String> elements)
Sets or replaces all elements for
labels sortedSet. |
GoTestDescriptionArg.Builder |
setLibrary(BuildTarget library)
Initializes the optional value
library to library. |
GoTestDescriptionArg.Builder |
setLibrary(Optional<? extends BuildTarget> library)
Initializes the optional value
library to library. |
GoTestDescriptionArg.Builder |
setLicenses(Iterable<? extends SourcePath> elements)
Sets or replaces all elements for
licenses set. |
GoTestDescriptionArg.Builder |
setLinkerFlags(Iterable<String> elements)
Sets or replaces all elements for
linkerFlags list. |
GoTestDescriptionArg.Builder |
setLinkMode(com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode)
Initializes the optional value
linkMode to linkMode. |
GoTestDescriptionArg.Builder |
setLinkMode(Optional<? extends com.facebook.buck.features.go.GoLinkStep.LinkMode> linkMode)
Initializes the optional value
linkMode to linkMode. |
GoTestDescriptionArg.Builder |
setLinkStyle(Linker.LinkableDepType linkStyle)
Initializes the optional value
linkStyle to linkStyle. |
GoTestDescriptionArg.Builder |
setLinkStyle(Optional<? extends Linker.LinkableDepType> linkStyle)
Initializes the optional value
linkStyle to linkStyle. |
GoTestDescriptionArg.Builder |
setName(String name)
Initializes the value for the
name attribute. |
GoTestDescriptionArg.Builder |
setPackageName(Optional<String> packageName)
Initializes the optional value
packageName to packageName. |
GoTestDescriptionArg.Builder |
setPackageName(String packageName)
Initializes the optional value
packageName to packageName. |
GoTestDescriptionArg.Builder |
setPlatform(Flavor platform)
Initializes the optional value
platform to platform. |
GoTestDescriptionArg.Builder |
setPlatform(Optional<? extends Flavor> platform)
Initializes the optional value
platform to platform. |
GoTestDescriptionArg.Builder |
setResources(Iterable<? extends SourcePath> elements)
Sets or replaces all elements for
resources sortedSet. |
GoTestDescriptionArg.Builder |
setRunner(BuildTarget runner)
Initializes the optional value
runner to runner. |
GoTestDescriptionArg.Builder |
setRunner(Optional<? extends BuildTarget> runner)
Initializes the optional value
runner to runner. |
GoTestDescriptionArg.Builder |
setRunTestSeparately(boolean runTestSeparately)
Initializes the value for the
runTestSeparately attribute. |
GoTestDescriptionArg.Builder |
setSpecs(Optional<? extends TestRunnerSpec> specs)
Initializes the optional value
specs to specs. |
GoTestDescriptionArg.Builder |
setSpecs(TestRunnerSpec specs)
Initializes the optional value
specs to specs. |
GoTestDescriptionArg.Builder |
setSrcs(Iterable<? extends SourcePath> elements)
Sets or replaces all elements for
srcs sortedSet. |
GoTestDescriptionArg.Builder |
setTestRuleTimeoutMs(long testRuleTimeoutMs)
Initializes the optional value
testRuleTimeoutMs to testRuleTimeoutMs. |
GoTestDescriptionArg.Builder |
setTestRuleTimeoutMs(Optional<Long> testRuleTimeoutMs)
Initializes the optional value
testRuleTimeoutMs to testRuleTimeoutMs. |
public final GoTestDescriptionArg.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 GoTestDescriptionArg.Builder from(HasTestTimeout instance)
com.facebook.buck.core.description.arg.HasTestTimeout
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder from(GoTestDescriptionArg instance)
GoTestDescriptionArg
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder from(com.facebook.buck.features.go.GoTestDescription.AbstractGoTestDescriptionArg instance)
AbstractGoTestDescriptionArg
instance into builder.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder from(HasTestRunner instance)
com.facebook.buck.core.test.rule.HasTestRunner
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.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 GoTestDescriptionArg.Builder from(HasGoLinkable instance)
com.facebook.buck.features.go.HasGoLinkable
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder from(HasContacts instance)
com.facebook.buck.core.description.arg.HasContacts
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder from(HasSrcs instance)
com.facebook.buck.core.description.arg.HasSrcs
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.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 GoTestDescriptionArg.Builder setLibrary(BuildTarget library)
library
to library.library
- The value for librarythis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setLibrary(Optional<? extends BuildTarget> library)
library
to library.library
- The value for librarythis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setPackageName(String packageName)
packageName
to packageName.packageName
- The value for packageNamethis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setPackageName(Optional<String> packageName)
packageName
to packageName.packageName
- The value for packageNamethis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setCoverageMode(com.facebook.buck.features.go.GoTestCoverStep.Mode coverageMode)
coverageMode
to coverageMode.coverageMode
- The value for coverageModethis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setCoverageMode(Optional<? extends com.facebook.buck.features.go.GoTestCoverStep.Mode> coverageMode)
coverageMode
to coverageMode.coverageMode
- The value for coverageModethis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder putEnv(String key, StringWithMacros value)
env
map.key
- The key in the env mapvalue
- The associated value in the env mapthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder putEnv(Map.Entry<String,? extends StringWithMacros> entry)
env
map. Nulls are not permittedentry
- The key and value entrythis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setEnv(Map<String,? extends StringWithMacros> entries)
env
map. Nulls are not permittedentries
- The entries that will be added to the env mapthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder putAllEnv(Map<String,? extends StringWithMacros> entries)
env
map. Nulls are not permittedentries
- The entries that will be added to the env mapthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setRunTestSeparately(boolean runTestSeparately)
runTestSeparately
attribute.
If not set, this attribute will have a default value as returned by the initializer of runTestSeparately
.
runTestSeparately
- The value for runTestSeparatelythis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget element)
compatibleWith
list.element
- A compatibleWith elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addCompatibleWith(UnconfiguredBuildTarget... elements)
compatibleWith
list.elements
- An array of compatibleWith elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllCompatibleWith(Iterable<? extends UnconfiguredBuildTarget> elements)
compatibleWith
list.elements
- An iterable of compatibleWith elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setDefaultTargetPlatform(UnconfiguredBuildTarget defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setDefaultTargetPlatform(Optional<? extends UnconfiguredBuildTarget> defaultTargetPlatform)
defaultTargetPlatform
to defaultTargetPlatform.defaultTargetPlatform
- The value for defaultTargetPlatformthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLabels(String element)
labels
sortedSet.element
- A labels elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLabels(String... elements)
labels
sortedSet.elements
- An array of labels elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllLabels(Iterable<String> elements)
labels
sortedSet.elements
- An iterable of labels elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLicenses(SourcePath element)
licenses
set.element
- A licenses elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLicenses(SourcePath... elements)
licenses
set.elements
- An array of licenses elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllLicenses(Iterable<? extends SourcePath> elements)
licenses
set.elements
- An iterable of licenses elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setName(String name)
name
attribute.name
- The value for namethis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addContacts(String element)
contacts
sortedSet.element
- A contacts elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addContacts(String... elements)
contacts
sortedSet.elements
- An array of contacts elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllContacts(Iterable<String> elements)
contacts
sortedSet.elements
- An iterable of contacts elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addDeps(BuildTarget element)
deps
sortedSet.element
- A deps elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addDeps(BuildTarget... elements)
deps
sortedSet.elements
- An array of deps elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllDeps(Iterable<? extends BuildTarget> elements)
deps
sortedSet.elements
- An iterable of deps elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addSrcs(SourcePath element)
srcs
sortedSet.element
- A srcs elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addSrcs(SourcePath... elements)
srcs
sortedSet.elements
- An array of srcs elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setSrcs(Iterable<? extends SourcePath> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllSrcs(Iterable<? extends SourcePath> elements)
srcs
sortedSet.elements
- An iterable of srcs elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setRunner(BuildTarget runner)
runner
to runner.runner
- The value for runnerthis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setRunner(Optional<? extends BuildTarget> runner)
runner
to runner.runner
- The value for runnerthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setSpecs(TestRunnerSpec specs)
specs
to specs.specs
- The value for specsthis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setSpecs(Optional<? extends TestRunnerSpec> specs)
specs
to specs.specs
- The value for specsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setTestRuleTimeoutMs(long testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setTestRuleTimeoutMs(Optional<Long> testRuleTimeoutMs)
testRuleTimeoutMs
to testRuleTimeoutMs.testRuleTimeoutMs
- The value for testRuleTimeoutMsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setPlatform(Flavor platform)
platform
to platform.platform
- The value for platformthis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setPlatform(Optional<? extends Flavor> platform)
platform
to platform.platform
- The value for platformthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setLinkStyle(Linker.LinkableDepType linkStyle)
linkStyle
to linkStyle.linkStyle
- The value for linkStylethis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setLinkStyle(Optional<? extends Linker.LinkableDepType> linkStyle)
linkStyle
to linkStyle.linkStyle
- The value for linkStylethis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setLinkMode(com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode)
linkMode
to linkMode.linkMode
- The value for linkModethis
builder for chained invocationpublic final GoTestDescriptionArg.Builder setLinkMode(Optional<? extends com.facebook.buck.features.go.GoLinkStep.LinkMode> linkMode)
linkMode
to linkMode.linkMode
- The value for linkModethis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addCompilerFlags(String element)
compilerFlags
list.element
- A compilerFlags elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addCompilerFlags(String... elements)
compilerFlags
list.elements
- An array of compilerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setCompilerFlags(Iterable<String> elements)
compilerFlags
list.elements
- An iterable of compilerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllCompilerFlags(Iterable<String> elements)
compilerFlags
list.elements
- An iterable of compilerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAssemblerFlags(String element)
assemblerFlags
list.element
- A assemblerFlags elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAssemblerFlags(String... elements)
assemblerFlags
list.elements
- An array of assemblerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setAssemblerFlags(Iterable<String> elements)
assemblerFlags
list.elements
- An iterable of assemblerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllAssemblerFlags(Iterable<String> elements)
assemblerFlags
list.elements
- An iterable of assemblerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLinkerFlags(String element)
linkerFlags
list.element
- A linkerFlags elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addLinkerFlags(String... elements)
linkerFlags
list.elements
- An array of linkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setLinkerFlags(Iterable<String> elements)
linkerFlags
list.elements
- An iterable of linkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllLinkerFlags(Iterable<String> elements)
linkerFlags
list.elements
- An iterable of linkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addExternalLinkerFlags(String element)
externalLinkerFlags
list.element
- A externalLinkerFlags elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addExternalLinkerFlags(String... elements)
externalLinkerFlags
list.elements
- An array of externalLinkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setExternalLinkerFlags(Iterable<String> elements)
externalLinkerFlags
list.elements
- An iterable of externalLinkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllExternalLinkerFlags(Iterable<String> elements)
externalLinkerFlags
list.elements
- An iterable of externalLinkerFlags elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addResources(SourcePath element)
resources
sortedSet.element
- A resources elementthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addResources(SourcePath... elements)
resources
sortedSet.elements
- An array of resources elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder setResources(Iterable<? extends SourcePath> elements)
resources
sortedSet.elements
- An iterable of resources elementsthis
builder for use in a chained invocationpublic final GoTestDescriptionArg.Builder addAllResources(Iterable<? extends SourcePath> elements)
resources
sortedSet.elements
- An iterable of resources elementsthis
builder for use in a chained invocationpublic GoTestDescriptionArg build()
GoTestDescriptionArg
.IllegalStateException
- if any required attributes are missing