Class ImmutableUriProtocPlugin
java.lang.Object
io.github.ascopes.protobufmavenplugin.plugins.distributions.UriProtocPlugin
io.github.ascopes.protobufmavenplugin.plugins.distributions.ImmutableUriProtocPlugin
- All Implemented Interfaces:
ProtocPlugin
@Generated(from="UriProtocPlugin",
generator="Immutables")
@Generated("org.immutables.processor.ProxyProcessor")
public final class ImmutableUriProtocPlugin
extends UriProtocPlugin
Immutable implementation of
UriProtocPlugin.
Use the builder to create immutable instances:
ImmutableUriProtocPlugin.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableUriProtocPlugin. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableUriProtocPlugin.booleanThis instance is equal to all instances ofImmutableUriProtocPluginthat have equal attribute values.@Nullable Digest@Nullable StringintgetOrder()@Nullable Path@Nullable URIgetUrl()inthashCode()Computes a hash code from attributes:options,outputDirectory,registerAsCompilationRoot,order,skip,url,digest,optional.boolean@Nullable BooleanbooleanisSkip()Methods inherited from class UriProtocPlugin
toString
-
Method Details
-
getOptions
- Returns:
- The value of the
optionsattribute
-
getOutputDirectory
- Returns:
- The value of the
outputDirectoryattribute
-
isRegisterAsCompilationRoot
- Returns:
- The value of the
registerAsCompilationRootattribute
-
getOrder
public int getOrder()- Returns:
- The value of the
orderattribute
-
isSkip
public boolean isSkip()- Returns:
- The value of the
skipattribute
-
getUrl
- Specified by:
getUrlin classUriProtocPlugin- Returns:
- The value of the
urlattribute
-
getDigest
- Specified by:
getDigestin classUriProtocPlugin- Returns:
- The value of the
digestattribute
-
isOptional
public boolean isOptional()- Specified by:
isOptionalin classUriProtocPlugin- Returns:
- The value of the
optionalattribute
-
equals
-
hashCode
-
builder
Creates a builder forImmutableUriProtocPlugin.ImmutableUriProtocPlugin.builder() .options(String | null) // nullable
options.outputDirectory(java.nio.file.Path | null) // nullableoutputDirectory.registerAsCompilationRoot(Boolean | null) // nullableregisterAsCompilationRoot.order(int) // optionalorder.skip(boolean) // optionalskip.url(java.net.URI | null) // nullableurl.digest(io.github.ascopes.protobufmavenplugin.digests.Digest | null) // nullabledigest.optional(boolean) // optionaloptional.build();- Returns:
- A new ImmutableUriProtocPlugin builder
-